{% import "includes/macros" as macros %} {% extends "base" %} {% block content %} <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> <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 %} {% 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> </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 "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> </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> <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> </ul> </div> </div> </div> {% endif %} </div> {% endblock content%}