2019-12-20 00:18:54 +03:00
|
|
|
<section class="gh-canvas" {{did-insert (action "setMainClass" "gh-main-primarybg" target=this.ui)}}>
|
2019-06-18 13:47:21 +03:00
|
|
|
<header class="gh-canvas-header post-header">
|
2020-01-30 18:35:36 +03:00
|
|
|
<GhCustomViewTitle @title="Posts" @query={{reset-posts-query}} />
|
2017-02-23 21:47:52 +03:00
|
|
|
<section class="view-actions">
|
2020-01-15 18:15:20 +03:00
|
|
|
<GhContentfilter
|
|
|
|
@selectedType={{this.selectedType}}
|
|
|
|
@availableTypes={{this.availableTypes}}
|
|
|
|
@onTypeChange={{action (mut k)}}
|
|
|
|
@selectedAuthor={{this.selectedAuthor}}
|
|
|
|
@availableAuthors={{this.availableAuthors}}
|
|
|
|
@onAuthorChange={{action (mut k)}}
|
|
|
|
@selectedTag={{this.selectedTag}}
|
|
|
|
@availableTags={{this.availableTags}}
|
|
|
|
@onTagChange={{action (mut k)}}
|
|
|
|
@selectedOrder={{this.selectedOrder}}
|
|
|
|
@availableOrders={{this.availableOrders}}
|
|
|
|
@onOrderChange={{action (mut k)}}
|
|
|
|
/>
|
2019-06-18 13:47:21 +03:00
|
|
|
|
2020-01-16 18:14:03 +03:00
|
|
|
<LinkTo @route="editor.new" @model="post" class="gh-btn gh-btn-green" data-test-new-post-button={{true}}><span>New post</span></LinkTo>
|
2019-06-18 13:47:21 +03:00
|
|
|
</section>
|
|
|
|
</header>
|
2017-02-23 21:47:52 +03:00
|
|
|
|
2017-06-19 13:09:53 +03:00
|
|
|
<div class="gh-content">
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhLoadingList />
|
2017-06-19 13:09:53 +03:00
|
|
|
</div>
|
2017-02-01 22:49:58 +03:00
|
|
|
</section>
|