34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
{% extends 'domain.html' %}
|
|
|
|
{% block list %}
|
|
|
|
<h2>Liste des alias/groupe de diffusion :</h2><hr>
|
|
|
|
<form method="post" action="?domain={{ domain }}&alias=_all" onsubmit="return confirm('Voulez vous vraiment supprimer cet alias ?');">
|
|
<input type="hidden" name="delete" value="alias"/>
|
|
<input type="hidden" name="domain" value="{{ domain }}"/>
|
|
<table class="table table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th><strong>Nom de l'alias/groupe de diffusion</strong></th>
|
|
<th width="100px">Actif</th>
|
|
<th width="50px">Suppr</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
{% for alias in aliases %}
|
|
<tr><td style="text-align:left;"><a href="/?domain={{ domain }}&alias={{ alias.name }}">{{ alias.name }}</a></td>
|
|
{% if alias.active %}
|
|
<td><span class="glyphicon glyphicon-ok"></span></td>
|
|
{% else %}
|
|
<td><span class="glyphicon glyphicon-remove"></span></td>
|
|
{% endif %}
|
|
<td><button type="submit" name="cn" value="{{ alias.name }}"><span class="glyphicon glyphicon-trash"></span></button></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody></table></form>
|
|
|
|
|
|
{% endblock %}
|