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">
|
2023-08-31 17:49:35 +08:00
|
|
|
<DButton @action={{this.toggleMenu}} @icon="bars" class="menu-toggle" />
|
2022-07-06 01:41:31 +08:00
|
|
|
<TextField
|
|
|
|
@value={{this.filter}}
|
|
|
|
@placeholderKey="admin.watched_words.search"
|
2023-12-12 20:09:05 +08:00
|
|
|
class="no-blur"
|
2022-06-30 18:30:50 +08:00
|
|
|
/>
|
|
|
|
<DButton
|
2023-08-31 17:49:35 +08:00
|
|
|
@action={{this.clearFilter}}
|
2022-06-30 18:30:50 +08:00
|
|
|
@label="admin.watched_words.clear_filter"
|
2022-12-28 20:28:11 +08:00
|
|
|
/>
|
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>
|