Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (29 sloc) 948 Bytes
<div class="container-fluid">
<div class="row">
{{!-- blog post listing --}}
<div class="col-xs-5">
<button type="button" {{on "click" @createPost}}>Create</button> <Input @type="text" @value={{@queryParamsObj.query}} placeholder="Filter Posts" @autofocus="autofocus" @keyDown={{this.resetPage}} />
<table class="table">
<thead>
<tr><th>Recent Posts</th></tr>
</thead>
<tbody>
{{#each this.pagedContent as |post|}}
<tr>
<td>
<LinkTo @route="posts.post" @model={{post}}>
{{post.title}} <small class="muted">by {{post.author.name}}</small>
</LinkTo>
</td>
</tr>
{{/each}}
</tbody>
</table>
<PageNumbers @content={{this.pagedContent}} />
</div>
{{!-- blog post content --}}
<div class="col-xs-7">
{{yield}}
</div>
</div>
</div>
You can’t perform that action at this time.