mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 06:52:24 +00:00
448b535de0
WTD-610 CSS and markup mods principally focused on selects, checkboxes and composite controls; Cleaned up positioning and formatting in .l-result area of query form bottom; Removed display of view type when only a single view available for an object in switcher.html Conflicts: platform/commonUI/general/res/css/theme-espresso.css vista/query/res/templates/channel-query.html vista/query/res/templates/channel-selector.html vista/query/res/templates/evr-query.html
18 lines
684 B
HTML
18 lines
684 B
HTML
<span ng-controller="CompositeController as compositeCtrl">
|
|
<ng-form name="mctFormItem" ng-repeat="item in structure.items">
|
|
<div class="l-composite-control l-{{item.control}}">
|
|
<mct-control key="item.control"
|
|
ng-model="ngModel[field]"
|
|
ng-required="ngRequired || compositeCtrl.isNonEmpty(ngModel[field])"
|
|
ng-pattern="ngPattern"
|
|
options="item.options"
|
|
structure="row"
|
|
field="$index">
|
|
</mct-control>
|
|
<span class="composite-control-label">
|
|
{{item.name}}
|
|
</span>
|
|
</div>
|
|
</ng-form>
|
|
</span>
|