added Ids for scheduler settings

This commit is contained in:
Justin 2023-04-22 18:13:23 +08:00 committed by GitHub
parent ae4332fa6a
commit 862d925857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -414,7 +414,7 @@
</div><br>
<div id="scheduler-div" style="display:none;">
<div id="scheduler-div" style="display:none">
<div id="scheduler-top">
<h3 id="scheduler-p">Scheduler Settings</h3>
<button id="scheduler-close-btn" onclick="closeScheduler()">Close</button>
@ -422,7 +422,7 @@
<p id="shutdowns-p">Shutdowns (Daily):</p>
<div class="col-auto">
Hour
<select class="form-select hour-select">
<select class="form-select hour-select" id="shutdown-hour-select">
<option {%if stocks_settings.animation == 'down' %} selected {% endif %}>00</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>01</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>02</option>
@ -449,7 +449,7 @@
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>23</option>
</select>
Minute
<select class="form-select minute-select">
<select class="form-select minute-select" id="shutdown-minute-select">
<option {%if stocks_settings.animation == 'down' %} selected {% endif %}>00</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>01</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>02</option>
@ -512,14 +512,14 @@
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>59</option>
</select>
<label for="inputTransitionZ" class="col-form-label">Enable</label>
<input class="scheduler-hour-select" type="checkbox" value="" id="flexCheckChecked3"
<input class="scheduler-hour-select" type="checkbox" value="" id="shutdown-enabled"
{% if stocks_settings.logos%} checked {%endif%}/>
</div>
<p id="reboots-p">Reboots (Daily):</p>
<div class="col-auto">
Hour
<select class="form-select hour-select">
<select class="form-select hour-select" id="reboot-hour-select">
<option {%if stocks_settings.animation == 'down' %} selected {% endif %}>00</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>01</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>02</option>
@ -546,7 +546,7 @@
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>23</option>
</select>
Minute
<select class="form-select minute-select">
<select class="form-select minute-select" id="reboot-minute-select">
<option {%if stocks_settings.animation == 'down' %} selected {% endif %}>00</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>01</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>02</option>
@ -609,13 +609,13 @@
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>59</option>
</select>
<label for="inputTransitionZ" class="col-form-label">Enable</label>
<input class="scheduler-hour-select" type="checkbox" value="" id="flexCheckChecked3"
<input class="scheduler-hour-select" type="checkbox" value="" id="reboot-enabled"
{% if stocks_settings.logos%} checked {%endif%}/>
</div>
<p id="reboots-p">Timezone:</p>
<div class="col-auto">
<select class="form-select timezone-select">
<select class="form-select timezone-select" id="timezone-select">
<option {%if stocks_settings.animation == 'down' %} selected {% endif %}>US/Eastern</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>US/Central</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>US/Pacific</option>
@ -632,7 +632,7 @@
</div>
<div class="col-lg-2 col-md-2 col-sm-2" style="display:block;margin: 0 auto;width: 30%;margin-top:8%;">
<a id="save-scheduler-btn" class="btn btn-scheduler">Save Settings</a>
<a id="save-scheduler-btn" class="btn btn-scheduler" onclick="saveSchedulerSettings()">Save Settings</a>
</div>
</div>
</div>