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

15 lines
462 B
HTML

{% macro button(variant='default', size='md', class='', type='button', disabled=False) %}
<button
type="{{ type }}"
class="btn btn-{{ variant }} btn-{{ size }} {{ class }}"
{% if disabled %}disabled{% endif %}
>
{{ caller() }}
</button>
{% endmacro %}
{% macro button_link(href='#', variant='default', size='md', class='') %}
<a href="{{ href }}" class="btn btn-{{ variant }} btn-{{ size }} {{ class }}">
{{ caller() }}
</a>
{% endmacro %}