{% extends "base.html" %} {% block title %}Reports & Analytics{% endblock %} {% block extra_css %} {% endblock %} {% block content %} {# ── Sub-nav ── #}
{# ── Header + date filter ── #}{{ start.strftime('%b %d, %Y') }} — {{ end.strftime('%b %d, %Y') }}
{{ label }}
| Inspector | Inspections | Avg Score |
|---|---|---|
| {{ row.display_name }} | {{ row.count }} | {% if row.avg_score %} {{ '%.1f'|format(row.avg_score|float) }}% {% else %}—{% endif %} |
| Severity | Area | Description | |
|---|---|---|---|
| {{ issue.severity|title }} | {{ issue.area.name }} | {{ issue.description[:50] }}{% if issue.description|length > 50 %}…{% endif %} | View |
No open critical or high issues. 🎉