2020-05-13 14:58:22 +00:00
|
|
|
{{template "head.html" .}}
|
2020-03-19 17:03:13 +00:00
|
|
|
|
2020-05-13 18:48:02 +00:00
|
|
|
<main class="login">
|
|
|
|
<section>
|
|
|
|
<h1>Webmail Login</h1>
|
|
|
|
|
|
|
|
<form method="post" action="/login">
|
|
|
|
<div class="action-group">
|
2020-05-20 17:05:05 +00:00
|
|
|
<label for="username">Username</label>
|
2020-03-19 17:03:13 +00:00
|
|
|
<input type="text" name="username" id="username" autofocus />
|
2020-05-13 18:48:02 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="action-group">
|
2020-05-20 17:05:05 +00:00
|
|
|
<label for="password">Password</label>
|
2020-03-19 17:03:13 +00:00
|
|
|
<input type="password" name="password" id="password" />
|
2020-05-13 18:48:02 +00:00
|
|
|
</div>
|
|
|
|
|
2020-05-20 17:05:05 +00:00
|
|
|
{{if .CanRememberMe}}
|
|
|
|
<div class="action-group">
|
|
|
|
<label for="remember-me" class="checkbox">
|
|
|
|
<input type="checkbox" name="remember-me" id="remember-me" />
|
|
|
|
Remember me
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
|
2020-05-13 18:48:02 +00:00
|
|
|
<div class="action-group">
|
|
|
|
<button type="submit">Sign in</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
</main>
|
2020-03-19 17:03:13 +00:00
|
|
|
|
|
|
|
{{template "foot.html"}}
|