mirror of
https://github.com/nasa/openmct.git
synced 2025-01-13 16:29:57 +00:00
62 lines
2.1 KiB
HTML
62 lines
2.1 KiB
HTML
|
<div class='form-control complex datetime'>
|
||
|
|
||
|
<div class='field-hints'>
|
||
|
<span class='hint time sm'>Days</span>
|
||
|
<span class='hint time sm'>Hours</span>
|
||
|
<span class='hint time sm'>Minutes</span>
|
||
|
<span class='hint time sm'>Seconds</span>
|
||
|
<span class='hint' ng-if="structure.options.length > 0">Time System</span>
|
||
|
</div>
|
||
|
|
||
|
<ng-form name="mctControl">
|
||
|
<div class='fields' ng-controller="WARPDateTimeController">
|
||
|
<span class='field control time sm'>
|
||
|
<input type='text'
|
||
|
name='days'
|
||
|
min='0'
|
||
|
max='9999'
|
||
|
integer
|
||
|
ng-pattern="/\d+/"
|
||
|
ng-model='datetime.days'/>
|
||
|
</span>
|
||
|
<span class='field control time sm'>
|
||
|
<input type='text'
|
||
|
name='hour'
|
||
|
maxlength='2'
|
||
|
min='0'
|
||
|
max='23'
|
||
|
integer
|
||
|
ng-pattern='/\d+/'
|
||
|
ng-model="datetime.hours"/>
|
||
|
</span>
|
||
|
<span class='field control time sm'>
|
||
|
<input type='text'
|
||
|
name='min'
|
||
|
maxlength='2'
|
||
|
min='0'
|
||
|
max='59'
|
||
|
integer
|
||
|
ng-pattern='/\d+/'
|
||
|
ng-model="datetime.minutes"
|
||
|
ng-required='true'/>
|
||
|
</span>
|
||
|
<span class='field control time sm'>
|
||
|
<input type='text'
|
||
|
name='sec'
|
||
|
maxlength='2'
|
||
|
min='0'
|
||
|
max='59'
|
||
|
integer
|
||
|
ng-pattern='/\d+/'
|
||
|
ng-model="datetime.seconds"
|
||
|
ng-required='true'/>
|
||
|
</span>
|
||
|
<span ng-if="structure.options.length > 0"
|
||
|
class='field control'>
|
||
|
SET
|
||
|
</span>
|
||
|
</div>
|
||
|
</ng-form>
|
||
|
|
||
|
|
||
|
</div>
|