aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/settings.html
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-02-11 17:11:46 +0100
committerSimon Ser <contact@emersion.fr>2020-02-11 17:14:01 +0100
commit19548694e08df0c7f9515cfd22759a73f927b9ba (patch)
treea1c72304b0c2a67d793292504996b934bcc9dc38 /themes/sourcehut/settings.html
parent97eef13db46d0efb67d92f4f5ce69f216b20d359 (diff)
downloadalps-19548694e08df0c7f9515cfd22759a73f927b9ba.tar.gz
alps-19548694e08df0c7f9515cfd22759a73f927b9ba.zip
themes/sourcehut: sync with latest base plugin
Diffstat (limited to 'themes/sourcehut/settings.html')
-rw-r--r--themes/sourcehut/settings.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/themes/sourcehut/settings.html b/themes/sourcehut/settings.html
new file mode 100644
index 0000000..bac1867
--- /dev/null
+++ b/themes/sourcehut/settings.html
@@ -0,0 +1,49 @@
+{{template "head.html"}}
+{{template "nav.html"}}
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col-md-12 header-tabbed">
+ <h2>Settings</h2>
+ <ul class="nav nav-tabs">
+ <li class="nav-item">
+ <a class="nav-link" href="/mailbox/INBOX" >Mail</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="/compose">Compose</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link active" href="/settings">Settings</a>
+ </li>
+ </ul>
+ </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="/mailbox/INBOX"
+ class="btn btn-default"
+ >Cancel</a>
+ <button
+ type="submit"
+ class="btn btn-primary"
+ >Save</button>
+ </div>
+ </form>
+</div>
+
+
+{{template "foot.html"}}