summaryrefslogtreecommitdiff
path: root/talersurvey/survey/templates
diff options
context:
space:
mode:
Diffstat (limited to 'talersurvey/survey/templates')
-rw-r--r--talersurvey/survey/templates/index.html6
-rw-r--r--talersurvey/survey/templates/show_tip.html35
2 files changed, 36 insertions, 5 deletions
diff --git a/talersurvey/survey/templates/index.html b/talersurvey/survey/templates/index.html
index ffd8f61..e58e669 100644
--- a/talersurvey/survey/templates/index.html
+++ b/talersurvey/survey/templates/index.html
@@ -7,11 +7,7 @@
and get a nice tip - via your Taler wallet - from this shop! <a href={{ url_for('survey_stats') }}>(survey stats)</a>
</p>
</div>
- <div class="taler-installed-hide">
- <p>The survey is not possible without the wallet;
- please <a href="https://taler.net/wallet-installation.html">install one!</a></p>
- </div>
- <div class="taler-installed-show">
+ <div>
<form action="{{ url_for('submit_survey') }}" method="post" class="pure-form pure-form-stacked">
<legend>What do you prefer?</legend>
<fieldset>
diff --git a/talersurvey/survey/templates/show_tip.html b/talersurvey/survey/templates/show_tip.html
new file mode 100644
index 0000000..1c6317a
--- /dev/null
+++ b/talersurvey/survey/templates/show_tip.html
@@ -0,0 +1,35 @@
+{% extends "templates/base.html" %}
+
+
+{% block meta %}
+<noscript>
+ <meta http-equiv="refresh" content="1">
+</noscript>
+{% endblock meta %}
+
+{% block main %}
+
+<h1>Tip Offered</h1>
+
+<div class="taler-installed-hide">
+ <p>
+ Looks like your browser doesn't support GNU Taler payments. You can try
+ installing a <a href="https://taler.net/en/wallet.html">wallet browser extension</a>.
+ </p>
+</div>
+
+<div>
+
+ <p>
+ You can use this QR code to receive a tip with your mobile wallet:
+ </p>
+
+ {{ qrcode_svg | safe }}
+
+ <p>
+ Click <a href="{{ taler_tip_uri }}">this link</a> to open your system's Taler wallet if it exists.
+ </p>
+
+</div>
+
+{% endblock main %}