21 lines
672 B
HTML
21 lines
672 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Login</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.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>
|