mirror of
https://github.com/documize/community.git
synced 2025-07-25 08:09:43 +02:00
Introduce modular UI framework
1. Modals wrapped 2. Toolbar icon actions: click and link-to navigation 3. Moved components into sub-folders 4. Replaced Bootstrap Tooltip and Dropdown libs with Ember specific add-ons And more. Co-Authored-By: Saul S <sauls8t@users.noreply.github.com> Co-Authored-By: McMatts <matt@documize.com>
This commit is contained in:
parent
f140e7ef77
commit
6eb68f84e0
48 changed files with 330 additions and 240 deletions
12
gui/app/templates/components/ui/ui-select.hbs
Normal file
12
gui/app/templates/components/ui/ui-select.hbs
Normal file
|
@ -0,0 +1,12 @@
|
|||
<select {{action "change" on="change"}} class="form-control {{cssClass}}" readonly={{readonly}}>
|
||||
{{#if prompt}}
|
||||
<option disabled selected={{is-not selection}}>
|
||||
{{prompt}}
|
||||
</option>
|
||||
{{/if}}
|
||||
{{#each content key="@identity" as |item|}}
|
||||
<option value={{read-path item optionValuePath}} selected={{is-equal item selection}}>
|
||||
{{read-path item optionLabelPath}}
|
||||
</option>
|
||||
{{/each}}
|
||||
</select>
|
Loading…
Add table
Add a link
Reference in a new issue