2168cee by Anon Ray at 2013-10-06 |
1 |
{% extends "base.html" %} |
|
2 |
{% block head %} |
|
3 |
<style type="text/css"> |
|
4 |
.form-wrapper { |
|
5 |
width: 500px; |
|
6 |
margin: 100px auto; |
|
7 |
padding: 30px; |
|
8 |
} |
|
9 |
</style> |
|
10 |
{% endblock %} |
bb07f56 by Anon Ray at 2013-09-06 |
11 |
|
2168cee by Anon Ray at 2013-10-06 |
12 |
{% block body %} |
|
13 |
<div class="container" id="container"> |
|
14 |
<div class="form-wrapper well"> |
|
15 |
{% if error %} |
|
16 |
<div class="alert alert-danger"><b>Error:</b> {{ error }} </div> |
|
17 |
{% endif %} |
|
18 |
<h3> Mouchak Login </h3> |
|
19 |
<p class="lead"> Please enter admin credentials to login</p> |
|
20 |
<form class="form-horizontal" action="{{ url_for('login') }}" method="POST"> |
|
21 |
<div class="form-group"> |
|
22 |
<label class="form-label" for="inputUsername">Username</label> |
|
23 |
<div class="controls"> |
|
24 |
<input type="text" class="form-control" id="inputUsername" name="username" placeholder="Username"> |
|
25 |
</div> |
bb07f56 by Anon Ray at 2013-09-06 |
26 |
</div> |
2168cee by Anon Ray at 2013-10-06 |
27 |
<div class="form-group"> |
|
28 |
<label class="form-label" for="inputPassword">Password</label> |
|
29 |
<div class="controls"> |
|
30 |
<input type="password" class="form-control" id="inputPassword" name="password" placeholder="Password"> |
|
31 |
</div> |
|
32 |
</div> |
|
33 |
<div class="form-group"> |
|
34 |
<div class="controls"> |
|
35 |
<!--label class="checkbox"> |
|
36 |
<input type="checkbox"> Remember me |
|
37 |
</label--> |
|
38 |
<button type="submit" class="btn btn-primary btn-lg">Login</button> |
|
39 |
</div> |
|
40 |
</div> |
|
41 |
<div class="clearfix"></div> |
|
42 |
</form> |
|
43 |
</div> |
|
44 |
</div> |
|
45 |
{% endblock %} |