summaryrefslogtreecommitdiff
path: root/talermerchantdemos/templates/common-base.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/templates/common-base.html.j2')
-rw-r--r--talermerchantdemos/templates/common-base.html.j234
1 files changed, 32 insertions, 2 deletions
diff --git a/talermerchantdemos/templates/common-base.html.j2 b/talermerchantdemos/templates/common-base.html.j2
index ff8d655..17e27c6 100644
--- a/talermerchantdemos/templates/common-base.html.j2
+++ b/talermerchantdemos/templates/common-base.html.j2
@@ -38,13 +38,43 @@
{% endblock %}
</div>
</header>
- {% from 'menu.html.j2' import menu with context %} {{ menu('landing') }}
+
+
+ <div style="display:flex; flex-direction: column;" class="navcontainer">
+ <nav class="demolist">
+ <a href="{{ env('TALER_ENV_URL_INTRO', '#') + getlang() + '/' }}"
+ {% if getactive() == 'landing' %} class="active" {% endif %}
+ >{{gettext("Introduction")}}</a>
+ <a href="{{ env('TALER_ENV_URL_BANK', '#') + getlang() + '/' }}"
+ {% if getactive() == 'bank' %} class="active" {% endif %}
+ >{{gettext("Bank")}}</a>
+ <a href="{{ env('TALER_ENV_URL_MERCHANT_BLOG', '#') + getlang() + '/' }}"
+ {% if getactive() == 'blog' %} class="active" {% endif %}
+ >{{gettext("Essay Shop")}}</a>
+ <a href="{{ env('TALER_ENV_URL_MERCHANT_DONATIONS', '#') + getlang() + '/' }}"
+ {% if getactive() == 'donations' %} class="active" {% endif %}
+ >{{gettext("Donations")}}</a>
+ <a href="{{ env('TALER_ENV_URL_MERCHANT_SURVEY', '#') + getlang() + '/' }}"
+ {% if getactive() == 'survey' %} class="active" {% endif %}
+ >{{gettext("Tipping/Survey")}}</a>
+ {% include 'language-switcher.html.j2' %}
+ </nav>
+ </div>
<section id="main" class="content">
{% block main %}
This is the main content of the page.
{% endblock %}
- {% include 'footer.html.j2' %}
+ <hr />
+ <div>
+ <p>
+ {{
+ gettext('You can learn more about GNU Taler on our main <a href="{site}">website</a>.').format(site="https://taler.net/" + getlang() + "/")
+ }}
+ </p>
+ <div style="flex-grow:1"></div>
+ <p>Copyright &copy; 2014&mdash;2020 Taler Systems SA</p>
+ </div>
</section>
</body>
</html>