fliu 5a9c7e5077
email: Documentation, code cleanup
- Audit: finalize MainCfDiagnosis API
- Doc: document Diagnosis models
- Doc: remove hacky imports and replace them with autodoc mock imports
- Views: add `email_` prefix to email server templates
- Apache: delete unnecessary directives (robots tag, cookie header etc.)
2021-08-17 19:44:17 -07:00

28 lines
657 B
HTML

{# SPDX-License-Identifier: AGPL-3.0-or-later #}
{% extends "email_form_base.html" %}
{% load i18n %}
{% block content %}
{{ block.super }}
<form action="{{ request.path }}" method="post">
{% csrf_token %}
<fieldset>
<legend>{% trans "Postfix TLS" %}</legend>
{% include "tls_form.html" with prefix="postfix" proto="smtp" %}
</fieldset>
<fieldset>
<legend>{% trans "Dovecot TLS" %}</legend>
{% include "tls_form.html" with prefix="dovecot" proto="imap" %}
</fieldset>
<input class="btn btn-primary" type="submit"
name="btn_update" value="{% trans 'Update' %}">
</form>
{% endblock %}