forked from Icycoide/searxng
fix selects in preferences so they look consistent (#2150)
This commit is contained in:
parent
0d8970c8f2
commit
a2430154b9
9 changed files with 35 additions and 17 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue