1cf95af41e
This causes the mailbox to automatically reload the page every 60 seconds, without JavaScript. This also updates the base template data to include the full URL, and replaces the earlier "Path" field with a pre-split array of path components, which is more immediately useful to most templates given the limitations of string munging with text/template primitives.
30 lines
686 B
HTML
30 lines
686 B
HTML
{{template "head.html" .Global}}
|
|
{{template "nav.html" .Global}}
|
|
|
|
<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>
|
|
<button
|
|
type="submit"
|
|
class="btn btn-primary"
|
|
>Log in</button>
|
|
</form>
|
|
</div>
|
|
|
|
{{template "foot.html"}}
|