- add countdown to function
- small cleanup
This commit is contained in:
@ -23,9 +23,12 @@
|
||||
<link href="/css/mainStyle.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/coloris/coloris.min.css" />
|
||||
<link rel="stylesheet" href="/bootstrap-duration-picker/bootstrap-duration-picker.css" />
|
||||
<link rel="stylesheet" href="/flatpickr/dist/flatpickr.min.css" />
|
||||
<script src="/bootstrap-duration-picker/bootstrap-duration-picker-debug.js"></script>
|
||||
<script src="/coloris/coloris.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="/flatpickr/dist/flatpickr.js"> </script>
|
||||
|
||||
<link rel="stylesheet" href="/css/bootstrap-icons.css">
|
||||
</head>
|
||||
|
||||
@ -202,8 +205,6 @@
|
||||
<div class="container">
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<presets class="d-inline-flex justify-content-center">
|
||||
<button class="btn btn-outline-secondary m-1 pres" value="300000">00:05:00</button>
|
||||
@ -216,24 +217,30 @@
|
||||
<button class="btn btn-outline-secondary m-1 pres" value="2400000">00:40:00</button>
|
||||
<button class="btn btn-outline-secondary m-1 pres" value="2700000">00:45:00</button>
|
||||
</presets>
|
||||
|
||||
<div class="row" style="width: 100%;">
|
||||
|
||||
|
||||
<div class="d-inline-flex justify-content-center p-2 col">
|
||||
<input type="text" class="form-control m-1" id="customValue">
|
||||
|
||||
<button class="btn btn-outline-primary m-1 mt-0 goTimer"><i
|
||||
class="bi bi-check2-circle"></i></button>
|
||||
<script>
|
||||
$("#customValue").durationPicker({
|
||||
showSeconds: true,
|
||||
showDays: false,
|
||||
onChanged: function (val, t1, t2) {
|
||||
currentTime = val * 1000
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<h5>
|
||||
Countdown to time
|
||||
</h5>
|
||||
<div class="row justify-content-center flex-nowrap d-flex" >
|
||||
<input id="datetimetester" class="form-control input-sm" style="width: 20%;">
|
||||
<button class="btn btn-outline-primary goTimeGoalCountdown ms-2" style="width: 5%;"><i
|
||||
class="bi bi-check2-circle"></i></button>
|
||||
|
||||
|
||||
|
||||
</input>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</page>
|
||||
@ -326,12 +333,6 @@
|
||||
<hr>
|
||||
<br>
|
||||
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse"
|
||||
data-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent"
|
||||
aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<h3>Host information</h3>
|
||||
<code id="systemInfo" class="overflow-auto">
|
||||
|
||||
|
Reference in New Issue
Block a user