From b4f4dfbc54448abda21c8f1092b26f1a3157c306 Mon Sep 17 00:00:00 2001 From: Justin Date: Fri, 28 Apr 2023 22:43:23 +0800 Subject: [PATCH] added scheduled brightness under hostname --- templates/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index d496953..15b5b54 100644 --- a/templates/index.html +++ b/templates/index.html @@ -106,7 +106,10 @@ Scheduled Shutdown: {{ scheduler_settings.shutdown.hour }}:{{scheduler_settings.shutdown.minute}} {{scheduler_settings.timezone}} Enabled:{{scheduler_settings.shutdown.enabled}}
Scheduled Reboot: {{ scheduler_settings.reboot.hour }}:{{scheduler_settings.reboot.minute}} {{scheduler_settings.timezone}} - Enabled:{{scheduler_settings.reboot.enabled}} + Enabled:{{scheduler_settings.reboot.enabled}}
+ Scheduled Brightness: {% if scheduler_settings.brightness1.enabled or scheduler_settings.brightness2.enabled + or scheduler_settings.brightness3.enabled or scheduler_settings.brightness4.enabled %}Enabled + {% else %}Disabled{% endif %}