openmct/platform/forms/res/templates/_datetime.html

24 lines
1.1 KiB
HTML
Raw Normal View History

<div ng-controller="LayoutFormController">
<div id='_form_control_datetime' class='form-control complex datetime'>
<div class='field-hints'>
<span class='hint date'>Date</span>
<span class='hint time sm'>Hour</span>
<span class='hint time sm'>Min</span>
<span class='hint time sm'>Sec</span>
<span class='hint timezone'>Timezone</span>
</div>
<div class='fields'>
<span class='field control date'><input type='text' name='date' /></span>
<span class='field control time sm'><input type='text' name='hour' maxlength='2' /></span>
<span class='field control time sm'><input type='text' name='min' maxlength='2' /></span>
<span class='field control time sm'><input type='text' name='sec' maxlength='2' /></span>
<span class='field control timezone'>
<select class='form-control input select' ng-model="data.formValue[id].option" ng-options="o.name for o in data.formValue[id].options">
<option value="">- Select One -</option>
<span class='ui-symbol arw colorKey'>v</span>
</select>
</span>
</div>
</div>
</div>