Add secure 6h timeline with CSV merge and timestamped serial events

This commit is contained in:
2026-02-22 02:11:31 +01:00
parent 680ed7044e
commit b5f34868d1
9 changed files with 1315 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
<!doctype html>
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
@@ -9,7 +9,7 @@
<body>
<main class="container">
<h1>ESP32 Serial Live</h1>
<p><a href="/">Zurück zum WLAN-Portal</a></p>
<p><a href="/">Zurueck zum WLAN-Portal</a> | <a href="/timeline">Zur Timeline</a></p>
<pre id="terminal" class="terminal"></pre>
</main>
@@ -31,7 +31,8 @@
events.onmessage = (evt) => {
try {
const payload = JSON.parse(evt.data);
appendLine(payload.line || '');
const ts = payload.ts_hms ? `[${payload.ts_hms}] ` : '';
appendLine(`${ts}${payload.line || ''}`);
} catch (e) {
appendLine(evt.data || '');
}