fixed some things

This commit is contained in:
Justin 2023-08-22 21:30:02 +08:00 committed by GitHub
parent c16391e27e
commit c2090841ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -448,17 +448,17 @@
</select><br> </select><br>
Timezone Timezone
<select class="form-select minute-select" id="shutdown-minute-select"> <select class="form-select minute-select" id="shutdown-minute-select">
<option {%if clock_screensaver.shutdown.minute == '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="shutdown-enabled"
{% 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="shutdown-enabled"
{% 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="shutdown-enabled"
{% if clock_screensaver.clock1.12hour %} checked {%endif%}/> {% if clock_screensaver.clock1['12hour'] %} checked {%endif%}/>
</div> </div>
@ -496,14 +496,14 @@
</select><br> </select><br>
Timezone Timezone
<select class="form-select minute-select" id="reboot-minute-select"> <select class="form-select minute-select" id="reboot-minute-select">
<option {%if clock_screensaver.reboot.minute == '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="reboot-enabled"
{% 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="reboot-enabled"
{% if clock_screensaver.clock2.12hour %} checked {%endif%}/> {% if clock_screensaver.clock2['12hour'] %} checked {%endif%}/>
</div> </div>
@ -526,13 +526,13 @@
</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="shutdown-enabled"
{% 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="shutdown-enabled"
{% 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="shutdown-enabled"
{% if clock_screensaver.world_clock.12hour %} checked {%endif%}/> {% if clock_screensaver.world_clock['12hour'] %} checked {%endif%}/>
</div> </div>
</div> </div>