openmct/platform/commonUI/dialog/res/templates/message.html

24 lines
966 B
HTML
Raw Normal View History

2015-10-09 18:57:47 +00:00
<div class="l-message message-severity-{{ngModel.severity}}">
<div class="ui-symbol type-icon message-type"></div>
<div class="message-contents">
<div class="top-bar">
2015-10-09 18:57:47 +00:00
<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">
2015-10-09 18:57:47 +00:00
{{ngModel.actionText}} message-severity-{{ngModel.severity}}
</div>
<mct-include key="'progress-bar'"
ng-model="ngModel"
2015-10-09 18:57:47 +00:00
ng-hide="ngModel.progress === undefined"></mct-include>
</div>
<div class="bottom-bar">
2015-10-09 18:57:47 +00:00
<a ng-repeat="dialogAction in ngModel.actions"
class="s-btn major"
ng-click="dialogAction.action()">
{{dialogAction.label}}
</a>
</div>
</div>
</div>