Add some confirmation before delete user or revoke certificate
This commit is contained in:
parent
745d8a8bd5
commit
3f0a403fd4
@ -19,10 +19,15 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{$t->id}<br>
|
{$t->id}<br>
|
||||||
<a href="?delete={$t->id}"><span class="glyphicon glyphicon-trash"></span></a>
|
<a href="?delete={$t->id}" onclick="return confirm('Êtes-vous sûr de vouloir supprimer cette équipe ?')">
|
||||||
<a href="/{$SALT_ADMIN}/certificate/revoke?name={$t->team_name}"><span class="glyphicon glyphicon-remove"></span></a>
|
<span class="glyphicon glyphicon-trash"></span></a>
|
||||||
<a href="/{$SALT_ADMIN}/certificate/get?name={$t->team_name}"><span class="glyphicon glyphicon-download"></span></a>
|
<a href="/{$SALT_ADMIN}/certificate/revoke?name={$t->team_name}"
|
||||||
<a href="/{$SALT_ADMIN}/certificate/newclient?name={$t->team_name}"><span class="glyphicon glyphicon-plus"></span></a>
|
onclick="return confirm('Êtes-vous sûr de vouloir révoquer ce certificat ?')">
|
||||||
|
<span class="glyphicon glyphicon-remove"></span></a>
|
||||||
|
<a href="/{$SALT_ADMIN}/certificate/get?name={$t->team_name}">
|
||||||
|
<span class="glyphicon glyphicon-download"></span></a>
|
||||||
|
<a href="/{$SALT_ADMIN}/certificate/newclient?name={$t->team_name}">
|
||||||
|
<span class="glyphicon glyphicon-plus"></span></a>
|
||||||
</td>
|
</td>
|
||||||
<td>{$t->team_name}</td>
|
<td>{$t->team_name}</td>
|
||||||
<td>{$t->slogan}</td>
|
<td>{$t->slogan}</td>
|
||||||
@ -41,10 +46,13 @@
|
|||||||
<tfoot>
|
<tfoot>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<a class="btn btn-success" href="/{$SALT_ADMIN}/teams/import" role="button"><span class="glyphicon glyphicon-cloud-upload"></span> Importer</a>
|
<a class="btn btn-success" href="/{$SALT_ADMIN}/teams/import" role="button">
|
||||||
|
<span class="glyphicon glyphicon-cloud-upload"></span> Importer</a>
|
||||||
{if $teams}
|
{if $teams}
|
||||||
<a class="btn btn-primary" href="/{$SALT_ADMIN}/teams/export" role="button"><span class="glyphicon glyphicon-floppy-save"></span> Exporter</a>
|
<a class="btn btn-primary" href="/{$SALT_ADMIN}/teams/export" role="button">
|
||||||
<a class="btn btn-danger" href="/{$SALT_ADMIN}/teams/?drop" onclick="return confirm('Êtes-vous sûr de vouloir vider la table des équipes ?')" role="button"><span class="glyphicon glyphicon-trash"></span> Vider</a>
|
<span class="glyphicon glyphicon-floppy-save"></span> Exporter</a>
|
||||||
|
<a class="btn btn-danger" href="/{$SALT_ADMIN}/teams/?drop" onclick="return confirm('Êtes-vous sûr de vouloir vider la table des équipes ?')" role="button">
|
||||||
|
<span class="glyphicon glyphicon-trash"></span> Vider</a>
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user