summaryrefslogtreecommitdiff
path: root/talersurvey/survey/templates
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-25 18:04:04 +0000
committerng0 <ng0@n0.is>2019-09-25 18:04:04 +0000
commit107efba7d60ff0a3d56b48661d70d5842395a836 (patch)
treea5b2d9d17bb5794fd5668be5f6734154e5d0acdd /talersurvey/survey/templates
parenteeff7dbd327d5e136ac9998b9f2e077a9e4a78a7 (diff)
parent498b14392f7f828af1a239d680da27b859f85033 (diff)
downloadsurvey-107efba7d60ff0a3d56b48661d70d5842395a836.tar.gz
survey-107efba7d60ff0a3d56b48661d70d5842395a836.tar.bz2
survey-107efba7d60ff0a3d56b48661d70d5842395a836.zip
Merge branch 'master' of git.taler.net:survey
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 %}