-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
38 lines (38 loc) · 1.52 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
35
36
37
38
{{define "content"}}
<div class="col-sm-12">
<div class="col-sm-10 col-centered">
<div class="well bs-component">
<form class="form-horizontal" action="/login" method="POST" role="form">
<fieldset>
<legend>Login</legend>
<div class="form-group">
<label for="inputUsername" class="col-sm-4 control-label">Username</label>
<div class="col-sm-4">
<input class="form-control" id="inputUsername" type="text" name="inputUsername">
</div>
</div>
<div class="form-group">
<label for="inputPassword" class="col-sm-4 control-label">Password</label>
<div class="col-sm-6">
<input class="form-control" id="inputPassword" type="password" name="inputPassword">
</div>
</div>
{{if ne .Message ""}}
<div class="col-sm-6 col-sm-offset-4">
<div class="alert alert-dismissible alert-danger">
<button type="button" class="close" data-dismiss="alert">×</button>
<p><span class="glyphicon glyphicon-ban-circle"></span> {{.Message}}</p>
</div>
</div>
{{end}}
<div class="form-group">
<div class="col-sm-4 col-sm-offset-4">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
{{end}}