mirror of
https://github.com/nextcloud/passman.git
synced 2025-09-08 22:14:46 +08:00
Updated Gridview to new design
This commit is contained in:
parent
dd972f5f03
commit
26d9f7b923
2 changed files with 20 additions and 4 deletions
|
@ -277,20 +277,26 @@
|
|||
width: 100%;
|
||||
cursor: pointer;
|
||||
font-size: 1.75em;
|
||||
text-align: center;
|
||||
//text-align: center;
|
||||
.label {
|
||||
padding-top: 0.5em;
|
||||
padding-left: 1em;
|
||||
//padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
line-height: 1.3em;
|
||||
word-wrap: break-word;
|
||||
float: right;
|
||||
}
|
||||
.icon{
|
||||
}
|
||||
.tags {
|
||||
margin-bottom: 0.5em;
|
||||
margin: 0 0 auto;
|
||||
text-align: right;
|
||||
//margin-bottom: 0.5em;
|
||||
.tag {
|
||||
color: #000 !important;
|
||||
margin-top: 5px;
|
||||
display: inline-block;
|
||||
left:0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,7 +69,17 @@
|
|||
ng-click="selectCredential(credential)"
|
||||
use-theme type="'border-color'">
|
||||
<div class="credential_content">
|
||||
<div class="label">{{ ::credential.label}}</div>
|
||||
<div>
|
||||
<span class="icon" ng-if="credential.url">
|
||||
<credential-icon credential="credential"></credential-icon>
|
||||
</span>
|
||||
<span class="icon" ng-if="!credential.url">
|
||||
<i class="fa fa-lock" ng-if="!credential.acl && !credential.shared_key"></i>
|
||||
<i class="fa fa-share-alt" ng-if="credential.acl"></i>
|
||||
<i class="fa fa-share-alt-square" ng-if="credential.shared_key"> </i>
|
||||
</span>
|
||||
<div class="label">{{ ::credential.label}}</div>
|
||||
</div>
|
||||
<div class="tags">
|
||||
<div class="tag" ng-repeat="tag in credential.tags_raw">
|
||||
{{ ::tag.text}}
|
||||
|
|
Loading…
Add table
Reference in a new issue