alps/public/mailbox.html

26 lines
405 B
HTML
Raw Normal View History

2019-12-02 14:31:00 +00:00
{{template "head"}}
<h1>koushin</h1>
2019-12-03 12:24:46 +00:00
<a href="/logout">Logout</a>
2019-12-02 18:53:09 +00:00
<h2>{{.Mailbox.Name}}</h2>
2019-12-02 16:31:34 +00:00
<p>Mailboxes:</p>
<ul>
{{range .Mailboxes}}
2019-12-02 17:29:06 +00:00
<li><a href="/mailbox/{{.Name}}">{{.Name}}</a></li>
2019-12-02 16:31:34 +00:00
{{end}}
</ul>
2019-12-02 17:21:45 +00:00
<p>Messages:</p>
<ul>
{{range .Messages}}
2019-12-02 18:53:09 +00:00
<li><a href="/message/{{$.Mailbox.Name}}/{{.Uid}}?part={{.TextPartName}}">
{{.Envelope.Subject}}
</a></li>
2019-12-02 17:21:45 +00:00
{{end}}
</ul>
2019-12-02 14:31:00 +00:00
{{template "foot"}}