69f8438a36
- 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.
15 lines
462 B
HTML
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 %} |