43 lines
1.0 KiB
HTML
43 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<title>Autoreply Editor</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Autoreply Editor</h1>
|
|
|
|
<p>
|
|
<a href="/">↩ Back to user overview</a>
|
|
</p>
|
|
|
|
<h2>Toggle autoreply message</h2>
|
|
|
|
<p>
|
|
The autoreply is <strong>{%if qmail_status%}active{%else%}inactive{%endif%}</strong>
|
|
</p>
|
|
<form method="POST">
|
|
<input type="hidden" name="action" value="qmail" />
|
|
{% if qmail_status %}
|
|
<input type="hidden" name="status" value="off" />
|
|
<input type="submit" value="Deactivate">
|
|
{% else %}
|
|
<input type="hidden" name="status" value="on" />
|
|
<input type="submit" value="Activate">
|
|
{% endif %}
|
|
</form>
|
|
|
|
<h2>Change autoreply message</h2>
|
|
|
|
<p>
|
|
Below you can see the current text of your autoreply message. You
|
|
can edit and update it directly below:
|
|
</p>
|
|
<form method="POST">
|
|
<input type="hidden" name="action" value="message" />
|
|
<textarea name="message" cols="120" rows="20">{{ message }}</textarea>
|
|
<br />
|
|
<input type="submit" value="Update">
|
|
</form>
|
|
</body>
|
|
</html>
|