Fix account and alias deletion and ask for validation
This commit is contained in:
parent
39a3f7faec
commit
68029c93b5
|
@ -4,8 +4,9 @@
|
|||
|
||||
<h2>Liste des comptes :</h2><hr>
|
||||
|
||||
<form method="post" action="/?domain={{ domain }}&account=_all">
|
||||
<form method="post" action="/?domain={{ domain }}&account=_all" onsubmit="return confirm('Voulez vous vraiment supprimer ce compte ?');">
|
||||
<input type="hidden" name="delete" value="account"/>
|
||||
<input type="hidden" name="domain" value="{{ domain }}"/>
|
||||
<table class="table table-striped table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
|
||||
<h2>Liste des alias/groupe de diffusion :</h2><hr>
|
||||
|
||||
<form method="post" action="?domain={{ domain }}&alias=_all">
|
||||
<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>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{% include 'notif.html' %}
|
||||
|
||||
<h2>Liste des domaines administrables :</h2><hr>
|
||||
<form method="post" action="/?domain=_all">
|
||||
<form method="post" action="/?domain=_all" onsubmit="return confirm('Voulez vous vraiment supprimer ce domaine ?');">
|
||||
<input type="hidden" name="delete" value="domain"/>
|
||||
<table class="table table-striped table-condensed">
|
||||
<thead>
|
||||
|
|
Loading…
Reference in New Issue