21 lines
694 B
HTML
21 lines
694 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Login</title>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
|
|
</head>
|
|
<body class="p-5">
|
|
<h2>Login</h2>
|
|
<form method="post">
|
|
<input class="form-control mb-2" name="username" placeholder="Benutzername" required>
|
|
<input type="password" class="form-control mb-2" name="password" placeholder="Passwort" required>
|
|
<button class="btn btn-primary">Login</button>
|
|
</form>
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<div class="mt-2 alert alert-danger">{{ messages[0] }}</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
</body>
|
|
</html>
|