2019-12-20 00:18:54 +03:00
|
|
|
<section class="gh-canvas" {{did-insert (action "setMainClass" "gh-main-primarybg" target=this.ui)}}>
|
2021-02-03 22:08:01 +03:00
|
|
|
<div class="gh-canvas-header">
|
2021-02-08 23:16:41 +03:00
|
|
|
<header class="gh-canvas-header-content post-header">
|
2021-02-03 22:08:01 +03:00
|
|
|
<GhCustomViewTitle @title="Pages" @query={{reset-query-params "posts"}} />
|
|
|
|
<section class="view-actions">
|
|
|
|
<GhContentfilter
|
|
|
|
@currentUser={{this.session.user}}
|
|
|
|
@selectedType={{this.selectedType}}
|
|
|
|
@availableTypes={{this.availableTypes}}
|
|
|
|
@onTypeChange={{action (mut k)}}
|
|
|
|
@selectedVisibility={{this.selectedVisibility}}
|
|
|
|
@availableVisibilities={{this.availableVisibilities}}
|
|
|
|
@onVisibilityChange={{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
|
|
|
|
2021-02-04 20:19:39 +03:00
|
|
|
<LinkTo @route="editor.new" @model="page" class="gh-btn gh-btn-primary" data-test-new-page-button={{true}}><span>New page</span></LinkTo>
|
2021-02-03 22:08:01 +03:00
|
|
|
</section>
|
|
|
|
</header>
|
|
|
|
</div>
|
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>
|