gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-backoffice] 24/31: better 402 page


From: gnunet
Subject: [GNUnet-SVN] [taler-backoffice] 24/31: better 402 page
Date: Thu, 04 Jan 2018 18:09:47 +0100

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

dold pushed a commit to branch master
in repository backoffice.

commit b639a240a3fcb2a35ec366af1ba293e3436ef284
Author: Florian Dold <address@hidden>
AuthorDate: Sat Dec 9 16:23:01 2017 +0100

    better 402 page
---
 talerblog/blog/templates/base.html     |  1 +
 talerblog/blog/templates/fallback.html | 53 ++++++++++++++++++----------------
 2 files changed, 29 insertions(+), 25 deletions(-)

diff --git a/talerblog/blog/templates/base.html 
b/talerblog/blog/templates/base.html
index dc78eb0..55a60db 100644
--- a/talerblog/blog/templates/base.html
+++ b/talerblog/blog/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/talerblog/blog/templates/fallback.html 
b/talerblog/blog/templates/fallback.html
index ecf22ae..8dc426b 100644
--- a/talerblog/blog/templates/fallback.html
+++ b/talerblog/blog/templates/fallback.html
@@ -1,25 +1,28 @@
-<!doctype html>
-<html>
-  <body>
-   <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 }}">
-       <input type="submit"></input>
-     </form>
-   </div>
-  </body>
-</html>
+{% extends "templates/base.html" %}
+{% block main %}
+
+<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>
+</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]