From e39879ec9ab9613e1555eb7fc164d14b9cf6f8fe Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 13 May 2020 12:29:39 -0400 Subject: alps theme: overhaul tables and action lists This patch contains a whole lot of layout improvements for the alps theme, mainly replacing the table soup with flexbox and CSS grids, and fixing up a number of loose ends. This gives us a lot more flexibility over how the page is laid out. I also cleaned up a lot of other low-hanging fruit in the layout & styles. --- themes/alps/mailbox.html | 70 ++++++++++++++++++++++++------------------------ 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'themes/alps/mailbox.html') diff --git a/themes/alps/mailbox.html b/themes/alps/mailbox.html index 8e3331f..ab09318 100644 --- a/themes/alps/mailbox.html +++ b/themes/alps/mailbox.html @@ -23,43 +23,43 @@
-
- - - {{ template "messages-header.html" . }} - - +
+
+ {{ template "messages-header.html" . }} +
+
+
{{range .Messages}} -
- - - - - +
+ +
+
+ {{ range .Envelope.From }} + {{ if .PersonalName }} + {{.PersonalName}} + {{ else }} + {{.MailboxName}}@{{.HostName}} + {{ end }} {{ end }} -
- - {{ template "messages-header.html" .}} - -
- - - {{ range .Envelope.From }} - {{ if .PersonalName }} - {{.PersonalName}} - {{ else }} - {{.MailboxName}}@{{.HostName}} - {{ end }} - {{ end }} - - - {{if .Envelope.Subject}} - {{.Envelope.Subject}} - {{else}} - (No subject) - {{end}} - - {{ .Envelope.Date | formatdate }}
+
+
+ + {{if .Envelope.Subject}} + {{.Envelope.Subject}} + {{else}} + (No subject) + {{end}} + +
+
+ {{ .Envelope.Date | formatdate }} +
+ {{ end }} + + +
+ {{ template "messages-header.html" . }} +
-- cgit v1.2.3