diff options
author | MS <ms@taler.net> | 2020-07-22 16:11:30 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-07-22 16:11:30 +0200 |
commit | 3ca29bf465d0419c0915924910b4e81a73ec8cef (patch) | |
tree | 66a221ee0116abceb0179ddabc03040b0b3c7c1c /talermerchantdemos/donations/templates/index.html | |
parent | 147658b30dfbce61f6f4e087a0c81e85899dda15 (diff) | |
download | taler-merchant-demos-3ca29bf465d0419c0915924910b4e81a73ec8cef.tar.gz taler-merchant-demos-3ca29bf465d0419c0915924910b4e81a73ec8cef.tar.bz2 taler-merchant-demos-3ca29bf465d0419c0915924910b4e81a73ec8cef.zip |
import static files
Diffstat (limited to 'talermerchantdemos/donations/templates/index.html')
-rw-r--r-- | talermerchantdemos/donations/templates/index.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/talermerchantdemos/donations/templates/index.html b/talermerchantdemos/donations/templates/index.html new file mode 100644 index 0000000..cbb3c35 --- /dev/null +++ b/talermerchantdemos/donations/templates/index.html @@ -0,0 +1,42 @@ +{% extends "templates/base.html" %} + +{% block main %} +<h1 lang="en">Welcome to the Taler Donation "Shop" Demo</h1> + +<p>This toy donations website shows the user experience for donations with Taler. +You are paying with an imaginary currency ({{ merchant_currency }}). +</p> + +<div> + <p>Please select a project, the amount (*) of {{ merchant_currency }} you + wish to donate, and enter the name that will appear on your receipt:</p> + + <form name="tform" action="checkout" method="GET" class="pure-form"> + <div class="participation" id="fake-shop"> + <select name="donation_receiver"> + <option value="GNUnet">GNUnet</option> + <option value="Taler">GNU Taler</option> + <option value="Tor">Tor</option> + </select> + <select id="taler-donation" name="donation_amount"> + <option value="{{ merchant_currency }}:0.1">0.1 {{ merchant_currency }}</option> + <option value="{{ merchant_currency }}:1">1 {{ merchant_currency }}</option> + <option value="{{ merchant_currency }}:6">5 {{ merchant_currency }}</option> + <option value="{{ merchant_currency }}:10">10 {{ merchant_currency }}</option> + </select> + <input type="text" name="donation_donor" value="Anonymous Donor" /> + <input type="submit" class="pure-button pure-button-primary" value="Donate!" /> + </div> + </form> + <p> + (*) To make it a bit more fun, the 5 {{ merchant_currency }} option is + deliberately implemented with a fault: the merchant will try to make you + donate 6 {{ merchant_currency }} instead of the 5 {{ merchant_currency }} you + got to see. But do not worry, you will be given the opportunity to review + the final offer from the merchant in a window secured by the Taler + extension. That way, you can spot the error before committing to an + incorrect contract. + </p> +</div> + +{% endblock %} |