aboutsummaryrefslogtreecommitdiffstats
path: root/public/mailbox.html
diff options
context:
space:
mode:
authorLibravatarLibravatar Simon Ser <[email protected]> 2019-12-02 18:21:45 +0100
committerLibravatarLibravatar Simon Ser <[email protected]> 2019-12-02 18:21:45 +0100
commit39629b074063f4f33d8b82c22023d7207bc431de (patch)
tree96ff288aa5f65d6ef11fc75528564d3266e594c7 /public/mailbox.html
parente9d31b0940793542021b5218e406d6e0c668c185 (diff)
downloadalps-39629b074063f4f33d8b82c22023d7207bc431de.tar.gz
alps-39629b074063f4f33d8b82c22023d7207bc431de.tar.bz2
alps-39629b074063f4f33d8b82c22023d7207bc431de.zip
Add basic message list
Diffstat (limited to 'public/mailbox.html')
-rw-r--r--public/mailbox.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/public/mailbox.html b/public/mailbox.html
new file mode 100644
index 0000000..2f5cdb6
--- /dev/null
+++ b/public/mailbox.html
@@ -0,0 +1,19 @@
+{{template "head"}}
+
+<h1>koushin</h1>
+
+<p>Mailboxes:</p>
+<ul>
+ {{range .Mailboxes}}
+ <li>{{.Name}}</li>
+ {{end}}
+</ul>
+
+<p>Messages:</p>
+<ul>
+ {{range .Messages}}
+ <li>{{.Envelope.Subject}}</li>
+ {{end}}
+</ul>
+
+{{template "foot"}}