From c2b8235b0e3506d0d36ac626c5df84edd7c58740 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 12 Apr 2017 11:44:39 +0200 Subject: dmarcstats --- templates/feedback/report.html | 113 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 templates/feedback/report.html (limited to 'templates/feedback/report.html') diff --git a/templates/feedback/report.html b/templates/feedback/report.html new file mode 100644 index 0000000..141c823 --- /dev/null +++ b/templates/feedback/report.html @@ -0,0 +1,113 @@ +{% extends "layout.html" %} +{% block title %}Report{% endblock %} +{% block content %} + +

Report

+
+
+

Report Metadata

+
+
Organisation Name
{{ feedback.rm_org_name }}
+
Email
{{ feedback.rm_email }}
+
Extra Contact Info
{{ feedback.rm_extra_contact_info }}
+
Report ID
{{ feedback.rm_report_id }}
+
Date Range
+ + to + +
+
+
+
+

Policy Published

+
+
Domain
{{ feedback.pp_domain }}
+
DKIM Alignment
{{ feedback.pp_adkim|alignment }}
+
SPF Alignment
{{ feedback.pp_aspf|alignment }}
+
Policy
{{ feedback.pp_p|capitalize }}
+
Subdomain Policy
{{ feedback.pp_sp|capitalize }}
+
+
+
+

Statistics

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Total%
Messages{{ total.records }}
Disposition None{{ total.none }}{{ (total.none / total.records * 100)|round|int }}%
DKIM or SPF Pass{{ total.dmarc }}{{ (total.dmarc / total.records * 100)|round|int }}%
DKIM Pass{{ total.dkim }}{{ (total.dkim / total.records * 100)|round|int }}%
SPF Pass{{ total.spf }}{{ (total.spf / total.records * 100)|round|int }}%
+
+
+

Utilities

+ +
+
+
+
+

Records

+ + + + + + + + + + + + {% for item in records %} + + + + + + + + + + + {% endfor %} +
SourceCountDispositionDKIMSPFEnvelope ToHeader From
{{ item['row_source_ip']|fqdn }}{{ item['row_count'] }}{{ item['row_pol_disposition'] }}{{ item['row_pol_dkim'] }}{{ item['row_pol_spf'] }}{{ item['ids_envelope_to'] }}{{ item['ids_header_from'] }} + + Record + +
+ {% endblock %} +
+
-- cgit v1.2.3-54-g00ecf