LT-115: Grouping sub target tools with new layout and changing data structure
This commit is contained in:
1 parent
55ca29e0cf
commit
e996367ed5
7 files changed
+183
-161
No files matched your search
+14
-2
@@ -3,7 +3,7 @@
|
||||
{{>UI.dynamic template=this.buttonTemplateName data=this}}
|
||||
{{else}}
|
||||
<div id="{{this.id}}"
|
||||
class="toolbarSectionButton rp-x-1 {{this.classes}} {{activeClass}} {{#if this.disabled}}disabled{{/if}} {{#if (disableButton)}}disabled{{/if}}"
|
||||
class="toolbarSectionButton rp-x-1 {{this.classes}} {{activeClass}} {{#if or this.disabled (disableButton)}}disabled{{/if}} {{#if this.subTools}}expandable{{/if}}"
|
||||
title="{{#if this.tooltipTitle}}{{this.tooltipTitle}}{{else}}{{this.title}}{{/if}}">
|
||||
<div class="svgContainer">
|
||||
{{#if this.svgLink}}
|
||||
@@ -15,8 +15,20 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="buttonLabel">
|
||||
{{this.title}}
|
||||
<span>{{this.title}}</span>
|
||||
{{#if this.subTools}}
|
||||
<i class="fa fa-caret-down expanded-status" aria-hidden="true"></i>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if this.subTools}}
|
||||
<div class="toolbarSectionDrawerContainer">
|
||||
<div class="toolbarSectionDrawer">
|
||||
{{#each subTool in this.subTools}}
|
||||
{{>toolbarSectionButton subTool}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</template>
|
||||
Reference in new issue
Block a user