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.
18 lines
400 B
HTML
18 lines
400 B
HTML
{{template "head.html" .}}
|
|
|
|
<h1>alps</h1>
|
|
|
|
<p>
|
|
<a href="/mailbox/INBOX">Back</a>
|
|
</p>
|
|
|
|
<h2>Settings</h2>
|
|
|
|
<form method="post" action="">
|
|
<label for="messages_per_page">Messages per page:</label>
|
|
<input type="number" name="messages_per_page" id="messages_per_page" required value="{{.Settings.MessagesPerPage}}">
|
|
<br><br>
|
|
<input type="submit" value="Save">
|
|
</form>
|
|
|
|
{{template "foot.html"}}
|