show header in kiosk mode

This commit is contained in:
2023-10-23 21:05:59 +02:00
parent 4cb374e246
commit 6f9edfa23f
4 changed files with 11 additions and 3 deletions

View File

@ -12,7 +12,13 @@
<body class="bg-gray-100">
{% if loggedin_user %}
{{ macros::header(loggedin_user=loggedin_user) }}
{% endif %}
{% endif %}
{% if show_kiosk_header %}
<a href="/log">Ausfahrt eintragen</a>
<a href="/log/show">Logbuch</a>
<a href="/stat">Statistik</a>
<a href="/boatdamage">Bootsschaden</a>
{% endif %}
<div class="flex min-h-screen {%if not loggedin_user %} items-center {% else %} items-start {% endif %} justify-center px-4 py-12 sm:px-6 lg:px-8"> {% block content %}{% endblock content %}
</div>