From 8c9e4c0022fd3f60493ba52930d8016782ead1cd Mon Sep 17 00:00:00 2001 From: ISA Date: Thu, 23 Jan 2025 08:45:42 +0100 Subject: [PATCH] =?UTF-8?q?Kabel=C3=BCberwachungsseite=20responsive=20in?= =?UTF-8?q?=202xl,=20xl=20und=20laptop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/modules/Kue705FO.jsx | 88 +++++++++++++++++---------------- pages/kabelueberwachung.js | 2 +- 2 files changed, 47 insertions(+), 43 deletions(-) diff --git a/components/modules/Kue705FO.jsx b/components/modules/Kue705FO.jsx index 1e78abb..ab8f5f4 100644 --- a/components/modules/Kue705FO.jsx +++ b/components/modules/Kue705FO.jsx @@ -433,25 +433,29 @@ function Kue705FO({ //--------------------------------------------------- return (
{kueOnline === 1 ? ( <> -
-
-
- {slotIndex + 1} +
+
+
+ + {slotIndex + 1} +
-

KÜ705-FO

+

+ KÜ705-FO +

{} @@ -461,16 +465,16 @@ function Kue705FO({ slot={slotIndex} onModulNameChange={setCurrentModulName} /> -
-
-
- Betrieb - Alarm +
+
+
+ Betrieb + Alarm
-
-
+
+
@@ -479,7 +483,7 @@ function Kue705FO({
{/* Anzeige des Isolation */} -
+
@@ -503,40 +507,40 @@ function Kue705FO({ kueAlarm1?.[slotIndex] !== 1 && kueAlarm2?.[slotIndex] !== 1 && kueOverflow?.[slotIndex] !== 1 && ( -
ISO MOhm
+
ISO MOhm
)}
-
-
+
+
-
+
{currentModulName || `Modul ${slotIndex + 1}`}
-
+
{kueVersion}
{/* loopDisplay: Zeigt Schleifenwiderstand oder TDR-Distanz an, je nach Modus */} -
- +
+ {loopTitleText} -
+
-
-
+
+

{loopDisplayValue + (activeButton === "Schleife" ? " KOhm" : " Km")} @@ -545,10 +549,10 @@ function Kue705FO({

-
+
@@ -595,9 +599,9 @@ function Kue705FO({ marginRight: "-50%", transform: "translate(-50%, -50%)", width: "95%", - maxWidth: "1200px", - height: "650px", - padding: "10px", + maxWidth: "75rem", + height: "40.625rem", + padding: "0.625rem", }, }} > @@ -605,11 +609,11 @@ function Kue705FO({ onClick={handleCloseChartModal} style={{ position: "absolute", - top: "10px", - right: "10px", + top: "0.625rem", + right: "0.625rem", background: "transparent", border: "none", - fontSize: "24px", + fontSize: "1.5rem", cursor: "pointer", }} > @@ -620,7 +624,7 @@ function Kue705FO({ )} diff --git a/pages/kabelueberwachung.js b/pages/kabelueberwachung.js index 2897121..e5a319b 100644 --- a/pages/kabelueberwachung.js +++ b/pages/kabelueberwachung.js @@ -95,7 +95,7 @@ function Kabelueberwachung() { }, [activeRack, racks]); return ( -
+

Kabelüberwachung

{[1, 2, 3, 4].map((rack) => (