mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 06:52:24 +00:00
d4691db8e2
Add a dialog type which presents a set of buttons for the user to choose from; will be used for Overwrite/Cancel, WTD-1033.
24 lines
852 B
HTML
24 lines
852 B
HTML
<mct-container key="overlay">
|
|
<div class="abs top-bar">
|
|
<div class="title">{{ngModel.dialog.title}}</div>
|
|
<div class="hint">{{ngModel.dialog.hint}}</div>
|
|
</div>
|
|
<div class="abs form outline editor">
|
|
<div class='abs contents l-dialog'>
|
|
<mct-include key="ngModel.dialog.template"
|
|
parameters="ngModel.dialog.parameters"
|
|
ng-model="ngModel.dialog.model">
|
|
</mct-include>
|
|
</div>
|
|
</div>
|
|
<div class="abs bottom-bar">
|
|
<a ng-repeat="options in ngModel.dialog.options"
|
|
href=''
|
|
class="btn lg"
|
|
title="{{option.description}}"
|
|
ng-click="ngModel.click(option.key)"
|
|
ng-class="{ major: $first, subtle: !$first }">
|
|
{{option.name}}
|
|
</a>
|
|
</div>
|
|
</mct-container> |