diff options
Diffstat (limited to 'wallet-installation.html')
-rw-r--r-- | wallet-installation.html | 68 |
1 files changed, 39 insertions, 29 deletions
diff --git a/wallet-installation.html b/wallet-installation.html index b3e7516f..bf492097 100644 --- a/wallet-installation.html +++ b/wallet-installation.html | |||
@@ -7,30 +7,30 @@ | |||
7 | <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/millncjiddlpgdmkklmhfadpacifaonc" /> | 7 | <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/millncjiddlpgdmkklmhfadpacifaonc" /> |
8 | <script src="web-common/taler-wallet-lib.js" type="text/javascript"></script> | 8 | <script src="web-common/taler-wallet-lib.js" type="text/javascript"></script> |
9 | 9 | ||
10 | <script type="application/javascript"> | 10 | <script type="application/javascript"> |
11 | /* | 11 | /* |
12 | @licstart The following is the entire license notice for the | 12 | @licstart The following is the entire license notice for the |
13 | JavaScript code in this page. | 13 | JavaScript code in this page. |
14 | 14 | ||
15 | Copyright (C) 2015 GNUnet e.V. | 15 | Copyright (C) 2015 GNUnet e.V. |
16 | 16 | ||
17 | The JavaScript code in this page is free software: you can | 17 | The JavaScript code in this page is free software: you can |
18 | redistribute it and/or modify it under the terms of the GNU | 18 | redistribute it and/or modify it under the terms of the GNU |
19 | Lesser General Public License (GNU LGPL) as published by the Free Software | 19 | Lesser General Public License (GNU LGPL) as published by the Free Software |
20 | Foundation, either version 2.1 of the License, or (at your option) | 20 | Foundation, either version 2.1 of the License, or (at your option) |
21 | any later version. The code is distributed WITHOUT ANY WARRANTY; | 21 | any later version. The code is distributed WITHOUT ANY WARRANTY; |
22 | without even the implied warranty of MERCHANTABILITY or FITNESS | 22 | without even the implied warranty of MERCHANTABILITY or FITNESS |
23 | FOR A PARTICULAR PURPOSE. See the GNU LGPL for more details. | 23 | FOR A PARTICULAR PURPOSE. See the GNU LGPL for more details. |
24 | 24 | ||
25 | As additional permission under GNU LGPL version 2.1 section 7, you | 25 | As additional permission under GNU LGPL version 2.1 section 7, you |
26 | may distribute non-source (e.g., minimized or compacted) forms of | 26 | may distribute non-source (e.g., minimized or compacted) forms of |
27 | that code without the copy of the GNU LGPL normally required by | 27 | that code without the copy of the GNU LGPL normally required by |
28 | section 4, provided you include this license notice and a URL | 28 | section 4, provided you include this license notice and a URL |
29 | through which recipients can access the Corresponding Source. | 29 | through which recipients can access the Corresponding Source. |
30 | 30 | ||
31 | @licend The above is the entire license notice | 31 | @licend The above is the entire license notice |
32 | for the JavaScript code in this page. | 32 | for the JavaScript code in this page. |
33 | */ | 33 | */ |
34 | 34 | ||
35 | function onSuccess() { | 35 | function onSuccess() { |
36 | console.log("installation successful"); | 36 | console.log("installation successful"); |
@@ -44,15 +44,22 @@ | |||
44 | function installWallet() { | 44 | function installWallet() { |
45 | chrome.webstore.install("https://chrome.google.com/webstore/detail/millncjiddlpgdmkklmhfadpacifaonc", onSuccess, onFailure); | 45 | chrome.webstore.install("https://chrome.google.com/webstore/detail/millncjiddlpgdmkklmhfadpacifaonc", onSuccess, onFailure); |
46 | } | 46 | } |
47 | </script> | 47 | </script> |
48 | 48 | ||
49 | <style type="text/css"> | 49 | <style type="text/css"> |
50 | 50 | .greenbox { | |
51 | a[disabled="true"] { | 51 | background-color: #5EFF64; |
52 | pointer-events: none; | 52 | border: solid; |
53 | color: grey; | 53 | border-radius: 5px; |
54 | } | 54 | padding: 0.5em; |
55 | </style> | 55 | } |
56 | .bluebox { | ||
57 | background-color: #C2C6FF; | ||
58 | border: solid; | ||
59 | border-radius: 5px; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | </style> | ||
56 | </head> | 63 | </head> |
57 | 64 | ||
58 | <body> | 65 | <body> |
@@ -71,9 +78,12 @@ | |||
71 | </ul> | 78 | </ul> |
72 | Wallets for other browsers will be provided in the near future. | 79 | Wallets for other browsers will be provided in the near future. |
73 | </p> | 80 | </p> |
74 | <p class="taler-installed-show" id="successbox"> | 81 | <p class="taler-installed-show" id="greenbox"> |
75 | Congratulations, you have installed the Taler wallet correctly. | 82 | Congratulations, you have installed the Taler wallet correctly. |
76 | You can now proceed with the next steps. | 83 | You can now proceed with the next steps. |
77 | </p> | 84 | </p> |
85 | <p class="taler-installed-hide" id="bluebox"> | ||
86 | You don't have a wallet installed yet. | ||
87 | </p> | ||
78 | </body> | 88 | </body> |
79 | </html> | 89 | </html> |