mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 06:52:24 +00:00
18 lines
800 B
HTML
18 lines
800 B
HTML
<div ng-controller="BannerController" ng-show="active.notification"
|
|
class="l-message-banner s-message-banner" ng-click="maximize(active.notification)">
|
|
<span class="banner-elem label">
|
|
{{active.notification.title}}
|
|
</span>
|
|
<span ng-hide="active.notification.progress === undefined">
|
|
<mct-include key="'progress-bar'" class="banner-elem"
|
|
ng-model="active.notification">
|
|
</mct-include>
|
|
</span>
|
|
<a ng-hide="active.notification.primaryAction === undefined"
|
|
class="banner-elem l-action s-action"
|
|
ng-click="active.notification.primaryAction.action()">
|
|
{{active.notification.primaryAction.label}}
|
|
</a>
|
|
<a class="banner-elem ui-symbol close" ng-click="dismiss(active.notification)">
|
|
x</a>
|
|
</div> |