mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
bc32beef38
refs https://github.com/TryGhost/Ghost/issues/9505 - apply styles to card menu and replace icons - apply styles for (+) button
32 lines
1.5 KiB
Handlebars
32 lines
1.5 KiB
Handlebars
{{#if showButton}}
|
|
<button class="koenig-plus-menu-button" {{action "openMenu"}}>{{svg-jar "plus"}}</button>
|
|
{{/if}}
|
|
|
|
{{#if showMenu}}
|
|
<div class="koenig-cardmenu">
|
|
{{!-- <div class="koenig-cardmenu-search">
|
|
{{svg-jar "koenig/search"}}
|
|
<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 "replaceWithCardSection" "markdown" on="click"}}>
|
|
<div class="koenig-cardmenu-icon">{{svg-jar "koenig/markdown"}}</div>
|
|
<div class="koenig-cardmenu-label">Markdown</div>
|
|
</div>
|
|
<div class="koenig-cardmenu-card" {{action "replaceWithCardSection" "image" on="click"}}>
|
|
<div class="koenig-cardmenu-icon">{{svg-jar "koenig/image"}}</div>
|
|
<div class="koenig-cardmenu-label">Image</div>
|
|
</div>
|
|
<div class="koenig-cardmenu-card" {{action "replaceWithCardSection" "html" on="click"}}>
|
|
<div class="koenig-cardmenu-icon">{{svg-jar "koenig/html"}}</div>
|
|
<div class="koenig-cardmenu-label">HTML</div>
|
|
</div>
|
|
<div class="koenig-cardmenu-card" {{action "replaceWithCardSection" "hr" on="click"}}>
|
|
<div class="koenig-cardmenu-icon">{{svg-jar "koenig/divider"}}</div>
|
|
<div class="koenig-cardmenu-label">Divider</div>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|