scheduler window

This commit is contained in:
Justin 2023-04-21 18:50:28 +08:00 committed by GitHub
parent 83016813d1
commit 5778ef20b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -399,23 +399,244 @@
<div class="row"> <div class="row">
<div class="col-lg-11 col-md-11 col-sm-11" style="padding-top:2%"> <div class="col-lg-11 col-md-11 col-sm-11" style="padding-top:2%; width: 50%;">
<h3 class="text-white">Features to Display</h3> <h3 class="text-white">Features to Display</h3>
<p> <p>
Selected Format: Selected Format:
<span class="font-6" id="selected-display-text"></span> <span class="font-6" id="selected-display-text"></span>
</p> </p>
</div>
<div class="col-lg-2 col-md-2 col-sm-2" style="width:50%;margin-top: 3%;padding-left:20%;">
<a id="scheduler-btn" class="btn btn-scheduler" onclick="showScheduler()">Scheduler Settings</a>
</div> </div>
</div><br> </div><br>
<div id="scheduler-div" style="display:block">
<div id="scheduler-top">
<h3 id="scheduler-p">Scheduler Settings</h3>
<button id="scheduler-close-btn" onclick="closeScheduler()">Close</button>
<div id="inside-scheduler-div">
<p id="shutdowns-p">Shutdowns (Daily):</p>
<div class="col-auto">
Hour
<select class="form-select 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>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>03</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>04</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>05</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>06</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>07</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>08</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>09</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>10</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>11</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>12</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>13</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>14</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>15</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>16</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>17</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>18</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>19</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>20</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>21</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>22</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>23</option>
</select>
Minute
<select class="form-select 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>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>03</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>04</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>05</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>06</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>07</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>08</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>09</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>10</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>11</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>12</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>13</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>14</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>15</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>16</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>17</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>18</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>19</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>20</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>21</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>22</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>23</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>24</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>25</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>26</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>27</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>28</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>29</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>30</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>31</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>32</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>33</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>34</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>35</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>36</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>37</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>38</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>39</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>40</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>41</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>42</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>43</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>44</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>45</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>46</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>47</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>48</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>49</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>50</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>51</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>52</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>53</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>54</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>55</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>56</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>57</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>58</option>
<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"
{% 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">
<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>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>03</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>04</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>05</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>06</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>07</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>08</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>09</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>10</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>11</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>12</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>13</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>14</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>15</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>16</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>17</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>18</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>19</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>20</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>21</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>22</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>23</option>
</select>
Minute
<select class="form-select 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>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>03</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>04</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>05</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>06</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>07</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>08</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>09</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>10</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>11</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>12</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>13</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>14</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>15</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>16</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>17</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>18</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>19</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>20</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>21</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>22</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>23</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>24</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>25</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>26</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>27</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>28</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>29</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>30</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>31</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>32</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>33</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>34</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>35</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>36</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>37</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>38</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>39</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>40</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>41</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>42</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>43</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>44</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>45</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>46</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>47</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>48</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>49</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>50</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>51</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>52</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>53</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>54</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>55</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>56</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>57</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>58</option>
<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"
{% if stocks_settings.logos%} checked {%endif%}/>
</div>
<p id="reboots-p">Timezone:</p>
<div class="col-auto">
<select class="form-select 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>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>GMT</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>CET</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>GB</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>NZ</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>Australia/ACT</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>Japan</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>Asia/Singapore</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>Asia/Dubai</option>
</select>
</div>
</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>
</div>
</div>
</div>
<!-- Features List First Row --> <!-- Features List First Row -->