mirror of
https://github.com/nextcloud/passman.git
synced 2025-09-10 23:14:26 +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%;
|
width: 100%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 1.75em;
|
font-size: 1.75em;
|
||||||
text-align: center;
|
//text-align: center;
|
||||||
.label {
|
.label {
|
||||||
padding-top: 0.5em;
|
padding-top: 0.5em;
|
||||||
padding-left: 1em;
|
//padding-left: 1em;
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
.icon{
|
||||||
}
|
}
|
||||||
.tags {
|
.tags {
|
||||||
margin-bottom: 0.5em;
|
margin: 0 0 auto;
|
||||||
|
text-align: right;
|
||||||
|
//margin-bottom: 0.5em;
|
||||||
.tag {
|
.tag {
|
||||||
color: #000 !important;
|
color: #000 !important;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
left:0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,17 @@
|
||||||
ng-click="selectCredential(credential)"
|
ng-click="selectCredential(credential)"
|
||||||
use-theme type="'border-color'">
|
use-theme type="'border-color'">
|
||||||
<div class="credential_content">
|
<div class="credential_content">
|
||||||
|
<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 class="label">{{ ::credential.label}}</div>
|
||||||
|
</div>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<div class="tag" ng-repeat="tag in credential.tags_raw">
|
<div class="tag" ng-repeat="tag in credential.tags_raw">
|
||||||
{{ ::tag.text}}
|
{{ ::tag.text}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue