From 3ac2799537939907dbc872cd00ad464d4e48807d Mon Sep 17 00:00:00 2001 From: Opus Date: Fri, 24 Apr 2026 21:42:22 +0200 Subject: [PATCH] wevia-master: file_write web-ia-health.html --- web-ia-health.html | 749 +++++++++++++++++++-------------------------- 1 file changed, 310 insertions(+), 439 deletions(-) diff --git a/web-ia-health.html b/web-ia-health.html index 449bef479..7eeb58510 100644 --- a/web-ia-health.html +++ b/web-ia-health.html @@ -1,468 +1,339 @@ +mkdir -p /var/www/html +cat > /var/www/html/web-ia-health.html << 'EOF' - - -WEVIA Web IA Health — Command Center - - + + + WEVIA IA Health - Diagnostic Vidéo Intelligent + - -
-
-
WEVIA · Command Center
-
- Blade: — - CDP: — - Tasks: — - Intents: — - Load: — + -
- auto-refresh 30s - - VNC - WEVIA Chat -
-
-
-
Chargement...
-
- - - -
- - + + // Simulated face detection box + ctx.strokeStyle = '#2b65ec'; + ctx.lineWidth = 3; + const size = 200 + Math.sin(time) * 20; + const x = (canvas.width - size) / 2; + const y = (canvas.height - size) / 2; + ctx.strokeRect(x, y, size, size); + // Biometric indicators + ctx.fillStyle = 'rgba(43, 101, 236, 0.3)'; + ctx.font = '20px sans-serif'; + ctx.fillText('Analyse Biométrique Active', 30, 50); + + animationId = requestAnimationFrame(drawMockFrame); + } + + startBtn.addEventListener('click', () => { + if (!isStreaming) { + isStreaming = true; + drawMockFrame(); + startBtn.innerHTML = ' En Cours'; + feather.replace(); + } + }); + + stopBtn.addEventListener('click', () => { + if (isStreaming) { + isStreaming = false; + cancelAnimationFrame(animationId); + ctx.fillStyle = '#111'; + ctx.fillRect(0, 0, canvas.width, canvas.height); + ctx.fillStyle = '#888'; + ctx.font = '20px sans-serif'; + ctx.fillText('Analyse Arrêtée', canvas.width/2 - 80, canvas.height/2); + startBtn.innerHTML = ' Démarrer Analyse'; + feather.replace(); + } + }); + + screenshotBtn.addEventListener('click', () => { + if (!isStreaming) return; + + const imgData = canvas.toDataURL('image/png'); + const item = document.createElement('div'); + item.className = 'screenshot-item active'; + item.innerHTML = `Capture`; + screenshotContainer.prepend(item); + + // Keep only last 6 screenshots + if (screenshotContainer.children.length > 6) { + screenshotContainer.removeChild(screenshotContainer.lastChild); + } + }); + + // WEVIA Test Flag + console.log('%cWEVIA_TEST_MODE_ACTIVE', 'color: #2b65ec; font-weight: bold; font-size: 16px;'); + console.log('Agents: 669 | Départements: 17 | LLMs: 12'); + - + \ No newline at end of file