gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-merchant-demos] 04/04: adding label to inputs


From: gnunet
Subject: [taler-taler-merchant-demos] 04/04: adding label to inputs
Date: Wed, 19 Oct 2022 04:48:31 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository taler-merchant-demos.

commit cddb599bf700d17486acca90653c27203646e08c
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Oct 18 23:48:12 2022 -0300

    adding label to inputs
---
 .../templates/donations-index.html.j2              | 44 +++++++++++++++-------
 1 file changed, 31 insertions(+), 13 deletions(-)

diff --git a/talermerchantdemos/templates/donations-index.html.j2 
b/talermerchantdemos/templates/donations-index.html.j2
index 694efa9..17a530e 100644
--- a/talermerchantdemos/templates/donations-index.html.j2
+++ b/talermerchantdemos/templates/donations-index.html.j2
@@ -19,19 +19,37 @@
 
   <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" 
value="{{gettext("Donate!")}}" />
     </div>
   </form>
   <p class="graybox">

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]