mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
Content management cleanup
This commit is contained in:
parent
137c0129db
commit
c4b87bbfeb
@ -1,22 +0,0 @@
|
||||
<header class="floatingheader">
|
||||
<button type="button" class="btn btn-default" href="#">Back</button>
|
||||
<button type="button" {{bind-attr class="featured:featured:unfeatured"}} title="Feature this post" {{action "toggleFeatured"}}>
|
||||
<span class="hidden">Star</span>
|
||||
</button>
|
||||
<small>
|
||||
<span class="status">{{#if isPublished}}Published{{else}}Written{{/if}}</span>
|
||||
<span class="normal">by</span>
|
||||
<span class="author">{{#if author.name}}{{author.name}}{{else}}{{author.email}}{{/if}}</span>
|
||||
</small>
|
||||
<section class="post-controls">
|
||||
{{#link-to "editor.edit" this class="post-edit" title="Edit Post"}}
|
||||
<span class="hidden">Edit Post</span>
|
||||
{{/link-to}}
|
||||
{{#gh-popover-button popoverName="post-settings-menu" 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-drop-right"}}
|
||||
{{render "post-settings-menu" model}}
|
||||
{{/gh-popover}}
|
||||
</section>
|
||||
</header>
|
@ -1,6 +1,6 @@
|
||||
<header class="page-header">
|
||||
<a class="menu-button" href="#"><span class="sr-only">Menu</span></a>
|
||||
<h2>Editor</h2>
|
||||
<h2 class="page-title">Editor</h2>
|
||||
</header>
|
||||
|
||||
<div class="page-content">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<header class="page-header">
|
||||
<a class="menu-button" href="#"><span class="sr-only">Menu</span></a>
|
||||
<h2>Content</h2>
|
||||
<h2 class="page-title">Content</h2>
|
||||
</header>
|
||||
|
||||
<div class="page-content">
|
||||
|
@ -1,4 +1,17 @@
|
||||
{{partial "floating-header"}}
|
||||
<header class="post-preview-header">
|
||||
<button type="button" class="btn btn-default btn-back" href="#">Back</button>
|
||||
<button type="button" {{bind-attr class="featured:featured:unfeatured"}} title="Feature this post" {{action "toggleFeatured"}}>
|
||||
<span class="hidden">Star</span>
|
||||
</button>
|
||||
<small>
|
||||
<span class="status">{{#if isPublished}}Published{{else}}Written{{/if}}</span>
|
||||
<span class="normal">by</span>
|
||||
<span class="author">{{#if author.name}}{{author.name}}{{else}}{{author.email}}{{/if}}</span>
|
||||
</small>
|
||||
<section class="post-controls">
|
||||
{{#link-to "editor.edit" this class="btn btn-default post-edit"}} Edit{{/link-to}}
|
||||
</section>
|
||||
</header>
|
||||
|
||||
{{#view "content-preview-content-view" tagName="section"}}
|
||||
<div class="wrapper">
|
||||
|
@ -37,4 +37,4 @@
|
||||
{{{ghost_script_tags}}}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user