alps/public/mailbox.html
2019-12-03 14:34:15 +01:00

27 lines
449 B
HTML

{{template "head"}}
<h1>koushin</h1>
<p>
<a href="/logout">Logout</a> · <a href="/compose">Compose</a>
</p>
<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"}}