diff --git a/public/analytics.js b/public/analytics.js index 6813f3ca..ec815f4c 100644 --- a/public/analytics.js +++ b/public/analytics.js @@ -6,14 +6,6 @@ function esc(s) { return s ? String(s).replace(/&/g,'&').replace(//g,'>').replace(/"/g,'"') : ''; } // --- SVG helpers --- - function svgLine(points, color, w, h, pad, maxX, maxY) { - return points.map((v, i) => { - const x = pad + i * ((w - pad * 2) / Math.max(points.length - 1, 1)); - const y = h - pad - (v / Math.max(maxY, 1)) * (h - pad * 2); - return `${x},${y}`; - }).join(' '); - } - function sparkSvg(data, color, w = 120, h = 32) { if (!data.length) return ''; const max = Math.max(...data, 1); @@ -117,7 +109,7 @@ renderTab('overview'); } catch (e) { document.getElementById('analyticsContent').innerHTML = - `
Failed to load: ${e.message}
`; + ``; } } diff --git a/public/live.css b/public/live.css index 9205cf84..6d160227 100644 --- a/public/live.css +++ b/public/live.css @@ -485,9 +485,6 @@ 50% { opacity: 0.3; } } -.vcr-clock { - display: none; /* replaced by LCD panel */ -} .vcr-lcd { display: flex; flex-direction: column; @@ -514,9 +511,6 @@ text-shadow: 0 0 6px rgba(74, 222, 128, 0.6); font-weight: 700; } -.vcr-lcd-time { - display: none; /* replaced by canvas */ -} .vcr-lcd-canvas { width: 130px; height: 28px;