From d69934f816c7e48d758452dd443eca0f02dd14ce Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 11 Oct 2020 17:03:12 +0200 Subject: add landing subpage, simplify deployment --- talermerchantdemos/landing/templates/base.html.j2 | 114 +++++++++++++++++++++ talermerchantdemos/landing/templates/error.html.j2 | 13 +++ talermerchantdemos/landing/templates/index.html.j2 | 73 +++++++++++++ 3 files changed, 200 insertions(+) create mode 100644 talermerchantdemos/landing/templates/base.html.j2 create mode 100644 talermerchantdemos/landing/templates/error.html.j2 create mode 100644 talermerchantdemos/landing/templates/index.html.j2 (limited to 'talermerchantdemos/landing/templates') diff --git a/talermerchantdemos/landing/templates/base.html.j2 b/talermerchantdemos/landing/templates/base.html.j2 new file mode 100644 index 0000000..7cf16f1 --- /dev/null +++ b/talermerchantdemos/landing/templates/base.html.j2 @@ -0,0 +1,114 @@ + + + + + + {{ gettext("Taler Demo") }} + + + + + + {% block styles %}{% endblock %} + {% block scripts %}{% endblock %} + + + +
+

{{ gettext("Taler Demo") }}

+

{{ gettext("Survey") }}

+

{{ + gettext("This is the Taler demo.") + "
" + + gettext("Here you can try out the Taler payment system using a toy currency.") + }} +

+
+ + +
+ {% block main %} + This is the main content of the page. + {% endblock %} +
+
+

{{ gettext('You can learn more about Taler on our main website.').format(site="https://taler.net/") }}

+
+

Copyright © 2014—2020 Taler Systems SA

+
+
+ + diff --git a/talermerchantdemos/landing/templates/error.html.j2 b/talermerchantdemos/landing/templates/error.html.j2 new file mode 100644 index 0000000..009947c --- /dev/null +++ b/talermerchantdemos/landing/templates/error.html.j2 @@ -0,0 +1,13 @@ +{% extends "templates/base.html.j2" %} +{% block main %} +

{{ gettext("Error encountered") }}

+ +

{{ message }}

+ + {% if stack %} +

{{gettext("Stack trace:")}}

+
+    {{ stack }}
+  
+ {% endif %} +{% endblock main %} diff --git a/talermerchantdemos/landing/templates/index.html.j2 b/talermerchantdemos/landing/templates/index.html.j2 new file mode 100644 index 0000000..cc6b874 --- /dev/null +++ b/talermerchantdemos/landing/templates/index.html.j2 @@ -0,0 +1,73 @@ +{% extends "templates/base.html.j2" %} +{% block main %} +
+

Step 1: Install the Taler wallet

+ Install the wallet from the installation page. + It only takes one click. +

+ You don't have a wallet installed yet. +

+

+ Congratulations, you have installed the Taler wallet correctly. + You can now proceed with the next steps. +

+
+ +
+

Step 2: Withdraw coins

+

+ + Now you can withdraw coins into your wallet by going to our bank. + + In this demo you are paying with KUDOS, an imaginary currency. When you + create an account at our bank, you'll get 100 KUDOS for free. +

+

+ We cannnot check if you were able to complete this step, since websites + cannot see the balance in your wallet. Please click on the Taler icon + in your browser to check your balance. +

+
+ +
+

Step 3: Pay

+ We have two demo merchants where you can spend your coins: + +
+
+

Step 4: Check money flow

+ +
+ +
+

Step 5: Reach out to us

+ Let us know what you think by contacting us. +
+{% endblock %} -- cgit v1.2.3