XIOPM 1 und 2 in dashboard

This commit is contained in:
ISA
2024-09-29 17:56:46 +02:00
parent 4880b6473e
commit 8989a78936
4 changed files with 47 additions and 6 deletions

View File

@@ -5,15 +5,15 @@ const Kue705_FO = ({ slot }) => {
return (
<div className="border border-gray-400 w-10 h-20 flex flex-col">
{/* Erstes Kind, nimmt den restlichen Platz ein */}
<div className="bg-blue-500 flex-grow flex flex-col items-center justify-center text-white text-xs">
<div className="flex w-full p-1 mb-4 items-start justify-start">
<div className="bg-blue-500 flex-grow flex flex-col items-center justify-center text-white text-[10px]">
<div className="flex w-full mb-1 items-start justify-start">
{slot}
</div>
<div className="text-xs">KÜ705</div>
<div className="text-xs">FO</div>
<div className="text-[10px]">KÜ705</div>
<div className="text-[10px]">FO</div>
</div>
{/* Die unteren Abschnitte behalten ihre festen Höhen */}
<div className="bg-green-500 w-full h-3/6"></div>
<div className="bg-green-500 w-full h-2/6"></div>
<div className="bg-blue-500 w-full h-1/6"></div>
</div>
);

View File

@@ -0,0 +1,15 @@
// components/Access1Status.jsx
import React from "react";
const Access1Status = () => {
return (
<div className="border border-gray-400 w-20 h-10 flex items-center justify-start bg-blue-500">
{/* Grüner Streifen auf der linken Seite */}
<div className=" left-0 top-0 h-full w-1/6 bg-green-500 mr-2"></div>
{/* Blauer Hauptbereich */}
<div className="flex flex-row text-white text-xs ">XIOPM 1</div>
</div>
);
};
export default Access1Status;

View File

@@ -0,0 +1,15 @@
// components/Access1Status.jsx
import React from "react";
const Access1Status = () => {
return (
<div className="border border-gray-400 w-20 h-10 flex items-center justify-start bg-blue-500">
{/* Grüner Streifen auf der linken Seite */}
<div className=" left-0 top-0 h-full w-1/6 bg-green-500 mr-2"></div>
{/* Blauer Hauptbereich */}
<div className="flex flex-row text-white text-xs ">XIOPM 2</div>
</div>
);
};
export default Access1Status;