Webinterface
This commit is contained in:
20
srv/poe_manager/templates/login.html
Normal file
20
srv/poe_manager/templates/login.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user