openmct/platform/commonUI/general/res/templates/message-banner.html

21 lines
1.0 KiB
HTML
Raw Normal View History

2015-10-09 22:27:40 +00:00
<div ng-controller="BannerController" ng-show="active.notification"
class="l-message-banner s-message-banner {{active.notification.model.severity}}" ng-class="{
'minimized': active.notification.model.minimized,
'new': !active.notification.model.minimized}"
ng-click="maximize(active.notification)">
2015-10-09 22:27:40 +00:00
<span class="banner-elem label">
{{active.notification.model.title}}
2015-10-09 22:27:40 +00:00
</span>
<span ng-show="active.notification.model.progress !== undefined || active.notification.model.unknownProgress">
2015-10-09 22:27:40 +00:00
<mct-include key="'progress-bar'" class="banner-elem"
ng-model="active.notification.model">
2015-10-09 22:27:40 +00:00
</mct-include>
</span>
<a ng-hide="active.notification.model.primaryOption === undefined"
2015-10-09 22:27:40 +00:00
class="banner-elem l-action s-action"
ng-click="action(active.notification.model.primaryOption.callback, $event)">
{{active.notification.model.primaryOption.label}}
2015-10-09 22:27:40 +00:00
</a>
<a class="banner-elem ui-symbol close" ng-click="dismiss(active.notification, $event)">
2015-10-09 22:27:40 +00:00
&#x78;</a>
</div>