From 40f26cf232aa2f9ab30efe31faac5e5d1c9904d3 Mon Sep 17 00:00:00 2001 From: ramseshk <45832522+ramseshk@users.noreply.github.com> Date: Tue, 11 Aug 2026 12:10:39 +0800 Subject: [PATCH] Add /simple dashboard (zero JS deps) + Chart.js fallback error handler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /simple: lightweight HTML dashboard, no external JS, works instantly Shows current conditions, tomorrow forecast, ML predictions, 5-day forecast table, Kelly sizing, typhoon signal - /: added Chart.js CDN onerror fallback — shows clear message + /simple link if CDN is unreachable (common cause of 'everything says loading') --- web_dashboard.py | 114 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 113 insertions(+), 1 deletion(-) diff --git a/web_dashboard.py b/web_dashboard.py index e6bc2c0..ca9c21c 100644 --- a/web_dashboard.py +++ b/web_dashboard.py @@ -44,7 +44,8 @@ HTML_TEMPLATE = r'''