2019-12-20 00:18:54 +03:00
|
|
|
<section class="gh-canvas" {{did-insert (action "setMainClass" "gh-main-primarybg" target=this.ui)}}>
|
2021-03-09 14:38:43 +03:00
|
|
|
<GhCanvasHeader class="gh-canvas-header break tablet post-header">
|
|
|
|
<GhCustomViewTitle @title="Pages" @query={{reset-query-params "posts"}} />
|
2019-06-18 13:47:21 +03:00
|
|
|
|
2021-03-09 14:38:43 +03:00
|
|
|
<section class="view-actions">
|
|
|
|
<GhContentfilter
|
|
|
|
@currentUser={{this.session.user}}
|
|
|
|
@selectedType={{this.selectedType}}
|
|
|
|
@availableTypes={{this.availableTypes}}
|
2022-02-02 20:09:02 +03:00
|
|
|
@onTypeChange={{action (mut this.k)}}
|
2021-03-09 14:38:43 +03:00
|
|
|
@selectedVisibility={{this.selectedVisibility}}
|
|
|
|
@availableVisibilities={{this.availableVisibilities}}
|
2022-02-02 20:09:02 +03:00
|
|
|
@onVisibilityChange={{action (mut this.k)}}
|
2021-03-09 14:38:43 +03:00
|
|
|
@selectedAuthor={{this.selectedAuthor}}
|
|
|
|
@availableAuthors={{this.availableAuthors}}
|
2022-02-02 20:09:02 +03:00
|
|
|
@onAuthorChange={{action (mut this.k)}}
|
2021-03-09 14:38:43 +03:00
|
|
|
@selectedTag={{this.selectedTag}}
|
|
|
|
@availableTags={{this.availableTags}}
|
2022-02-02 20:09:02 +03:00
|
|
|
@onTagChange={{action (mut this.k)}}
|
2021-03-09 14:38:43 +03:00
|
|
|
@selectedOrder={{this.selectedOrder}}
|
|
|
|
@availableOrders={{this.availableOrders}}
|
2022-02-02 20:09:02 +03:00
|
|
|
@onOrderChange={{action (mut this.k)}}
|
2021-03-09 14:38:43 +03:00
|
|
|
/>
|
|
|
|
|
|
|
|
<LinkTo @route="editor.new" @model="page" class="gh-btn gh-btn-primary view-actions-top-row" data-test-new-page-button={{true}}><span>New page</span></LinkTo>
|
|
|
|
</section>
|
|
|
|
</GhCanvasHeader>
|
2019-02-22 06:17:33 +03:00
|
|
|
|
|
|
|
<div class="gh-content">
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhLoadingList />
|
2019-02-22 06:17:33 +03:00
|
|
|
</div>
|
|
|
|
</section>
|