Schedule Settings
@@ -12,7 +21,7 @@
hx-ext="json-enc"
hx-headers='{"Content-Type": "application/json"}'
hx-swap="none"
- hx-on:htmx:after-request="handleScheduleResponse(event)"
+ data-reports-result
class="space-y-6">
@@ -41,7 +50,7 @@
hx-ext="json-enc"
hx-headers='{"Content-Type": "application/json"}'
hx-swap="none"
- hx-on:htmx:after-request="handleDimScheduleResponse(event)"
+ data-reports-result
class="space-y-6">
@@ -56,8 +65,7 @@
min="0"
max="100"
value="{{ dim_schedule_config.dim_brightness | default(30) }}"
- class="flex-1 h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer accent-blue-600"
- oninput="document.getElementById('dim_brightness_display').textContent = this.value + '%'">
+ class="flex-1 h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer accent-blue-600">
{{ dim_schedule_config.dim_brightness | default(30) }}%
@@ -77,198 +85,4 @@