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}}
|
|
|
|
<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}}
|
2018-03-19 12:57:31 +03:00
|
|
|
{{svg-jar item.icon}}
|
2018-02-22 23:41:40 +03:00
|
|
|
{{else}}
|
|
|
|
{{item.title}}
|
|
|
|
{{/if}}
|
2018-02-13 21:00:54 +03:00
|
|
|
</button>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|