UX: Move 'show words' checkbox close to the words in the Watched Words UI

This commit is contained in:
Neil Lalonde 2018-02-26 16:35:43 -05:00
parent 436d2b57c9
commit 8f27456acb
3 changed files with 7 additions and 7 deletions

View File

@ -10,6 +10,12 @@
{{watched-word-uploader uploading=uploading actionKey=actionNameKey done="uploadComplete"}}
<div class='clearfix'></div>
<div>
<label class="show-words-checkbox">
{{input type="checkbox" checked=adminWatchedWords.showWords disabled=adminWatchedWords.disableShowWords}}
{{i18n 'admin.watched_words.show_words'}}
</label>
</div>
<div class="watched-words-list">
{{#if showWordsList}}
{{#each filteredContent as |word| }}

View File

@ -1,10 +1,4 @@
<div class='admin-controls'>
<div class='search controls'>
<label class="show-words-checkbox">
{{input type="checkbox" checked=showWords disabled=disableShowWords}}
{{i18n 'admin.watched_words.show_words'}}
</label>
</div>
<div class='controls'>
{{text-field value=filter placeholderKey="admin.watched_words.search" class="no-blur"}}
{{d-button action="clearFilter" label="admin.watched_words.clear_filter"}}

View File

@ -1778,7 +1778,7 @@ table#user-badges {
}
.watched-words-list {
margin-top: 40px;
margin-top: 20px;
}
.watched-word {
display: inline-block;