diff --git a/pages/dashboard.js b/pages/dashboard.js index 6b30b44..ef2c419 100644 --- a/pages/dashboard.js +++ b/pages/dashboard.js @@ -100,7 +100,7 @@ function Dashboard() { }; return ( -
+
+

Ein- und Ausgänge

{/* Digitale Eingänge */} @@ -67,16 +67,15 @@ function EinAusgaenge() { Eingang - Zustand - Bezeichnung - Aktion + Zustand + Bezeichnung + Aktion {group.map((input) => ( - - - {" "} + + {input.status === "active" ? "●" : "⨉"} + {input.isInverted && ( + + )} - {input.description} + {input.description} - Ausgang - Bezeichnung - Schalter - Aktion + Ausgang + Bezeichnung + Schalter + Aktion {digitalOutputs.map((output) => ( - + {output.id} - {output.description} - + {output.description} + - + ,<%=DES81%>,<%=DES82%>,<%=DES83%>];//Zustand des digitalen //DESxx xx =Nr Eingang 1-32 81-84 = BGT 1 bis 4 var win_counter=[<%=DEC80%>,<%=DEC81%>,<%=DEC82%>,<%=DEC83%>];//Zählerstand //DECxx xx =Nr Eingang 1-32 81-84 = BGT 1 bis 4 -var win_flutter=[<%=DEF80%>,<%=DEF81%>,<%=DEF82%>,<%=DEF83%>];// noch nicht verwendet in Lastheft Oktober 2024 \ No newline at end of file +var win_flutter=[<%=DEF80%>,<%=DEF81%>,<%=DEF82%>,<%=DEF83%>];// noch nicht verwendet in Lastheft Oktober 2024 + +/* von https://10.10.0.222/CPL?Service/de.ACP +var de=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]; +var counter=[0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000]; +var flutter=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]; + + */ \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js index 2ca94c6..a3c70aa 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -10,6 +10,15 @@ module.exports = { colors: { "littwin-blue": "#00AEEF", // Definiere die Farbe mit dem gewünschten Hex-Wert }, + screens: { + sm: "640px", + md: "768px", + lg: "1024px", + xl: "1280px", + laptop: "1348px", // Neue Bildschirmgröße für Laptop + "2xl": "1600px", + "3xl": "1920px", + }, }, }, plugins: [],