fliu 62c501e9c7
email: Add UI for creating the home directory
email_server:
- `-i` option passes all remaining arguments to action
- delete unused "touch file" option

Views:
- delete broken links
- add tabs to every page
- separate admin tabs from user tabs
2021-08-17 19:43:30 -07:00

33 lines
770 B
HTML

{# SPDX-License-Identifier: AGPL-3.0-or-later #}
{% extends "form_base.html" %}
{% load bootstrap %}
{% load i18n %}
{% block content %}
{{ block.super }}
{% if not has_homedir %}
<form action="{{ request.path }}" method="post">
<div class="alert alert-warning" role="alert">
<p>
<strong>{% trans "You do not have a home directory." %}</strong>
<span>
{% trans "Create one to begin receiving emails." %}
</span>
</p>
{% csrf_token %}
<button class="btn btn-primary" type="submit" name="btn_mkhome">
{% trans "Create home directory" %}
</button>
</div>
</form>
{% endif %}
<p>
<a href="/roundcube/">Roundcube login</a>
</p>
{% endblock %}