Files
gh-christianlouis-dmarq/backend/app/templates/components/ui/table.html
T
Christian Krakau-Louis 69f8438a36 Add domain management, reports, settings, and upload templates
- Implemented domain management page with a list of monitored domains and their DMARC, SPF, and DKIM statuses.
- Created reports page with filtering options for domain, report type, and date range, displaying DMARC reports.
- Developed settings page for IMAP configuration and DMARC policy management, including form validation and feedback.
- Added upload page for DMARC report files with drag-and-drop functionality and file type validation.
- Integrated Alpine.js for interactivity and dynamic data handling across all templates.
2025-04-20 18:38:29 +02:00

37 lines
745 B
HTML

{% macro table(class='', zebra=True) %}
<div class="overflow-x-auto">
<table class="table {% if zebra %}table-zebra{% endif %} {{ class }}">
{{ caller() }}
</table>
</div>
{% endmacro %}
{% macro thead() %}
<thead>
{{ caller() }}
</thead>
{% endmacro %}
{% macro tbody() %}
<tbody>
{{ caller() }}
</tbody>
{% endmacro %}
{% macro tr(class='') %}
<tr class="{{ class }}">
{{ caller() }}
</tr>
{% endmacro %}
{% macro th(class='') %}
<th class="{{ class }}">
{{ caller() }}
</th>
{% endmacro %}
{% macro td(class='', colspan='', rowspan='') %}
<td class="{{ class }}" {% if colspan %}colspan="{{ colspan }}"{% endif %} {% if rowspan %}rowspan="{{ rowspan }}"{% endif %}>
{{ caller() }}
</td>
{% endmacro %}