2021-06-18 20:57:13 +08:00
|
|
|
<div class="admin-contents">
|
|
|
|
<div class="admin-controls">
|
|
|
|
<div class="controls">
|
2021-09-14 01:43:43 +08:00
|
|
|
<div class="inline-form">
|
2022-06-30 18:30:50 +08:00
|
|
|
<DButton @action={{action "toggleMenu"}} @class="menu-toggle" @icon="bars" />
|
2022-07-06 01:41:31 +08:00
|
|
|
<TextField @value={{this.filter}} @placeholderKey="admin.watched_words.search" @class="no-blur" />
|
2022-06-30 18:30:50 +08:00
|
|
|
<DButton @action={{action "clearFilter"}} @label="admin.watched_words.clear_filter" />
|
2021-09-14 01:43:43 +08:00
|
|
|
</div>
|
2021-06-18 20:57:13 +08:00
|
|
|
</div>
|
2017-06-29 04:56:44 +08:00
|
|
|
</div>
|
|
|
|
|
2021-06-18 20:57:13 +08:00
|
|
|
<div class="admin-nav pull-left">
|
|
|
|
<ul class="nav nav-stacked">
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#each this.model as |action|}}
|
2021-06-18 20:57:13 +08:00
|
|
|
<li class={{action.nameKey}}>
|
2022-06-30 18:30:50 +08:00
|
|
|
<LinkTo @route="adminWatchedWords.action" @model={{action.nameKey}}>
|
2021-06-18 20:57:13 +08:00
|
|
|
{{action.name}}
|
|
|
|
{{#if action.words}}<span class="count">({{action.words.length}})</span>{{/if}}
|
2022-06-30 18:30:50 +08:00
|
|
|
</LinkTo>
|
2021-06-18 20:57:13 +08:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-06-29 04:56:44 +08:00
|
|
|
|
2021-06-18 20:57:13 +08:00
|
|
|
<div class="admin-detail pull-left mobile-closed watched-words-detail">
|
|
|
|
{{outlet}}
|
|
|
|
</div>
|
2017-06-29 04:56:44 +08:00
|
|
|
|
2021-06-18 20:57:13 +08:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|