UX: mobile watched words UI in admin needs a way to see all word lists

This commit is contained in:
Neil Lalonde 2018-05-25 11:13:34 -04:00
parent 3c8369def6
commit fdce116838
2 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,10 @@ export default Ember.Controller.extend({
actions: {
clearFilter() {
this.setProperties({ filter: '' });
},
toggleMenu() {
$('.admin-detail').toggleClass('mobile-closed mobile-open');
}
}

View File

@ -1,5 +1,6 @@
<div class='admin-controls'>
<div class='controls'>
{{d-button action="toggleMenu" class="menu-toggle" icon="bars"}}
{{text-field value=filter placeholderKey="admin.watched_words.search" class="no-blur"}}
{{d-button action="clearFilter" label="admin.watched_words.clear_filter"}}
</div>