2018-03-19 12:57:31 +03:00
|
|
|
{{#if icon}}{{svg-jar icon class=iconClass}}{{/if}}
|
2018-02-20 18:02:47 +03:00
|
|
|
|
|
|
|
{{yield}}
|
2018-02-13 21:00:54 +03:00
|
|
|
|
|
|
|
{{#if toolbar}}
|
2018-04-03 20:34:01 +03:00
|
|
|
<ul data-toolbar="true" class="kg-action-bar bg-lgr-darkgrey inline-flex pa0 ma0 list br3 shadow-2 items-center absolute white sans-serif f8 fw6 tracked-2 anim-fast-bezier {{if showToolbar "" "o-0 drop-down"}}" style={{toolbarStyle}}>
|
2018-02-13 21:00:54 +03:00
|
|
|
{{#each toolbar.items as |item|}}
|
2018-04-03 20:34:01 +03:00
|
|
|
<li class="ma0">
|
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
title={{item.title}}
|
|
|
|
class="dib dim-lite pa3 pt2 pb2 link {{item.buttonClass}}"
|
|
|
|
onmousedown={{action item.action}}
|
|
|
|
>
|
|
|
|
{{#if item.icon}}{{svg-jar item.icon class=(concat item.iconClass (if item.text " mr2") " w4 h4")}} {{/if}}{{item.text}}
|
|
|
|
</button>
|
|
|
|
</li>
|
2018-02-13 21:00:54 +03:00
|
|
|
{{/each}}
|
2018-04-03 20:34:01 +03:00
|
|
|
</ul>
|
2018-02-13 21:00:54 +03:00
|
|
|
{{/if}}
|