From 3e5536174253a11bb214d766d7377347265fcf6a Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 24 Nov 2017 20:23:06 +0100 Subject: missing templates --- talerdonations/donations/templates/backoffice.html | 46 ++++++++++++++++ talerdonations/donations/templates/checkout.html | 56 +++++++++++++++++++ .../donations/templates/execute-payment.html | 12 +++++ talerdonations/donations/templates/fallback.html | 23 ++++++++ .../donations/templates/fulfillment.html | 7 +++ talerdonations/donations/templates/index.html | 62 ++++++++++++++++++++++ talerdonations/donations/templates/javascript.html | 22 ++++++++ 7 files changed, 228 insertions(+) create mode 100644 talerdonations/donations/templates/backoffice.html create mode 100644 talerdonations/donations/templates/checkout.html create mode 100644 talerdonations/donations/templates/execute-payment.html create mode 100644 talerdonations/donations/templates/fallback.html create mode 100644 talerdonations/donations/templates/fulfillment.html create mode 100644 talerdonations/donations/templates/index.html create mode 100644 talerdonations/donations/templates/javascript.html (limited to 'talerdonations') diff --git a/talerdonations/donations/templates/backoffice.html b/talerdonations/donations/templates/backoffice.html new file mode 100644 index 0000000..719d4b6 --- /dev/null +++ b/talerdonations/donations/templates/backoffice.html @@ -0,0 +1,46 @@ +{% extends "templates/base.html" %} +{% block main %} +

Backoffice

+

This page simulates a backoffice facility. Through it, + the user can see the money flow from Taler transactions to + wire transfers and viceversa.

+ + + + + + + + + + +
+
+ +
+ Fake scroll +{% endblock main %} + +{% block styles %} + +{% endblock styles %} + +{% block scripts %} + +{% endblock scripts %} diff --git a/talerdonations/donations/templates/checkout.html b/talerdonations/donations/templates/checkout.html new file mode 100644 index 0000000..a7d009c --- /dev/null +++ b/talerdonations/donations/templates/checkout.html @@ -0,0 +1,56 @@ +{% extends "templates/base.html" %} + +{% block main %} +
+

Select your payment method

+ +

+ This is an example for a "checkout" page of a Web shop. + On the previous page, you have created the shopping cart + and decided which product to buy (i.e. which project to + donate KUDOS to). Now in this page, you are asked to + select a payment option. As Taler is not yet universally + used, we expect merchants will offer various payment options. +

+

+ The page also demonstrates how to only enable (or show) the Taler + option if Taler is actually supported by the browser. For example, + if you disable the Taler extension now, the Taler payment option + will be disabled in the page. Naturally, you could also trivially + hide the Taler option entirely by changing the visibility instead. +

+

+ Note that you MUST select Taler here for the demo to continue, + as the other payment options are just placeholders and not + really working in the demonstration. Also, it is of course + possible to ask the user to make this choice already on the + previous page (with the shopping cart), we just separated the + two steps to keep each step as simple as possible. +

+ + + +
+

+ + + Lisa +
+ You Card +
+ Card Me +
+ Taler +
+ +
+
+ +
+ +{% endblock main %} diff --git a/talerdonations/donations/templates/execute-payment.html b/talerdonations/donations/templates/execute-payment.html new file mode 100644 index 0000000..e1283ce --- /dev/null +++ b/talerdonations/donations/templates/execute-payment.html @@ -0,0 +1,12 @@ +{% extends "templates/base.html" %} + +{% block scripts %} + + + + +{% endblock scripts %} + +{% block main %} +
Executing payment
+{% endblock main %} diff --git a/talerdonations/donations/templates/fallback.html b/talerdonations/donations/templates/fallback.html new file mode 100644 index 0000000..448af2b --- /dev/null +++ b/talerdonations/donations/templates/fallback.html @@ -0,0 +1,23 @@ +{% extends "templates/base.html" %} +{% block main %} +
+

+ 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? You can also + use GNU Taler to complete the purchase at any time. +

+ +
+ First name

+ Family name

+ Age

+ Nationality

+ Gender
Male + CC number

+ Female
+
+
+ +
+
+{% endblock main %} diff --git a/talerdonations/donations/templates/fulfillment.html b/talerdonations/donations/templates/fulfillment.html new file mode 100644 index 0000000..67e56ff --- /dev/null +++ b/talerdonations/donations/templates/fulfillment.html @@ -0,0 +1,7 @@ +{% extends "templates/base.html" %} + +{% block main %} +

Thanks for donating {{ donation_amount }} {{ currency }} to {{ donation_receiver }}.

+ +

Please keep the order identifier {{ order_id }} as a receipt for your donation.

+{% endblock main %} diff --git a/talerdonations/donations/templates/index.html b/talerdonations/donations/templates/index.html new file mode 100644 index 0000000..0dc72a4 --- /dev/null +++ b/talerdonations/donations/templates/index.html @@ -0,0 +1,62 @@ +{% extends "templates/base.html" %} + +{% block main %} +

Welcome to the Taler Donation "Shop" Demo

+ +

This toy donations website shows the user experience for donations with Taler. +You are paying with an imaginary currency ({{ merchant_currency }}). +

+ +
+

Installing the Taler wallet

+ First, you need to install the Taler wallet browser extension. + Install the wallet + + + Wallets for other browsers will be provided in the near future. +
+ +
+

Please choose a project and the amount (*) of {{ merchant_currency }} you + wish to donate:

+ +
+
+ + + +
+
+

+ (*) To make it a bit more fun, the 5 KUDOS option + is deliberately implemented with a fault: the merchant will try to + make you donate 6 KUDOS instead of the 5 KUDOS you got to see. But do + not worry, you will be given the opportunity to review the + final offer from the merchant in a window secured + by the Taler extension. That way, you can spot the + error before committing to an incorrect contract. +

+
+ +

Back-office interface

+ + +{% endblock %} diff --git a/talerdonations/donations/templates/javascript.html b/talerdonations/donations/templates/javascript.html new file mode 100644 index 0000000..fa94218 --- /dev/null +++ b/talerdonations/donations/templates/javascript.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + +
taler-wallet-lib.jsLGPLtaler-wallet-lib.js.tar.gz
dropdown-navbar_script.jsLGPLdropdown-navbar_script.js
dropdown-navbar_script.jsLGPLdropdown-navbar_script.js
+ + -- cgit v1.2.3