+
+
-
+
@@ -252,9 +246,12 @@
🖥️ Clientes Conectados
+Monitoramento em tempo real dos clientes Socket.IO
+
@@ -468,10 +465,14 @@
}
function updateTestResults() {
- // Atualizar interface com resultados
loadClients();
}
+ function logout() {
+ localStorage.removeItem('auth_token');
+ window.location.replace('/login');
+ }
+
// Inicializar Socket.IO e carregar clientes
initSocket();
loadClients();
@@ -479,6 +480,7 @@
// Atualizar a cada 3 segundos
setInterval(loadClients, 3000);
+
diff --git a/dental-server/public/index.html b/dental-server/public/index.html
index 1134b17..a710f4b 100644
--- a/dental-server/public/index.html
+++ b/dental-server/public/index.html
@@ -19,22 +19,22 @@
🖼️ Pacientes
-
+
➕ Novo Paciente
🖥️ Dispositivos
-
+
⚙️ Configurações
-
+
🔌 Plugins / Wasabi
-
+
🔄 Sincronização
-
+
⚠️ Zerar Sistema
@@ -44,19 +44,19 @@
🚪 Sair
-
-
Carregando...
+
+
+ Carregando...
+
-