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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user