garaga page 15

This commit is contained in:
2025-11-28 08:43:50 +01:00
parent a92ee40224
commit d7d06718ec

View File

@@ -372,6 +372,7 @@
function renderOutletControls(container, device) {
const controlGroup = document.createElement('div');
controlGroup.style.textAlign = 'center';
controlGroup.style.marginBottom = '8px';
const state = deviceStates[device.device_id];
const currentPower = state?.power === 'on';
@@ -432,13 +433,13 @@
container.appendChild(overviewGrid);
// Phasen Title
// const phaseTitle = document.createElement('h4');
// phaseTitle.style.margin = '20px 0 12px 0';
// phaseTitle.style.fontSize = '16px';
// phaseTitle.style.fontWeight = '600';
// phaseTitle.style.color = '#333';
// phaseTitle.textContent = 'Phasen';
// container.appendChild(phaseTitle);
const phaseTitle = document.createElement('h4');
phaseTitle.style.margin = '30px 0 12px 0';
phaseTitle.style.fontSize = '16px';
phaseTitle.style.fontWeight = '600';
phaseTitle.style.color = '#333';
phaseTitle.textContent = 'Phasen';
container.appendChild(phaseTitle);
// Phasen Details
const phaseGrid = document.createElement('div');