mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
3b9525dd63
refs: https://github.com/TryGhost/Team/issues/1462 - remove dummy percentages where not necessary - trying out a narrower width for the dashboard - added in a basic layout for the various charts - added more specific styles to each of the graphs - tried out a different way of displaying metrics - different way to show headers for each module - made the grid and flex layouts a little more flexible - there are some bits to still clean up with code
28 lines
911 B
Handlebars
28 lines
911 B
Handlebars
|
|
<ol class="gh-list" {{did-insert this.loadPosts}}>
|
|
<li class="gh-list-row header">
|
|
<h4 class="gh-dashboard5-metric is-split">Recent posts</h4>
|
|
{{!--
|
|
<div class="gh-list-header gh-posts-title-header">Title</div>
|
|
<div class="gh-list-header gh-posts-sends-header">Sends</div>
|
|
<div class="gh-list-header gh-posts-opens-header">Opens</div>
|
|
--}}
|
|
</li>
|
|
{{#each this.posts as |post|}}
|
|
<GhPostsListItem
|
|
@post={{post}}
|
|
@hideAuthor={{true}}
|
|
@hideStatusColumn={{true}}
|
|
data-test-post-id={{post.id}} />
|
|
{{else}}
|
|
<li class="no-posts-box">
|
|
<div class="no-posts">
|
|
<h3>No published posts yet.</h3>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
|
|
<div class="footer">
|
|
<LinkTo @route="posts" @query={{reset-query-params "posts"}}>See all posts →</LinkTo>
|
|
</div> |