alps/themes/sourcehut/settings.html
Drew DeVault 1cf95af41e
Add <meta refresh> to mailbox view
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.
2020-05-13 16:58:48 +02:00

38 lines
822 B
HTML

{{template "head.html" .Global}}
{{template "nav.html" .Global}}
<div class="container-fluid">
<div class="row">
<div class="col-md-12 header-tabbed">
<h2>Settings</h2>
</div>
</div>
</div>
<div class="container">
<form method="post" class="col-md-12">
<div class="form-group">
<label for="messages_per_page">Messages per page:</label>
<input
type="number"
name="messages_per_page"
id="messages_per_page"
required
class="form-control"
value="{{.Settings.MessagesPerPage}}" />
</div>
<div class="pull-right">
<a
href="/"
class="btn btn-default"
>Cancel</a>
<button
type="submit"
class="btn btn-primary"
>Save</button>
</div>
</form>
</div>
{{template "foot.html"}}