From 51d762ac5fd21c6cac898b2e5eed2eabdb0fe841 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 19 Nov 2020 13:14:12 -0500 Subject: Implement mailbox subscriptions --- themes/alps/assets/style.css | 12 +++++++++--- themes/alps/settings.html | 17 +++++++++++++++++ themes/alps/util.html | 37 +++++++++++-------------------------- 3 files changed, 37 insertions(+), 29 deletions(-) (limited to 'themes') diff --git a/themes/alps/assets/style.css b/themes/alps/assets/style.css index e64c8a3..d652f66 100644 --- a/themes/alps/assets/style.css +++ b/themes/alps/assets/style.css @@ -88,7 +88,8 @@ input[type="file"], input[type="number"], input[type="date"], input[type="time"], -textarea { +textarea, +select { margin: 0; border: none; border: 1px solid #e0e0e0; @@ -157,7 +158,7 @@ aside ul { aside li { width: 100%; display: flex; - padding: 0.4rem 0 0.4rem 0.5rem; + padding: 0.4rem 0.5rem; } aside li a { @@ -654,7 +655,8 @@ main table tfoot { .action-group label, .action-group input, -.action-group textarea { +.action-group textarea, +.action-group select { display: block; width: 100%; } @@ -665,6 +667,10 @@ main table tfoot { float: left; } +.action-group select { + height: 10rem; +} + .actions-message, .actions-contacts { display: flex; 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 @@ -32,6 +32,23 @@ >{{.Settings.Signature}} +
+ + +
+
- - {{- if eq .Name "INBOX" -}} +{{ if not (.Info.HasAttr "\\Noselect") }} +
  • + + {{- if eq .Info.Name "INBOX" -}} Inbox {{- else -}} - {{ .Name }} + {{ .Info.Name }} {{- end -}} - {{- if .HasAttr "\\HasChildren" }}/{{ end }} + {{- if .Info.HasAttr "\\HasChildren" }}/{{ end }} -
  • {{ else }}
  • - {{.Name}}{{- if .HasAttr "\\HasChildren" }}/{{ end }} + {{.Info.Name}}{{- if .Info.HasAttr "\\HasChildren" }}/{{ end }}
  • {{ end }} {{ end }} {{ define "aside" }} -