{% extends "base.html" %} {% block title %}Session {{ session.session_id }} — QA Agent{% endblock %} {% block content %}
{{ session.pages_tested }} Pages tested
{{ session.total_findings }} Total findings
{{ session.unique_findings }} Unique findings
{% if session.duration_seconds %}
{% set d = session.duration_seconds | int %} {% if d < 60 %}{{ d }}s{% else %}{{ d // 60 }}m {{ d % 60 }}s{% endif %} Duration
{% endif %}
{% if session.findings_by_severity %}

Findings by Severity

{% for sev in ['critical', 'high', 'medium', 'low', 'info'] %} {% set count = session.findings_by_severity.get(sev, 0) %} {% if count > 0 %}
{{ sev }}
{{ count }}
{% endif %} {% endfor %}
{% endif %} {% if session.reports %}

Reports

{% endif %} {% if session.findings %}

Findings

{% for f in session.findings %} {% endfor %}
Severity Category Title URL
{{ f.severity }} {{ f.category | replace('_', ' ') | title }}
{{ f.title }}
{{ f.url }}
{% else %}

No findings recorded for this session.

{% endif %} {% if session.screenshots %}

Screenshots

{% endif %} {% if session.recording %}

Recording

{% endif %} {% endblock %} {% block scripts %} {% endblock %}