summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/writemail.html
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-12-03 19:22:12 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2023-12-03 19:22:12 +0100
commit2cf2a68bd1c25d8fe4f3126f40bd57982cc6b2a4 (patch)
treeb5c8ed0e1cfe8eac311829296a9aca062bb1abc1 /src/jwebmail/templates/writemail.html
initial commit
Diffstat (limited to 'src/jwebmail/templates/writemail.html')
-rw-r--r--src/jwebmail/templates/writemail.html82
1 files changed, 82 insertions, 0 deletions
diff --git a/src/jwebmail/templates/writemail.html b/src/jwebmail/templates/writemail.html
new file mode 100644
index 0000000..31adff1
--- /dev/null
+++ b/src/jwebmail/templates/writemail.html
@@ -0,0 +1,82 @@
+{% extends 'mainlayout.html' %}
+
+{% block content %}
+ <div class="section container">
+
+ <h1 class=title>Write Message</h1>
+
+ {% if warning is defined %}
+ <p class=message> {{ warning }} </p>
+ {% endif %}
+
+ <form method="post" enctype="multipart/form-data">
+
+ <div class=field>
+ {{ form.send_to.label(class='label') }}
+ <div class=control>
+ {{ form.send_to(class='input') }}
+ </div>
+ </div>
+
+ <div class=field>
+ {{ form.subject.label(class='label') }}
+ <div class=control>
+ {{ form.subject(class='input') }}
+ </div>
+ </div>
+
+ <div class=field>
+ {{ form.cc.label(class='label') }}
+ <div class=control>
+ {{ form.cc(class='input') }}
+ </div>
+ </div>
+
+ <div class=field>
+ {{ form.bcc.label(class='label') }}
+ <div class=control>
+ {{ form.bcc(class='input') }}
+ </div>
+ </div>
+
+ <div class=field>
+ {{ form.answer_to.label(class='label') }}
+ <div class=control>
+ {{ form.answer_to(class='input') }}
+ </div>
+ </div>
+
+ <div class=field>
+ {{ form.content.label(class='label') }}
+ <div class=control>
+ {{ form.content(class='textarea', rows=10) }}
+ </div>
+ </div>
+
+ <div class=field>
+ <div class=file>
+ <label class=file-label>
+ {{ form.attachments(class='file-input') }}
+ <span class="file-cta">
+ <span class=file-label>
+ {% trans %}attach file{% endtrans %}
+ </span>
+ </span>
+ </label>
+ </div>
+ </div>
+
+ <div class=field>
+ <div class=control>
+ <input type=submit class=button value="{{ gettext('Send') }}">
+ </div>
+ </div>
+
+ </form>
+
+ <nav>
+ <a href="javascript:history.back()" class="button">{% trans %}back{% endtrans %}</a>
+ </nav>
+
+ </div>
+{% endblock %}