2021-03-17 05:08:39 +08:00
|
|
|
<div class="cell fa fa-lock" ng-if="!credential.url && !credential.icon"></div>
|
2018-12-30 20:53:06 +08:00
|
|
|
|
|
|
|
<div class="cell" ng-if="credential.url || credential.icon">
|
|
|
|
<span class="icon">
|
|
|
|
<credential-icon credential="credential"></credential-icon>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
2018-10-01 03:17:53 +08:00
|
|
|
<div style="display: none" id="iconPicker" title="{{ 'pick.icon' | translate }}">
|
2018-12-30 20:53:06 +08:00
|
|
|
<div class="iconList">
|
2017-10-29 19:32:28 +08:00
|
|
|
<div ng-repeat="(groupName, icons) in iconGroups">
|
2019-01-02 19:28:05 +08:00
|
|
|
<div ng-click="expanded = !expanded" ng-init="expanded=true">
|
|
|
|
<div class="icon-triangle-s arrow" ng-class="{ 'icon-triangle-e': !expanded , 'icon-triangle-s': expanded }"></div>
|
2019-01-02 19:25:33 +08:00
|
|
|
<div class="collapsible" id="{{groupName}}">{{groupName}}</div>
|
|
|
|
</div>
|
2019-01-02 19:28:05 +08:00
|
|
|
<div ng-class="{ 'content_show': expanded , 'content': !expanded }">
|
2019-01-02 19:25:33 +08:00
|
|
|
<div class="icon" ng-repeat="icon in icons" ng-click="selectIcon(icon)">
|
|
|
|
<img ng-src="{{icon.url}}" height="32">
|
|
|
|
</div>
|
2017-10-29 19:32:28 +08:00
|
|
|
</div>
|
2017-08-13 20:23:23 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-30 20:53:06 +08:00
|
|
|
<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>
|
|
|
|
<input id="iconPicker-CustomIcon" class="iconSearch" type="file"/>
|
|
|
|
<!--
|
|
|
|
<div ng-repeat="(groupName, icons) in iconGroups">
|
|
|
|
<a ng-click="jumpToGroup(groupName)">{{groupName}}</a>
|
|
|
|
</div>-->
|
|
|
|
<div ng-if="selectedIcon || customIcon">
|
|
|
|
{{ 'selected.icon' | translate}}: <br />
|
2017-08-13 20:23:23 +08:00
|
|
|
|
2018-12-30 20:53:06 +08:00
|
|
|
<img ng-src="{{selectedIcon.url}}" height="32" ng-if="!customIcon">
|
|
|
|
<img src="{{customIcon.data}}" height="32" ng-if="customIcon">
|
|
|
|
<br />
|
|
|
|
<button ng-click="useIcon()">{{ 'use.icon' | translate}}</button>
|
2017-08-13 20:23:23 +08:00
|
|
|
</div>
|
2018-12-31 03:53:18 +08:00
|
|
|
<div >
|
|
|
|
<button ng-click="deleteIcon()" ng-if="credential.icon">{{ 'use.icon.delete' | translate}}</button>
|
|
|
|
<button ng-click="refreshUrlIcon()">{{ 'use.icon.refresh' | translate}}</button>
|
2017-08-13 20:23:23 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-30 20:53:06 +08:00
|
|
|
</div>
|
2018-12-16 21:07:58 +08:00
|
|
|
|