From d4fd1c1fe2d057cdc809fefcb567f89c1df02bda Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 22 Oct 2020 13:28:11 -0400 Subject: Add message flags to mailbox page --- themes/alps/assets/style.css | 22 +++++++++++++++++++++- themes/alps/mailbox.html | 23 +++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/alps/assets/style.css b/themes/alps/assets/style.css index 2ba4af7..df61427 100644 --- a/themes/alps/assets/style.css +++ b/themes/alps/assets/style.css @@ -283,6 +283,24 @@ main.create-update .event-date input { margin: 0 1.3rem 0 1rem; } +.message-list-flags { + display: flex; + align-items: center; + justify-content: flex-end; +} + +.message-list-flags .flag-button { + margin: 0; + cursor: pointer; + text-decoration: none; + text-align: center; + display: inline-block; + padding: 0; + border: none; + color: #000; + font-size: 13pt; +} + .message-list-subject a { color: #77c; } .message-list-unread.message-list-sender, @@ -446,7 +464,7 @@ main table tfoot { .message-grid { display: grid; - grid-template-columns: auto 1fr 10fr auto; + grid-template-columns: auto 1fr auto 10fr auto; grid-template-rows: auto; } @@ -462,6 +480,8 @@ main table tfoot { padding: 0.3rem; overflow: hidden; text-overflow: ellipsis; + display: flex; + align-items: center; } .followups a:not(:first-child) { diff --git a/themes/alps/mailbox.html b/themes/alps/mailbox.html index fca34ba..b78a6e1 100644 --- a/themes/alps/mailbox.html +++ b/themes/alps/mailbox.html @@ -53,6 +53,28 @@ {{ end }} {{ end }} +
+ {{if .Attachments}}📎{{end}} + {{if .HasFlag "\\Answered"}}↩{{end}} + {{if .HasFlag "$Forwarded"}}↪{{end}} +
+ + {{ if .HasFlag "\\Flagged" -}} + + {{ else }} + + {{ end }} + + + +
+
{{if .Envelope.Subject}} @@ -70,6 +92,7 @@
+
(this email was deleted by another client)
-- cgit v1.2.3