Lots of cleanup

This commit is contained in:
Jeremy Stretch
2025-11-04 16:49:56 -05:00
parent c05106f9b2
commit 59899d0d9a
7 changed files with 184 additions and 26 deletions

View File

@@ -129,7 +129,7 @@ Context:
{% for column in row.columns %}
<div class="col">
{% for panel in column.panels %}
{% render_panel panel %}
{% render panel %}
{% endfor %}
</div>
{% endfor %}

View File

@@ -0,0 +1,6 @@
<a href="{{ url }}" class="btn btn-ghost-{{ button_class }} btn-sm">
{% if button_icon %}
<i class="mdi mdi-{{ button_icon }}" aria-hidden="true"></i>
{% endif %}
{{ label }}
</a>

View File

@@ -4,12 +4,7 @@
{% if actions %}
<div class="card-actions">
{% for action in actions %}
<a href="{{ action.url }}" class="btn btn-ghost-{{ action.button_class|default:"primary" }} btn-sm">
{% if action.button_icon %}
<i class="mdi mdi-{{ action.button_icon }}" aria-hidden="true"></i>
{% endif %}
{{ action.label }}
</a>
{% render action %}
{% endfor %}
</div>
{% endif %}