2023-04-05 19:33:31 +02:00
|
|
|
{% extends "base" %}
|
|
|
|
|
|
|
|
{% block content %}
|
2023-04-05 22:20:12 +02:00
|
|
|
<div class="w-full max-w-md space-y-8">
|
|
|
|
<div>
|
2023-06-08 10:57:42 +02:00
|
|
|
<img class="mx-auto h-16 w-auto" src="https://rudernlinz.at/wp-content/uploads/2021/02/cropped-logo.png" alt="Logo Ruderassistent">
|
2023-04-07 09:44:08 +02:00
|
|
|
<h1 class="mt-6 h1">Ruderassistent</h1>
|
2023-04-05 22:20:12 +02:00
|
|
|
</div>
|
2023-04-06 09:30:43 +02:00
|
|
|
|
|
|
|
{% if flash %}
|
2023-04-07 09:57:38 +02:00
|
|
|
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
|
2023-04-06 09:30:43 +02:00
|
|
|
{% endif %}
|
2023-04-05 22:20:12 +02:00
|
|
|
<form class="mt-8 space-y-6" method="post" action="/auth">
|
|
|
|
<input type="hidden" name="remember" value="true">
|
|
|
|
<div class="-space-y-px rounded-md shadow-sm">
|
|
|
|
<div>
|
2023-04-28 21:06:14 +02:00
|
|
|
{{ macros::input(label='Name', name='name', type='input', required=true, class='rounded-t-md',hide_label=true) }}
|
2023-04-05 22:20:12 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-04-28 21:06:14 +02:00
|
|
|
{{ macros::input(label='Passwort', name='password', type='password', class='rounded-b-md',hide_label=true) }}
|
2023-04-05 22:20:12 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-03 16:11:26 +02:00
|
|
|
|
2023-04-05 22:20:12 +02:00
|
|
|
<div>
|
2023-04-07 09:44:08 +02:00
|
|
|
<button type="submit" class="group relative flex w-full justify-center btn btn-primary">
|
2023-04-05 22:20:12 +02:00
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3">
|
2023-04-07 09:44:08 +02:00
|
|
|
{% include "includes/lock-icon" %}
|
2023-04-05 22:20:12 +02:00
|
|
|
</span>
|
|
|
|
Einloggen
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2023-06-08 10:57:42 +02:00
|
|
|
{% endblock content %}
|