From d897eeee5c4d163891d0b6a8f85d328ccada7575 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 16 Dec 2019 12:51:42 +0100 Subject: Introduce base plugin This plugin offers base IMAP/SMTP functionality. References: https://todo.sr.ht/~sircmpwn/koushin/39 --- public/message.html | 58 ----------------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 public/message.html (limited to 'public/message.html') diff --git a/public/message.html b/public/message.html deleted file mode 100644 index 729937d..0000000 --- a/public/message.html +++ /dev/null @@ -1,58 +0,0 @@ -{{template "head.html"}} - -

koushin

- -

- - Back - -

- -

- {{if .Message.Envelope.Subject}} - {{.Message.Envelope.Subject}} - {{else}} - (No subject) - {{end}} -

- -{{define "message-part-tree"}} - {{/* nested templates can't access the parent's context */}} - {{$ = index . 0}} - {{with index . 1}} - - {{if eq $.PartPath .PathString}}{{end}} - {{.String}} - {{if eq $.PartPath .PathString}}{{end}} - - {{if gt (len .Children) 0}} - - {{end}} - {{end}} -{{end}} - -

Parts:

- -{{template "message-part-tree" (tuple $ .Message.PartTree)}} - -
- -{{if .Body}} -

Reply

-
{{.Body}}
-{{else}} -

Can't preview this message part.

- Download -{{end}} - -{{template "foot.html"}} -- cgit v1.2.3-59-g8ed1b