UX: Remove duplicate title from watched words page (#12321)

This commit is contained in:
Bianca Nenciu 2021-03-09 11:52:12 +02:00 committed by GitHub
parent 1106aee152
commit 08f169ddd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 28 deletions

View File

@ -1,26 +1,22 @@
<div class="watched-word-container">
<h2>{{model.name}}</h2>
<div class="watched-word-controls">
{{d-button
class="btn-default download-link"
href=downloadLink
icon="download"
label="admin.watched_words.download"}}
<div class="watched-word-controls">
{{d-button
class="btn-default download-link"
href=downloadLink
icon="download"
label="admin.watched_words.download"}}
{{watched-word-uploader uploading=uploading actionKey=actionNameKey done=(action "uploadComplete")}}
{{watched-word-uploader uploading=uploading actionKey=actionNameKey done=(action "uploadComplete")}}
{{d-button
label="admin.watched_words.test.button_label"
icon="far-eye"
action=(action "test")}}
{{d-button
label="admin.watched_words.test.button_label"
icon="far-eye"
action=(action "test")}}
{{d-button
class="btn-danger clear-all"
label="admin.watched_words.clear_all"
icon="trash-alt"
action=(action "clearAll")}}
</div>
{{d-button
class="btn-danger clear-all"
label="admin.watched_words.clear_all"
icon="trash-alt"
action=(action "clearAll")}}
</div>
<p class="about">{{actionDescription}}</p>

View File

@ -329,11 +329,6 @@ table.screened-ip-addresses {
vertical-align: top;
}
.watched-word-container {
display: flex;
justify-content: space-between;
}
.watched-words-uploader {
display: inline-block;
}
@ -363,9 +358,12 @@ table.screened-ip-addresses {
}
}
.watched-words-detail .about,
.watched-word-form {
margin: 0.5em 0 1em 0;
.watched-words-detail {
.watched-word-controls,
.about,
.watched-word-form {
margin-bottom: 1em;
}
}
.watched-words-test-modal p {