summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/macros.html
diff options
context:
space:
mode:
authorMarc Abonce Seguin <marc-abonce@mailbox.org>2020-08-27 19:55:47 +0000
committerGitHub <noreply@github.com>2020-08-27 21:55:47 +0200
commita2430154b9f7e174da27f97a7efcc3edabd5e6c2 (patch)
tree61f9ffd1c2d74d8139c45735e864c1aa9dfff8f1 /searx/templates/oscar/macros.html
parent0d8970c8f2e240d6c372aa3d230ab25b7397220e (diff)
fix selects in preferences so they look consistent (#2150)
Diffstat (limited to 'searx/templates/oscar/macros.html')
-rw-r--r--searx/templates/oscar/macros.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html
index 58f966997..f52d9713c 100644
--- a/searx/templates/oscar/macros.html
+++ b/searx/templates/oscar/macros.html
@@ -84,6 +84,10 @@
{% endif %}
{%- endmacro %}
+{% macro custom_select_class(rtl) -%}
+custom-select{% if rtl %}-rtl{% endif %}
+{%- endmacro %}
+
{% macro checkbox_toggle(id, blocked) -%}
<div class="onoffswitch">
<input type="checkbox" id="{{ id }}" name="{{ id }}"{% if blocked %} checked="checked"{% endif %} class="onoffswitch-checkbox">