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-03-04 13:28:42 +01:00
|
|
|
<div class="max-w-screen-lg w-full">
|
|
|
|
{% if flash %}{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}{% endif %}
|
|
|
|
<h1 class="h1">Ruderassistent</h1>
|
2024-01-10 14:08:15 +01:00
|
|
|
<div class="grid gap-3">
|
2024-03-04 13:28:42 +01:00
|
|
|
<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">
|
2024-03-04 15:57:06 +01:00
|
|
|
<a href="https://wiki.rudernlinz.at/ruderassistent#faq"
|
2024-03-04 13:28:42 +01:00
|
|
|
target="_blank"
|
|
|
|
class="link-primary">FAQ (extern)</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2024-01-10 14:08:15 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-04 13:28:42 +01:00
|
|
|
{% 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>
|
2024-01-10 14:08:15 +01:00
|
|
|
</div>
|
2024-03-04 13:28:42 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if "Donau Linz" in loggedin_user.roles and "Unterstützend" not in loggedin_user.roles and "Förderndes Mitglied" not 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">Aktives Vereinsmitglied</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>
|
|
|
|
<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>
|
|
|
|
<li class="py-1">
|
|
|
|
<a href="/stat" class="link-primary">Statistik</a>
|
|
|
|
</li>
|
|
|
|
<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>
|
2024-01-10 14:08:15 +01:00
|
|
|
</div>
|
2024-03-04 13:28:42 +01:00
|
|
|
{% 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>
|
2024-01-19 00:39:15 +01:00
|
|
|
</div>
|
2024-03-04 13:28:42 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if "Vorstand" 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">Vorstand</h2>
|
|
|
|
<div class="text-sm p-3">
|
|
|
|
<ul class="list-disc ms-2">
|
|
|
|
<li class="py-1">
|
|
|
|
<a href="/admin/user/fees" class="link-primary">Übersicht User Gebühren</a>
|
|
|
|
</li>
|
|
|
|
<li class="py-1">
|
|
|
|
<a href="/admin/user" class="link-primary">User</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-10 14:08:15 +01:00
|
|
|
</div>
|
2024-03-04 13:28:42 +01:00
|
|
|
{% 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>
|
|
|
|
<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-03-04 17:01:25 +01:00
|
|
|
<li class="py-1">
|
|
|
|
<a href="/admin/list" class="link-primary">Fingerabdruck-Liste überprüfen</a>
|
|
|
|
</li>
|
2024-03-04 13:28:42 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2024-01-10 14:08:15 +01:00
|
|
|
</div>
|
2024-03-04 13:28:42 +01:00
|
|
|
{% endblock content %}
|