taler-www

Main taler.net website
Log | Files | Refs | Submodules | README | LICENSE

wallet.html.j2 (10403B)


      1 {% extends "common/base.j2" %}
      2 {% block subtitle %}{{ _("Wallets")}}{% endblock subtitle %}
      3 {% block head_content %}
      4 <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/millncjiddlpgdmkklmhfadpacifaonc" />
      5 <script type="application/javascript">
      6 /*
      7   @licstart  The following is the entire license notice for the
      8   JavaScript code in this page.
      9 
     10   Copyright (C) 2015-2020 Taler Systems SA
     11 
     12   The JavaScript code in this page is free software: you can
     13   redistribute it and/or modify it under the terms of the GNU
     14   Lesser General Public License (GNU LGPL) as published by the Free Software
     15   Foundation, either version 2.1 of the License, or (at your option)
     16   any later version.  The code is distributed WITHOUT ANY WARRANTY;
     17   without even the implied warranty of MERCHANTABILITY or FITNESS
     18   FOR A PARTICULAR PURPOSE.  See the GNU LGPL for more details.
     19 
     20   As additional permission under GNU LGPL version 2.1 section 7, you
     21   may distribute non-source (e.g., minimized or compacted) forms of
     22   that code without the copy of the GNU LGPL normally required by
     23   section 4, provided you include this license notice and a URL
     24   through which recipients can access the Corresponding Source.
     25 
     26   @licend  The above is the entire license notice
     27   for the JavaScript code in this page.
     28 */
     29 
     30 var chrome_min_version = 51;
     31 
     32 function installWallet() {
     33     if (window.chrome) {
     34         chrome.webstore.install("https://chrome.google.com/webstore/detail/millncjiddlpgdmkklmhfadpacifaonc", onSuccess, onFailure);
     35     } else {
     36         onFailure("Google Chrome or Chromium is required for installation.");
     37     }
     38 }
     39 
     40 try {
     41     taler.onPresent(function () {
     42         document.getElementById("box-present").style.display = "inherit";
     43         document.getElementById("box-not-present").style.display = "none";
     44     });
     45     taler.onAbsent(function () {
     46         document.getElementById("box-present").style.display = "none";
     47         document.getElementById("box-not-present").style.display = "inherit";
     48     });
     49 } catch (err) {}
     50 
     51 function onLoad() {
     52     if (typeof window.chrome != "object") {
     53         document.getElementById("error-chrome").style.display = "inherit";
     54     } else {
     55         var m = navigator.userAgent.match(/Chrome\/([0-9.]+)/);
     56         if (null == m || m[1].split('.')[0] < chrome_min_version) {
     57             document.getElementById('chrome-min-version').appendChild(document.createTextNode(chrome_min_version));
     58             document.getElementById('error-chrome-version').style.display = "inherit";
     59         }
     60     }
     61 }
     62 
     63 document.addEventListener('DOMContentLoaded', onLoad);
     64 </script>
     65 
     66 <style type="text/css">
     67   .greenbox {
     68   background-color: #5EFF64;
     69   border: solid;
     70   border-radius: 5px;
     71   padding: 0.5em;
     72   }
     73   .bluebox {
     74   background-color: #C2C6FF;
     75   border: solid;
     76   border-radius: 5px;
     77   padding: 0.5em;
     78   }
     79   .error {
     80   font-style: italic;
     81   display: none;
     82   }
     83   #install-result {
     84   font-weight: bold;
     85   }
     86 
     87   main ul li {
     88   margin-bottom: 1em;
     89   }
     90 </style>
     91 {% endblock head_content %}
     92 
     93 {% block body_content %}
     94 <main id="maincontent">
     95     <div class="jumbotron">
     96       <div class="text-center">
     97       <h1 lang="en">{% trans %}Taler Wallet{% endtrans %}</h1>
     98       </div>
     99     </div>
    100 
    101   <div class="container">
    102 
    103     <div class="row">
    104       <div class="col-lg-12">
    105         <p class="greenbox" id="box-present" style="display:none">
    106           {% trans %}Congratulations, the Taler wallet is installed on your device.
    107           Check out the <a href="https://demo.taler.net/">demonstration</a>.{% endtrans %}
    108         </p>
    109         <p class="bluebox" id="box-not-present" style="display:none">
    110           {% trans %}You don&#39;t have a wallet installed yet.{% endtrans %}
    111         </p>
    112       </div>
    113     </div>
    114 
    115     <div class="row wallet-teaser-text">
    116       <div class="col-lg-12">
    117         {% trans %}Install the wallet for your browser below, then check out the
    118         <a href="https://demo.taler.net">demonstration</a>.
    119         The source code is provided <a href="https://git-www.taler.net/taler-typescript-core.git" target="_blank" rel="noopener noreferrer">here</a>.{% endtrans %}
    120       </div>
    121     </div>
    122 
    123     <div class="row extension">
    124       <div class="col-lg-6">
    125         <h2><a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc" target="_blank" rel="noopener noreferrer">
    126         {% trans %}Google Chrome / Chromium 51+{% endtrans %}</a></h2>
    127 
    128         <p id="error-chrome" class="error">
    129           {% trans %}<a href="https://www.google.com/chrome" target="_blank" rel="noopener noreferrer">Google Chrome</a> or
    130           <a href="https://www.chromium.org/" target="_blank" rel="noopener noreferrer">Chromium</a>
    131           is required, but it appears you don&#39;t have it installed.{% endtrans %}
    132         </p>
    133         <p id="error-chrome-version" class="error">
    134           {% trans %}<a href="https://www.google.com/chrome" target="_blank" rel="noopener noreferrer">Google Chrome</a> or
    135           <a href="https://www.chromium.org/" target="_blank" rel="noopener noreferrer">Chromium</a>
    136           version <span id="chrome-min-version"></span> or newer is required,
    137           but it appears you have an older version.{% endtrans %}
    138         </p>
    139         <div id="inline-install-chrome">
    140           <form target="_blank" action="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc">
    141             <button action="submit" class="install-button">
    142               {% trans %}Install wallet{% endtrans %}
    143             </button>
    144           </form>
    145           <noscript>
    146             <em style="color:darkred;">
    147               {% trans %}JavaScript is disabled, the installation won&#39;t work.{% endtrans %}
    148             </em>
    149           </noscript>
    150           <div id="install-result"></div>
    151         </div>
    152       </div>
    153 
    154       <div class="col-lg-6">
    155         <h2><a href="https://addons.mozilla.org/en-US/firefox/addon/taler-wallet/" target="_blank" rel="noopener noreferrer">
    156         {% trans %}Mozilla Firefox 57+{% endtrans %}</a></h2>
    157         <div id="inline-install-chrome">
    158           <form action="https://addons.mozilla.org/firefox/downloads/latest/taler-wallet/">
    159             <button action="submit" class="install-button">
    160               {% trans %}Install wallet{% endtrans %}
    161             </button>
    162           </form>
    163         </div>
    164 
    165         <!--
    166         <h3>Firefox Beta</h3>
    167         <ol>
    168           <li><a href="{{ url('releases/taler-wallet/taler-wallet-stable.xpi', virtual=True) }}">Download the wallet</a> (right click, Save Link As...)</li>
    169           <li>On the <code>about:debugging</code> page, "Load temporary extension"</li>
    170         </ol>
    171 
    172         <h3>Firefox Developer Edition</h3>
    173         <p>Either from the <code>about:debugging</code> page like above, or:</p>
    174         <ol>
    175           <li>On the <code>about:config</code> page set <code>xpinstall.signatures.required</code> to <code>false</code></li>
    176           <li><a href="/releases/taler-wallet/taler-wallet-stable.xpi">Install the wallet</a></li>
    177         </ol>
    178         -->
    179       </div>
    180 
    181       <div class="col-lg-6">
    182         <h2>{% trans %}Opera 36+{% endtrans %}</h2>
    183 
    184         <ol>
    185           <li>
    186             {% trans %}Install a Chrome extension for Opera{% endtrans %}
    187             </a>
    188           </li>
    189           <li>
    190             {% trans %}<a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc" target="_blank" rel="noopener noreferrer">
    191             Install the Taler wallet from the Chrome Web Store</a>{% endtrans %}
    192           </li>
    193         </ol>
    194       </div>
    195 
    196       <div class="col-lg-6">
    197         <h2>{% trans %}Android 7.0 (API 24) or later{% endtrans %}</h2>
    198 
    199         <ul>
    200           <li>
    201         <p>
    202         {% trans %}You can <a href="https://taler.net/files/wallet/wallet-nightly-debug-latest.apk" target="_blank" rel="noopener noreferrer">directly download the APK for Android.</a>{% endtrans %}
    203         </p>
    204           </li>
    205           <li>
    206             <a href="https://play.google.com/store/apps/details?id=net.taler.wallet" target="_blank" rel="noopener noreferrer">
    207                 {% trans %}Install the Taler wallet app for Android from the Google App Store.{% endtrans %}
    208             </a>
    209           </li>
    210           <li>
    211             <a href="https://f-droid.org/en/packages/net.taler.wallet.fdroid/" target="_blank" rel="noopener noreferrer">
    212                 {% trans %}Download the Android app from F-Droid (bypassing Google registration).{% endtrans %}
    213             </a>
    214           </li>
    215         </ul>
    216       </div>
    217 
    218     </div>
    219 
    220     <div class="row extension">
    221 
    222       <div class="col-lg-6">
    223         <h2>{% trans %}Other browsers{% endtrans %}</h2>
    224         <p>
    225           {% trans %}Wallets for other browsers will be provided in the near future.{% endtrans %}
    226         </p>
    227       </div>
    228 
    229       <div class="col-lg-6">
    230         <h2>iOS</h2>
    231         <p>
    232           {% trans %}The iOS wallet is in the
    233           <a href="https://apps.apple.com/app/taler-wallet/id6463440117" target="_blank" rel="noopener noreferrer">App Store</a>.{% endtrans %}
    234           </p>
    235         </p>
    236       </div>
    237 
    238       <div class="col-lg-6">
    239         <h2>{% trans %}Ubuntu Touch{% endtrans %}</h2>
    240 
    241         <ul>
    242           <li>
    243 		  <p>{% trans %}You can run the Taler wallet app for Android by installing <a href="https://waydro.id/" target="_blank" rel="noopener noreferrer">Waydroid</a> using
    244 	<a href="https://open-store.io/app/waydroidhelper.aaronhafer" target="_blank" rel="noopener noreferrer">Waydroid Helper.</a>
    245 	More info about running Android apps on Ubuntu Touch can be found in <a href="https://docs.ubports.com/en/latest/userguide/dailyuse/waydroid.html" target="_blank" rel="noopener noreferrer">the UBports docs.</a>{% endtrans %}</p>
    246           </li>
    247           <li>
    248             <p>{% trans %}After successfully installing Waydroid you can either
    249             <a href="https://taler.net/files/wallet/wallet-nightly-debug-latest.apk" target="_blank" rel="noopener noreferrer">
    250             directly download the APK for Android,</a>{% endtrans %}</p>
    251           </li>
    252           <li>
    253             <a href="https://f-droid.org/en/packages/net.taler.wallet.fdroid/" target="_blank" rel="noopener noreferrer">
    254                 {% trans %} or Download the Android app from F-Droid.{% endtrans %}
    255             </a>
    256           </li>
    257         </ul>
    258       </div>
    259 
    260     </div>
    261 </div>
    262 {% endblock body_content %}