diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-13 06:34:10 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-13 06:34:10 +0100 |
commit | 3febd04e2e6dc98686364911cd40cc9dadec5e2e (patch) | |
tree | d8c211ec14b2b4463f07a595935ee703ecfd31ad | |
parent | 181d75169a1db1243bcfa6db2b318637e100d938 (diff) | |
download | bank-3febd04e2e6dc98686364911cd40cc9dadec5e2e.tar.gz bank-3febd04e2e6dc98686364911cd40cc9dadec5e2e.tar.bz2 bank-3febd04e2e6dc98686364911cd40cc9dadec5e2e.zip |
always show withdraw button, but disable when wallet not present
-rw-r--r-- | talerbank/app/templates/profile_page.html | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/talerbank/app/templates/profile_page.html b/talerbank/app/templates/profile_page.html index 87af563..ede6742 100644 --- a/talerbank/app/templates/profile_page.html +++ b/talerbank/app/templates/profile_page.html @@ -87,7 +87,7 @@ install the wallet. We plan to support other browsers in the future. </div> - <div class="taler-installed-show"> + <div> <h2>Withdraw digital coins using Taler</h2> <form id="reserve-form" name="tform" action=""> @@ -98,9 +98,23 @@ <!-- programmatically filled --> </select> <input type="text" name="mint_rcv" id="kudos-mint" hidden></input> + + <div class="taler-installed-show"> + <input id="select-exchange" + type="button" + value="Select exchange provider"></input> + </div> + <input id="select-exchange" + class="taler-installed-show" + type="button" + value="Select exchange provider"></input> + <!-- fake disabled button --> <input id="select-exchange" - type="button" - value="Select exchange provider"></input> + class="taler-installed-hide" + type="button" + disabled + value="Select exchange provider"></input> + </div> </form> </div> </article> |