diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-12 14:24:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-12 14:24:34 +0200 |
commit | 69575fc3936772d8b2284863c22d2fc28cdd1832 (patch) | |
tree | 2ad8dfe9630758da996723ed18af5d67c1347321 /talermerchantdemos/templates/menu.html.j2 | |
parent | 3d6d8fddcdd77931bc7331b2f74cfff79e0561ae (diff) | |
download | taler-merchant-demos-69575fc3936772d8b2284863c22d2fc28cdd1832.tar.gz taler-merchant-demos-69575fc3936772d8b2284863c22d2fc28cdd1832.tar.bz2 taler-merchant-demos-69575fc3936772d8b2284863c22d2fc28cdd1832.zip |
add missing file
Diffstat (limited to 'talermerchantdemos/templates/menu.html.j2')
-rw-r--r-- | talermerchantdemos/templates/menu.html.j2 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/talermerchantdemos/templates/menu.html.j2 b/talermerchantdemos/templates/menu.html.j2 new file mode 100644 index 0000000..e029c4a --- /dev/null +++ b/talermerchantdemos/templates/menu.html.j2 @@ -0,0 +1,25 @@ +{% macro menu(active) -%} +<div style="display:flex; flex-direction: column;" class="navcontainer"> + <nav class="demolist"> + <a href="{{ env('TALER_ENV_URL_INTRO', '#') }}" + {% if active == 'landing' %} class="active" {% endif %} + >{{gettext("Introduction")}}</a> + <a href="{{ env('TALER_ENV_URL_BANK', '#') }}" + {% if active == 'bank' %} class="active" {% endif %} + >{{gettext("Bank")}}</a> + <a href="{{ env('TALER_ENV_URL_MERCHANT_BLOG', '#') }}" + {% if active == 'blog' %} class="active" {% endif %} + >{{gettext("Essay Shop")}}</a> + <a href="{{ env('TALER_ENV_URL_MERCHANT_DONATIONS', '#') }}" + {% if active == 'donations' %} class="active" {% endif %} + >{{gettext("Donations")}}</a> + <a href="{{ env('TALER_ENV_URL_MERCHANT_SURVEY', '#') }}" + {% if active == 'survey' %} class="active" {% endif %} + >{{gettext("Tipping/Survey")}}</a> + <!-- a href="{{ env('TALER_ENV_URL_BACKOFFICE', '#') }}" + {% if active == 'backoffice' %} class="active" {% endif %} + >{{gettext("Back-office")}}</a --> + {% include 'templates/language-switcher.html.j2' %} + </nav> +</div> +{%- endmacro %} |