mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 16:14:25 +03:00
37fd17c084
Closes #2418, #2714 Ref #2446, #2565 - Added and injected `popover` service to globally control popovers - Added `gh-popover-button` component - Added `popover-mixin` for popover and popover-buttons to mixin - Added body-event-listener mixin for popover service to watch for body clicks with - Post settings and post save button both now use `gh-popover` - Added hacks to `ember-hacks.css` to make popovers work until ghost-ui consolidates functionality
29 lines
1.2 KiB
Handlebars
29 lines
1.2 KiB
Handlebars
<footer id="publish-bar">
|
|
<nav>
|
|
<section id="entry-tags" href="#" class="left">
|
|
<label class="tag-label" for="tags" title="Tags"><span class="hidden">Tags</span></label>
|
|
<div class="tags">
|
|
{{#each tags}}
|
|
<span class="tag">{{name}}</span>
|
|
{{/each}}
|
|
</div>
|
|
<input type="hidden" class="tags-holder" id="tags-holder">
|
|
<input class="tag-input" id="tags" type="text" data-input-behaviour="tag" />
|
|
<ul class="suggestions overlay"></ul>
|
|
</section>
|
|
<div class="right">
|
|
|
|
<section id="entry-controls">
|
|
{{#gh-popover-button popoverName="post-settings-menu" tagName="a" href="#" classNames="post-settings" title="Post Settings"}}
|
|
<span class="hidden">Post Settings</span>
|
|
{{/gh-popover-button}}
|
|
{{#gh-popover name="post-settings-menu" classNames="post-settings-menu menu-right"}}
|
|
{{view "post-settings-menu-view"}}
|
|
{{/gh-popover}}
|
|
</section>
|
|
|
|
{{view "editor-save-button" id="entry-actions"}}
|
|
</div>
|
|
</nav>
|
|
</footer>
|