finished conversion to tailwind

This commit is contained in:
badblocks 2025-03-11 23:45:27 -07:00
parent 6e2843c60e
commit d62956d465
50 changed files with 2490 additions and 1273 deletions

View file

@ -0,0 +1,13 @@
{% for group, options, index in widget.optgroups %}
<div class="btn-group" role="group" aria-label="Trade Acceptance State">
{% for option in options %}
<label class="btn btn-outline-primary {% if option.selected %}btn-active{% endif %}">
<input type="radio" name="{{ widget.name }}" value="{{ option.value }}"
{% for attr, val in option.attrs.items %} {{ attr }}="{{ val }}" {% endfor %}
autocomplete="off" style="display:none;"
{% if option.selected %} checked {% endif %}>
{{ option.label }}
</label>
{% endfor %}
</div>
{% endfor %}