login.html 887 Bytes
Newer Older
1
2
3
4
5
6
7
{% extends 'layout.html' %}

{% block title %} Login: {% endblock %}

{% block content %}

<div class="row">
Vladislav Rykov's avatar
Vladislav Rykov committed
8
	<div class="col-md-6 col-md-offset-3">
Vladislav Rykov's avatar
Vladislav Rykov committed
9
10
		<h2> Login </h2>
		<br>
Vladislav Rykov's avatar
Vladislav Rykov committed
11
		<form action="login" method="post">
12
13
			<div class="form-group">
				<label>Username:</label><br>
Vladislav Rykov's avatar
Vladislav Rykov committed
14
15
				<div class="input-group">
					<div class="input-group-addon">@</div>
Vladislav Rykov's avatar
Vladislav Rykov committed
16
					<input type="text" maxlength="30" class="form-control" id="username" name="username" required>
Vladislav Rykov's avatar
Vladislav Rykov committed
17
				</div>
18
			</div>
Vladislav Rykov's avatar
Vladislav Rykov committed
19
			<br>
20
21
			<div class="form-group">
				<label>Password:</label><br>
Vladislav Rykov's avatar
Vladislav Rykov committed
22
				<input type="password" class="form-control" id="password" name="password" required>
23
			</div>
Vladislav Rykov's avatar
Vladislav Rykov committed
24
			<br><br>
25
26
27
28
29
30
31
32
33
34
35
36
37
			<div class="form-group">
				<button type="submit" class="btn btn-primary">Login</button>
			</div>

			{% if feedback %}
			<p class="text-danger float-right">{{ feedback }}</p>
			{% endif %}
		</form>
	</div>
</div>

{% endblock %}