rowt/templates/base.html.tera

47 lines
1.5 KiB
Plaintext
Raw Normal View History

2023-04-06 09:30:43 +02:00
{% import "includes/macros" as macros %}
2023-04-03 16:11:26 +02:00
<!DOCTYPE html>
<html lang="de">
2023-07-30 14:33:50 +02:00
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="manifest" href="public/manifest.json"/>
<link rel="stylesheet" href="/public/main.css"/>
<link rel="icon" type="image/x-icon" href="/public/images/favicon.ico">
<title>Ruderassistent - ASKÖ Ruderverein Donau Linz</title>
</head>
2023-11-04 00:19:46 +01:00
<body class="bg-gray-100 dark:bg-black">
2023-09-27 13:47:43 +02:00
{% if loggedin_user %}
2023-07-30 14:33:50 +02:00
{{ macros::header(loggedin_user=loggedin_user) }}
2023-10-23 21:05:59 +02:00
{% endif %}
{% if show_kiosk_header %}
2023-10-23 21:43:01 +02:00
<header class="bg-primary-900 text-white flex justify-between px-4 py-3 w-full z-10 ">
<div>
2023-10-26 22:11:17 +02:00
<a href="/log">
2023-10-23 21:43:01 +02:00
</a>
</div>
<div>
<a href="/log" class="px-2">Ausfahrt eintragen</a>
<a href="/log/show" class="px-2">Logbuch</a>
2023-10-31 20:29:33 +01:00
<a href="/stat" class="px-2">Statistik</a>
<a href="/stat/boats" class="px-2">Bootsauswertung</a>
2023-10-23 21:43:01 +02:00
<a href="/boatdamage" class="px-2">Bootsschaden</a>
</div>
</header>
2023-10-23 21:05:59 +02:00
{% endif %}
2023-04-03 16:11:26 +02:00
2023-10-23 21:43:01 +02:00
<div class="flex min-h-screen {%if not loggedin_user and not show_kiosk_header %} items-center {% else %} items-start {% endif %} justify-center px-4 py-12 sm:px-6 lg:px-8"> {% block content %}{% endblock content %}
2023-07-30 14:33:50 +02:00
</div>
2023-04-03 16:11:26 +02:00
2023-09-27 13:47:43 +02:00
{% if loggedin_user %}
2023-07-30 14:33:50 +02:00
{% include "includes/footer" %}
2023-09-27 13:47:43 +02:00
{% endif %}
2023-04-03 16:11:26 +02:00
2023-09-27 13:47:43 +02:00
{% include "dynamics/sidebar" %}
2023-07-30 14:33:50 +02:00
<script src="/public/main.js"></script>
</body>
</html>
</body>
</html>