mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
e9c27bb633
no issue - this ports over screens from old admin to allow people to begin working on aspects of the screen - All logged out screens have been imported: Signup, Signin, Forgotten password, reset password - Those screens are now ready for behavior to be ported over - This also updates templates to be more in line with how they were in the old admin - Littered through the code are @TODO comments of functionality that is missing and will need to be resolved before this is production ready - Also scaffolds out the settings screen and every tab
39 lines
1.8 KiB
Handlebars
39 lines
1.8 KiB
Handlebars
<section class="content-view-container">
|
|
<section class="content-list js-content-list">
|
|
<header class="floatingheader">
|
|
<section class="content-filter">
|
|
<small>All Posts</small>
|
|
</section>
|
|
{{#link-to "new" class="button button-add" title="New Post"}}<span class="hidden">New Post</span>{{/link-to}}
|
|
</header>
|
|
<section class="content-list-content">
|
|
<ol class="posts-list">
|
|
{{#each itemController="posts/post" itemView="post-item-view" itemTagName="li"}}
|
|
{{!-- @TODO: Restore functionality where 'featured' and 'page' classes are added for proper posts --}}
|
|
{{#link-to 'posts.post' this class="permalink" title="Edit this post"}}
|
|
<h3 class="entry-title">{{title}}</h3>
|
|
<section class="entry-meta">
|
|
<span class="status">
|
|
{{#if isPublished}}
|
|
{{#if page}}
|
|
<span class="page">Page</span>
|
|
{{else}}
|
|
<time datetime="{{unbound published_at}}" class="date published">
|
|
Published {{format-timeago published_at}}
|
|
</time>
|
|
{{/if}}
|
|
{{else}}
|
|
<span class="draft">Draft</span>
|
|
{{/if}}
|
|
</span>
|
|
</section>
|
|
{{/link-to}}
|
|
{{/each}}
|
|
</ol>
|
|
</section>
|
|
</section>
|
|
<section class="content-preview js-content-preview">
|
|
{{outlet}}
|
|
</section>
|
|
</section>
|