2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 22:06:28 +00:00

Many improves of the slidies

This commit is contained in:
Oliver Walters
2019-06-18 19:05:09 +10:00
parent 783b8964d1
commit 65a8a30f87
8 changed files with 289 additions and 50 deletions

View File

@ -1,8 +1,3 @@
<div>
<input type="checkbox" data-toggle="toggle" data-on="" data-off="" {% if state %}checked="checked"{% endif %}>
{% if state %}
<span class='glyphicon glyphicon-small glyphicon-ok'></span>
{% else %}
<span class='glyphicon glyphicon-small glyphicon-remove'></span>
{% endif %}
<input type="checkbox" data-onstyle="success" data-size='small' data-toggle="toggle" {% if disabled %}disabled="disabled" {% endif %}{% if state %}checked="checked"{% endif %}>
</div>