Files
gh-christianlouis-dmarq/backend/app/templates/components/ui/card.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

35 lines
730 B
HTML

{% macro card() %}
<div class="card bg-base-100 shadow">
{{ caller() }}
</div>
{% endmacro %}
{% macro card_header() %}
<div class="card-body pt-6 pb-2">
{{ caller() }}
</div>
{% endmacro %}
{% macro card_title(text='') %}
<h3 class="card-title text-lg font-bold">
{% if text %}{{ text }}{% else %}{{ caller() }}{% endif %}
</h3>
{% endmacro %}
{% macro card_description(text='') %}
<p class="text-sm opacity-70 mt-1">
{% if text %}{{ text }}{% else %}{{ caller() }}{% endif %}
</p>
{% endmacro %}
{% macro card_content() %}
<div class="card-body py-4">
{{ caller() }}
</div>
{% endmacro %}
{% macro card_footer() %}
<div class="card-actions justify-end p-4 pt-0">
{{ caller() }}
</div>
{% endmacro %}