garaga page 17

This commit is contained in:
2025-11-28 08:46:50 +01:00
parent 5a8fa5ff46
commit 5ddf9bbc53

View File

@@ -389,16 +389,16 @@
label.textContent = currentPower ? 'Ein' : 'Aus'; label.textContent = currentPower ? 'Ein' : 'Aus';
// Status display // Status display
const stateDisplay = document.createElement('div'); // const stateDisplay = document.createElement('div');
stateDisplay.style.marginTop = '16px'; // stateDisplay.style.marginTop = '16px';
stateDisplay.style.fontSize = '18px'; // stateDisplay.style.fontSize = '18px';
stateDisplay.style.fontWeight = '600'; // stateDisplay.style.fontWeight = '600';
stateDisplay.style.color = currentPower ? '#34c759' : '#666'; // stateDisplay.style.color = currentPower ? '#34c759' : '#666';
// stateDisplay.textContent = `Status: ${currentPower ? 'Eingeschaltet' : 'Ausgeschaltet'}`; // stateDisplay.textContent = `Status: ${currentPower ? 'Eingeschaltet' : 'Ausgeschaltet'}`;
controlGroup.appendChild(toggleSwitch); controlGroup.appendChild(toggleSwitch);
controlGroup.appendChild(label); controlGroup.appendChild(label);
controlGroup.appendChild(stateDisplay); // controlGroup.appendChild(stateDisplay);
container.appendChild(controlGroup); container.appendChild(controlGroup);
} }