diff options
Diffstat (limited to 'wallet-installation.html')
-rw-r--r-- | wallet-installation.html | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/wallet-installation.html b/wallet-installation.html new file mode 100644 index 00000000..fa1aad31 --- /dev/null +++ b/wallet-installation.html | |||
@@ -0,0 +1,97 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | <head profile="http://www.w3.org/2005/10/profile"> | ||
4 | <meta charset="utf-8"/> | ||
5 | <title>Taler Demonstration Framework</title> | ||
6 | <link rel="stylesheet" type="text/css" href="web-common/style.css" /> | ||
7 | <link rel="stylesheet" type="text/css" href="web-common/taler-presence.css" /> | ||
8 | <link rel="icon" type="image/png" href="/web-common/favicon-taler.ico" /> | ||
9 | <script src="web-common/taler-presence.js" type="text/javascript" /> | ||
10 | <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/millncjiddlpgdmkklmhfadpacifaonc" /> | ||
11 | |||
12 | <script type="application/javascript"> | ||
13 | /* | ||
14 | @licstart The following is the entire license notice for the | ||
15 | JavaScript code in this page. | ||
16 | |||
17 | Copyright (C) 2015 GNUnet e.V. | ||
18 | |||
19 | The JavaScript code in this page is free software: you can | ||
20 | redistribute it and/or modify it under the terms of the GNU | ||
21 | Lesser General Public License (GNU LGPL) as published by the Free Software | ||
22 | Foundation, either version 2.1 of the License, or (at your option) | ||
23 | any later version. The code is distributed WITHOUT ANY WARRANTY; | ||
24 | without even the implied warranty of MERCHANTABILITY or FITNESS | ||
25 | FOR A PARTICULAR PURPOSE. See the GNU LGPL for more details. | ||
26 | |||
27 | As additional permission under GNU LGPL version 2.1 section 7, you | ||
28 | may distribute non-source (e.g., minimized or compacted) forms of | ||
29 | that code without the copy of the GNU LGPL normally required by | ||
30 | section 4, provided you include this license notice and a URL | ||
31 | through which recipients can access the Corresponding Source. | ||
32 | |||
33 | @licend The above is the entire license notice | ||
34 | for the JavaScript code in this page. | ||
35 | */ | ||
36 | |||
37 | function onSuccess() { | ||
38 | console.log("installation successful"); | ||
39 | location.reload(); | ||
40 | } | ||
41 | |||
42 | function onFailure(detail) { | ||
43 | console.error("installation failed:", detail); | ||
44 | } | ||
45 | |||
46 | function installWallet() { | ||
47 | chrome.webstore.install("https://chrome.google.com/webstore/detail/millncjiddlpgdmkklmhfadpacifaonc", onSuccess, onFailure); | ||
48 | } | ||
49 | </script> | ||
50 | |||
51 | <style type="text/css"> | ||
52 | |||
53 | a[disabled="true"] { | ||
54 | pointer-events: none; | ||
55 | color: grey; | ||
56 | } | ||
57 | </style> | ||
58 | </head> | ||
59 | |||
60 | <body> | ||
61 | |||
62 | <header> | ||
63 | <a href="/index.html" id="logo"> | ||
64 | <img src="web-common/logo.png" width="100" height="100" alt="Logo"> | ||
65 | </a> | ||
66 | <!--#include virtual="web-common/dropdown-navbar.html"--> | ||
67 | <h1 class="nav">Taler Demonstration Framework</h1> | ||
68 | </header> | ||
69 | |||
70 | <aside class="sidebar" id="left"> | ||
71 | </aside> | ||
72 | |||
73 | <section id="main"> | ||
74 | <article> | ||
75 | <h2>Install the Taler wallet</h2> | ||
76 | <p class="taler-installed-hide"> | ||
77 | <ul> | ||
78 | <li>from the app store for | ||
79 | <a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc">Google | ||
80 | Chrome and Chromium</a> | ||
81 | </li> | ||
82 | <li id="inline-install-chrome">via inline install: | ||
83 | <button onclick="installWallet()" id="install-button"> | ||
84 | Add to Chrome | ||
85 | </button> | ||
86 | </li> | ||
87 | </ul> | ||
88 | Wallets for other browsers will be provided in the near future. | ||
89 | </p> | ||
90 | <p class="taler-installed-show"> | ||
91 | Congratulations, you have installed the Taler wallet correctly. | ||
92 | You can now proceed with the next steps. | ||
93 | </p> | ||
94 | </article> | ||
95 | </section> | ||
96 | </body> | ||
97 | </html> | ||