1
0
Fork 0
fgdata/Phi/topics/Environment/DateTime.html
Torsten Dreyer 190e8449ce Phi: move URL to the browsers root directory
- rename the directory from webgui to Phi
- let the webserver's root point to Phi instead of Docs
- redirect old /gui/ url to the new location (/)
2015-04-18 13:03:46 +02:00

23 lines
725 B
HTML

<style>
.phi-datetime-2digits {
width: 2em;
}
</style>
<fieldset>
<legend>Time of today</legend>
<!-- ko foreach: timesOfToday -->
<button data-bind="text: $data, click: $parent.setTimeOfToday">Clock Time</button>
<!-- /ko -->
</fieldset>
<fieldset>
<legend>Date and Time</legend>
<div>Current System Time is: <span data-bind="text: simTimeUTC().toUTCString()"></span></div>
<div data-bind="datepicker: { value: simTimeUTC }"></div>
<div>
<input class="phi-datetime-2digits" data-bind="spinner: { value: hour, spin: wrapHour, page: 6 }" />
<input class="phi-datetime-2digits" data-bind="spinner: { value: minute, spin: wrapMinute }" />
</div>
</fieldset>