mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-09 04:56:58 +08:00
Updated Icon-detection in list and Edit-credentials
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
This commit is contained in:
parent
0751fbf2c6
commit
04e16b8f6b
3 changed files with 30 additions and 20 deletions
|
@ -643,8 +643,11 @@
|
|||
|
||||
.icon-label {
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
input {
|
||||
width: calc(100% - 28px) !important;
|
||||
//width: calc(100% - 28px) !important;
|
||||
//width: 100% !important;
|
||||
//width: inherit !important;
|
||||
float: left;
|
||||
background: #fff;
|
||||
color: #555;
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
<div class="cell icon-category-auth"></div>
|
||||
<div class="cell icon-category-auth" ng-if="!credential.url && !credential.icon"></div>
|
||||
|
||||
<div class="cell" ng-if="credential.url || credential.icon">
|
||||
<span class="icon">
|
||||
<credential-icon credential="credential"></credential-icon>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div style="display: none" id="iconPicker" title="{{ 'pick.icon' | translate }}">
|
||||
<div class="iconList">
|
||||
<div ng-repeat="(groupName, icons) in iconGroups">
|
||||
|
@ -10,7 +17,7 @@
|
|||
</div>
|
||||
<div class="iconModifier">
|
||||
<input id="iconPicker-Search" class="iconSearch" type="text" placeholder="{{ 'pick.icon.search' | translate }}">
|
||||
<label for="iconPicker-CustomIcon">{{ 'pick.icon.custom.label' | translate }}<label>
|
||||
<label for="iconPicker-CustomIcon">{{ 'pick.icon.custom.label' | translate }}</label>
|
||||
<input id="iconPicker-CustomIcon" class="iconSearch" type="file"/>
|
||||
<!--
|
||||
<div ng-repeat="(groupName, icons) in iconGroups">
|
||||
|
|
|
@ -48,10 +48,10 @@
|
|||
<span class="tag" ng-repeat="tag in credential.tags_raw">{{ ::tag.text}}</span>
|
||||
|
||||
</span>
|
||||
<span class="icon" ng-if="credential.url">
|
||||
<span class="icon" ng-if="credential.url || credential.icon">
|
||||
<credential-icon credential="credential"></credential-icon>
|
||||
</span>
|
||||
<span class="icon" ng-if="!credential.url">
|
||||
<span class="icon" ng-if="!credential.url && !credential.icon">
|
||||
<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>
|
||||
|
|
Loading…
Add table
Reference in a new issue