4d68400036
Add a settings page where the user can change the number of messages displayed per page.
18 lines
401 B
HTML
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"}}
|