diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-07 08:12:46 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-07 08:24:48 +0200 |
commit | 222031e975bc428b77a00878776744f3de884ca9 (patch) | |
tree | ee52e76401c0de5207433db84ed72d42e7a8749a /searx/templates | |
parent | 9d106ae972f0d5ae72d2e7cd5fae28c4d56deb14 (diff) | |
download | searxng-222031e975bc428b77a00878776744f3de884ca9.tar.gz searxng-222031e975bc428b77a00878776744f3de884ca9.zip |
[fix] make oscar theme more CSP compliant - col-checkbox
Add col-checkbox in::
searx/static/themes/oscar/src/less/preferences.less
Replaced style in file::
searx/templates/oscar/preferences.html
Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/oscar/preferences.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index e7163e027..e5743e116 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -318,12 +318,12 @@ <th scope="col">{{ _("Allow") }}</th> <th scope="col">{{ _("Engine name") }}</th> <th scope="col">{{ _("Shortcut") }}</th> - <th scope="col" style="width: 10rem">{{ _("Selected language") }}</th> - <th scope="col" style="width: 10rem">{{ _("SafeSearch") }}</th> - <th scope="col" style="width: 10rem">{{ _("Time range") }}</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">{{ _("Response time") }}</th> - <th scope="col" class="text-right" style="width: 7rem">{{ _("Max time") }}</th> - <th scope="col" class="text-right" style="width: 7rem">{{ _("Reliablity") }}</th> + <th scope="col" class="col-checkbox text-right">{{ _("Max time") }}</th> + <th scope="col" class="col-checkbox text-right">{{ _("Reliablity") }}</th> {% else %} <th scope="col">{{ _("Reliablity") }}</th> <th scope="col">{{ _("Max time") }}</th> |