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.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user