feat: désactiver le formulaire de login quand le serveur est injoignable

- Bouton et select disabled par défaut au démarrage
- Réactivés uniquement quand le health check confirme la connexion
- Pastille orange pulsante + "Reconnexion en cours..." au lieu de rouge fixe
- Style disabled grisé pour le bouton et le select
- resetLoginForm ne force plus disabled=false
This commit is contained in:
Pierre Marx
2026-03-18 20:33:22 -04:00
parent d377ed3ea8
commit 9e683a04e9
3 changed files with 38 additions and 13 deletions

View File

@@ -157,6 +157,11 @@ body {
background: #F44336;
}
.signalr-indicator.reconnecting {
background: #FFC107;
animation: pulse 1.5s infinite;
}
.signalr-indicator.disabled {
background: #9E9E9E;
}
@@ -190,12 +195,19 @@ body {
transition: background 0.3s;
}
#loginForm button:hover {
#loginForm button:hover:not(:disabled) {
background: #5a6fd8;
}
#loginForm button:disabled {
background: #a8b0e8;
background: #ccc;
color: #999;
cursor: not-allowed;
}
#loginForm select:disabled {
background: #f0f0f0;
color: #999;
cursor: not-allowed;
}