From b8298e584f766d5ea669e804d0b4cb1738dab165 Mon Sep 17 00:00:00 2001 From: Joachim Hummel Date: Mon, 1 Jun 2026 19:44:49 +0200 Subject: [PATCH] Dark Mode fuer alle Seiten (Toggle + System-Default) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CSS-Variablen fuer Hell/Dunkel, Umschalter (🌙/☀️) oben rechts - Default folgt prefers-color-scheme, Wahl wird in localStorage gemerkt - Theme wird vor dem Rendern gesetzt -> kein Flackern - index, webcam und play_video konsistent Co-Authored-By: Claude Opus 4.8 (1M context) --- templates/index.html | 56 +++++++++++++++++++++++++++++++++++++-- templates/play_video.html | 43 +++++++++++++++++++++++++++--- templates/webcam.html | 43 +++++++++++++++++++++++++++--- 3 files changed, 134 insertions(+), 8 deletions(-) diff --git a/templates/index.html b/templates/index.html index 95672f7..d1fc531 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,18 +4,44 @@ Object Detection + +

Object Detection

- +
Start Webcam Detection + + diff --git a/templates/play_video.html b/templates/play_video.html index e01b1b5..4bd4dc1 100644 --- a/templates/play_video.html +++ b/templates/play_video.html @@ -4,7 +4,18 @@ Video Playback + +

Video Playback with Object Detection

@@ -227,5 +259,10 @@ } }, 100); + diff --git a/templates/webcam.html b/templates/webcam.html index 919343d..8747680 100644 --- a/templates/webcam.html +++ b/templates/webcam.html @@ -4,7 +4,18 @@ Webcam Feed + +

Webcam Object Detection

@@ -227,5 +259,10 @@ } }, 100); +