openmct/platform/forms/res/templates/_datetime.html
Victor Woeltjen 695ca5c0cf [Forms] Bring in initial work on forms
Bring in previous work on the forms component; this includes
transitioned versions of specific form elements, and the
mct-form direction which generates these. WTD-530
2014-11-26 08:01:00 -08:00

24 lines
1.1 KiB
HTML

<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>