admin: new route and interface to manage symlink for team association exclusing certificates
This commit is contained in:
parent
2b95995104
commit
14d31737e0
6 changed files with 132 additions and 21 deletions
|
@ -70,7 +70,7 @@
|
|||
</div>
|
||||
</form>
|
||||
|
||||
<div class="card">
|
||||
<div class="card" ng-controller="TeamCertificatesController">
|
||||
<div class="card-header bg-primary text-light">
|
||||
<span class="glyphicon glyphicon-certificate" aria-hidden="true"></span>
|
||||
Certificates
|
||||
|
@ -89,7 +89,7 @@
|
|||
</dd>
|
||||
<dt>
|
||||
Date de création
|
||||
<a class="btn btn-sm btn-success float-right" href="../api/certs/{{ cert.id }}">Télécharger</a>
|
||||
<a class="btn btn-sm btn-success float-right" href="api/certs/{{ cert.id }}">Télécharger</a>
|
||||
</dt>
|
||||
<dd>{{ cert.creation }}</dd>
|
||||
<dt>Mot de passe</dt>
|
||||
|
@ -100,6 +100,31 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card" ng-controller="TeamAssociationsController">
|
||||
<div class="card-header bg-warning text-light">
|
||||
<span class="glyphicon glyphicon-sunglasses" aria-hidden="true"></span>
|
||||
Utilisateurs associés
|
||||
</div>
|
||||
<div class="card-body bg-light text-dark">
|
||||
<ul>
|
||||
<li ng-repeat="a in associations">
|
||||
{{ a }}
|
||||
<button class="btn btn-sm btn-danger" type="button" ng-click="dropAssociation(a)">
|
||||
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<form class="input-group" ng-submit="addAssociation()">
|
||||
<input type="text" class="form-control form-control-sm" ng-model="form.newassoc" placeholder="Nouvelle association">
|
||||
<span class="input-group-append">
|
||||
<button class="btn btn-sm btn-success" ng-disabled="!form.newassoc.length"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
|
||||
</span>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
Reference in a new issue