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:
parent
fe8068965c
commit
a211ba051a
106 changed files with 3280 additions and 1008 deletions
8
gui/app/templates/components/ui/label-color-picker.hbs
Normal file
8
gui/app/templates/components/ui/label-color-picker.hbs
Normal 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>
|
|
@ -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}}
|
||||
✓
|
||||
{{else}}
|
||||
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
0
gui/app/templates/components/ui/ui-icon-meta.hbs
Normal file
0
gui/app/templates/components/ui/ui-icon-meta.hbs
Normal file
|
@ -1,3 +1,4 @@
|
|||
{{#if tooltip}}
|
||||
{{#attach-tooltip showDelay=1000}}{{tooltip}}{{/attach-tooltip}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{yield}}
|
Loading…
Add table
Add a link
Reference in a new issue