From 17f508c1d157c1631eb7365e6de28ecdc1579e7a Mon Sep 17 00:00:00 2001 From: Admin MPCZ Date: Fri, 24 Apr 2026 23:55:24 +0000 Subject: [PATCH] feat(qualys/dashboard): bandeau spinner persistant + auto-refresh pendant recalcul --- app/templates/qualys_dashboard.html | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/app/templates/qualys_dashboard.html b/app/templates/qualys_dashboard.html index d24714e..bd38fd5 100644 --- a/app/templates/qualys_dashboard.html +++ b/app/templates/qualys_dashboard.html @@ -3,13 +3,33 @@ {% block content %} {% set msg = request.query_params.get('msg', '') %} -{% if msg == 'refresh_started' %} -
- Recalcul lancé en arrière-plan. Rafraîchis la page dans 1-2 minutes pour voir les nouveaux chiffres. + +{% if is_running or msg == 'refresh_started' %} +
+
+
+
Recalcul du dashboard en cours...
+
+ Calcul des KPI sur ~1300 assets via API Qualys (durée typique : 3 à 5 minutes). + La page se rafraichira automatiquement. + +
+
+ {% elif msg == 'already_running' %}
- Un calcul est déjà en cours. Patiente puis rafraîchis. + Un calcul est deja en cours. Patiente puis rafraichis.
{% endif %}