2023-04-06 17:54:08 +02:00
|
|
|
{% import "includes/macros" as macros %}
|
|
|
|
|
2023-04-03 16:11:26 +02:00
|
|
|
{% extends "base" %}
|
|
|
|
|
|
|
|
{% block content %}
|
2024-01-10 14:08:15 +01:00
|
|
|
<div class="max-w-screen-lg w-full">
|
2023-07-30 14:33:50 +02:00
|
|
|
{% if flash %}
|
|
|
|
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
|
|
|
|
{% endif %}
|
2024-01-10 14:08:15 +01:00
|
|
|
<h1 class="h1">Ruderassistent</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="grid gap-3">
|
|
|
|
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5" role="alert">
|
|
|
|
<h2 class="h2">Allgemein</h2>
|
|
|
|
<div class="text-sm p-3">
|
|
|
|
<ul class="list-disc ms-2">
|
|
|
|
<li class="py-1"><a href="https://rudernlinz.at/termin" target="_blank" class="link-primary">FAQ (extern)</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% if loggedin_user.weight and loggedin_user.sex and loggedin_user.dob %}
|
|
|
|
<div class="grid gap-3">
|
|
|
|
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5" role="alert">
|
|
|
|
<h2 class="h2">Ergo</h2>
|
|
|
|
<div class="text-sm p-3">
|
|
|
|
<ul class="list-disc ms-2">
|
|
|
|
<li class="py-1"><a href="/ergo" class="link-primary">Ergo</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2024-01-18 21:36:38 +01:00
|
|
|
{% if "Donau Linz" in loggedin_user.roles and "Unterstützend" not in loggedin_user.roles and "Förderndes Mitglied" not in loggedin_user.roles %}
|
2024-01-10 14:08:15 +01:00
|
|
|
<div class="grid gap-3">
|
|
|
|
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5" role="alert">
|
2024-01-18 21:36:38 +01:00
|
|
|
<h2 class="h2">Aktives Vereinsmitglied</h2>
|
2024-01-10 14:08:15 +01:00
|
|
|
<div class="text-sm p-3">
|
|
|
|
<ul class="list-disc ms-2">
|
|
|
|
<li class="py-1"><a href="/planned" class="link-primary">Geplante Ausfahrten</a></li>
|
|
|
|
<li class="py-1"><a href="/log" class="link-primary">Ausfahrt eintragen</a></li>
|
|
|
|
<li class="py-1"><a href="/log/show" class="link-primary">Logbuch</a></li>
|
2024-01-18 09:32:25 +01:00
|
|
|
<li class="py-1"><a href="/stat" class="link-primary">Statistik</a></li>
|
2024-01-10 14:08:15 +01:00
|
|
|
<li class="py-1"><a href="/stat/boats" class="link-primary">Bootsauswertung</a></li>
|
|
|
|
<li class="py-1"><a href="/boatdamage" class="link-primary">Bootsschaden</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if "scheckbuch" in loggedin_user.roles %}
|
|
|
|
<div class="grid gap-3">
|
|
|
|
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5" role="alert">
|
|
|
|
<h2 class="h2">Scheckbuch</h2>
|
|
|
|
<div class="text-sm p-3">
|
|
|
|
<ul class="list-disc ms-2">
|
|
|
|
<li class="py-1"><a href="/planned" class="link-primary">Geplante Ausfahrten</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if "admin" in loggedin_user.roles %}
|
|
|
|
<div class="grid gap-3">
|
|
|
|
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5" role="alert">
|
|
|
|
<h2 class="h2">Admin</h2>
|
|
|
|
<div class="text-sm p-3">
|
|
|
|
<ul class="list-disc ms-2">
|
|
|
|
<li class="py-1"><a href="/admin/boat" class="link-primary">Boote</a></li>
|
|
|
|
<li class="py-1"><a href="/admin/user" class="link-primary">User</a></li>
|
2024-01-18 09:32:25 +01:00
|
|
|
<li class="py-1"><a href="/admin/mail" class="link-primary">Mail (beautifully layouted)</a></li>
|
|
|
|
<li class="py-1"><a href="/admin/rss" class="link-primary">Logs</a></li>
|
2024-01-10 14:08:15 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock content%}
|