mirror of
https://github.com/nasa/openmct.git
synced 2025-01-10 15:02:53 +00:00
db87147bbd
WTD-894 Fixed application of CSS styles in HTML templates to format buttons properly; In-progress...
29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
<form novalidate>
|
|
<div class="tool-bar btn-bar contents abs">
|
|
<span ng-repeat="section in structure.sections"
|
|
class="control-group"
|
|
ng-if="!section.hidden"
|
|
title="{{section.description}}">
|
|
<ng-form ng-repeat="item in section.items"
|
|
ng-class="{ 'input-labeled': item.name }"
|
|
ng-hide="item.hidden"
|
|
class="inline"
|
|
title="{{item.description}}"
|
|
name="mctFormInner">
|
|
|
|
<label ng-if="item.name">
|
|
{{item.name}}:
|
|
</label>
|
|
<mct-control key="item.control"
|
|
ng-class="{ disabled: item.disabled }"
|
|
ng-model="ngModel"
|
|
ng-required="item.required"
|
|
ng-pattern="getRegExp(item.pattern)"
|
|
options="item.options"
|
|
structure="item"
|
|
field="item.key">
|
|
</mct-control>
|
|
</ng-form>
|
|
</span>
|
|
</div>
|
|
</form> |