aboutsummaryrefslogtreecommitdiff
path: root/public/themes/sourcehut/compose.html
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-16 12:57:30 +0100
committerSimon Ser <contact@emersion.fr>2019-12-16 12:58:21 +0100
commite93346ffa90f6c09a9a57b48c6607925dc7ff46e (patch)
tree5e1f356017c763a604cc8bcf247759037ae51d74 /public/themes/sourcehut/compose.html
parentd897eeee5c4d163891d0b6a8f85d328ccada7575 (diff)
downloadalps-e93346ffa90f6c09a9a57b48c6607925dc7ff46e.tar.gz
alps-e93346ffa90f6c09a9a57b48c6607925dc7ff46e.zip
Remove the public/ directory
Now that all templates are provided by plugins, there's no need to have a public/ directory. Themes can be in /themes instead of /public/themes.
Diffstat (limited to 'public/themes/sourcehut/compose.html')
-rw-r--r--public/themes/sourcehut/compose.html79
1 files changed, 0 insertions, 79 deletions
diff --git a/public/themes/sourcehut/compose.html b/public/themes/sourcehut/compose.html
deleted file mode 100644
index e845423..0000000
--- a/public/themes/sourcehut/compose.html
+++ /dev/null
@@ -1,79 +0,0 @@
-{{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"}}