mirror of
https://github.com/nasa/openmct.git
synced 2025-01-21 12:05:12 +00:00
29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
<div ng-controller="MessageController"
|
|
class="l-message"
|
|
title="{{MessageSeverity}}"
|
|
ng-class="{'message-severity-info': ngModel.severity===MessageSeverity.INFO,
|
|
'message-severity-error': ngModel.severity===MessageSeverity.ERROR,
|
|
'message-severity-alert': ngModel.severity===MessageSeverity.ALERT}">
|
|
<div class="ui-symbol type-icon message-type"></div>
|
|
<div class="message-contents">
|
|
<div class="top-bar">
|
|
<div class="title">{{ngModel.title}}</div>
|
|
<div class="hint" ng-hide="ngModel.hint === undefined">{{ngModel.hint}}</div>
|
|
</div>
|
|
<div class="message-body">
|
|
<div class="message-action">
|
|
{{ngModel.actionText}} message-severity-{{ngModel.severity}}
|
|
</div>
|
|
<mct-include key="'progress-bar'"
|
|
ng-model="ngModel"
|
|
ng-hide="ngModel.progress === undefined"></mct-include>
|
|
</div>
|
|
<div class="bottom-bar">
|
|
<a ng-repeat="dialogAction in ngModel.actions"
|
|
class="s-btn major"
|
|
ng-click="dialogAction.action()">
|
|
{{dialogAction.label}}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div> |