aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/delete-mailbox.html
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-10-30 15:21:33 -0400
committerDrew DeVault <sir@cmpwn.com>2020-10-30 15:21:33 -0400
commite4daf0778dc4682405017a7cbdc593808257408f (patch)
tree84628d405bcdf696636a9902d83201387ade4fda /themes/alps/delete-mailbox.html
parent62e7cf89339ac585bdb72e78d90f0b468916436a (diff)
downloadalps-e4daf0778dc4682405017a7cbdc593808257408f.tar.gz
alps-e4daf0778dc4682405017a7cbdc593808257408f.zip
Implement mailbox deletion
Diffstat (limited to 'themes/alps/delete-mailbox.html')
-rw-r--r--themes/alps/delete-mailbox.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/themes/alps/delete-mailbox.html b/themes/alps/delete-mailbox.html
new file mode 100644
index 0000000..0429fe0
--- /dev/null
+++ b/themes/alps/delete-mailbox.html
@@ -0,0 +1,24 @@
+{{template "head.html" .}}
+{{template "nav.html" .}}
+{{template "util.html" .}}
+
+<div class="page-wrap">
+ {{ template "aside" . }}
+ <div class="container">
+ <main class="create-update">
+ <form method="POST">
+ <h2>Delete "{{ .Mailbox.Name }}"?</h2>
+ <div class="alert">
+ <strong>Warning!</strong> This will permanently delete all messages
+ in "{{.Mailbox.Name}}".
+ </div>
+ <div class="actions">
+ <button type="submit">Delete "{{.Mailbox.Name}}"</button>
+ <a class="button-link" href="/">Cancel</a>
+ </div>
+ </form>
+ </main>
+ </div>
+</div>
+
+{{template "foot.html"}}