From de2d0635b2368a5cccc1f2a41b1c7ae137f6d550 Mon Sep 17 00:00:00 2001 From: raw-designs Date: Tue, 14 Jul 2026 00:14:53 +0200 Subject: [PATCH] =?UTF-8?q?fix(S3):=20=E2=80=9EAktives=20Profil"-Anzeige?= =?UTF-8?q?=20auf=20der=20Profil-Seite=20ins=20Karten-Layout=20eingef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Die Zeile stand linksbündig ohne max-width außerhalb der zentrierten Seitenstruktur. Jetzt im status-message-Stil der Seite (zentriert, max. 600 px, dezenter neutraler Rahmen), Profilname fett. Version 5.1.2. Co-Authored-By: Claude Fable 5 --- Changelog.txt | 5 +++++ Dual-PID.ino | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 0c9dd75..b171e5c 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,3 +1,8 @@ +Version 5.1.2: +- Profil-Seite (Web-UI): Die neue „Aktives Profil"-Anzeige stand linksbündig außerhalb des + Karten-Layouts. Sie nutzt jetzt den status-message-Stil der Seite (zentriert, max. 600 px, + dezenter Rahmen) und fügt sich damit in das bestehende Layout ein; Profilname zusätzlich fett. + Version 5.1.1: - Aktives Profil wird jetzt geführt und angezeigt: Die Steuerung merkt sich das zuletzt geladene bzw. gespeicherte Profil dauerhaft im EEPROM (überlebt Neustarts). Web-UI: Anzeige auf dem Dashboard über der diff --git a/Dual-PID.ino b/Dual-PID.ino index ebe727a..29981a8 100644 --- a/Dual-PID.ino +++ b/Dual-PID.ino @@ -369,7 +369,7 @@ Adafruit_SH1106G display = Adafruit_SH1106G(128, 64, &Wire); * Firmware-Informationen ************************************************************************************/ -String version = "5.1.1"; +String version = "5.1.2"; String versionHersteller = "Thomas Müller"; String versionHerstellerMail = "thomas@mueller.black"; @@ -11831,14 +11831,17 @@ void handleProfilesPage(AsyncWebServerRequest *request) { profileStatusMessage = ""; // Nachricht entfernen, nachdem sie angezeigt wurde } - // Aktives Profil anzeigen (zuletzt geladen/gespeichert; Stern = danach geändert) + // Aktives Profil anzeigen (zuletzt geladen/gespeichert; Stern = danach geändert). + // Im status-message-Stil der Seite: zentriert, max-width 600px - fuegt sich damit in + // das Karten-Layout ein statt linksbuendig aus der Reihe zu tanzen. { - String activeDiv = "
Aktives Profil: "; + String activeDiv = "
Aktives Profil: "; if (activeProfileName.length() > 0) { activeDiv += htmlEscape(activeProfileName); + activeDiv += ""; if (activeProfileDirty) { activeDiv += " ✱ (geändert)"; } } else { - activeDiv += "—"; + activeDiv += "—"; } activeDiv += "
"; response->print(activeDiv); -- 2.54.0