fix selects in preferences so they look consistent (#2150)

This commit is contained in:
Marc Abonce Seguin 2020-08-27 19:55:47 +00:00 committed by GitHub
parent 0d8970c8f2
commit a2430154b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 35 additions and 17 deletions

View file

@ -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">