aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/base/public/compose.html
diff options
context:
space:
mode:
authorLibravatarLibravatar Simon Ser <[email protected]> 2019-12-16 12:51:42 +0100
committerLibravatarLibravatar Simon Ser <[email protected]> 2019-12-16 12:52:44 +0100
commitd897eeee5c4d163891d0b6a8f85d328ccada7575 (patch)
tree39d2428b8f9cb677d79e66cb3763cdaed6147616 /plugins/base/public/compose.html
parente83844fbad63a0d6fc2d29a8a412c95f2a419b56 (diff)
downloadalps-d897eeee5c4d163891d0b6a8f85d328ccada7575.tar.gz
alps-d897eeee5c4d163891d0b6a8f85d328ccada7575.tar.bz2
alps-d897eeee5c4d163891d0b6a8f85d328ccada7575.zip
Introduce base plugin
This plugin offers base IMAP/SMTP functionality. References: https://todo.sr.ht/~sircmpwn/koushin/39
Diffstat (limited to 'plugins/base/public/compose.html')
-rw-r--r--plugins/base/public/compose.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/base/public/compose.html b/plugins/base/public/compose.html
new file mode 100644
index 0000000..2a52675
--- /dev/null
+++ b/plugins/base/public/compose.html
@@ -0,0 +1,26 @@
+{{template "head.html"}}
+
+<h1>koushin</h1>
+
+<p>
+ <a href="/mailbox/INBOX">Back</a>
+</p>
+
+<h2>Compose new message</h2>
+
+<form method="post" action="">
+ <input type="hidden" name="in_reply_to" value="{{.Message.InReplyTo}}">
+
+ <p>From:</p>
+ <input type="email" name="from" value="{{.Message.From}}">
+ <p>To:</p>
+ <input type="email" name="to" multiple value="{{.Message.ToString}}">
+ <p>Subject:</p>
+ <input type="text" name="subject" value="{{.Message.Subject}}">
+ <p>Body:</p>
+ <textarea name="text" cols="80" rows="20">{{.Message.Text}}</textarea>
+ <br><br>
+ <input type="submit" value="Send">
+</form>
+
+{{template "foot.html"}}