2020-05-13 14:58:22 +00:00
|
|
|
{{template "head.html" .Global}}
|
2020-02-12 00:20:21 +00:00
|
|
|
{{template "nav.html" .Global}}
|
2019-12-12 18:54:57 +00:00
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<form method="post" action="/login" class="col-md-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="username">Username</label>
|
|
|
|
<input
|
|
|
|
class="form-control"
|
|
|
|
type="text"
|
|
|
|
name="username"
|
|
|
|
id="username"
|
|
|
|
autofocus />
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password">Password</label>
|
|
|
|
<input
|
|
|
|
class="form-control"
|
|
|
|
type="password"
|
|
|
|
name="password"
|
|
|
|
id="password" />
|
|
|
|
</div>
|
2021-07-04 18:42:06 +00:00
|
|
|
|
|
|
|
{{if .CanRememberMe}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="remember-me" class="checkbox">
|
|
|
|
<input
|
|
|
|
type="checkbox"
|
|
|
|
name="remember-me"
|
|
|
|
id="remember-me" />
|
|
|
|
Remember me
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
|
2019-12-12 18:54:57 +00:00
|
|
|
<button
|
|
|
|
type="submit"
|
|
|
|
class="btn btn-primary"
|
|
|
|
>Log in</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{template "foot.html"}}
|