Restructure

This commit is contained in:
Matt Batchelder
2026-02-11 21:07:22 -05:00
parent 0e4cb80297
commit e44a77b284
68 changed files with 0 additions and 3109 deletions

View File

@@ -0,0 +1,20 @@
{#
Reusable dashboard card partial.
Usage (embed to allow overriding the `body` block):
{% embed 'custom/otssignange/views/partials/_dashboard-card.twig' with {'classes':'ots-displays-card'} %}
{% block body %}
... inner content ...
{% endblock %}
{% endembed %}
#}
<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 }}
</div>
{% endif %}
<div class="dashboard-card-body">
{% block body %}{% endblock %}
</div>
</div>