Add confimation to delete the root certificat

This commit is contained in:
Li Chen 2013-12-01 20:24:59 +01:00
parent 854da4a12a
commit ad5052bb99

View File

@ -15,7 +15,8 @@
<li><strong>[CN] :</strong> {$cert['subject']['CN']}</li>
<li><strong>[emailAddress] :</strong> {$cert['subject']['emailAddress']}</li>
</ul>
<a href="/{$SALT_ADMIN}/certificate/deleteca" class="btn btn-danger">Supprimer</a>
<a href="/{$SALT_ADMIN}/certificate/deleteca" class="btn btn-danger"
onclick="return confirm('Êtes-vous sûr de vouloir supprimer ce certificat ?')">Supprimer</a>
{elseif isset($cert_writable) && ! $cert_writable}
<div class="alert alert-danger"><span class="glyphicon glyphicon-warning-sign"></span> Répertoire non accessible en écriture.</div>
<a href="/{$SALT_ADMIN}/certificate/newca" class="btn btn-primary" disabled="disabled">Nouveau</a>