diff --git a/guarddog_nexus/web/templates/package_detail.html b/guarddog_nexus/web/templates/package_detail.html index 6988af6..36aa8c4 100644 --- a/guarddog_nexus/web/templates/package_detail.html +++ b/guarddog_nexus/web/templates/package_detail.html @@ -55,7 +55,9 @@ {% endif %} {% if f.report and f.report.status == "analyzing" %} + {% with finding_id=f.id %} {% include "_llm_spinner.html" %} + {% endwith %} {% elif f.report and f.report.verdict %} {% with report=f.report, finding_id=f.id %} {% include "_llm_report_fragment.html" %} diff --git a/guarddog_nexus/web/templates/scan_detail.html b/guarddog_nexus/web/templates/scan_detail.html index 69acb98..73ed3f7 100644 --- a/guarddog_nexus/web/templates/scan_detail.html +++ b/guarddog_nexus/web/templates/scan_detail.html @@ -51,7 +51,9 @@ {% endif %} {% if f.report and f.report.status == "analyzing" %} + {% with finding_id=f.id %} {% include "_llm_spinner.html" %} + {% endwith %} {% elif f.report and f.report.verdict %} {% with report=f.report, finding_id=f.id %} {% include "_llm_report_fragment.html" %}