alps/public/mailbox.html
2019-12-03 13:24:46 +01:00

25 lines
405 B
HTML

{{template "head"}}
<h1>koushin</h1>
<a href="/logout">Logout</a>
<h2>{{.Mailbox.Name}}</h2>
<p>Mailboxes:</p>
<ul>
{{range .Mailboxes}}
<li><a href="/mailbox/{{.Name}}">{{.Name}}</a></li>
{{end}}
</ul>
<p>Messages:</p>
<ul>
{{range .Messages}}
<li><a href="/message/{{$.Mailbox.Name}}/{{.Uid}}?part={{.TextPartName}}">
{{.Envelope.Subject}}
</a></li>
{{end}}
</ul>
{{template "foot"}}