Add confimation to delete the root certificat
This commit is contained in:
parent
854da4a12a
commit
ad5052bb99
@ -15,7 +15,8 @@
|
|||||||
<li><strong>[CN] :</strong> {$cert['subject']['CN']}</li>
|
<li><strong>[CN] :</strong> {$cert['subject']['CN']}</li>
|
||||||
<li><strong>[emailAddress] :</strong> {$cert['subject']['emailAddress']}</li>
|
<li><strong>[emailAddress] :</strong> {$cert['subject']['emailAddress']}</li>
|
||||||
</ul>
|
</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}
|
{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>
|
<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>
|
<a href="/{$SALT_ADMIN}/certificate/newca" class="btn btn-primary" disabled="disabled">Nouveau</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user