mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
fix flickering filter menu on content screen
This commit is contained in:
parent
a75f6f8579
commit
29a42678f0
@ -1,11 +1,31 @@
|
||||
<section class="gh-view">
|
||||
<section class="gh-view gh-content-view-container">
|
||||
<header class="view-header">
|
||||
{{#gh-view-title openMobileMenu="openMobileMenu"}}<span>Content</span>{{/gh-view-title}}
|
||||
<section class="view-actions">
|
||||
{{#link-to "editor.new" class="btn btn-green" title="New Post"}}New Post{{/link-to}}
|
||||
{{link-to "New Post" "editor.new" class="btn btn-green" title="New Post"}}
|
||||
</section>
|
||||
</header>
|
||||
|
||||
<section class="basic-filter">
|
||||
<ul>
|
||||
<li>
|
||||
{{link-to "All" "posts.index" (query-params type=null) data-test-all-filter-link=true}}
|
||||
</li>
|
||||
<li>
|
||||
{{link-to "Drafts" "posts.index" (query-params type="draft") data-test-drafts-filter-link=true}}
|
||||
</li>
|
||||
<li>
|
||||
{{link-to "Published" "posts.index" (query-params type="published") data-test-published-filter-link=true}}
|
||||
</li>
|
||||
<li>
|
||||
{{link-to "Scheduled" "posts.index" (query-params type="scheduled") data-test-scheduled-filter-link=true}}
|
||||
</li>
|
||||
<li>
|
||||
{{link-to "Pages" "posts.index" (query-params type="page") data-test-pages-filter-link=true}}
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="view-container">
|
||||
{{gh-loading-spinner}}
|
||||
</div>
|
||||
|
@ -2,38 +2,26 @@
|
||||
<header class="view-header">
|
||||
{{#gh-view-title openMobileMenu="openMobileMenu"}}<span>Content</span>{{/gh-view-title}}
|
||||
<section class="view-actions">
|
||||
{{#link-to "editor.new" class="btn btn-green" title="New Post" data-test-new-post-button=true}}
|
||||
New Post
|
||||
{{/link-to}}
|
||||
{{link-to "New Post" "editor.new" class="btn btn-green" title="New Post" data-test-new-post-button=true}}
|
||||
</section>
|
||||
</header>
|
||||
|
||||
<section class="basic-filter">
|
||||
<ul>
|
||||
<li>
|
||||
{{#link-to "posts.index" (query-params type=null) data-test-all-filter-link=true}}
|
||||
All
|
||||
{{/link-to}}
|
||||
{{link-to "All" "posts.index" (query-params type=null) data-test-all-filter-link=true}}
|
||||
</li>
|
||||
<li>
|
||||
{{#link-to "posts.index" (query-params type="draft") data-test-drafts-filter-link=true}}
|
||||
Drafts
|
||||
{{/link-to}}
|
||||
{{link-to "Drafts" "posts.index" (query-params type="draft") data-test-drafts-filter-link=true}}
|
||||
</li>
|
||||
<li>
|
||||
{{#link-to "posts.index" (query-params type="published") data-test-published-filter-link=true}}
|
||||
Published
|
||||
{{/link-to}}
|
||||
{{link-to "Published" "posts.index" (query-params type="published") data-test-published-filter-link=true}}
|
||||
</li>
|
||||
<li>
|
||||
{{#link-to "posts.index" (query-params type="scheduled") data-test-scheduled-filter-link=true}}
|
||||
Scheduled
|
||||
{{/link-to}}
|
||||
{{link-to "Scheduled" "posts.index" (query-params type="scheduled") data-test-scheduled-filter-link=true}}
|
||||
</li>
|
||||
<li>
|
||||
{{#link-to "posts.index" (query-params type="page") data-test-pages-filter-link=true}}
|
||||
Pages
|
||||
{{/link-to}}
|
||||
{{link-to "Pages" "posts.index" (query-params type="page") data-test-pages-filter-link=true}}
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue
Block a user