pre-img swap

This commit is contained in:
Matt Batchelder
2026-03-23 21:09:27 -04:00
parent 87474b05a9
commit bbe8c1860c
395 changed files with 29643 additions and 712 deletions

View File

@@ -6,15 +6,22 @@
... inner content ...
{% endblock %}
{% endembed %}
Optional blocks: badge, description, actions
These are additive — existing embeds that only use `body` are unaffected.
#}
<div class="dashboard-card {{ classes|default('') }}" {% if id is defined %}id="{{ id }}"{% endif %}>
{% if title is defined and title %}
<div class="dashboard-card-header">
{{ title|raw }}
{% block badge %}{% endblock %}
</div>
{% endif %}
<div class="dashboard-card-body">
{% block body %}{% endblock %}
{% block description %}{% endblock %}
</div>
{% block actions %}{% endblock %}
</div>