Commit 6d48bcf5 authored by TonyFord's avatar TonyFord
Browse files

convert to jekyll/php for deployment purposes

parent 7f2e5161
This diff is collapsed.
This diff is collapsed.
/* stylesheets index.php / wallets.php */
.main-header img {
float: right:
margin: 0px;
}
.main-header {
padding: 26px 0 30px;
margin-bottom: 20px;
background-color: #0f1539;
text-align: left;
color: #f0f0f0;
}
.footer {
padding: 26px 0;
margin: 20px 0 40px;
}
.infobox {
padding:0.5em;
}
.binaries img {
width:32px;
}
.sha256sum {
font-family: 'Courier New';
}
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000" preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)" fill="#000000" stroke="none">
<path d="M3215 6980 c-166 -18 -190 -21 -224 -26 -31 -4 -129 -22 -221 -40 -337 -66 -784 -244 -1094 -437 -46 -28 -268 -179 -276 -187 -3 -3 -39 -32 -80 -65 -115 -91 -135 -109 -285 -260 -189 -189 -259 -272 -392 -460 -227 -322 -427 -748 -510 -1085 -6 -22 -9 -33 -16 -55 -3 -11 -8 -31 -11 -45 -3 -14 -14 -68 -25 -121 -12 -52 -23 -112 -25 -132 -3 -20 -8 -52 -11 -69 -3 -18 -8 -51 -10 -73 -3 -22 -8 -71 -12 -110 -5 -38 -8 -182 -8 -320 0 -217 4 -300 20 -415 2 -14 6 -45 9 -70 3 -25 8 -56 11 -70 2 -13 7 -42 11 -65 3 -22 12 -69 21 -105 8 -36 17 -76 20 -90 20 -109 126 -429 190 -570 99 -220 170 -349 281 -520 71 -107 207 -289 277 -370 99 -115 399 -402 468 -449 12 -8 24 -17 27 -20 32 -36 264 -192 407 -275 255 -146 506 -252 778 -331 98 -28 277 -70 341 -79 22 -4 51 -9 64 -11 14 -3 45 -8 70 -11 25 -3 53 -8 63 -10 100 -19 604 -26 742 -11 139 15 161 18 194 22 19 3 43 7 55 10 12 2 37 7 56 10 39 5 39 5 165 34 136 30 412 114 464 141 9 4 63 27 121 51 190 77 436 212 615 337 73 52 203 149 215 162 3 3 30 25 60 50 55 45 332 318 382 377 140 165 306 401 388 548 133 240 218 434 295 675 39 120 79 274 91 345 3 17 9 46 14 65 5 19 14 73 20 120 7 47 14 96 16 110 26 188 26 643 -1 845 -22 168 -57 345 -92 475 -28 106 -86 285 -94 294 -5 6 -9 16 -9 24 0 44 -176 413 -278 582 -43 71 -160 249 -172 260 -3 3 -27 34 -55 70 -175 228 -425 476 -658 653 -374 283 -784 481 -1244 598 -141 36 -171 43 -248 55 -16 2 -41 7 -55 9 -59 12 -73 14 -138 20 -38 3 -80 8 -93 11 -38 9 -536 12 -614 4z m585 -194 c451 -49 806 -151 1180 -338 165 -83 205 -107 375 -221 700 -471 1207 -1230 1374 -2053 53 -259 66 -394 66 -674 0 -230 -6 -316 -36 -504 -53 -342 -149 -646 -300 -951 -39 -77 -75 -149 -82 -160 -7 -11 -27 -47 -46 -80 -19 -33 -64 -103 -100 -155 -473 -692 -1168 -1171 -1976 -1361 -66 -16 -140 -31 -165 -34 -25 -4 -52 -8 -60 -11 -22 -6 -162 -23 -255 -31 -44 -4 -170 -7 -280 -7 -245 0 -353 9 -555 44 -139 24 -328 68 -354 82 -12 6 -23 11 -26 10 -19 -7 -252 78 -420 153 -265 116 -581 319 -805 515 -50 44 -278 271 -325 325 -51 57 -171 211 -210 270 -19 28 -36 52 -39 55 -3 3 -11 14 -18 25 -7 11 -35 58 -64 105 -123 201 -225 420 -305 657 -25 72 -47 141 -49 152 -2 11 -11 46 -19 78 -20 75 -46 189 -52 233 -3 19 -9 58 -14 85 -5 28 -11 73 -14 100 -3 28 -9 79 -13 115 -9 82 -10 458 -1 570 6 74 39 309 52 365 3 11 12 53 21 94 40 187 137 469 227 660 229 487 582 919 1013 1242 205 154 485 316 675 393 193 77 421 153 520 172 14 3 45 10 70 15 51 12 188 37 240 44 19 3 49 7 65 10 17 2 71 7 120 11 50 4 91 8 93 9 5 5 441 -3 492 -9z"/>
<path d="M3337 6514 c-1 -1 -40 -4 -87 -8 -47 -4 -112 -11 -145 -16 -33 -5 -78 -12 -100 -15 -54 -8 -218 -43 -281 -61 -28 -8 -60 -16 -70 -19 -42 -9 -279 -94 -354 -128 -545 -241 -992 -619 -1327 -1122 -118 -178 -236 -417 -314 -637 -43 -123 -109 -368 -124 -458 -3 -19 -8 -46 -10 -60 -3 -14 -8 -45 -10 -70 -3 -25 -7 -61 -10 -80 -24 -171 -24 -518 1 -700 81 -594 287 -1083 651 -1540 72 -91 350 -374 421 -429 46 -36 48 -34 28 52 -8 31 -10 57 -5 57 5 0 9 -7 9 -15 0 -56 56 -153 125 -217 47 -44 162 -95 249 -111 114 -22 332 -15 461 13 107 23 251 75 325 116 25 14 36 18 25 9 -73 -60 -299 -144 -434 -161 -25 -3 -57 -7 -71 -10 -33 -6 -288 -5 -317 0 -54 11 -14 -18 115 -82 180 -90 283 -133 444 -186 127 -43 313 -91 388 -102 19 -3 46 -7 60 -10 50 -9 76 -14 110 -18 207 -26 572 -27 770 -1 65 8 105 14 130 19 14 3 41 7 61 10 61 9 210 46 314 77 356 108 711 294 999 523 248 198 549 531 676 747 247 421 371 743 429 1114 26 168 29 189 38 315 37 535 -63 1034 -307 1535 -157 320 -315 541 -583 810 -165 166 -164 166 -141 75 3 -14 -8 4 -27 40 -59 117 -181 214 -309 245 -3 1 -26 5 -53 9 -26 5 -50 13 -54 19 -3 5 -2 7 3 4 12 -7 104 -18 104 -13 0 18 -348 199 -499 261 -224 92 -514 170 -706 190 -27 3 -61 8 -75 10 -68 13 -511 29 -523 19z m1680 -470 c-3 -3 -12 -4 -19 -1 -8 3 -5 6 6 6 11 1 17 -2 13 -5z m-259 -429 c-6 -14 -13 -24 -14 -22 -6 6 9 47 17 47 5 0 3 -11 -3 -25z m-2273 -2255 c13 -6 15 -9 5 -9 -8 0 -22 4 -30 9 -18 12 -2 12 25 0z m73 -17 c-10 -2 -26 -2 -35 0 -10 3 -2 5 17 5 19 0 27 -2 18 -5z m399 -10 c3 -8 -10 -10 -39 -8 -24 2 -107 5 -185 5 -79 1 -143 5 -143 9 0 12 363 6 367 -6z m1023 5 c0 -5 -17 -8 -37 -8 -21 0 -33 4 -26 8 15 9 63 9 63 0z m73 2 c-2 -3 -18 -5 -35 -6 -18 -1 -25 1 -18 6 13 8 62 8 53 0z m-1188 -2220 c-3 -5 -16 -15 -28 -21 -19 -9 -19 -8 3 10 28 23 34 26 25 11z"/>
</g>
</svg>
\ No newline at end of file
<!DOCTYPE html>
<html><head>
<meta content="text/html; charset=UTF-8" charset="utf-8" http-equiv="Content-Type">
<title>FairCoin FreeVision wallet downloads</title>
<meta name="author" content="FairCoin developer team">
<meta name="robots" content="noindex">
<meta name="description" content="The download site for all FreeVision price supported FairCoin wallets.">
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/style.css?<?=filemtime('assets/css/style.css');?>" rel="stylesheet">
---
layout: default
ln: en
head: download
---
<style>
.main {
padding-top:66px;
padding-left: 0px;
padding-right: 0px;
}
a {
color: midnightblue;
}
</style>
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon-16x16.png">
<link rel="manifest" href="manifest.json">
<link rel="mask-icon" href="assets/images/safari-pinned-tab.svg" color="#0f1539">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div class="main-header">
<div class="container">
<div class="row">
......@@ -26,7 +22,7 @@
<p>On this site you can download all FairCoin wallets that support FreeVision price.</p>
</div>
<div class="col-md-3">
<img src="assets/images/logo.png">
<img src="/assets/images/logo.png">
</div>
</div>
</div>
......@@ -86,52 +82,21 @@
<table class="table table-bordered binaries">
<tr>
<td><img src="assets/images/github.png"> GitHub</td>
<td><img src="/assets/images/github.png"> GitHub</td>
<td><a href="https://github.com/criptomart/electrumfair">Sources</a><br><a href="https://github.com/criptomart/electrumfair/blob/3.3.4-fc/CHECKSUM.md">summary of sha256sum</a> ( checksum double check )</td>
</tr>
<tr>
<td rowspan="2"><img src="assets/images/tar-gz.png"> Python <sup>(3.6.1 and higher)</sup></td>
<td><a href="ElectrumFair-3.3.4.tar.gz">ElectrumFair-3.3.4.tar.gz</a> - <a href="ElectrumFair-3.3.4.tar.gz.asc">(signature)</a><br>
<a href="http://onlinemd5.com/">sha256sum</a>: <font class="sha256sum">7cb3df5d5fd3f09acd8aad1640ad8cf75e14338b141ef8d44edb7333e013ff5d</font></td>
</tr>
<tr>
<td><a href="ElectrumFair-3.3.4.zip">ElectrumFair-3.3.4.zip</a> - <a href="ElectrumFair-3.3.4.zip.asc">(signature)</a><br>
<a href="http://onlinemd5.com/">sha256sum</a>: <font class="sha256sum">9ec331909be008a164ae50dd40bef259485ab5bc81f24a12fffa9e912f94f3a5</font></td>
</tr>
<tr>
<td><img src="assets/images/os_linux.gif"> Linux</td>
<td><a href="ElectrumFair-3.3.4.AppImage">ElectrumFair-3.3.4.AppImage</a> - <a href="ElectrumFair-3.3.4.AppImage.asc">(signature)</a><br>
<a href="http://onlinemd5.com/">sha256sum</a>: <font class="sha256sum">2a899815951fc3334e9eeb65eb7f271e6afade5b251f72280fd4803f7bb48fc5</font></td>
</tr>
<tr>
<td rowspan="3"><img src="assets/images/os_windows.gif"> Windows <sup>(7 and higher)</sup>
</td>
<td><a href="ElectrumFair-3.3.4.exe">ElectrumFair-3.3.4.exe</a> - <a href="ElectrumFair-3.3.4.exe.asc">(signature)</a><br>
<a href="http://onlinemd5.com/">sha256sum</a>: <font class="sha256sum">3b89a320af8acfffc49545aa3ba53bbdebea4496b7eb0bdab3a780869ecd69a0</font></td>
</tr>
<tr>
<td><a href="ElectrumFair-3.3.4-setup.exe">ElectrumFair-3.3.4-setup.exe</a> - <a href="ElectrumFair-3.3.4-setup.exe.asc">(signature)</a><br>
<a href="http://onlinemd5.com/">sha256sum</a>: <font class="sha256sum">55a19ee14b635f62901f1503a1386fb54086c30e42869dd0111c5dd4295a637c</font></td>
</tr>
<tr>
<td><a href="ElectrumFair-3.3.4-portable.exe">ElectrumFair-3.3.4-portable.exe</a> - <a href="ElectrumFair-3.3.4-portable.exe.asc">(signature)</a> - <a href="https://bitcointalk.org/index.php?topic=154451.0">( security advice )</a><br>
<a href="http://onlinemd5.com/">sha256sum</a>: <font class="sha256sum">8c53737b3d82c42f2f02402a146024ff7afe440ae08df1a4f4b1d710861e9e5b</font></td>
</tr>
<tr>
<td><img src="assets/images/os_apple.png"> OSX</td>
<td><a href="ElectrumFair-3.3.4.dmg">ElectrumFair-3.3.4.dmg</a> - <a href="ElectrumFair-3.3.4.dmg.asc">(signature)</a><br>
<a href="http://onlinemd5.com/">sha256sum</a>: <font class="sha256sum">3f37e32fa92dfd0f97513e0dd337e589d7b407c729c4914e72b37ac0b47e8a0b</font></td>
</tr>
<tr>
<td><img src="assets/images/android_icon.png"> Android <sup>(5.0 and higher)</sup></td>
<td><a href="ElectrumFair-3.3.4.0-release.apk">ElectrumFair-3.3.4.0-release.apk</a> - <a href="ElectrumFair-3.3.4.0-release.apk.asc">(signature)</a><br>
<a href="http://onlinemd5.com/">sha256sum</a>: <font class="sha256sum">94cd90faa87f26cdda83feb62b1ea98d472bddb4d96370cd447a5383e33c8f57</font></td>
</tr>
{% for app in site.data.downloads %}
{% for ap in app %}
<tr>
{% if forloop.index == 1 %}
<td rowspan="{{ app | size }}"><img src="{{ ap.img }}"> {{ ap.title }}</td>
{% endif %}
<td><a href="{{ ap.url }}">{{ ap.name }}</a> - <a href="{{ ap.url }}.asc">(signature)</a><br>
<a href="http://onlinemd5.com/">sha256sum</a>: <a href="{{ ap.sha256sum-url }}"><font class="sha256sum">{{ ap.sha256sum }}</font></a></td>
</tr>
{% endfor %}
{% endfor %}
</table>
</div>
......@@ -145,7 +110,7 @@
<div class="col">
<table class="table table-bordered binaries">
<tr>
<td rowspan="5"><img src="assets/images/os_linux.gif"> Linux</td>
<td rowspan="5"><img src="/assets/images/os_linux.gif"> Linux</td>
<td>Install dependencies</td>
<td><code>sudo apt-get install python3-pyqt5</code></td>
</tr>
......@@ -170,14 +135,14 @@
</tr>
<tr>
<td><img src="assets/images/os_windows.gif"> Windows <sup>(7 and higher)</sup></td>
<td><img src="/assets/images/os_windows.gif"> Windows <sup>(7 and higher)</sup></td>
<td colspan="2">Install <a href="http://www.riverbankcomputing.co.uk/software/pyqt/download5" target="external">PyQt5</a><br>
Extract <a href="ElectrumFair-3.3.4.zip">ElectrumFair-3.3.4.zip</a><br>
In the electrum directory, run <code>python3 run_electrumfair</code></td>
</tr>
<tr>
<td><img src="assets/images/os_apple.png"> OSX</td>
<td><img src="/assets/images/os_apple.png"> OSX</td>
<td colspan="2">Install <a href="https://github.com/mxcl/homebrew">Homebrew</a><br>
Install dependencies <code>brew install qt5 pyqt5 gettext</code><br>
Extract <a href="ElectrumFair-3.3.4.zip">ElectrumFair-3.3.4.zip</a> <br>
......@@ -199,6 +164,3 @@
</div>
</div>
</div>
</body></html>
---
layout: default
ln: en
---
{% include home.html %}
<?php
include_once(($path='languages/').'language.php');
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>FairCoin FreeVision - <?= ln('COMMUNITY') ?></title>
<link rel="stylesheet" href="assets/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/styles.css?<?=filemtime('assets/css/styles.css');?>">
</head>
<body>
<? include('_navbar.php'); ?>
<section class="cover">
<div class="container">
<div class="row pt-5 text-center text-md-left">
<div class="col-sm-12 col-md-6">
<img class="img-fluid" src="assets/images/cover.png">
</div>
<div class="col-sm-12 col-md-6 pl-sm-5">
<div class="pt-5">
<h1><?= ln('WE_ARE_FREEVISION') ?></h1>
<p><?= ln('FREEVISION_IS_A_PROJECT') ?></p>
<div class="text-center">
<a class="btn btn-lg btn-cover" href="<?= (file_exists('docs/'.$LANG.'/whitepaper_'.$LANG.'.pdf')) ? 'docs/'.$LANG.'/whitepaper_'.$LANG.'.pdf' : 'docs/'.LN_default.'/whitepaper_'.LN_default.'.pdf' ?>" role="button"><?= ln('READ_OUR_WHITEPAPER') ?></a>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="separator">
</div>
<section class="values" id="values">
<div class="container">
<div class="row mb-4">
<div class="col-12 text-center">
<h1><?= ln('THE_VALUES_OF_THE_COMMUNITY') ?></h1>
</div>
</div>
<div class="row">
<div class="col-md-2 offset-md-2 text-center pt-3"><img src="assets/images/cooperation.png" alt=""></div>
<div class="col-md-6 text-center text-md-left">
<h3><?= ln('COOPERATION') ?></h3>
<p><?= ln('WE_WANT_COOPERATE') ?></p>
</div>
</div>
<div class="row">
<div class="col-md-2 offset-md-2 text-center pt-2"><img src="assets/images/reserve.png" alt=""></div>
<div class="col-md-6 text-center text-md-left">
<h3><?= ln('SUSTAINABLE_GROWTH') ?></h3>
<p><?= ln('WE_DONT_WANT_MAKE_GROWTH_BY_PROMISES') ?></p>
</div>
</div>
</div>
</section>
<section class="wallets">
<div class="container-fluid mt-5">
<div class="row vertical-align">
<div class="col-sm-12 col-md-6 text-center">
<img id="wallet-img" src="assets/images/wallets.png" alt="Wallets">
</div>
<div class="col-sm-12 col-md-5 text-center">
<h2><?= ln('WALLETS') ?></h2>
<p><a class="btn btn-lg btn-cover btn-cover-white" href="download" role="button"><?= ln('YOU_CAN_DOWNLOAD_THE_WALLETS') ?></a></p>
</div>
</div>
</div>
</section>
<? include('_footer.php') ?>
<script src="assets/js/jquery.slim.min.js"></script>
<script src="assets/js/popper.min.js"></script>
<script src="assets/bootstrap/bootstrap.min.js"></script>
<script src="assets/js/script.js"></script>
</body>
<?php
define('LN_default','en');
define('LN_available',Array('de','en','es','fr','sr'));
$LANG = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
if( !empty($_GET['ln']) ) $LANG=$_GET['ln'];
$fn=$path.'lang_'.$LANG.'_freevision.json';
if( !file_exists($fn) ) $LANG=LN_default;
$fn=$path.'lang_'.$LANG.'_freevision.json';
$fp=fopen($fn,'r');
define('LN',json_decode(fread($fp,filesize($fn)),true));
fclose($fp);
function ln($k){
if( !empty(LN[$k]) ){ return LN[$k]; } else { return $k; }
}
?>
---
layout: default
ln: de
---
{% include communication.html %}
---
layout: default
ln: de
---
{% include home.html %}
---
layout: default
ln: de
---
{% capture w %}{% include de/whitepaper.md %}{% endcapture %}
{{ w | markdownify }}
---
layout: default
ln: en
---
{% include communication.html %}
---
layout: default
ln: en
---
{% include home.html %}
---
layout: default
ln: en
---
{% capture w %}{% include en/whitepaper.md %}{% endcapture %}
{{ w | markdownify }}
---
layout: default
ln: es
---
{% include communication.html %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment