diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-12-12 13:54:57 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-12 13:54:57 -0500 |
commit | d0355fa0d85deb2f3a6ebee0e00fec516a3d6f41 (patch) | |
tree | 427bc53cc9dbe8ac71702c592c6d637d7c5390dc /public/themes/sourcehut/compose.html | |
parent | b24cc85fb19b80fe4f67f7b9a88cab7d5af282f3 (diff) | |
download | alps-d0355fa0d85deb2f3a6ebee0e00fec516a3d6f41.tar.gz alps-d0355fa0d85deb2f3a6ebee0e00fec516a3d6f41.zip |
Add simple Sourcehut-based theme
Diffstat (limited to 'public/themes/sourcehut/compose.html')
-rw-r--r-- | public/themes/sourcehut/compose.html | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/public/themes/sourcehut/compose.html b/public/themes/sourcehut/compose.html new file mode 100644 index 0000000..e845423 --- /dev/null +++ b/public/themes/sourcehut/compose.html @@ -0,0 +1,79 @@ +{{template "head.html"}} +{{template "nav.html"}} + +<div class="container-fluid"> + <div class="row"> + <div class="col-md-12 header-tabbed"> + <h2>INBOX</h2> + <ul class="nav nav-tabs"> + <li class="nav-item"> + <a class="nav-link" href="/mailbox/INBOX" >Mail</a> + </li> + <li class="nav-item"> + <a class="nav-link active" href="/compose">Compose</a> + </li> + </ul> + </div> + </div> +</div> +<div class="container"> + <form method="post" class="col-md-12"> + <input type="hidden" name="in_reply_to" value="{{.Message.InReplyTo}}"> + <div class="row"> + <div class="form-group col-md-6"> + <label for="from">From</label> + <input + type="email" + name="from" + id="from" + class="form-control" + value="{{.Message.From}}" /> + </div> + <div class="form-group col-md-6"> + <label for="to">To</label> + <input + type="email" + name="to" + id="to" + class="form-control" + value="{{.Message.ToString}}" + multiple + {{ if not .Message.To }} + autofocus + {{ end }} /> + </div> + </div> + <div class="form-group"> + <label for="subject">Subject</label> + <input + type="text" + name="subject" + id="subject" + class="form-control" + value="{{.Message.Subject}}" + {{ if .Message.To }} + autofocus + {{ end }} /> + </div> + <div class="form-group"> + <textarea + name="text" + class="form-control" + cols="80" + rows="20" + >{{.Message.Text}}</textarea> + </div> + <div class="pull-right"> + <a + href="/mailbox/INBOX" + class="btn btn-default" + >Cancel</a> + <button + type="submit" + class="btn btn-primary" + >Send email</button> + </div> + </form> +</div> + +{{template "foot.html"}} |