diff --git a/guarddog_nexus/web/static/style.css b/guarddog_nexus/web/static/style.css index 7de7c80..b1cc369 100644 --- a/guarddog_nexus/web/static/style.css +++ b/guarddog_nexus/web/static/style.css @@ -231,7 +231,9 @@ table td:first-child { font-variant-numeric: tabular-nums; } .copy-btn:hover { background: #202632; } .copy-btn.copied { color: #4caf50; border-color: #4caf50; } -.htmx-indicator { display: inline; } +.htmx-indicator { display: none; } +.htmx-indicator.htmx-request, +.htmx-request .htmx-indicator { display: inline; } /* ------------------------------------------------------------------ */ /* Nav / breadcrumbs / empty state */ diff --git a/guarddog_nexus/web/templates/_llm_report_fragment.html b/guarddog_nexus/web/templates/_llm_report_fragment.html index 53875d6..c338303 100644 --- a/guarddog_nexus/web/templates/_llm_report_fragment.html +++ b/guarddog_nexus/web/templates/_llm_report_fragment.html @@ -10,6 +10,9 @@ hx-target="closest .llm-report" hx-swap="outerHTML" hx-indicator="closest .llm-report">{{ t('llm_retry', request.state.lang) }} + + {{ t('llm_analyzing', request.state.lang) }} + {% endif %}
{{ report.summary }}
diff --git a/guarddog_nexus/web/templates/package_detail.html b/guarddog_nexus/web/templates/package_detail.html index 6705074..6988af6 100644 --- a/guarddog_nexus/web/templates/package_detail.html +++ b/guarddog_nexus/web/templates/package_detail.html @@ -67,7 +67,7 @@ hx-target="#llm-{{ f.id }}" hx-swap="outerHTML" hx-indicator="#llm-spinner-{{ f.id }}"> -