rowt/templates/base.html.tera

46 lines
2.0 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">
2024-03-04 13:28:42 +01: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>
<body class="bg-gray-100 dark:bg-black">
{% if loggedin_user %}{{ macros::header(loggedin_user=loggedin_user) }}{% endif %}
{% if show_kiosk_header %}
<header class="bg-primary-900 text-white flex justify-between px-4 py-3 w-full z-10 ">
<div>
<a href="/log">Hü</a>
</div>
<div>
<a href="/log" class="px-2">Ausfahrt eintragen</a>
<a href="/log/show" class="px-2">Logbuch</a>
<a href="/stat" class="px-2">Statistik</a>
<a href="/stat/boats" class="px-2">Bootsauswertung</a>
<a href="/boatdamage" class="px-2">Bootsschaden</a>
</div>
</header>
{% endif %}
2024-03-09 16:15:47 +01:00
<div class="flex flex-wrap min-h-screen {% if not loggedin_user and not show_kiosk_header %} items-center dark:bg-primary-900 {% else %} items-start {% endif %} justify-center px-4 py-12 sm:px-6 lg:px-8">
{% if flash and loggedin_user %}
<div class="max-w-screen-lg w-full mb-3">
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
</div>
{% endif %}
2024-03-04 13:28:42 +01:00
{% block content %}
{% endblock content %}
2023-10-23 21:43:01 +02:00
</div>
2024-03-04 13:28:42 +01:00
{% if loggedin_user %}
{% include "includes/footer" %}
2023-09-27 13:47:43 +02:00
{% endif %}
{% include "dynamics/sidebar" %}
2024-03-04 13:28:42 +01:00
<script src="/public/main.js"></script>
</body>
</html>
</body>
</html>