feat: Favicon und Seitentitel hinzugefügt und korrekt eingebunden
- Favicon im Tab durch eigenes ersetzt - Seitentitel auf "Littwin Systemtechnik GmbH & Co. KG" gesetzt
This commit is contained in:
@@ -100,7 +100,7 @@ function Dashboard() {
|
||||
useEffect(() => {
|
||||
loadWindowVariables()
|
||||
.then(() => {
|
||||
console.log("kueOnline Data: ", window.kueOnline); // Debug: Ausgabe von kueOnline
|
||||
// console.log("kueOnline Data: ", window.kueOnline); // Debug: Ausgabe von kueOnline
|
||||
|
||||
if (window.kueOnline) {
|
||||
if (Array.isArray(window.kueOnline)) {
|
||||
@@ -126,11 +126,11 @@ function Dashboard() {
|
||||
loadWindowVariables()
|
||||
.then(() => {
|
||||
// Debug-Ausgaben für kueAlarm1 und kueAlarm2
|
||||
console.log("kueAlarm1 Data: ", window.kueAlarm1);
|
||||
console.log("kueAlarm2 Data: ", window.kueAlarm2);
|
||||
//console.log("kueAlarm1 Data: ", window.kueAlarm1);
|
||||
//console.log("kueAlarm2 Data: ", window.kueAlarm2);
|
||||
|
||||
if (window.kueAlarm1 && Array.isArray(window.kueAlarm1)) {
|
||||
console.log("kueAlarm1 ist ein Array:", window.kueAlarm1);
|
||||
//console.log("kueAlarm1 ist ein Array:", window.kueAlarm1);
|
||||
} else {
|
||||
console.error("kueAlarm1 ist kein Array oder nicht definiert.");
|
||||
setError(
|
||||
@@ -139,7 +139,7 @@ function Dashboard() {
|
||||
}
|
||||
|
||||
if (window.kueAlarm2 && Array.isArray(window.kueAlarm2)) {
|
||||
console.log("kueAlarm2 ist ein Array:", window.kueAlarm2);
|
||||
//console.log("kueAlarm2 ist ein Array:", window.kueAlarm2);
|
||||
} else {
|
||||
console.error("kueAlarm2 ist kein Array oder nicht definiert.");
|
||||
setError(
|
||||
|
||||
@@ -55,10 +55,10 @@ function Kabelueberwachung() {
|
||||
rack4: allModules.slice(24, 32),
|
||||
};
|
||||
// Log the racks in the console for debugging
|
||||
console.log("Rack 1:", racks.rack1);
|
||||
/* console.log("Rack 1:", racks.rack1);
|
||||
console.log("Rack 2:", racks.rack2);
|
||||
console.log("Rack 3:", racks.rack3);
|
||||
console.log("Rack 4:", racks.rack4);
|
||||
console.log("Rack 4:", racks.rack4); */
|
||||
|
||||
// Function to handle rack change
|
||||
const changeRack = (rack) => {
|
||||
@@ -149,10 +149,9 @@ function Kabelueberwachung() {
|
||||
alarmStatus={alarmStatus} // Pass the calculated alarm status
|
||||
slotIndex={slotIndex}
|
||||
/>
|
||||
{console.log(
|
||||
`Module Data (Rack ${activeRack}, Slot ${index + 1}):`,
|
||||
slot
|
||||
)}
|
||||
{/*
|
||||
console.log(`Module Data (Rack ${activeRack}, Slot ${index + 1}):`,slot);
|
||||
*/}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
||||
@@ -11,6 +11,9 @@ export default function RootLayout({ children }) {
|
||||
<html lang="de">
|
||||
<head>
|
||||
{/* Hier können Meta-Tags oder Links für CSS hinzugefügt werden */}
|
||||
|
||||
<link rel="icon" href="/favicon.png" type="image/png" />
|
||||
<title>Littwin Systemtechnik GmbH & Co. KG</title>
|
||||
</head>
|
||||
<body>
|
||||
{/* Hier das Layout mit Header, Navigation und Footer */}
|
||||
|
||||
Reference in New Issue
Block a user