[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
- [GNUnet-SVN] [taler-backoffice] branch master created (now 24d0c1c), gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 04/31: config defaults, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 24/31: better 402 page,
gnunet <=
- [GNUnet-SVN] [taler-backoffice] 01/31: submodule, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 15/31: typo, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 25/31: add taler nojs tags to make CSS magic work, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 19/31: export PYTHONPATH before tests are run, and include articles and data into the installed bundle., gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 07/31: setuptools, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 02/31: auto{make,conf}, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 13/31: helper module, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 10/31: moving data, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 23/31: fix names, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 26/31: decrease article cost to make it work with tipping, gnunet, 2018/01/04