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

28 lines
1,018 B
HTML
Raw Normal View History

<!--/*-->
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-FileCopyrightText: 2023 swt23w23
<!--*/-->
2023-11-06 19:48:33 +01:00
<!DOCTYPE html>
2023-11-13 20:09:39 +01:00
<html xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Login')}">
2023-11-06 19:48:33 +01:00
2023-11-15 17:27:04 +01:00
<div layout:fragment="content">
<div class="login-container mb-4">
<form th:action="@{/login}" method="post">
<div class="mb-3">
<label class="form-label" for="username">Nutzername</label>
<input class="form-control" type="text" id="username" name="username" autofocus="autofocus">
</div>
<div class="mb-3">
<label class="form-label" for="password">Passwort</label>
<input class="form-control" type="password" id="password" name="password">
</div>
<button class="btn btn-primary" type="submit">Login</button>
</form>
</div>
2023-11-13 20:09:39 +01:00
<p>Haben Sie noch keinen Account? Registrieren Sie sich <a th:href="@{/register}">hier</a>.</p>
2023-11-15 17:27:04 +01:00
</div>
2023-11-06 19:48:33 +01:00
</html>