diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-03-06 15:02:35 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-03-06 15:02:35 +0100 |
commit | 4b0f33c9831b09b7f35d5108e8929902e25ca70d (patch) | |
tree | 3ab5ffd8e4cc918e888e084c1039634e376dcc73 /wallet.html.j2 | |
parent | f2f208f9455f9acfdc0eefc267c521754907624d (diff) | |
download | www-4b0f33c9831b09b7f35d5108e8929902e25ca70d.tar.gz www-4b0f33c9831b09b7f35d5108e8929902e25ca70d.tar.bz2 www-4b0f33c9831b09b7f35d5108e8929902e25ca70d.zip |
merchant green box and wallet site fixes
Diffstat (limited to 'wallet.html.j2')
-rw-r--r-- | wallet.html.j2 | 284 |
1 files changed, 139 insertions, 145 deletions
diff --git a/wallet.html.j2 b/wallet.html.j2 index 5756de0b..85714462 100644 --- a/wallet.html.j2 +++ b/wallet.html.j2 @@ -1,38 +1,33 @@ -<!DOCTYPE html> -<html lang="{{ _('en') }}"> - <head profile="http://www.w3.org/2005/10/profile"> - <meta charset="UTF-8"/> - <title>{{ _("GNU Taler") }} - {{ _("Wallet") }}</title> - <meta name="description" content=""/> - {% include "common/header.j2.inc" %} - - <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/millncjiddlpgdmkklmhfadpacifaonc" /> - <script src="web-common/taler-wallet-lib.js" type="text/javascript"></script> - - <script type="application/javascript"> - /* - @licstart The following is the entire license notice for the - JavaScript code in this page. - - Copyright (C) 2015 GNUnet e.V. - - The JavaScript code in this page is free software: you can - redistribute it and/or modify it under the terms of the GNU - Lesser General Public License (GNU LGPL) as published by the Free Software - Foundation, either version 2.1 of the License, or (at your option) - any later version. The code is distributed WITHOUT ANY WARRANTY; - without even the implied warranty of MERCHANTABILITY or FITNESS - FOR A PARTICULAR PURPOSE. See the GNU LGPL for more details. - - As additional permission under GNU LGPL version 2.1 section 7, you - may distribute non-source (e.g., minimized or compacted) forms of - that code without the copy of the GNU LGPL normally required by - section 4, provided you include this license notice and a URL - through which recipients can access the Corresponding Source. - - @licend The above is the entire license notice - for the JavaScript code in this page. - */ +{% extends "common/base.j2" %} + +{% block head_content %} +<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/millncjiddlpgdmkklmhfadpacifaonc" /> +<script src="web-common/taler-wallet-lib.js" type="text/javascript"></script> + +<script type="application/javascript"> +/* + @licstart The following is the entire license notice for the + JavaScript code in this page. + + Copyright (C) 2015 GNUnet e.V. + + The JavaScript code in this page is free software: you can + redistribute it and/or modify it under the terms of the GNU + Lesser General Public License (GNU LGPL) as published by the Free Software + Foundation, either version 2.1 of the License, or (at your option) + any later version. The code is distributed WITHOUT ANY WARRANTY; + without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU LGPL for more details. + + As additional permission under GNU LGPL version 2.1 section 7, you + may distribute non-source (e.g., minimized or compacted) forms of + that code without the copy of the GNU LGPL normally required by + section 4, provided you include this license notice and a URL + through which recipients can access the Corresponding Source. + + @licend The above is the entire license notice + for the JavaScript code in this page. +*/ var chrome_min_version = '49'; @@ -78,123 +73,122 @@ function onLoad() { } document.addEventListener('DOMContentLoaded', onLoad); - </script> - - <style type="text/css"> - .greenbox { - background-color: #5EFF64; - border: solid; - border-radius: 5px; - padding: 0.5em; - } - .bluebox { - background-color: #C2C6FF; - border: solid; - border-radius: 5px; - padding: 0.5em; - } - .error { - font-style: italic; - display: none; - } - #install-result { - font-weight: bold; - } - - main ul li { - margin-bottom: 1em; - } - </style> - </head> - - <body> - <div class="container"> - {% include "common/navigation.j2.inc" %} - <!-- Jumbotron --> - <div class="jumbotron"> - <h1 lang="en">Taler Wallet</h1> +</script> + +<style type="text/css"> + .greenbox { + background-color: #5EFF64; + border: solid; + border-radius: 5px; + padding: 0.5em; + } + .bluebox { + background-color: #C2C6FF; + border: solid; + border-radius: 5px; + padding: 0.5em; + } + .error { + font-style: italic; + display: none; + } + #install-result { + font-weight: bold; + } + + main ul li { + margin-bottom: 1em; + } +</style> +{% endblock head_content %} + +{% block body_content %} + <!-- Jumbotron --> + <div class="jumbotron"> + <div class="text-center"> + <h1 lang="en">Taler Wallet</h1> </div> - - <div class="row"> - <div class="col-lg-12"> - <p class="greenbox" id="box-present" style="display:none"> - Congratulations, you have installed the Taler wallet. - Check out the <a href="https://demo.taler.net/">demo</a>. - </p> - <p class="bluebox" id="box-not-present" style="display:none"> - You don't have a wallet installed yet. - </p> - </div> <!-- /col-lg-12 --> - </div> <!-- /row --> - - <div class="row"> - <div class="col-lg-12"> - Install the wallet for your browser below, then check out the - <a href="https://demo.taler.net">demonstration</a>. + </div> + + <div class="container"> + + <div class="row"> + <div class="col-lg-12"> + <p class="greenbox" id="box-present" style="display:none"> + Congratulations, you have installed the Taler wallet. + Check out the <a href="https://demo.taler.net/">demo</a>. + </p> + <p class="bluebox" id="box-not-present" style="display:none"> + You don't have a wallet installed yet. + </p> + </div> <!-- /col-lg-12 --> + </div> <!-- /row --> + + <div class="row"> + <div class="col-lg-12"> + Install the wallet for your browser below, then check out the + <a href="https://demo.taler.net">demonstration</a>. + </div> + </div> <!-- /row --> + + <div class="row"> + <div class="col-lg-6"> + <h2><a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc">Google Chrome / Chromium 49+</a></h2> + + <p id="error-chrome" class="error"> + <a href="https://www.google.com/chrome">Google Chrome</a> or <a href="https://www.chromium.org/">Chromium</a> + is required, but it appears you don't have it installed. + </p> + <p id="error-chrome-version" class="error"> + <a href="https://www.google.com/chrome">Google Chrome</a> or <a href="https://www.chromium.org/">Chromium</a> + version <span id="chrome-min-version"></span> or newer is required, but it appears you have an older version.</p> + <div id="inline-install-chrome"> + <button onclick="installWallet()" id="install-button"> + Install wallet + </button> + <noscript> + <em style="color:darkred;">JavaScript is disabled, installation won't work.</em> + </noscript> + <div id="install-result"></div> </div> - </div> <!-- /row --> - - <div class="row"> - <div class="col-lg-6"> - <h2><a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc">Google Chrome / Chromium 49+</a></h2> - - <p id="error-chrome" class="error"> - <a href="https://www.google.com/chrome">Google Chrome</a> or <a href="https://www.chromium.org/">Chromium</a> - is required, but it appears you don't have it installed. - </p> - <p id="error-chrome-version" class="error"> - <a href="https://www.google.com/chrome">Google Chrome</a> or <a href="https://www.chromium.org/">Chromium</a> - version <span id="chrome-min-version"></span> or newer is required, but it appears you have an older version.</p> - <div id="inline-install-chrome"> - <button onclick="installWallet()" id="install-button"> - Install wallet - </button> - <noscript> - <em style="color:darkred;">JavaScript is disabled, installation won't work.</em> - </noscript> - <div id="install-result"></div> - </div> - </div> <!-- /col-lg-6 --> - - <div class="col-lg-6"> - <h2><a href="https://addons.mozilla.org/en-US/firefox/addon/taler-wallet/">Mozilla Firefox 50+</a></h2> + </div> <!-- /col-lg-6 --> + + <div class="col-lg-6"> + <h2><a href="https://addons.mozilla.org/en-US/firefox/addon/taler-wallet/">Mozilla Firefox 50+</a></h2> <!-- - <h3>Firefox Beta</h3> - <ol> - <li><a href="/releases/taler-wallet/taler-wallet-stable.xpi">Download the wallet</a> (right click, Save Link As...)</li> - <li>On the <code>about:debugging</code> page, "Load temporary extension"</li> - </ol> - - <h3>Firefox Developer Edition</h3> - <p>Either from the <code>about:debugging</code> page like above, or:</p> - <ol> - <li>On the <code>about:config</code> page set <code>xpinstall.signatures.required</code> to <code>false</code></li> - <li><a href="/releases/taler-wallet/taler-wallet-stable.xpi">Install the wallet</a></li> - </ol> + <h3>Firefox Beta</h3> + <ol> + <li><a href="/releases/taler-wallet/taler-wallet-stable.xpi">Download the wallet</a> (right click, Save Link As...)</li> + <li>On the <code>about:debugging</code> page, "Load temporary extension"</li> + </ol> + + <h3>Firefox Developer Edition</h3> + <p>Either from the <code>about:debugging</code> page like above, or:</p> + <ol> + <li>On the <code>about:config</code> page set <code>xpinstall.signatures.required</code> to <code>false</code></li> + <li><a href="/releases/taler-wallet/taler-wallet-stable.xpi">Install the wallet</a></li> + </ol> --> - </div> <!-- /col-lg-6 --> - - <div class="col-lg-6"> - <h2>Opera 36+</h2> + </div> <!-- /col-lg-6 --> - <ol> - <li><a href="https://addons.opera.com/en/extensions/details/download-chrome-extension-9/">Install Download Chrome Extension</a></li> - <li><a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc">Install GNU Taler</a> from the Chrome Web Store</li> - </ol> - </div> <!-- /col-lg-6 --> + <div class="col-lg-6"> + <h2>Opera 36+</h2> - </div> <!-- /row --> + <ol> + <li><a href="https://addons.opera.com/en/extensions/details/download-chrome-extension-9/">Install Download Chrome Extension</a></li> + <li><a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc">Install GNU Taler</a> from the Chrome Web Store</li> + </ol> + </div> <!-- /col-lg-6 --> - <div class="row"> + </div> <!-- /row --> - <div class="col-lg-6"> - <h2>Other browsers</h2> - <p>Wallets for other browsers will be provided in the near future.</p> - </div> <!-- /col-lg-6 --> + <div class="row"> - </div> <!-- /row --> + <div class="col-lg-6"> + <h2>Other browsers</h2> + <p>Wallets for other browsers will be provided in the near future.</p> + </div> <!-- /col-lg-6 --> - {% include "common/footer.j2.inc" %} - </div> <!-- /container --> - </body> -</html> + </div> <!-- /row --> + </div> <!-- /container --> +{% endblock body_content %} |