Out of Service in Meldungseingänge

This commit is contained in:
ISA
2025-05-05 14:12:38 +02:00
parent 5a83c4a282
commit 382628a8fb
3 changed files with 9 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ export default function DigitalOutputsWidget({ openOutputModal }) {
icon={outputIcon}
className="text-littwin-blue mr-2 text-xl laptop:text-lg xl:text-xl 2xl:text-2xl"
/>
Digitale Ausgänge
Schaltausgänge
</h2>
<table className="w-full text-xs laptop:text-[10px] xl:text-xs 2xl:text-sm border-collapse bg-white rounded-lg">
<thead className="bg-gray-100 border-b">

View File

@@ -249,10 +249,14 @@ export default function InputModal({ selectedInput, closeInputModal, isOpen }) {
</button>
</div>
<div>
<strong>Status:</strong>
<div className="relative group inline-block">
<strong>OOS:</strong>
<span className="absolute top-full left-1/2 -translate-x-1/2 mt-1 px-2 py-1 text-xs text-white bg-gray-700 rounded opacity-0 group-hover:opacity-100 transition-opacity">
Out of Service
</span>
</div>
<div>{reduxInput.eingangOffline ? "Inaktiv" : "Aktiv"}</div>
<div>{reduxInput.eingangOffline ? "aus" : "ein"}</div>
</div>
<div className="mt-6 flex justify-end gap-2">