summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-09-07 12:26:07 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-09-07 12:26:07 +0200
commit9068a72c6a95625ba1c8b3fc5f3dfad4008b1bda (patch)
treeff7aec99632270f5b0993c8fbda51fb39e638aec
parent222031e975bc428b77a00878776744f3de884ca9 (diff)
[fix] oscar theme - preferences: rename col-checkbox/col-stat
[1] https://github.com/searxng/searxng/pull/295#discussion_r703318053 [2] https://github.com/searxng/searxng/pull/295#discussion_r703337237 Suggested-by: @dalf [1] [2] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--searx/static/themes/oscar/src/less/preferences.less2
-rw-r--r--searx/templates/oscar/preferences.html14
2 files changed, 8 insertions, 8 deletions
diff --git a/searx/static/themes/oscar/src/less/preferences.less b/searx/static/themes/oscar/src/less/preferences.less
index 1b44a63eb..2c2165e85 100644
--- a/searx/static/themes/oscar/src/less/preferences.less
+++ b/searx/static/themes/oscar/src/less/preferences.less
@@ -1,3 +1,3 @@
-.col-checkbox {
+.col-stat {
width: 10rem;
}
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index e5743e116..ba861a68e 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -318,15 +318,15 @@
<th scope="col">{{ _("Allow") }}</th>
<th scope="col">{{ _("Engine name") }}</th>
<th scope="col">{{ _("Shortcut") }}</th>
- <th scope="col" class="col-checkbox">{{ _("Selected language") }}</th>
- <th scope="col" class="col-checkbox">{{ _("SafeSearch") }}</th>
- <th scope="col" class="col-checkbox">{{ _("Time range") }}</th>
+ <th scope="col" class="col-stat">{{ _("Selected language") }}</th>
+ <th scope="col" class="col-stat">{{ _("SafeSearch") }}</th>
+ <th scope="col" class="col-stat">{{ _("Time range") }}</th>
<th scope="col">{{ _("Response time") }}</th>
- <th scope="col" class="col-checkbox text-right">{{ _("Max time") }}</th>
- <th scope="col" class="col-checkbox text-right">{{ _("Reliablity") }}</th>
+ <th scope="col" class="col-stat text-right">{{ _("Max time") }}</th>
+ <th scope="col" class="col-stat text-right">{{ _("Reliablity") }}</th>
{% else %}
- <th scope="col">{{ _("Reliablity") }}</th>
- <th scope="col">{{ _("Max time") }}</th>
+ <th scope="col" class="col-stat">{{ _("Reliablity") }}</th>
+ <th scope="col" class="col-stat">{{ _("Max time") }}</th>
<th scope="col" class="text-right">{{ _("Response time") }}</th>
<th scope="col" class="text-right">{{ _("Time range") }}</th>
<th scope="col" class="text-right">{{ _("SafeSearch") }}</th>