forked from Ruderverein-Donau-Linz/rowt
start working on auth
This commit is contained in:
26
templates/auth/login.html.tera
Normal file
26
templates/auth/login.html.tera
Normal file
@ -0,0 +1,26 @@
|
||||
{% if flash %}
|
||||
{% if flash.0 == "success" %}
|
||||
<div class="row">
|
||||
<div class="one-column p-1 text-white bg-green mb-3 light text-center">
|
||||
{{ flash.1 }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if flash.0 == "error" %}
|
||||
<div class="row">
|
||||
<div class="one-column p-1 text-white bg-red mb-3 bold text-center">
|
||||
{{ flash.1 }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<form method="post" action="/auth">
|
||||
<label for="name">Name</label>
|
||||
<input type="text" id="name" name="name" />
|
||||
|
||||
<label for="password">Passwort</label>
|
||||
<input type="password" id="password" name="password" />
|
||||
|
||||
<button type="submit">Login</button>
|
||||
</form>
|
Reference in New Issue
Block a user