From 2b84f3bd5de3a500b63193924bea2f3dfd0c9afd Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 21 Apr 2021 21:07:18 +0200 Subject: common base template, new logo and lots of cleanup --- talermerchantdemos/landing/templates/base.html.j2 | 48 ------------ talermerchantdemos/landing/templates/error.html.j2 | 13 ---- .../landing/templates/footer.html.j2 | 1 - talermerchantdemos/landing/templates/index.html.j2 | 89 ---------------------- .../landing/templates/language-switcher.html.j2 | 1 - talermerchantdemos/landing/templates/menu.html.j2 | 1 - 6 files changed, 153 deletions(-) delete mode 100644 talermerchantdemos/landing/templates/base.html.j2 delete mode 100644 talermerchantdemos/landing/templates/error.html.j2 delete mode 120000 talermerchantdemos/landing/templates/footer.html.j2 delete mode 100644 talermerchantdemos/landing/templates/index.html.j2 delete mode 120000 talermerchantdemos/landing/templates/language-switcher.html.j2 delete mode 120000 talermerchantdemos/landing/templates/menu.html.j2 (limited to 'talermerchantdemos/landing/templates') diff --git a/talermerchantdemos/landing/templates/base.html.j2 b/talermerchantdemos/landing/templates/base.html.j2 deleted file mode 100644 index 97a91a5..0000000 --- a/talermerchantdemos/landing/templates/base.html.j2 +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - {{ gettext("GNU Taler Demo: Introduction") }} - - - - - {% block styles %}{% endblock %} - {% block scripts %}{% endblock %} - - - -
-


- {{ gettext("Introduction") }}

-

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

-
- {% from 'templates/menu.html.j2' import menu with context %} {{ menu('landing') }} - -
- {% block main %} - This is the main content of the page. - {% endblock %} - {% include 'templates/footer.html.j2' %} -
- - diff --git a/talermerchantdemos/landing/templates/error.html.j2 b/talermerchantdemos/landing/templates/error.html.j2 deleted file mode 100644 index 009947c..0000000 --- a/talermerchantdemos/landing/templates/error.html.j2 +++ /dev/null @@ -1,13 +0,0 @@ -{% 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/footer.html.j2 b/talermerchantdemos/landing/templates/footer.html.j2 deleted file mode 120000 index 028b093..0000000 --- a/talermerchantdemos/landing/templates/footer.html.j2 +++ /dev/null @@ -1 +0,0 @@ -../../templates/footer.html.j2 \ No newline at end of file diff --git a/talermerchantdemos/landing/templates/index.html.j2 b/talermerchantdemos/landing/templates/index.html.j2 deleted file mode 100644 index 9beb7c0..0000000 --- a/talermerchantdemos/landing/templates/index.html.j2 +++ /dev/null @@ -1,89 +0,0 @@ -{% extends "templates/base.html.j2" %} -{% block main %} -
-

{{ gettext("Step 1: Install the Taler wallet") }}

-

- {{ - gettext('Install the wallet from the installation page.').format(link="https://wallet.taler.net/") + "
" + - gettext('Installation only takes one click.') - }} -

-

- {{ gettext('After installation, you may be asked to grant the browser-based Taler wallet additional optional permissions that allow it to improve your user experience.') }}
- {{ gettext('These permissions will allow the wallet to automatically open if a page asks for a Taler payment.') }}
- {{ gettext('Regardless of the permissions you grant, the wallet will never transmit information about you or your browsing history to anyone.') }} -

-
- -
-

{{ gettext("Step 2: Withdraw coins") }}

-

- {{ - gettext('In this demo you are paying with {currency}, an imaginary currency.').format(currency=merchant_currency) + "
" + - gettext('To withdraw {currency} coins you must first create an account at our bank.').format(currency=merchant_currency,bank=bank_url) + "
" + - gettext('Signing up only requires you to pick a username and password.') + "
" + - gettext('When you create an account at our bank, you will be credited 100 {currency} for signing up.').format(currency=merchant_currency) + "
" + - gettext("Afterwards, use the bank's Web interface to authorize the transfer of {currency} to your wallet.").format(currency=merchant_currency) - }} -

-

- {{ gettext('Once you have completed this step, you can click on the Taler icon in your browser to check your balance.') }} -

-
- -
-

{{ gettext("Step 3: Pay") }}

-

- {{ - gettext("We have two demo merchants where you can spend your coins:") - }} -

- -
-
-

{{ gettext("Step 4: Check money flow") }}

-

- {{ - gettext('You can see the wire transfers from the escrow account of the exchange to the merchants on the public accounts page of the bank.').format(bank=bank_url) + "
" + - gettext('Note that only accounts configured to be publicly viewable are shown on that page.') - }} -

-
-
-

{{ gettext("Step 5: Survey") }}

-

- {{ - gettext("Websites can give tips to visitors for completing tasks.") + "
" + - gettext('You can earn some {currency} coins by filling in our survey.').format(url=merchant_survey_url,currency=merchant_currency) - }} -

-
- -
-

{{ gettext("Step 6: Reach out to us") }}

-

- {{ - gettext("We appreciate feedback about Taler and this demonstrator.") + "
" + - gettext('Let us know what you think by contacting us.').format(link="mailto:demo-feedback@taler.net") - }} -

-
-{% endblock %} diff --git a/talermerchantdemos/landing/templates/language-switcher.html.j2 b/talermerchantdemos/landing/templates/language-switcher.html.j2 deleted file mode 120000 index 6423c5c..0000000 --- a/talermerchantdemos/landing/templates/language-switcher.html.j2 +++ /dev/null @@ -1 +0,0 @@ -../../templates/language-switcher.html.j2 \ No newline at end of file diff --git a/talermerchantdemos/landing/templates/menu.html.j2 b/talermerchantdemos/landing/templates/menu.html.j2 deleted file mode 120000 index b9575ea..0000000 --- a/talermerchantdemos/landing/templates/menu.html.j2 +++ /dev/null @@ -1 +0,0 @@ -../../templates/menu.html.j2 \ No newline at end of file -- cgit v1.2.3