mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
First attempt to insert attachments when composing an email. Only the javascript part is available.
28 lines
877 B
HTML
28 lines
877 B
HTML
{% load i18n %}
|
|
<form method="POST" action="{{ posturl }}" id="composemail">
|
|
<div id="compose-container">
|
|
<div id="mailheader">
|
|
{% include "common/genericform.html" %}
|
|
</div>
|
|
<div id="attachments">
|
|
<h3><img src="{{ MEDIA_URL }}pics/attachment.png" /> {% trans "Attachments" %}</h3>
|
|
<div id="finput_container">
|
|
<a href="javascript: void(0)"><img src="{{ MEDIA_URL }}pics/add.png" />
|
|
{% trans "Add" %}</a>
|
|
<input type="file" id="upload_input" name="upload" />
|
|
</div>
|
|
<ul id="files2upload">
|
|
</ul>
|
|
</div>
|
|
<div class="spacer"></div>
|
|
{% if body %}
|
|
<textarea id="id_body" name="id_body" class="editor">{% if bodyheader %}{{ bodyheader }}{% endif %}
|
|
{{ body }}
|
|
</textarea>
|
|
{% else %}
|
|
<textarea id="id_body" name="id_body" class="editor"></textarea>
|
|
{% endif %}
|
|
</div>
|
|
</form>
|
|
|