2015-10-31 20:09:32 +01:00
|
|
|
<div class="icon-select">
|
2015-11-21 18:04:04 +01:00
|
|
|
<div class="icon-select__items">
|
2015-12-16 22:50:45 +01:00
|
|
|
{{#each icons as |icon ix|}}
|
2016-02-03 21:31:54 +01:00
|
|
|
<i class="fa fa-{{icon}} icon-select__icon {{#ifeq ix ../sel}}icon-select__icon--active{{/ifeq}}" data-val="{{ix}}"></i>
|
2015-12-16 22:50:45 +01:00
|
|
|
{{/each}}
|
2015-11-21 18:04:04 +01:00
|
|
|
</div>
|
2020-12-19 16:30:03 +01:00
|
|
|
<div class="icon-select__items icon-select__items--actions">
|
2015-11-21 18:04:04 +01:00
|
|
|
<input type="file" class="icon-select__file-input hide-by-pos" accept="image/*" />
|
2015-12-16 22:50:45 +01:00
|
|
|
{{#if canDownloadFavicon}}
|
2020-12-19 16:30:03 +01:00
|
|
|
<span class="icon-select__icon icon-select__icon-btn icon-select__icon-download"
|
|
|
|
data-val="special" data-special="download" title="{{res 'iconFavTitle'}}">
|
2020-11-25 18:20:53 +01:00
|
|
|
<i class="fa fa-cloud-download-alt"></i>
|
2015-11-21 18:04:04 +01:00
|
|
|
</span>
|
2015-12-16 22:50:45 +01:00
|
|
|
{{/if}}
|
2015-11-22 09:21:12 +01:00
|
|
|
<span class="icon-select__icon icon-select__icon-btn icon-select__icon-select"
|
2015-12-17 19:25:25 +01:00
|
|
|
data-val="special" data-special="select" title="{{res 'iconSelCustom'}}">
|
2015-11-21 18:04:04 +01:00
|
|
|
<i class="fa fa-ellipsis-h"></i>
|
|
|
|
</span>
|
2020-12-19 16:30:03 +01:00
|
|
|
</div>
|
|
|
|
{{#if hasCustomIcons}}
|
|
|
|
<div class="icon-select__items icon-select__items--custom">
|
2015-12-16 22:50:45 +01:00
|
|
|
{{#each customIcons as |icon ci|}}
|
2016-02-03 21:31:54 +01:00
|
|
|
<span class="icon-select__icon icon-select__icon-btn icon-select__icon-custom {{#ifeq ci ../sel}}icon-select__icon--active{{/ifeq}}"
|
2015-12-16 22:50:45 +01:00
|
|
|
data-val="{{ci}}">
|
2020-04-23 19:24:39 +02:00
|
|
|
<img src="{{icon}}" />
|
2015-11-21 23:15:51 +01:00
|
|
|
</span>
|
2015-12-16 22:50:45 +01:00
|
|
|
{{/each}}
|
2015-11-21 18:04:04 +01:00
|
|
|
</div>
|
2020-12-19 16:30:03 +01:00
|
|
|
{{/if}}
|
2015-10-31 20:09:32 +01:00
|
|
|
</div>
|