server: style tweak for tls_report summary
This commit is contained in:
parent
54dc45660a
commit
66dbcf2cfd
@ -1,8 +1,10 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>TLS Report</title>
|
<title>TLS Report</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h3>TLS Report Summary:</h3>
|
<h3>TLS Report Summary:</h3>
|
||||||
<p>Organization: {{ report.organization_name }}</p>
|
<p>Organization: {{ report.organization_name }}</p>
|
||||||
@ -10,34 +12,37 @@
|
|||||||
<p>Contact: {{ report.contact_info }}</p>
|
<p>Contact: {{ report.contact_info }}</p>
|
||||||
<p>Report ID: {{ report.report_id }}</p>
|
<p>Report ID: {{ report.report_id }}</p>
|
||||||
|
|
||||||
<h4>Policies:</h4>
|
<h4><b>Policies:</b></h4>
|
||||||
{% for policy in report.policies %}
|
{% for policy in report.policies %}
|
||||||
<h5>Policy Domain: {{ policy.policy.policy_domain }}</h5>
|
<h5><b>Policy Domain:</b> {{ policy.policy.policy_domain }}</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Policy Type: {{ policy.policy.policy_type }}</li>
|
<li><b>Policy Type:</b> {{ policy.policy.policy_type }}</li>
|
||||||
<li>Policy String: {{ policy.policy.policy_string | join(", ") }}</li>
|
<li><b>Policy String:</b> {{ policy.policy.policy_string | join(", ") }}</li>
|
||||||
<li>Successful Sessions: {{ policy.summary.total_successful_session_count }}</li>
|
<li><b>Successful Sessions:</b> {{ policy.summary.total_successful_session_count }}</li>
|
||||||
<li>Failed Sessions: {{ policy.summary.total_failure_session_count }}</li>
|
<li><b>Failed Sessions:</b> {{ policy.summary.total_failure_session_count }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{% for mx_host in policy.policy.mx_host %}
|
{% for mx_host in policy.policy.mx_host %}
|
||||||
<li>Hostname: {{ mx_host.hostname }}, Failures: {{ mx_host.failure_count }}, Result: {{ mx_host.result_type }}</li>
|
<li><b>Hostname:</b> {{ mx_host.hostname }}, <b>Failures:</b> {{ mx_host.failure_count }}, <b>Result:</b> {{
|
||||||
|
mx_host.result_type }}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{% for detail in policy.failure_details %}
|
{% for detail in policy.failure_details %}
|
||||||
<li>Result: {{ detail.result_type }}, Sending IP: {{ detail.sending_mta_ip }}, Failed Sessions: {{ detail.failed_session_count }}
|
<li><b>Result:</b> {{ detail.result_type }}, <b>Sending IP:</b> {{ detail.sending_mta_ip }}, <b>Failed
|
||||||
|
Sessions:</b> {{ detail.failed_session_count }}
|
||||||
{% if detail.failure_reason_code != "" %}
|
{% if detail.failure_reason_code != "" %}
|
||||||
(Reason: {{ detail.failure_reason_code }})
|
(<b>Reason:</b> {{ detail.failure_reason_code }})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
(Receiving IP: {{ detail.receiving_ip }})
|
(<b>Receiving IP:</b> {{ detail.receiving_ip }})
|
||||||
(Receiving MX: {{ detail.receiving_mx_hostname }})
|
(<b>Receiving MX:</b> {{ detail.receiving_mx_hostname }})
|
||||||
(Additional Info: {{ detail.additional_info }})
|
(<b>Additional Info:</b> {{ detail.additional_info }})
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user