gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant-frontends] branch master updated: make /sur


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant-frontends] branch master updated: make /survey page
Date: Fri, 17 Nov 2017 16:06:21 +0100

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

marcello pushed a commit to branch master
in repository merchant-frontends.

The following commit(s) were added to refs/heads/master by this push:
     new 5243b6f  make /survey page
5243b6f is described below

commit 5243b6f7271de980e8671bb8cf5ea1fbb80ff369
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Nov 17 16:06:06 2017 +0100

    make /survey page
---
 talerfrontends/donations/donations.py          |  4 ++++
 talerfrontends/donations/templates/survey.html | 22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/talerfrontends/donations/donations.py 
b/talerfrontends/donations/donations.py
index ffa34c8..bed0fac 100644
--- a/talerfrontends/donations/donations.py
+++ b/talerfrontends/donations/donations.py
@@ -61,6 +61,10 @@ def index():
     return flask.render_template("templates/index.html", 
merchant_currency=CURRENCY)
 
 
address@hidden("/survey")
+def survey():
+    return flask.render_template("templates/survey.html")
+
 @app.route("/javascript")
 def javascript_licensing():
     return flask.render_template("templates/javascript.html")
diff --git a/talerfrontends/donations/templates/survey.html 
b/talerfrontends/donations/templates/survey.html
new file mode 100644
index 0000000..d684a3e
--- /dev/null
+++ b/talerfrontends/donations/templates/survey.html
@@ -0,0 +1,22 @@
+{% extends "templates/base.html" %}
+
+{% block main %}
+  <div>
+    <p>
+      In this page, you can participate in our survey about payment systems
+      and get a nice tip - via your Taler wallet - from this shop!
+    </p>
+  </div>
+  <div>
+    <form action="{{ url('/survey') }}">
+      What do you prefer?<br>
+      <input type="radio" name="paypref" value="taler">
+        <label>Taler</label>
+      </input>
+      <input type="radio" name="paypref" value="visa">
+        <label>Visa</label>
+      </input><br>
+      <input type="submit" value="Submit"></input>
+    </form>
+  </div>
+{% endblock %}

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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