taler-www

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

wallet.html.j2 (10700B)


      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     <div class="row">
    103       <div class="col-lg-6">
    104         <h2>{% trans %}Android 7.0 (API 24) or later{% endtrans %}</h2>
    105         <ul>
    106           <li>
    107         <p>
    108         {% 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 %}
    109         </p>
    110           </li>
    111           <li>
    112             <a href="https://play.google.com/store/apps/details?id=net.taler.wallet" target="_blank" rel="noopener noreferrer">
    113                 {% trans %}Install the Taler wallet app for Android from the Google App Store.{% endtrans %}
    114             </a>
    115           </li>
    116           <li>
    117             <a href="https://f-droid.org/en/packages/net.taler.wallet.fdroid/" target="_blank" rel="noopener noreferrer">
    118                 {% trans %}Download the Android app from F-Droid (bypassing Google registration).{% endtrans %}
    119             </a>
    120           </li>
    121         </ul>
    122       </div>
    123 
    124       <div class="col-lg-6">
    125         <h2>{% trans %}Ubuntu Touch{% endtrans %}</h2>
    126         <ul>
    127           <li>
    128 		  <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
    129           <a href="https://open-store.io/app/waydroidhelper.aaronhafer" target="_blank" rel="noopener noreferrer">Waydroid Helper.</a>
    130           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>
    131           </li>
    132           <li>
    133             <p>{% trans %}After successfully installing Waydroid you can either
    134             <a href="https://taler.net/files/wallet/wallet-nightly-debug-latest.apk" target="_blank" rel="noopener noreferrer">
    135             directly download the APK for Android,</a>{% endtrans %}</p>
    136           </li>
    137           <li>
    138             <a href="https://f-droid.org/en/packages/net.taler.wallet.fdroid/" target="_blank" rel="noopener noreferrer">
    139                 {% trans %} or Download the Android app from F-Droid.{% endtrans %}
    140             </a>
    141           </li>
    142         </ul>
    143       </div>
    144 
    145       <div class="col-lg-6">
    146         <h2>iOS</h2>
    147         <p>
    148           {% trans %}The Taler wallet for iOS is available in the
    149           <a href="https://apps.apple.com/app/taler-wallet/id6463440117" target="_blank" rel="noopener noreferrer">App Store</a>.{% endtrans %}
    150           </p>
    151         </p>
    152       </div>
    153 
    154       <div class="col-lg-12">
    155         <p class="greenbox" id="box-present" style="display:none">
    156           {% trans %}Congratulations, the Taler wallet is installed on your device.
    157           Check out the <a href="https://demo.taler.net/">demonstration</a>.{% endtrans %}
    158         </p>
    159         <p class="bluebox" id="box-not-present" style="display:none">
    160           {% trans %}You don&#39;t have a wallet installed yet.{% endtrans %}
    161         </p>
    162       </div>
    163     </div>
    164 
    165      <div class="row extension">
    166       <div class="col-lg-6">
    167         <h2><a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc" target="_blank" rel="noopener noreferrer">
    168         {% trans %}Google Chrome / Chromium 51+{% endtrans %}</a></h2>
    169        <div id="inline-install-chrome">
    170           <form target="_blank" action="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc">
    171             <button action="submit" class="install-button">
    172               {% trans %}Install wallet{% endtrans %}
    173             </button>
    174           </form>
    175           <noscript>
    176             <em style="color:darkred;">
    177               {% trans %}JavaScript is disabled, the installation won&#39;t work.{% endtrans %}
    178             </em>
    179           </noscript>
    180           <div id="install-result"></div>
    181         </div>
    182         <p id="error-chrome" class="error">
    183           {% trans %}<a href="https://www.google.com/chrome" target="_blank" rel="noopener noreferrer">Google Chrome</a> or
    184           <a href="https://www.chromium.org/" target="_blank" rel="noopener noreferrer">Chromium</a>
    185           is required, but it appears you don&#39;t have it installed.{% endtrans %}
    186         </p>
    187         <p id="error-chrome-version" class="error">
    188           {% trans %}<a href="https://www.google.com/chrome" target="_blank" rel="noopener noreferrer">Google Chrome</a> or
    189           <a href="https://www.chromium.org/" target="_blank" rel="noopener noreferrer">Chromium</a>
    190           version <span id="chrome-min-version"></span> or newer is required,
    191           but it appears you have an older version.{% endtrans %}
    192         </p>
    193        </div>
    194 
    195       <div class="col-lg-6">
    196         <h2><a href="https://addons.mozilla.org/en-US/firefox/addon/taler-wallet/" target="_blank" rel="noopener noreferrer">
    197         {% trans %}Mozilla Firefox 57+{% endtrans %}</a></h2>
    198         <div id="inline-install-chrome">
    199           <form action="https://addons.mozilla.org/firefox/downloads/latest/taler-wallet/">
    200             <button action="submit" class="install-button">
    201               {% trans %}Install wallet{% endtrans %}
    202             </button>
    203           </form>
    204         </div>
    205 
    206         <!--
    207         <h3>Firefox Beta</h3>
    208         <ol>
    209           <li><a href="{{ url('releases/taler-wallet/taler-wallet-stable.xpi', virtual=True) }}">Download the wallet</a> (right click, Save Link As...)</li>
    210           <li>On the <code>about:debugging</code> page, "Load temporary extension"</li>
    211         </ol>
    212 
    213         <h3>Firefox Developer Edition</h3>
    214         <p>Either from the <code>about:debugging</code> page like above, or:</p>
    215         <ol>
    216           <li>On the <code>about:config</code> page set <code>xpinstall.signatures.required</code> to <code>false</code></li>
    217           <li><a href="/releases/taler-wallet/taler-wallet-stable.xpi">Install the wallet</a></li>
    218         </ol>
    219         -->
    220       </div>
    221 
    222       <div class="col-lg-6">
    223         <h2>{% trans %}Opera 36+{% endtrans %}</h2>
    224 
    225         <ol>
    226           <li>
    227             {% trans %}Install a Chrome extension for Opera{% endtrans %}
    228             </a>
    229           </li>
    230           <li>
    231             {% trans %}<a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc" target="_blank" rel="noopener noreferrer">
    232             Install the Taler wallet from the Chrome Web Store</a>{% endtrans %}
    233           </li>
    234         </ol>
    235       </div>
    236     </div>
    237 
    238     <div class="row extension">
    239 
    240       <div class="col-lg-6">
    241         <h2>{% trans %}Other browsers{% endtrans %}</h2>
    242         <p>
    243           {% trans %}Wallets for other browsers will be provided in the near future.{% endtrans %}
    244         </p>
    245       </div>
    246       <div class="row wallet-teaser-text">
    247         <div class="col-lg-12">
    248         <form action="{{ "https://demo.taler.net/" + lang + "/" }}" target="_blank" rel="noopener noreferrer" style="display:inline;">
    249         <button type="submit" class="btn btn-primary">{{ _("Try Demo!")}}</button></br>
    250         </form>
    251         {% trans %}After installing a Taler wallet, you can try out the demonstration on the <a href="https://demo.taler.net">demo page</a>.
    252         The source code for Taler wallets is provided <a href="https://git-www.taler.net/taler-typescript-core.git" target="_blank" rel="noopener noreferrer">here</a>.{% endtrans %}
    253         </div>
    254       </div>
    255     </div>
    256 </div>
    257 {% endblock body_content %}