aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/settings.html
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-11-19 13:14:12 -0500
committerDrew DeVault <sir@cmpwn.com>2020-11-19 13:14:12 -0500
commit51d762ac5fd21c6cac898b2e5eed2eabdb0fe841 (patch)
tree9a62e4920c44dd7f3c5afcd49f9ced7573d7f4de /themes/alps/settings.html
parent8cc742f45df7544c20f43e781d2c7e4aa6a3f4f5 (diff)
downloadalps-51d762ac5fd21c6cac898b2e5eed2eabdb0fe841.tar.gz
alps-51d762ac5fd21c6cac898b2e5eed2eabdb0fe841.zip
Implement mailbox subscriptions
Diffstat (limited to 'themes/alps/settings.html')
-rw-r--r--themes/alps/settings.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/themes/alps/settings.html b/themes/alps/settings.html
index 9fc58ca..61e76e6 100644
--- a/themes/alps/settings.html
+++ b/themes/alps/settings.html
@@ -33,6 +33,23 @@
</div>
<div class="action-group">
+ <label for="subscriptions">Subscribed folders</label>
+ <select name="subscriptions" id="subscriptions" multiple>
+ {{ $subs := .Subscriptions }}
+ {{ range .Mailboxes }}
+ {{ if and (ne .Name "INBOX") (not (.HasAttr "\\Noselect")) }}
+ <option
+ value="{{.Name}}"
+ {{ if $subs.Has .Name }}
+ selected
+ {{ end }}
+ >{{.Name}}</option>
+ {{ end }}
+ {{ end }}
+ </select>
+ </div>
+
+ <div class="action-group">
<label for="messages_per_page">Messages per page</label>
<input
type="number"