mirror of https://github.com/searxng/searxng.git
[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>
This commit is contained in:
parent
9d106ae972
commit
222031e975
|
@ -3,6 +3,7 @@
|
||||||
@import "../../../../__common__/less/stats.less";
|
@import "../../../../__common__/less/stats.less";
|
||||||
@import "../../../../__common__/less/result_templates.less";
|
@import "../../../../__common__/less/result_templates.less";
|
||||||
@import "../../less/result_templates.less";
|
@import "../../less/result_templates.less";
|
||||||
|
@import "../../less/preferences.less";
|
||||||
@import "../../generated/pygments-logicodev.less";
|
@import "../../generated/pygments-logicodev.less";
|
||||||
|
|
||||||
@stacked-bar-chart: rgb(213, 216, 215, 1);
|
@stacked-bar-chart: rgb(213, 216, 215, 1);
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
@import "../../../../__common__/less/stats.less";
|
@import "../../../../__common__/less/stats.less";
|
||||||
@import "../../../../__common__/less/result_templates.less";
|
@import "../../../../__common__/less/result_templates.less";
|
||||||
@import "../../less/result_templates.less";
|
@import "../../less/result_templates.less";
|
||||||
|
@import "../../less/preferences.less";
|
||||||
@import "../../generated/pygments-logicodev.less";
|
@import "../../generated/pygments-logicodev.less";
|
||||||
|
|
||||||
@import "navbar.less";
|
@import "navbar.less";
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
@import "../../../../__common__/less/stats.less";
|
@import "../../../../__common__/less/stats.less";
|
||||||
@import "../../../../__common__/less/result_templates.less";
|
@import "../../../../__common__/less/result_templates.less";
|
||||||
@import "../../less/result_templates.less";
|
@import "../../less/result_templates.less";
|
||||||
|
@import "../../less/preferences.less";
|
||||||
@import "../../generated/pygments-pointhi.less";
|
@import "../../generated/pygments-pointhi.less";
|
||||||
|
|
||||||
@import "footer.less";
|
@import "footer.less";
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
.col-checkbox {
|
||||||
|
width: 10rem;
|
||||||
|
}
|
|
@ -318,12 +318,12 @@
|
||||||
<th scope="col">{{ _("Allow") }}</th>
|
<th scope="col">{{ _("Allow") }}</th>
|
||||||
<th scope="col">{{ _("Engine name") }}</th>
|
<th scope="col">{{ _("Engine name") }}</th>
|
||||||
<th scope="col">{{ _("Shortcut") }}</th>
|
<th scope="col">{{ _("Shortcut") }}</th>
|
||||||
<th scope="col" style="width: 10rem">{{ _("Selected language") }}</th>
|
<th scope="col" class="col-checkbox">{{ _("Selected language") }}</th>
|
||||||
<th scope="col" style="width: 10rem">{{ _("SafeSearch") }}</th>
|
<th scope="col" class="col-checkbox">{{ _("SafeSearch") }}</th>
|
||||||
<th scope="col" style="width: 10rem">{{ _("Time range") }}</th>
|
<th scope="col" class="col-checkbox">{{ _("Time range") }}</th>
|
||||||
<th scope="col">{{ _("Response time") }}</th>
|
<th scope="col">{{ _("Response time") }}</th>
|
||||||
<th scope="col" class="text-right" style="width: 7rem">{{ _("Max time") }}</th>
|
<th scope="col" class="col-checkbox text-right">{{ _("Max time") }}</th>
|
||||||
<th scope="col" class="text-right" style="width: 7rem">{{ _("Reliablity") }}</th>
|
<th scope="col" class="col-checkbox text-right">{{ _("Reliablity") }}</th>
|
||||||
{% else %}
|
{% else %}
|
||||||
<th scope="col">{{ _("Reliablity") }}</th>
|
<th scope="col">{{ _("Reliablity") }}</th>
|
||||||
<th scope="col">{{ _("Max time") }}</th>
|
<th scope="col">{{ _("Max time") }}</th>
|
||||||
|
|
Loading…
Reference in New Issue