Digitale Eingänge Einstellung-Modal in Arbeit
This commit is contained in:
@@ -108,14 +108,6 @@ export default function AnalogeEingaengeTable() {
|
|||||||
className="w-full border px-2 py-1 rounded"
|
className="w-full border px-2 py-1 rounded"
|
||||||
defaultValue={selectedEingang.name}
|
defaultValue={selectedEingang.name}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<label className="block text-sm text-gray-700 mt-2">Typ:</label>
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
className="w-full border px-2 py-1 rounded"
|
|
||||||
defaultValue="Spg."
|
|
||||||
readOnly
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex justify-end mt-4">
|
<div className="flex justify-end mt-4">
|
||||||
|
|||||||
@@ -6,20 +6,59 @@ export default function InputModal({ selectedInput, closeInputModal, isOpen }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="fixed top-0 left-0 w-full h-full bg-black bg-opacity-50 flex justify-center items-center z-50">
|
<div className="fixed top-0 left-0 w-full h-full bg-black bg-opacity-50 flex justify-center items-center z-50">
|
||||||
<div className="bg-white rounded-lg shadow-lg p-6 w-1/3">
|
<div className="bg-white rounded-lg shadow-lg p-6 w-1/2 max-w-lg">
|
||||||
<h2 className="text-lg font-bold mb-4">
|
<h2 className="text-xl font-semibold text-blue-500 mb-4 border-b pb-2">
|
||||||
Details für Eingang {selectedInput.id}
|
Details für Eingang {selectedInput.id}
|
||||||
</h2>
|
</h2>
|
||||||
<p>
|
<div className="grid grid-cols-2 gap-x-4 gap-y-2">
|
||||||
<strong>Status:</strong>{" "}
|
<div>
|
||||||
{selectedInput.status === "active" ? "Aktiv" : "Inaktiv"}
|
<strong>Status:</strong>
|
||||||
</p>
|
</div>
|
||||||
<p>
|
<div>{selectedInput.status === "active" ? "Aktiv" : "Inaktiv"}</div>
|
||||||
<strong>Beschreibung:</strong> {selectedInput.description}
|
|
||||||
</p>
|
<div>
|
||||||
|
<strong>Beschreibung:</strong>
|
||||||
|
</div>
|
||||||
|
<div>{selectedInput.description}</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<strong>Name:</strong>
|
||||||
|
</div>
|
||||||
|
<div>{selectedInput.name}</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<strong>Invertierung:</strong>
|
||||||
|
</div>
|
||||||
|
<div>{selectedInput.invertierung ? "Ein" : "Aus"}</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<strong>Filterzeit:</strong>
|
||||||
|
</div>
|
||||||
|
<div>{selectedInput.filterzeit} ms</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<strong>Gewichtung:</strong>
|
||||||
|
</div>
|
||||||
|
<div>{selectedInput.gewichtung}</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<strong>Zählerstand:</strong>
|
||||||
|
</div>
|
||||||
|
<div>{selectedInput.zaehlerstand}</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<strong>Zähler aktiv:</strong>
|
||||||
|
</div>
|
||||||
|
<div>{selectedInput.zaehlerAktiv ? "Ja" : "Nein"}</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<strong>Eingang offline:</strong>
|
||||||
|
</div>
|
||||||
|
<div>{selectedInput.eingangOffline ? "Offline" : "Online"}</div>
|
||||||
|
</div>
|
||||||
<button
|
<button
|
||||||
onClick={closeInputModal}
|
onClick={closeInputModal}
|
||||||
className="mt-4 px-4 py-2 bg-blue-500 text-white rounded-lg"
|
className="mt-6 px-4 py-2 bg-blue-500 hover:bg-blue-600 text-white rounded-lg transition"
|
||||||
>
|
>
|
||||||
Schließen
|
Schließen
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
|
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
|
||||||
|
|
||||||
*/
|
*/
|
||||||
const webVersion = "1.6.146";
|
const webVersion = "1.6.147";
|
||||||
export default webVersion;
|
export default webVersion;
|
||||||
|
|||||||
Reference in New Issue
Block a user