mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-22 08:15:13 +00:00
- Add a header to the page. - Move message outside the form. - Remove warning and strong emphasis. Since this is only content in the page. - Derive from regular base. - Drop unnecessary reference to bootstrap forms. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
29 lines
661 B
HTML
29 lines
661 B
HTML
{# SPDX-License-Identifier: AGPL-3.0-or-later #}
|
|
{% extends "base.html" %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>Setup My Home</h1>
|
|
|
|
{% if not has_homedir %}
|
|
<p>
|
|
{% trans "You do not have a home directory." %}
|
|
<span>
|
|
{% trans "Create one to begin receiving emails." %}
|
|
</span>
|
|
</p>
|
|
|
|
<form action="{{ request.path }}" method="post">
|
|
{% csrf_token %}
|
|
<button class="btn btn-primary" type="submit" name="btn_mkhome">
|
|
{% trans "Create home directory" %}
|
|
</button>
|
|
</form>
|
|
{% else %}
|
|
<p>{% trans "Your home directory is ready to receive emails." %}</p>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|