From e29faf641ae7d33e50a5427dd29db54278d1b44d Mon Sep 17 00:00:00 2001 From: Vitali Date: Fri, 17 Jul 2026 21:21:59 +0700 Subject: [PATCH] feat: self-contained web UI with live view, SVG chart, settings Co-Authored-By: Claude Opus 4.8 --- WeatherPredictor/web_page.h | 128 +++++++++++++++++++++++++++++++++++- 1 file changed, 127 insertions(+), 1 deletion(-) diff --git a/WeatherPredictor/web_page.h b/WeatherPredictor/web_page.h index df1be1a..43f074c 100644 --- a/WeatherPredictor/web_page.h +++ b/WeatherPredictor/web_page.h @@ -1,3 +1,129 @@ #pragma once #include -static const char INDEX_HTML[] PROGMEM = "Weather Predictor

Weather Predictor

See /api/current

"; + +static const char INDEX_HTML[] PROGMEM = R"HTML( + + + + + +Weather Predictor + + + +

Weather Predictor

+ +
+
+
Time
--:--
+
Temperature
-- C
+
+
+
Pressure (sea level)
----
+
+
Forecast
...
+
+
+ +
+
+ Pressure (hPa) + Temperature (C) +
+ +
+
+ +
+

Settings

+ + + + + +
+
+ + + + +)HTML";