diff options
Diffstat (limited to 'talermerchantdemos/templates/donations-index.html.j2')
-rw-r--r-- | talermerchantdemos/templates/donations-index.html.j2 | 48 |
1 files changed, 34 insertions, 14 deletions
diff --git a/talermerchantdemos/templates/donations-index.html.j2 b/talermerchantdemos/templates/donations-index.html.j2 index 05e958e..b50e4f3 100644 --- a/talermerchantdemos/templates/donations-index.html.j2 +++ b/talermerchantdemos/templates/donations-index.html.j2 @@ -6,7 +6,7 @@ <p> {{ gettext("This donations website shows the user experience for donations with GNU Taler.") + "<br>" + - gettext("You can make donations in an toy currency ({currency})").format(currency=merchant_currency) + gettext("You can make donations in a toy currency ({currency})").format(currency=merchant_currency) }} </p> @@ -19,19 +19,39 @@ <form name="tform" action="{{ url_for('checkout',lang=getlang()) }}" 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="{{gettext("Anonymous Donor")}}" /> - <input type="submit" class="pure-button pure-button-primary" value="{{gettext("Donate!")}}" /> + <div> + <label> + Receiver: + <select name="donation_receiver"> + <option value="gnunet">GNUnet</option> + <option value="taler">GNU Taler</option> + <option value="tor">Tor</option> + </select> + </label> + </div> + + <div> + <label> + Amount: + <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> + </label> + </div> + + <div> + <label> + Donor: + <input type="text" name="donation_donor" value="{{gettext("Anonymous Donor")}}" /> + </label> + </div> + + <button class="pure-button pure-button-primary" name="submit"> + {{gettext("Donate!")}} + </button> </div> </form> <p class="graybox"> |