diff options
author | Simon Ser <contact@emersion.fr> | 2020-03-19 18:03:13 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-03-19 18:03:13 +0100 |
commit | c182fbde6334f07873700d6a487155fb3f493403 (patch) | |
tree | 11089f6315dbc9a21300f546ffa5abb8c09a53c4 /themes/alps/compose.html | |
parent | 9eac0b453a21918f7533e78aa0fbb4d07cdbf474 (diff) | |
download | alps-c182fbde6334f07873700d6a487155fb3f493403.tar.gz alps-c182fbde6334f07873700d6a487155fb3f493403.zip |
themes/alps: new theme
Diffstat (limited to 'themes/alps/compose.html')
-rw-r--r-- | themes/alps/compose.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/themes/alps/compose.html b/themes/alps/compose.html new file mode 100644 index 0000000..57e5a84 --- /dev/null +++ b/themes/alps/compose.html @@ -0,0 +1,40 @@ +{{template "head.html"}} +{{template "nav.html" .}} + + +<div class="page-wrap"> + <aside> + <a href="/compose" class="compose-mail active">Compose Mail</a> + <a href="/mailbox/INBOX">Inbox</a> + <a href="/mailbox/Drafts">Drafts</a> + <a href="/mailbox/Sent">Sent</a> + <a href="/mailbox/Archive">Archive</a> + <a href="/mailbox/Junk">Junk</a> + <a href="/mailbox/Trash">Trash</a> + </aside> + + <div class="container"> + <main class="compose"> + + <form method="post" action="" enctype="multipart/form-data"> + <input type="hidden" name="in_reply_to" value="{{.Message.InReplyTo}}"> + <label><span>From</span><input type="email" name="from" id="from" value="{{.Message.From}}" /></label> + <label><span>To</span><input type="email" name="to" id="to" value="{{.Message.ToString}}" multiple {{ if not .Message.To }} autofocus{{ end }}/></label> + <label><span>Subject</span><input type="text" name="subject" id="subject" value="{{.Message.Subject}}" {{ if .Message.To }} autofocus{{ end }}/></label> + <label><span>Attachments</span><input type="file" name="attachments" id="attachments" multiple></label> + + <textarea name="text" class="body">{{.Message.Text}}</textarea> + + <div class="actions"> + <button type="submit">Send Message</button> + + <a href="/mailbox/INBOX">Discard</a> + </div> + </form> + + </main> + </div> +</div> + + +{{template "foot.html"}} |