blob: 757aac034febe3dac4b864a9834b7111837913bf (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
<!DOCTYPE html>
<html lang="en">
<head>
<title>Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
<link href="{{url_for('static', filename='wedding.css')}}" rel="stylesheet">
</head>
<body>
<div class="row">
<img class="center-block" src="{{url_for('static', filename='banner1.jpg')}}" alt="banner">
</div>
<div id="login" class="row">
<form id = "connection" action="/login/" role="form"
class="form-horizontal" method="post">
<div class="form-group">
<label id="lab-lang" class="col-md-4 control-label">Language:</label>
<div class="col-md-8">
<label class="radio-inline">
<input type="radio" value="en" name="language" checked>
English
</label>
<label class="radio-inline">
<input type="radio" value="fr" name="language">
Français
</label>
<label class="radio-inline">
<input type="radio" value="sr" name="language">
Naši</label>
</div>
<br/>
</div>
<div class="form-group">
<label for="name" class="col-md-4 control-label">Name:</label>
<div class="col-md-5">
<input type="text" id="name" class="form-control"
name="username" placeholder="{{_('Name')}}"/>
</div>
</div>
<div class="form-group">
<label for="password" class="col-md-4 control-label">
Password:</label>
<div class="col-md-5">
<input type="password" id="password" class="form-control"
name="password" placeholder="{{_('Password')}}"/>
</div>
</div>
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<div class="alert alert-danger col-md-offset-2 col-md-7" role="alert">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true">
</span>
{{message}}
</div>
{% endfor %}
{% endif %}
{% endwith %}
<div class="form-group">
<div class="col-md-offset-4 col-md-8">
<button type="submit" class="btn btn-primary" name="login">
Login
</button>
</div>
</div>
</form>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="{{url_for('static', filename='wedding.js')}}"></script>
</body>
</html>
|