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>
|
|
|
|
<img class="mx-auto h-16 w-auto" src="https://rudernlinz.at/wp-content/uploads/2021/02/cropped-logo.png" alt="Your Company">
|
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 %}
|
|
|
|
{% if flash.0 == "success" %}
|
|
|
|
<div class="bg-[#4ade80] text-white px-3 py-1 rounded-md text-center">
|
|
|
|
{{ flash.1 }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% if flash.0 == "error" %}
|
|
|
|
<div class="bg-[#f43f5e] text-white px-3 py-1 rounded-md text-center">
|
|
|
|
{{ flash.1 }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% 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-07 09:44:08 +02:00
|
|
|
{{ macros::input(label='Name', name='name', type='input', required=true, class='rounded-t-md') }}
|
2023-04-05 22:20:12 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-04-07 09:44:08 +02:00
|
|
|
{{ macros::input(label='Passwort', name='password', type='password', class='rounded-b-md') }}
|
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-04-05 19:33:31 +02:00
|
|
|
{% endblock content %}
|