admin: can renew the PKI from interface
This commit is contained in:
parent
5c17dd4605
commit
34a2370236
2 changed files with 12 additions and 6 deletions
|
|
@ -111,6 +111,7 @@
|
|||
<span class="badge badge-success" ng-if="ca.version">Générée</span>
|
||||
<span class="badge badge-danger" ng-if="!ca.version">Introuvable</span>
|
||||
<button type="button" ng-click="generateCA()" class="float-right btn btn-sm btn-primary" ng-if="!ca.version"><span class="glyphicon glyphicon-certificate" aria-hidden="true"></span> Générer</button>
|
||||
<button type="button" ng-click="renewCA()" class="float-right btn btn-sm btn-primary" ng-if="ca.version"><span class="glyphicon glyphicon-certificate" aria-hidden="true"></span> Regénérer</button>
|
||||
</h2>
|
||||
|
||||
<div class="alert alert-info" ng-if="!ca.version">
|
||||
|
|
@ -119,13 +120,13 @@
|
|||
<div class="form-group row">
|
||||
<label for="CAnotBefore" class="col-sm-3 col-form-label">Début de validité</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control form-control-sm" id="CAnotBefore" ng-model="notBefore">
|
||||
<input type="text" class="form-control form-control-sm" id="CAnotBefore" ng-model="newca.notBefore">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="CAnotAfter" class="col-sm-3 col-form-label">Fin de validité</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control form-control-sm" id="CAnotAfter" ng-model="notAfter">
|
||||
<input type="text" class="form-control form-control-sm" id="CAnotAfter" ng-model="newca.notAfter">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Reference in a new issue