rowt/templates/base.html.tera

59 lines
2.6 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="apple-touch-icon"
sizes="180x180"
href="/public/images/apple-touch-icon.png">
<link rel="icon"
type="image/png"
sizes="32x32"
href="/public/images/favicon-32x32.png">
<link rel="icon"
type="image/png"
sizes="16x16"
href="/public/images/favicon-16x16.png">
<link rel="manifest" href="/public/images/site.webmanifest">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
2024-03-04 13:28:42 +01:00
<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>
2024-03-30 01:36:37 +01:00
<a href="/boatreservation" class="px-2">Bootsreservierung</a>
2024-06-10 19:48:16 +02:00
<a href="/trailerreservation" class="px-2">Hängerreservierung</a>
2024-03-04 13:28:42 +01:00
</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>