Skip to content
This repository was archived by the owner on Aug 14, 2026. It is now read-only.

Commit 4eab357

Browse files
committed
minor UI tweak
1 parent 437322e commit 4eab357

1 file changed

Lines changed: 1 addition & 29 deletions

File tree

‎templates/index.html‎

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -431,26 +431,6 @@
431431
color: #aaa;
432432
font-size: 0.7rem;
433433
}
434-
.weather-legend {
435-
display: flex;
436-
justify-content: center;
437-
gap: 15px;
438-
margin-top: 8px;
439-
font-size: 0.65rem;
440-
color: #888;
441-
}
442-
.weather-legend span {
443-
display: flex;
444-
align-items: center;
445-
gap: 4px;
446-
}
447-
.weather-legend .dot {
448-
width: 8px;
449-
height: 8px;
450-
border-radius: 2px;
451-
}
452-
.weather-legend .dot.good { background: #4ecca3; }
453-
.weather-legend .dot.bad { background: #e94560; }
454434
.weather-disabled {
455435
text-align: center;
456436
padding: 20px;
@@ -1521,15 +1501,7 @@ <h2>Schedule Settings</h2>
15211501
});
15221502
forecastHtml += '</div>';
15231503

1524-
// Legend
1525-
const legendHtml = `
1526-
<div class="weather-legend">
1527-
<span><div class="dot good"></div> Good for solar</span>
1528-
<span><div class="dot bad"></div> Bad weather (skip discharge)</span>
1529-
</div>
1530-
`;
1531-
1532-
container.innerHTML = bannerHtml + forecastHtml + legendHtml;
1504+
container.innerHTML = bannerHtml + forecastHtml;
15331505
}
15341506

15351507
async function refreshWeather() {

0 commit comments

Comments
 (0)