alps/plugins/base/public/settings.html
Simon Ser 4d68400036
plugins/base: add settings page
Add a settings page where the user can change the number of messages
displayed per page.
2020-01-28 20:04:33 +01:00

18 lines
401 B
HTML

{{template "head.html"}}
<h1>koushin</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"}}