mirror of
https://github.com/nasa/openmct.git
synced 2024-12-25 15:51:04 +00:00
26 lines
927 B
HTML
26 lines
927 B
HTML
<div class="l-message"
|
|
ng-class="'message-severity-' + ngModel.severity">
|
|
<div class="w-message-contents">
|
|
<div class="top-bar">
|
|
<div class="title">{{ngModel.message}}</div>
|
|
</div>
|
|
<div class="message-body">
|
|
<mct-include key="'progress-bar'"
|
|
ng-model="ngModel"
|
|
ng-show="ngModel.progressPerc !== undefined"></mct-include>
|
|
</div>
|
|
<div class="bottom-bar">
|
|
<a ng-repeat="dialogOption in ngModel.options"
|
|
class="s-button"
|
|
ng-click="dialogOption.callback()">
|
|
{{dialogOption.label}}
|
|
</a>
|
|
<a class="s-button major"
|
|
ng-if="ngModel.primaryOption"
|
|
ng-click="ngModel.primaryOption.callback()">
|
|
{{ngModel.primaryOption.label}}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|