mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-06 03:34:54 +08:00
Added compromised stlye to credentiallist
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
This commit is contained in:
parent
0751fbf2c6
commit
5733031bcd
2 changed files with 10 additions and 2 deletions
|
@ -214,6 +214,14 @@
|
|||
&.selected {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
.compromised {
|
||||
background-color: #f74040;
|
||||
}
|
||||
.compromised:hover {
|
||||
background-color: darken(#f74040, 4%);
|
||||
}
|
||||
|
||||
td {
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
|
|
|
@ -41,9 +41,9 @@
|
|||
ng-if="view_mode === 'list'">
|
||||
<tr ng-repeat="credential in filtered_credentials | orderBy:'label'"
|
||||
ng-if="showCredentialRow(credential)"
|
||||
ng-click="selectCredential(credential)" ng-dblclick="editCredential(credential)"
|
||||
ng-click="selectCredential(credential)" ng-dblclick="editCredential(credential)"
|
||||
ng-class="{'selected': selectedCredential.credential_id == credential.credential_id}">
|
||||
<td>
|
||||
<td ng-class="{'compromised': !selectedCredential.compromised }">
|
||||
<span class="tags">
|
||||
<span class="tag" ng-repeat="tag in credential.tags_raw">{{ ::tag.text}}</span>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue