In Meldungseingänge/ Digitale Eingänge LED Tooltip entfernt und Icons Größe responsive
This commit is contained in:
@@ -41,40 +41,33 @@ export default function DigitalInputs({ openInputModal, inputRange }: Props) {
|
|||||||
<tbody>
|
<tbody>
|
||||||
{inputs.map((input) => (
|
{inputs.map((input) => (
|
||||||
<tr key={input.id} className="border-b">
|
<tr key={input.id} className="border-b">
|
||||||
<td className="flex items-center px-1 py-1">
|
<td className="px-1 py-0">
|
||||||
<Icon
|
<div className="flex items-center gap-1 ">
|
||||||
icon={loginIcon}
|
<Icon
|
||||||
className="text-gray-600 mr-1 text-base laptop:text-sm xl:text-sm 2xl:text-lg"
|
icon={loginIcon}
|
||||||
/>
|
className="text-gray-600 text-base laptop:text-sm xl:text-sm 2xl:text-lg"
|
||||||
{input.id}
|
/>
|
||||||
|
{input.id}
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-1 py-1 ">
|
<td className="px-1 py-1 ">
|
||||||
{input.eingangOffline ? (
|
{input.eingangOffline ? (
|
||||||
<div className="relative group inline-block">
|
<div className="relative group inline-block">
|
||||||
<span className="text-red-500 text-2xl laptop:text-sm font-bold xl:text-sm ">
|
<span className="text-red-500 sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl laptop:text-sm ">
|
||||||
✖
|
✖
|
||||||
</span>
|
</span>
|
||||||
<div className="absolute bottom-full left-1/2 -translate-x-1/2 mb-2 w-max bg-gray-400 text-xs laptop:text-[10px] text-white rounded opacity-0 group-hover:opacity-100 transition p-1 z-10 xl:text-sm ">
|
|
||||||
Eingang inaktiv
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
) : input.status ? (
|
) : input.status ? (
|
||||||
<div className="relative group inline-block">
|
<div className="relative group inline-block">
|
||||||
<span className="text-red-500 text-2xl laptop:text-sm xl:text-sm ">
|
<span className="text-red-500 sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl laptop:text-sm ">
|
||||||
●
|
●
|
||||||
</span>
|
</span>
|
||||||
<div className="absolute bottom-full left-1/2 -translate-x-1/2 mb-2 w-max bg-gray-400 text-xs laptop:text-[10px] text-white rounded opacity-0 group-hover:opacity-100 transition p-1 z-10 xl:text-sm ">
|
|
||||||
Eingang Ein
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="relative group inline-block">
|
<div className="relative group inline-block">
|
||||||
<span className="text-green-500 text-2xl laptop:text-sm xl:text-sm ">
|
<span className="text-green-500 sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl laptop:text-sm ">
|
||||||
●
|
●
|
||||||
</span>
|
</span>
|
||||||
<div className="absolute bottom-full left-1/2 -translate-x-1/2 mb-2 w-max bg-gray-400 text-xs laptop:text-[10px] text-white rounded opacity-0 group-hover:opacity-100 transition p-1 z-10">
|
|
||||||
Eingang Aus
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
|
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
|
||||||
|
|
||||||
*/
|
*/
|
||||||
const webVersion = "1.6.375";
|
const webVersion = "1.6.376";
|
||||||
export default webVersion;
|
export default webVersion;
|
||||||
|
|||||||
Reference in New Issue
Block a user