timezones added

This commit is contained in:
Justin 2023-08-22 22:09:15 +08:00 committed by GitHub
parent eb14677f8a
commit 8f4c5c6e51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -448,7 +448,34 @@
</select><br> </select><br>
Timezone Timezone
<select class="form-select screensaver-select" id="clock1-timezone"> <select class="form-select screensaver-select" id="clock1-timezone">
<option {%if clock_screensaver.clock1.timezone == '00' %} selected {% endif %}>00</option> <option {%if clock_screensaver.clock1.timezone == 'Etc/GMT' %} selected {% endif %}>Etc/GMT</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+1' %} selected {% endif %}>Etc/GMT+1</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+2' %} selected {% endif %}>Etc/GMT+2</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+3' %} selected {% endif %}>Etc/GMT+3</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+4' %} selected {% endif %}>Etc/GMT+4</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+5' %} selected {% endif %}>Etc/GMT+5</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+6' %} selected {% endif %}>Etc/GMT+6</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+7' %} selected {% endif %}>Etc/GMT+7</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+8' %} selected {% endif %}>Etc/GMT+8</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+9' %} selected {% endif %}>Etc/GMT+9</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+10' %} selected {% endif %}>Etc/GMT+10</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+11' %} selected {% endif %}>Etc/GMT+11</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+12' %} selected {% endif %}>Etc/GMT+12</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT+1' %} selected {% endif %}>Etc/GMT+1</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-1' %} selected {% endif %}>Etc/GMT-1</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-2' %} selected {% endif %}>Etc/GMT-2</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-3' %} selected {% endif %}>Etc/GMT-3</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-4' %} selected {% endif %}>Etc/GMT-4</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-5' %} selected {% endif %}>Etc/GMT-5</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-6' %} selected {% endif %}>Etc/GMT-6</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-7' %} selected {% endif %}>Etc/GMT-7</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-8' %} selected {% endif %}>Etc/GMT-8</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-9' %} selected {% endif %}>Etc/GMT-9</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-10' %} selected {% endif %}>Etc/GMT-10</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-11' %} selected {% endif %}>Etc/GMT-11</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-12' %} selected {% endif %}>Etc/GMT-12</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-13' %} selected {% endif %}>Etc/GMT-13</option>
<option {%if clock_screensaver.clock1.timezone == 'Etc/GMT-14' %} selected {% endif %}>Etc/GMT-14</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="clock1-displaypm" <input class="screensaver-hour-select" type="checkbox" value="" id="clock1-displaypm"
@ -496,7 +523,34 @@
</select><br> </select><br>
Timezone Timezone
<select class="form-select screensaver-select" id="clock2-timezone"> <select class="form-select screensaver-select" id="clock2-timezone">
<option {%if clock_screensaver.clock2.timezone == '00' %} selected {% endif %}>00</option> <option {%if clock_screensaver.clock2.timezone == 'Etc/GMT' %} selected {% endif %}>Etc/GMT</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+1' %} selected {% endif %}>Etc/GMT+1</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+2' %} selected {% endif %}>Etc/GMT+2</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+3' %} selected {% endif %}>Etc/GMT+3</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+4' %} selected {% endif %}>Etc/GMT+4</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+5' %} selected {% endif %}>Etc/GMT+5</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+6' %} selected {% endif %}>Etc/GMT+6</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+7' %} selected {% endif %}>Etc/GMT+7</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+8' %} selected {% endif %}>Etc/GMT+8</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+9' %} selected {% endif %}>Etc/GMT+9</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+10' %} selected {% endif %}>Etc/GMT+10</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+11' %} selected {% endif %}>Etc/GMT+11</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+12' %} selected {% endif %}>Etc/GMT+12</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT+1' %} selected {% endif %}>Etc/GMT+1</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-1' %} selected {% endif %}>Etc/GMT-1</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-2' %} selected {% endif %}>Etc/GMT-2</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-3' %} selected {% endif %}>Etc/GMT-3</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-4' %} selected {% endif %}>Etc/GMT-4</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-5' %} selected {% endif %}>Etc/GMT-5</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-6' %} selected {% endif %}>Etc/GMT-6</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-7' %} selected {% endif %}>Etc/GMT-7</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-8' %} selected {% endif %}>Etc/GMT-8</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-9' %} selected {% endif %}>Etc/GMT-9</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-10' %} selected {% endif %}>Etc/GMT-10</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-11' %} selected {% endif %}>Etc/GMT-11</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-12' %} selected {% endif %}>Etc/GMT-12</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-13' %} selected {% endif %}>Etc/GMT-13</option>
<option {%if clock_screensaver.clock2.timezone == 'Etc/GMT-14' %} selected {% endif %}>Etc/GMT-14</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="clock2-displaypm" <input class="screensaver-hour-select" type="checkbox" value="" id="clock2-displaypm"