mirror of
https://github.com/nasa/openmct.git
synced 2025-01-06 13:18:44 +00:00
97d4f34ae2
Refactor overlay templates to separate out the overlay container from the inner dialog containing the form; this permits the easy reuse of that overlay container to supply a non-form-like About dialog, WTD-667.
25 lines
702 B
HTML
25 lines
702 B
HTML
<div class="abs top-bar">
|
|
<div class="title">{{ngModel.title}}</div>
|
|
<div class="hint">
|
|
All fields marked <span class="ui-symbol req">*</span> are required.
|
|
</div>
|
|
</div>
|
|
<div class="abs form outline editor">
|
|
<div class='abs contents'>
|
|
<mct-form ng-model="ngModel.value"
|
|
structure="ngModel.structure"
|
|
name="createForm">
|
|
</mct-form>
|
|
</div>
|
|
</div>
|
|
<div class="abs bottom-bar">
|
|
<a class='btn lg major'
|
|
href=''
|
|
ng-class="{ disabled: !createForm.$valid }"
|
|
ng-click="ngModel.confirm()">
|
|
OK
|
|
</a>
|
|
<a class='btn lg subtle' href='' ng-click="ngModel.cancel()">
|
|
Cancel
|
|
</a>
|
|
</div> |