2014-11-26 20:50:51 +00:00
|
|
|
<div class='form-control complex datetime'>
|
2014-11-28 21:15:02 +00:00
|
|
|
|
2014-11-26 20:50:51 +00:00
|
|
|
<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>
|
|
|
|
|
2014-11-28 21:15:02 +00:00
|
|
|
|
|
|
|
<ng-form name="mctControl">
|
|
|
|
<div class='fields' ng-controller="DateTimeController">
|
|
|
|
<span class='field control date'>
|
|
|
|
<input type='text'
|
|
|
|
name='date'
|
|
|
|
placeholder="YYYY-DDD"
|
|
|
|
ng-pattern="/\d\d\d\d-\d\d\d/"
|
|
|
|
ng-model='datetime.date'
|
|
|
|
ng-required='true'/>
|
|
|
|
</span>
|
|
|
|
<span class='field control time sm'>
|
|
|
|
<input type='text'
|
|
|
|
name='hour'
|
|
|
|
maxlength='2'
|
2014-11-28 21:35:24 +00:00
|
|
|
min='0'
|
|
|
|
max='23'
|
|
|
|
integer
|
|
|
|
ng-pattern='/\d+/'
|
2014-11-28 21:15:02 +00:00
|
|
|
ng-model="datetime.hour"
|
|
|
|
ng-required='true'/>
|
|
|
|
</span>
|
|
|
|
<span class='field control time sm'>
|
|
|
|
<input type='text'
|
|
|
|
name='min'
|
|
|
|
maxlength='2'
|
2014-11-28 21:35:24 +00:00
|
|
|
min='0'
|
|
|
|
max='59'
|
|
|
|
integer
|
|
|
|
ng-pattern='/\d+/'
|
2014-11-28 21:15:02 +00:00
|
|
|
ng-model="datetime.min"
|
|
|
|
ng-required='true'/>
|
|
|
|
</span>
|
|
|
|
<span class='field control time sm'>
|
|
|
|
<input type='text'
|
|
|
|
name='sec'
|
|
|
|
maxlength='2'
|
2014-11-28 21:35:24 +00:00
|
|
|
min='0'
|
|
|
|
max='59'
|
|
|
|
integer
|
|
|
|
ng-pattern='/\d+/'
|
2014-11-28 21:15:02 +00:00
|
|
|
ng-model="datetime.sec"
|
|
|
|
ng-required='true'/>
|
|
|
|
</span>
|
|
|
|
<span class='field control timezone'>
|
|
|
|
UTC
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</ng-form>
|
|
|
|
|
|
|
|
|
2014-11-26 20:50:51 +00:00
|
|
|
</div>
|