swt23w23/src/main/resources/templates/login.html

70 lines
939 B
HTML
Raw Normal View History

2023-11-06 19:48:33 +01:00
<!DOCTYPE html>
<html lang="en">
<h1>Login</h1>
<!-- FIXME no inline styles -->
<style>
form#login {
display: flex;
flex-direction: column;
gap: 1em;
}
form#login > div {
display: flex;
flex-direction: column;
gap: .5em;
}
form#login > div > * {
display: flex;
}
</style>
<form class="ui form" role="form" th:action="@{/login}" method="post">
<div class="field">
<label for="username">Nutzername</label>
<input class="form-control" type="text" id="username" name="username" autofocus="autofocus" placeholder="Username">
</div>
<div class="field">
<label for="password">Passwort</label>
<input type="password" id="password" name="password" placeholder="Password">
</div>
<div>
<button type="submit" class="ui button">Login</button>
</div>
</form>
<p>Haben Sie noch keinen Account? Registrieren Sie sich <a th:href="@{/register}">hier</a>.</p>
</html>