changed IDs for screensaver select menus

This commit is contained in:
Justin 2023-08-22 21:39:03 +08:00 committed by GitHub
parent 89d8cdb171
commit 1b56b40df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -402,7 +402,7 @@
<p id="clock1-p">Clock 1 Settings:</p> <p id="clock1-p">Clock 1 Settings:</p>
<div class="col-auto" style="padding-left:5%"> <div class="col-auto" style="padding-left:5%">
Time Color Time Color
<select class="form-select hour-select" id="shutdown-hour-select"> <select class="form-select hour-select" id="clock1-timecolor">
<option {%if clock_screensaver.clock1.time_color == 'White' %} selected {% endif %}>White</option> <option {%if clock_screensaver.clock1.time_color == 'White' %} selected {% endif %}>White</option>
<option {%if clock_screensaver.clock1.time_color == 'Red' %} selected {% endif %}>Red</option> <option {%if clock_screensaver.clock1.time_color == 'Red' %} selected {% endif %}>Red</option>
<option {%if clock_screensaver.clock1.time_color == 'Green' %} selected {% endif %}>Green</option> <option {%if clock_screensaver.clock1.time_color == 'Green' %} selected {% endif %}>Green</option>
@ -417,7 +417,7 @@
<option {%if clock_screensaver.clock1.time_color == 'Cyan' %} selected {% endif %}>Cyan</option> <option {%if clock_screensaver.clock1.time_color == 'Cyan' %} selected {% endif %}>Cyan</option>
</select><br> </select><br>
Weekday Color Weekday Color
<select class="form-select minute-select" id="shutdown-minute-select"> <select class="form-select minute-select" id="clock1-weekdaycolor">
<option {%if clock_screensaver.clock1.weekday_color == 'White' %} selected {% endif %}>White</option> <option {%if clock_screensaver.clock1.weekday_color == 'White' %} selected {% endif %}>White</option>
<option {%if clock_screensaver.clock1.weekday_color == 'Red' %} selected {% endif %}>Red</option> <option {%if clock_screensaver.clock1.weekday_color == 'Red' %} selected {% endif %}>Red</option>
<option {%if clock_screensaver.clock1.weekday_color == 'Green' %} selected {% endif %}>Green</option> <option {%if clock_screensaver.clock1.weekday_color == 'Green' %} selected {% endif %}>Green</option>
@ -432,7 +432,7 @@
<option {%if clock_screensaver.clock1.weekday_color == 'Cyan' %} selected {% endif %}>Cyan</option> <option {%if clock_screensaver.clock1.weekday_color == 'Cyan' %} selected {% endif %}>Cyan</option>
</select><br> </select><br>
Date Color Date Color
<select class="form-select minute-select" id="shutdown-minute-select"> <select class="form-select minute-select" id="clock1-datecolor">
<option {%if clock_screensaver.clock1.date_color == 'White' %} selected {% endif %}>White</option> <option {%if clock_screensaver.clock1.date_color == 'White' %} selected {% endif %}>White</option>
<option {%if clock_screensaver.clock1.date_color == 'Red' %} selected {% endif %}>Red</option> <option {%if clock_screensaver.clock1.date_color == 'Red' %} selected {% endif %}>Red</option>
<option {%if clock_screensaver.clock1.date_color == 'Green' %} selected {% endif %}>Green</option> <option {%if clock_screensaver.clock1.date_color == 'Green' %} selected {% endif %}>Green</option>
@ -447,17 +447,17 @@
<option {%if clock_screensaver.clock1.date_color == 'Cyan' %} selected {% endif %}>Cyan</option> <option {%if clock_screensaver.clock1.date_color == 'Cyan' %} selected {% endif %}>Cyan</option>
</select><br> </select><br>
Timezone Timezone
<select class="form-select minute-select" id="shutdown-minute-select"> <select class="form-select minute-select" id="clock1-timezone">
<option {%if clock_screensaver.clock1.timezone == '00' %} selected {% endif %}>00</option> <option {%if clock_screensaver.clock1.timezone == '00' %} selected {% endif %}>00</option>
</select><br> </select><br>
<label for="inputTransitionZ" class="col-form-label">PM/AM</label> <label for="inputTransitionZ" class="col-form-label">PM/AM</label>
<input class="screensaver-hour-select" type="checkbox" value="" id="shutdown-enabled" <input class="screensaver-hour-select" type="checkbox" value="" id="clock1-displaypm"
{% if clock_screensaver.clock1['display_pm'] %} checked {%endif%}/> {% if clock_screensaver.clock1['display_pm'] %} checked {%endif%}/>
<label for="inputTransitionZ" class="col-form-label">Seconds</label> <label for="inputTransitionZ" class="col-form-label">Seconds</label>
<input class="screensaver-hour-select" type="checkbox" value="" id="shutdown-enabled" <input class="screensaver-hour-select" type="checkbox" value="" id="clock1-displayseconds"
{% if clock_screensaver.clock1['display_seconds'] %} checked {%endif%}/> {% if clock_screensaver.clock1['display_seconds'] %} checked {%endif%}/>
<label for="inputTransitionZ" class="col-form-label">12 Hour Format</label> <label for="inputTransitionZ" class="col-form-label">12 Hour Format</label>
<input class="screensaver-hour-select" type="checkbox" value="" id="shutdown-enabled" <input class="screensaver-hour-select" type="checkbox" value="" id="clock1-12hour"
{% if clock_screensaver.clock1['12hour'] %} checked {%endif%}/> {% if clock_screensaver.clock1['12hour'] %} checked {%endif%}/>
</div> </div>
@ -465,7 +465,7 @@
<p id="clock2-p">Clock 2 Settings:</p> <p id="clock2-p">Clock 2 Settings:</p>
<div class="col-auto" style="padding-left:5%"> <div class="col-auto" style="padding-left:5%">
Time Color Time Color
<select class="form-select hour-select" id="reboot-hour-select"> <select class="form-select hour-select" id="clock2-timecolor">
<option {%if clock_screensaver.clock2.time_color == 'White' %} selected {% endif %}>White</option> <option {%if clock_screensaver.clock2.time_color == 'White' %} selected {% endif %}>White</option>
<option {%if clock_screensaver.clock2.time_color == 'Red' %} selected {% endif %}>Red</option> <option {%if clock_screensaver.clock2.time_color == 'Red' %} selected {% endif %}>Red</option>
<option {%if clock_screensaver.clock2.time_color == 'Green' %} selected {% endif %}>Green</option> <option {%if clock_screensaver.clock2.time_color == 'Green' %} selected {% endif %}>Green</option>
@ -480,7 +480,7 @@
<option {%if clock_screensaver.clock2.time_color == 'Cyan' %} selected {% endif %}>Cyan</option> <option {%if clock_screensaver.clock2.time_color == 'Cyan' %} selected {% endif %}>Cyan</option>
</select><br> </select><br>
Date Color Date Color
<select class="form-select minute-select" id="reboot-minute-select"> <select class="form-select minute-select" id="clock2-datecolor">
<option {%if clock_screensaver.clock2.date_color == 'White' %} selected {% endif %}>White</option> <option {%if clock_screensaver.clock2.date_color == 'White' %} selected {% endif %}>White</option>
<option {%if clock_screensaver.clock2.date_color == 'Red' %} selected {% endif %}>Red</option> <option {%if clock_screensaver.clock2.date_color == 'Red' %} selected {% endif %}>Red</option>
<option {%if clock_screensaver.clock2.date_color == 'Green' %} selected {% endif %}>Green</option> <option {%if clock_screensaver.clock2.date_color == 'Green' %} selected {% endif %}>Green</option>
@ -495,14 +495,14 @@
<option {%if clock_screensaver.clock2.date_color == 'Cyan' %} selected {% endif %}>Cyan</option> <option {%if clock_screensaver.clock2.date_color == 'Cyan' %} selected {% endif %}>Cyan</option>
</select><br> </select><br>
Timezone Timezone
<select class="form-select minute-select" id="reboot-minute-select"> <select class="form-select minute-select" id="clock2-timezone">
<option {%if clock_screensaver.clock2.timezone == '00' %} selected {% endif %}>00</option> <option {%if clock_screensaver.clock2.timezone == '00' %} selected {% endif %}>00</option>
</select><br> </select><br>
<label for="inputTransitionZ" class="col-form-label">PM/AM</label> <label for="inputTransitionZ" class="col-form-label">PM/AM</label>
<input class="screensaver-hour-select" type="checkbox" value="" id="reboot-enabled" <input class="screensaver-hour-select" type="checkbox" value="" id="clock2-displaypm"
{% if clock_screensaver.clock2['display_pm'] %} checked {%endif%}/> {% if clock_screensaver.clock2['display_pm'] %} checked {%endif%}/>
<label for="inputTransitionZ" class="col-form-label">12 Hour Format</label> <label for="inputTransitionZ" class="col-form-label">12 Hour Format</label>
<input class="screensaver-hour-select" type="checkbox" value="" id="reboot-enabled" <input class="screensaver-hour-select" type="checkbox" value="" id="clock2-12hour"
{% if clock_screensaver.clock2['12hour'] %} checked {%endif%}/> {% if clock_screensaver.clock2['12hour'] %} checked {%endif%}/>
</div> </div>
@ -510,7 +510,7 @@
<p id="worldclock-p">World Clock Settings:</p> <p id="worldclock-p">World Clock Settings:</p>
<div class="col-auto" style="padding-left:5%"> <div class="col-auto" style="padding-left:5%">
City Color City Color
<select class="form-select b-minute-select" id="brightness1-hour1-select"> <select class="form-select b-minute-select" id="worldclock-citycolor">
<option {%if clock_screensaver.world_clock.city_color == 'White' %} selected {% endif %}>White</option> <option {%if clock_screensaver.world_clock.city_color == 'White' %} selected {% endif %}>White</option>
<option {%if clock_screensaver.world_clock.city_color == 'Red' %} selected {% endif %}>Red</option> <option {%if clock_screensaver.world_clock.city_color == 'Red' %} selected {% endif %}>Red</option>
<option {%if clock_screensaver.world_clock.city_color == 'Green' %} selected {% endif %}>Green</option> <option {%if clock_screensaver.world_clock.city_color == 'Green' %} selected {% endif %}>Green</option>
@ -525,13 +525,13 @@
<option {%if clock_screensaver.world_clock.city_color == 'Cyan' %} selected {% endif %}>Cyan</option> <option {%if clock_screensaver.world_clock.city_color == 'Cyan' %} selected {% endif %}>Cyan</option>
</select><br> </select><br>
<label for="inputTransitionZ" class="col-form-label">PM/AM</label> <label for="inputTransitionZ" class="col-form-label">PM/AM</label>
<input class="screensaver-hour-select" type="checkbox" value="" id="shutdown-enabled" <input class="screensaver-hour-select" type="checkbox" value="" id="worldclock-displaypm"
{% if clock_screensaver.world_clock['display_pm'] %} checked {%endif%}/> {% if clock_screensaver.world_clock['display_pm'] %} checked {%endif%}/>
<label for="inputTransitionZ" class="col-form-label">Seconds</label> <label for="inputTransitionZ" class="col-form-label">Seconds</label>
<input class="screensaver-hour-select" type="checkbox" value="" id="shutdown-enabled" <input class="screensaver-hour-select" type="checkbox" value="" id="worldclock-displayseconds"
{% if clock_screensaver.world_clock['display_seconds'] %} checked {%endif%}/> {% if clock_screensaver.world_clock['display_seconds'] %} checked {%endif%}/>
<label for="inputTransitionZ" class="col-form-label">12 Hour Format</label> <label for="inputTransitionZ" class="col-form-label">12 Hour Format</label>
<input class="screensaver-hour-select" type="checkbox" value="" id="shutdown-enabled" <input class="screensaver-hour-select" type="checkbox" value="" id="worldclock-12hour"
{% if clock_screensaver.world_clock['12hour'] %} checked {%endif%}/> {% if clock_screensaver.world_clock['12hour'] %} checked {%endif%}/>
</div> </div>