2018-02-20 18:02:47 +03:00
|
|
|
{{#if icon}}{{inline-svg icon class=iconClass}}{{/if}}
|
|
|
|
|
|
|
|
{{yield}}
|
2018-02-13 21:00:54 +03:00
|
|
|
|
|
|
|
{{#if toolbar}}
|
|
|
|
<div class="koenig-card-toolbar koenig-toolbar {{if showToolbar "koenig-toolbar--visible"}}" style={{toolbarStyle}}>
|
|
|
|
{{#each toolbar.items as |item|}}
|
2018-02-22 23:41:40 +03:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
title={{item.title}}
|
|
|
|
class="koenig-toolbar-btn sans-serif f7"
|
|
|
|
style="width: auto !important"
|
|
|
|
onmousedown={{action item.action}}
|
|
|
|
>
|
|
|
|
{{#if item.icon}}
|
|
|
|
{{inline-svg item.icon}}
|
|
|
|
{{else}}
|
|
|
|
{{item.title}}
|
|
|
|
{{/if}}
|
2018-02-13 21:00:54 +03:00
|
|
|
</button>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|