Fix app password usage for non-admins

This commit is contained in:
Johannes Zellner
2020-02-24 13:29:47 +01:00
parent 3f92204de5
commit 728d50461f
2 changed files with 21 additions and 24 deletions

View File

@@ -377,33 +377,33 @@
<div class="card">
<div class="grid-item-top">
<div class="row">
<div class="row">
<div class="col-xs-12">
<p>These passwords can be used as a security measure in mobile apps.</p>
<table class="table table-hover">
<p>These passwords can be used as a security measure in mobile apps.</p>
<table class="table table-hover">
<thead>
<tr>
<th style="width: 45%">Name</th>
<th style="width: 45%">App</th>
<th style="width: 10%" class="text-right">Actions</th>
</tr>
<tr>
<th style="width: 45%">Name</th>
<th style="width: 45%">App</th>
<th style="width: 10%" class="text-right">Actions</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="password in appPassword.passwords">
<td class="text-left elide-table-cell">
<span uib-tooltip="{{ password.creationTime | prettyLongDate }}" class="arrow">{{ password.name }}</span>
</td>
<td class="text-left elide-table-cell">
<span class="arrow">{{ password.prettyIdentifier }}</span>
</td>
<td class="text-right no-wrap" style="vertical-align: bottom">
<button class="btn btn-xs btn-danger pull-right" ng-click="appPassword.del.show(password.id)" title="Delete Password"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr ng-repeat="password in appPassword.passwords">
<td class="text-left elide-table-cell">
<span uib-tooltip="{{ password.creationTime | prettyLongDate }}" class="arrow">{{ password.name }}</span>
</td>
<td class="text-left elide-table-cell">
<span class="arrow">{{ password.prettyIdentifier }}</span>
</td>
<td class="text-right no-wrap" style="vertical-align: bottom">
<button class="btn btn-xs btn-danger pull-right" ng-click="appPassword.del(password.id)" title="Delete Password"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
</tbody>
</table>
</div>
</table>
</div>
</div>
</div>
</div>