CQ fixes
Build and Push Docker Image / build-and-push (pull_request) Successful in 58s
Python Code Quality / python-code-quality (pull_request) Successful in 10s
Python Test / python-test (pull_request) Successful in 18s

This commit is contained in:
Brian Bjarke Jensen
2025-11-12 17:01:40 +01:00
parent 05560d766a
commit 80156c8909
8 changed files with 73 additions and 50 deletions
+8 -4
View File
@@ -359,7 +359,7 @@
if (response.ok) {
allChildren = await response.json();
// Auto-select first child if no selection exists
if (selectedChildId === null && allChildren.length > 0) {
selectedChildId = allChildren[0].id;
@@ -409,7 +409,9 @@
content.innerHTML = `
<div class="controls">
${allChildren.length === 1 ? `
${
allChildren.length === 1
? `
<label for="childDisplay">Child:</label>
<input
type="text"
@@ -418,12 +420,14 @@
readonly
style="background-color: #f5f5f5; cursor: default; padding: 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px;"
/>
` : `
`
: `
<label for="childFilter">Child:</label>
<select id="childFilter" onchange="onChildChange(event)">
${childOptions}
</select>
`}
`
}
<label for="daysRange">Time Range:</label>
<select id="daysRange" onchange="onDaysRangeChange(event)">