no message
This commit is contained in:
@@ -1,10 +1,3 @@
|
|||||||
<div style="padding:6px 10px;
|
|
||||||
border:1px solid rgba(255,255,255,.25);
|
|
||||||
border-radius:10px;
|
|
||||||
margin-bottom:10px;
|
|
||||||
opacity:.85;">
|
|
||||||
EnergyPie HTML geladen
|
|
||||||
</div>
|
|
||||||
<div style="padding:12px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;">
|
<div style="padding:12px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;">
|
||||||
<!-- Controls -->
|
<!-- Controls -->
|
||||||
<div style="display:flex;gap:10px;flex-wrap:wrap;align-items:center;">
|
<div style="display:flex;gap:10px;flex-wrap:wrap;align-items:center;">
|
||||||
@@ -243,15 +236,15 @@ function donutCard({ title, percent, subtitle, color }) {
|
|||||||
|
|
||||||
elGrid.innerHTML = [
|
elGrid.innerHTML = [
|
||||||
donutCard({
|
donutCard({
|
||||||
title: 'EVQ',
|
title: 'Eigenverbrauchsquote',
|
||||||
percent: clamp01(evq / 100) * 100,
|
percent: clamp01(evq / 100) * 100,
|
||||||
subtitle: 'Eigenverb. / Produktion',
|
subtitle: 'Eigenverbrauch / Produktion',
|
||||||
color: '#63B3FF'
|
color: '#63B3FF'
|
||||||
}),
|
}),
|
||||||
donutCard({
|
donutCard({
|
||||||
title: 'Autarkiegrad',
|
title: 'Autarkiegrad',
|
||||||
percent: clamp01(autark / 100) * 100,
|
percent: clamp01(autark / 100) * 100,
|
||||||
subtitle: 'Eigenverb. / Verbrauch',
|
subtitle: 'Eigenverbrauch / Verbrauch',
|
||||||
color: '#A855F7'
|
color: '#A855F7'
|
||||||
})
|
})
|
||||||
].join('');
|
].join('');
|
||||||
|
|||||||
Reference in New Issue
Block a user