mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
70 lines
939 B
HTML
70 lines
939 B
HTML
<!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>
|