gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-donations] branch master updated: use proper fallout


From: gnunet
Subject: [GNUnet-SVN] [taler-donations] branch master updated: use proper fallout page and include detection stylesheet
Date: Sun, 10 Dec 2017 17:31:27 +0100

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

dold pushed a commit to branch master
in repository donations.

The following commit(s) were added to refs/heads/master by this push:
     new 6d73308  use proper fallout page and include detection stylesheet
6d73308 is described below

commit 6d733084fe7efa9b2879c388680e4f054ca96852
Author: Florian Dold <address@hidden>
AuthorDate: Sun Dec 10 17:30:46 2017 +0100

    use proper fallout page and include detection stylesheet
---
 talerdonations/donations/templates/base.html     |  1 +
 talerdonations/donations/templates/fallback.html | 39 +++++++++++++-----------
 2 files changed, 23 insertions(+), 17 deletions(-)

diff --git a/talerdonations/donations/templates/base.html 
b/talerdonations/donations/templates/base.html
index dc78eb0..55a60db 100644
--- a/talerdonations/donations/templates/base.html
+++ b/talerdonations/donations/templates/base.html
@@ -20,6 +20,7 @@
   <title>Taler Donation Demo</title>
   <link rel="stylesheet" type="text/css" href="{{ 
url('/static/web-common/pure.css') }}" />
   <link rel="stylesheet" type="text/css" href="{{ 
url('/static/web-common/demo.css') }}" />
+  <link rel="stylesheet" type="text/css" href="{{ 
url('/static/web-common/taler-fallback.css') }}" id="taler-presence-stylesheet" 
/>
   <script src="{{ url("/static/web-common/taler-wallet-lib.js") }}" 
type="application/javascript"></script>
   <script src="{{ url("/static/web-common/lang.js") }}" 
type="application/javascript"></script>
   {% block styles %}{% endblock %}
diff --git a/talerdonations/donations/templates/fallback.html 
b/talerdonations/donations/templates/fallback.html
index 448af2b..8dc426b 100644
--- a/talerdonations/donations/templates/fallback.html
+++ b/talerdonations/donations/templates/fallback.html
@@ -1,23 +1,28 @@
 {% extends "templates/base.html" %}
 {% block main %}
-<div id="ccfakeform" class="fade">
- <p>
- Oops, it looks like you don't have a Taler wallet installed.  Why don't you 
enter
- all your credit card details before reading the article? <em>You can also
- use GNU Taler to complete the purchase at any time.</em>
- </p>
 
- <form>
-   First name<br> <input type="text"></input><br>
-   Family name<br> <input type="text"></input><br>
-   Age<br> <input type="text"></input><br>
-   Nationality<br> <input type="text"></input><br>
-   Gender<br> <input type="radio" name"gender">Male</input>
-   CC number<br> <input type="text"></input><br>
-   <input type="radio" name="gender">Female</input><br>
- </form>
- <form method="get" action="/cc-payment/{{ article_name }}">
+<p class="taler-installed-show">
+Payment is being processed.  If nothing happens, please <a href="{{ 
request.path }}">click here</a>.
+</p>
+  
+<div id="ccfakeform" class="taler-installed-hide">
+  <p>
+    Oops, it looks like you don't have a Taler wallet installed.  Why don't 
you enter
+    all your credit card details before reading the article? <em>You can also
+    use GNU Taler to complete the purchase at any time.</em>
+  </p>
+
+  <form>
+    First name<br> <input type="text"><br>
+    Family name<br> <input type="text"><br>
+    Age<br> <input type="text"><br>
+    Nationality<br> <input type="text"><br>
+    Gender<br> <input type="radio" name"gender">Male</input>
+    CC number<br> <input type="text"><br>
+    <input type="radio" name="gender">Female<br>
+  </form>
+  <form method="get" action="/cc-payment/{{ article_name }}">
    <input type="submit"></input>
- </form>
+  </form>
 </div>
 {% endblock main %}

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



reply via email to

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