diff --git a/.env.development b/.env.development index bb88720..05386e6 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.896 +NEXT_PUBLIC_APP_VERSION=1.6.897 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index 471286b..83a22d0 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.896 +NEXT_PUBLIC_APP_VERSION=1.6.897 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c660b2a..3d31ffd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.897] – 2025-09-10 + +- style: DigitalOutputsModal für dark mode + +--- ## [1.6.896] – 2025-09-10 - style: Digitale Ausgänge Switch diff --git a/components/main/analogInputs/AnalogInputsSettingsModal.tsx b/components/main/analogInputs/AnalogInputsSettingsModal.tsx index 34f96de..bd0505b 100644 --- a/components/main/analogInputs/AnalogInputsSettingsModal.tsx +++ b/components/main/analogInputs/AnalogInputsSettingsModal.tsx @@ -108,125 +108,118 @@ export default function AnalogInputsSettingsModal() { return (
-
-
-

+
+
+

Einstellungen Messwerteingang {selectedInput.id}

-
- - {/* Bezeichnung */} -
- Bezeichnung: - setLabel(e.target.value)} - /> -
- - {/* Offset */} -
- Offset: - setOffset(e.target.value)} - /> -
- - {/* Faktor */} -
- Faktor: - setFactor(e.target.value)} - /> -
- - {/* Einheit */} -
- Einheit: - -
- - {unit} - - - - {unitOptions.map((opt) => ( - - `px-4 py-1 cursor-pointer ${ - selected - ? "bg-littwin-blue text-white font-medium" - : active - ? "bg-gray-200" - : "text-gray-900" - }` - } - > - {opt} - - ))} - -
-
-
- - {/* Speicherintervall */} -
- Speicherintervall: -
+ +
+
+ Bezeichnung: + setLabel(e.target.value)} + /> +
+
+ Offset: setLoggerInterval(e.target.value)} + step="0.001" + className="border border-base rounded px-2 py-1 w-full text-right bg-[var(--color-surface-alt)] text-fg" + value={offset} + onChange={(e) => setOffset(e.target.value)} /> - - Minuten +
+
+ Faktor: + setFactor(e.target.value)} + /> +
+
+ Einheit: + +
+ + {unit} + + + + {unitOptions.map((opt) => ( + + `px-4 py-1 cursor-pointer ${ + selected + ? "bg-littwin-blue text-white font-medium" + : active + ? "bg-base-muted" + : "text-fg" + }` + } + > + {opt} + + ))} + +
+
+
+
+ + Speicherintervall: +
+ setLoggerInterval(e.target.value)} + /> + + Minuten + +
- - {/* Speichern-Button */} -
+
+
); diff --git a/package-lock.json b/package-lock.json index af2bcd5..4892183 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.896", + "version": "1.6.897", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.896", + "version": "1.6.897", "dependencies": { "@emotion/react": "^11.13.0", "@emotion/styled": "^11.13.0", diff --git a/package.json b/package.json index 692a43c..d0bf603 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.896", + "version": "1.6.897", "private": true, "scripts": { "dev": "next dev -p 3000",