garaga page 14
This commit is contained in:
@@ -393,7 +393,7 @@
|
|||||||
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);
|
||||||
@@ -408,13 +408,13 @@
|
|||||||
const state = deviceStates[device.device_id] || {};
|
const state = deviceStates[device.device_id] || {};
|
||||||
|
|
||||||
// Leistungsmessung Title
|
// Leistungsmessung Title
|
||||||
const title = document.createElement('h3');
|
// const title = document.createElement('h3');
|
||||||
title.style.margin = '0 0 20px 0';
|
// title.style.margin = '0 0 20px 0';
|
||||||
title.style.fontSize = '18px';
|
// title.style.fontSize = '18px';
|
||||||
title.style.fontWeight = '600';
|
// title.style.fontWeight = '600';
|
||||||
title.style.color = '#333';
|
// title.style.color = '#333';
|
||||||
title.textContent = 'Leistungsmessung';
|
// title.textContent = 'Leistungsmessung';
|
||||||
container.appendChild(title);
|
// container.appendChild(title);
|
||||||
|
|
||||||
// Übersicht
|
// Übersicht
|
||||||
const overviewGrid = document.createElement('div');
|
const overviewGrid = document.createElement('div');
|
||||||
|
|||||||
Reference in New Issue
Block a user