31 lines
1.4 KiB
HTML
31 lines
1.4 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block body %}
|
|
{% include 'nav.html' %}
|
|
|
|
<div class="container">
|
|
{% include 'notif.html' %}
|
|
|
|
<div class="text-center">
|
|
<form method="post" action="/?domain={{ domain }}">
|
|
<input type="hidden" name="update" value="domain"/>
|
|
<input type="hidden" name="domain" value="{{ domain }}"/>
|
|
{% if isSuperAdmin %}
|
|
{% if active %}
|
|
<button type="submit" name="isactive" value="FALSE" class="btn btn-primary">Désactiver le domaine</button>
|
|
{% else %}
|
|
<button type="submit" name="isactive" value="TRUE" class="btn btn-primary">Activer le domaine</button>
|
|
{% endif %}
|
|
{% endif %}
|
|
<a href="?domain={{ domain }}&account=_all"><button type="button" class="btn btn-primary">Liste des comptes</button></a>
|
|
<a href="/?domain={{ domain }}&account=_add"><button type="button" class="btn btn-primary">Ajouter un nouveau compte</button></a>
|
|
<a href="?domain={{ domain }}&alias=_all"><button type="button" class="btn btn-primary">Liste des alias/groupe de diffusion</button></a>
|
|
<a href="/?domain={{ domain }}&alias=_add"><button type="button" class="btn btn-primary">Ajouter un nouvel alias/groupe de diffusion</button></a>
|
|
</form>
|
|
</div>
|
|
|
|
{% block list %}{% endblock %}
|
|
|
|
</div>
|
|
{% endblock %}
|