2018-01-31 17:49:20 +03:00
|
|
|
{{#if showButton}}
|
|
|
|
<button class="koenig-plus-menu-button" {{action "openMenu"}}>{{inline-svg "plus"}}</button>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if showMenu}}
|
|
|
|
<div class="koenig-cardmenu">
|
|
|
|
<div class="koenig-cardmenu-search">
|
2018-01-31 18:20:27 +03:00
|
|
|
{{inline-svg "koenig/search"}}
|
2018-01-31 17:49:20 +03:00
|
|
|
<input type="text" placeholder="Search for a card..." class="gh-input koenig-cardmenu-search-input">
|
|
|
|
</div>
|
|
|
|
<div class="koenig-cardmenu-divider">
|
|
|
|
Primary
|
|
|
|
</div>
|
|
|
|
<div class="koenig-cardmenu-card" {{action "closeMenu" on="click"}}>
|
2018-01-31 18:20:27 +03:00
|
|
|
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/font-size"}}</div>
|
2018-01-31 17:49:20 +03:00
|
|
|
<div class="koenig-cardmenu-label">Text</div>
|
|
|
|
</div>
|
2018-02-01 18:44:49 +03:00
|
|
|
<div class="koenig-cardmenu-card" {{action "replaceWithCardSection" "markdown" on="click"}}>
|
2018-01-31 18:20:27 +03:00
|
|
|
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/markdown"}}</div>
|
2018-01-31 17:49:20 +03:00
|
|
|
<div class="koenig-cardmenu-label">Markdown</div>
|
|
|
|
</div>
|
|
|
|
<div class="koenig-cardmenu-card">
|
2018-01-31 18:20:27 +03:00
|
|
|
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/image"}}</div>
|
2018-01-31 17:49:20 +03:00
|
|
|
<div class="koenig-cardmenu-label">Image</div>
|
|
|
|
</div>
|
2018-02-03 21:20:50 +03:00
|
|
|
<div class="koenig-cardmenu-card" {{action "replaceWithCardSection" "html" on="click"}}>
|
2018-01-31 18:20:27 +03:00
|
|
|
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/embed"}}</div>
|
2018-01-31 17:49:20 +03:00
|
|
|
<div class="koenig-cardmenu-label">Embed</div>
|
|
|
|
</div>
|
2018-02-01 18:44:49 +03:00
|
|
|
<div class="koenig-cardmenu-card" {{action "replaceWithCardSection" "hr" on="click"}}>
|
2018-01-31 18:20:27 +03:00
|
|
|
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/divider"}}</div>
|
2018-01-31 17:49:20 +03:00
|
|
|
<div class="koenig-cardmenu-label">Divider</div>
|
|
|
|
</div>
|
|
|
|
<div class="koenig-cardmenu-card" {{action "replaceWithListSection" "ul" on="click"}}>
|
2018-01-31 18:20:27 +03:00
|
|
|
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/list-bullets"}}</div>
|
2018-01-31 17:49:20 +03:00
|
|
|
<div class="koenig-cardmenu-label">Bullet list</div>
|
|
|
|
</div>
|
|
|
|
<div class="koenig-cardmenu-card" {{action "replaceWithListSection" "ol" on="click"}}>
|
2018-01-31 18:20:27 +03:00
|
|
|
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/list-number"}}</div>
|
2018-01-31 17:49:20 +03:00
|
|
|
<div class="koenig-cardmenu-label">Number list</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|