{# output/templates/report_template.html #} {% extends "base.html" %} {% block title %}SnapCheck Audit Report{% endblock %} {# Load Tailwind + Chart.js (brand.css already loaded by base.html) #} {% block head_extra %} {% endblock %} {# Header actions (right side of the header) #} {% block header_actions %} Export JSON {% endblock %} {% block content %}
{% for k in kpis %} {% endfor %}

Global Charts

{% if plugin_results.get('correlation') %} {% set pdata = plugin_results.get('correlation') %}
Correlation
{% for it in pdata["items"] %}
{{ it.title }} {{ it.severity }}

{{ it.message }}

{% if it.meta %}
{{ it.meta }}
{% endif %}
{% endfor %}
{% endif %} {% for plugin_name, pdata in plugin_results.items() if plugin_name != 'correlation' %}
{{ pdata.title }} {{ pdata.status }}
{% for it in pdata["items"] %}
{{ it.title }} {{ it.severity }}

{{ it.message }}

{% if it.meta %}
{{ it.meta }}
{% endif %}
{% endfor %}
{% endfor %}
{% endblock %} {# JS at end for best performance #} {% block scripts_end %} {# Use a relative path so file:// loads work #} {% endblock %}