1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-05 05:25:27 +02:00

Per space label, icon, description

Labels introduce visual grouping and filtering of spaces.
This commit is contained in:
McMatts 2019-01-04 16:33:30 +00:00
parent fe8068965c
commit a211ba051a
106 changed files with 3280 additions and 1008 deletions

View file

@ -0,0 +1,8 @@
<div class="label-color-picker">
{{#each colors as |color|}}
<div class="color {{if color.selected "selected"}}"
style={{concat "background-color: " color.code ";"}}
{{action "onSelect" color.code}}>
</div>
{{/each}}
</div>

View file

@ -1,14 +1,7 @@
<div class="theme-picker">
{{#each themes as |theme|}}
<div class="theme" style={{concat "background-color: " theme.primary}} {{action "onSelect" theme.name}}>
<div class="theme {{if theme.selected "selected"}}" style={{concat "background-color: " theme.primary}} {{action "onSelect" theme.name}}>
{{theme.name}}
<div class="tick">
{{#if theme.selected}}
&#10003;
{{else}}
&nbsp;
{{/if}}
</div>
</div>
{{/each}}
</div>

View file

@ -1,3 +1,4 @@
{{#if tooltip}}
{{#attach-tooltip showDelay=1000}}{{tooltip}}{{/attach-tooltip}}
{{/if}}
{{/if}}
{{yield}}