25 lines
1.2 KiB
HTML
25 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
{{ template "header" . }}
|
|
</head>
|
|
<body data-bs-theme="dark" class="h-auto">
|
|
<div class="container-fluid bg-dark mt-5 p-4 rounded-3 text-light text-center" style="max-width: 500px;">
|
|
<h3>Login</h3>
|
|
<hr>
|
|
<form hx-post="/login" hx-target="#login-result" class="position-relative">
|
|
<div class="form-floating mb-3">
|
|
<input class="form-control form-control-lg" type="text" id="username" name="username" placeholder="Username" required>
|
|
<label for="username">Username</label>
|
|
</div>
|
|
<div class="form-floating">
|
|
<input class="form-control form-control-lg" type="password" id="password" name="password" placeholder="Passwort" required>
|
|
<label for="password">Passwort</label>
|
|
</div>
|
|
<button class="btn btn-lg btn-primary mt-4" type="submit"><i class="bi bi-door-open me-3"></i>Anmelden</button>
|
|
<a class="btn btn-lg btn-outline-primary mt-4 ms-2 position-absolute end-0" href="/register" data-bs-toggle="tooltip" data-bs-title="Zur Registrierung"><i class="bi bi-key"></i></a>
|
|
</form>
|
|
<div id="login-result" class="fs-4 mt-2"></div>
|
|
</div>
|
|
</body>
|
|
</html> |