aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/settings.html
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-05-20 12:52:57 -0400
committerSimon Ser <contact@emersion.fr>2020-05-20 19:00:40 +0200
commitee3f66c24c3a8fba4ee1867e15f7c0814abdb100 (patch)
treea0115ae8a0960572d467735d94d439025aa9fe64 /themes/alps/settings.html
parent7142da950d468edd04f3fdb509634684fc28c38f (diff)
downloadalps-ee3f66c24c3a8fba4ee1867e15f7c0814abdb100.tar.gz
alps-ee3f66c24c3a8fba4ee1867e15f7c0814abdb100.zip
alps theme: layout settings page
Diffstat (limited to 'themes/alps/settings.html')
-rw-r--r--themes/alps/settings.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/themes/alps/settings.html b/themes/alps/settings.html
new file mode 100644
index 0000000..f6e586b
--- /dev/null
+++ b/themes/alps/settings.html
@@ -0,0 +1,28 @@
+{{template "head.html" .}}
+{{template "nav.html" .}}
+
+<div class="page-wrap">
+ <aside>
+ <a href="/mailbox/INBOX">Back to inbox</a>
+ </aside>
+
+ <div class="container">
+ <main class="settings">
+ <form method="post">
+ <div class="action-group">
+ <label for="messages_per_page">Messages per page</label>
+ <input
+ type="number"
+ name="messages_per_page"
+ id="messages_per_page"
+ value="{{.Settings.MessagesPerPage}}"
+ required />
+ </div>
+
+ <button type="submit">Save settings</button>
+ </form>
+ </main>
+ </div>
+</div>
+
+{{template "foot.html"}}