From 856567adb2ab6eda2544953c0c4eaec16adcd4bb Mon Sep 17 00:00:00 2001 From: tovjemam Date: Mon, 7 Sep 2026 15:33:11 +0200 Subject: [PATCH] Add explicit valve instructions --- data/www/index.html | 2 +- res/index.html | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/data/www/index.html b/data/www/index.html index f287cda..ffb3ceb 100644 --- a/data/www/index.html +++ b/data/www/index.html @@ -1 +1 @@ - Bojler

🌡️ bojler

Aktuální teplota
-- °C

Stav ventilu

❓ Neznámý

⚙️ Nastavení
📈 Historie teploty
📋 Záznam událostí
Načítám události...
\ No newline at end of file + Bojler

🌡️ bojler

Aktuální teplota
-- °C

Stav ventilu

❓ Neznámý

⚙️ Nastavení
📈 Historie teploty
📋 Záznam událostí
Načítám události...
\ No newline at end of file diff --git a/res/index.html b/res/index.html index 48db01b..fe6b46c 100644 --- a/res/index.html +++ b/res/index.html @@ -94,6 +94,12 @@ background: rgba(150, 150, 150, 0.3); border-radius: 4px; } + + .valve-warning { + color: var(--color-ok); + font-size: 80%; + font-weight: normal; + } @@ -248,9 +254,9 @@ let warningHtml = ""; if (!isOpen && data.temp > data.t1) { - warningHtml = ' ⚠️'; + warningHtml = ' ⚠️ Otevřete ventil'; } else if (isOpen && data.temp < data.t0) { - warningHtml = ' ⚠️'; + warningHtml = ' ⚠️ Zavřete ventil'; } if (isOpen) {