-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
34 lines (32 loc) · 1.11 KB
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ context.title }}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
</head>
<body>
{% include 'menu.html' %}
{{ context.content }}
<div class="container">
<form action="{{ url_for('login') }}" method="post">
<div class="form-group">
<div class="form-item">
<label for="username">Username</label>
<input type="text" name="username" id="username" class="form-control" required>
</div>
<div class="form-item">
<label for="password">Password</label>
<input type="password" name="password" id="password" class="form-control" required>
</div>
<button type="submit" class="btn btn-primary">Login</button>
<hr>
{% if context.message %}
<div class="alert alert-danger">{{ context.message }}</div>
{% endif %}
</div>
</form>
</div>
</body>
</html>