2019-03-21 22:07:16 +00:00
|
|
|
<div class="c-message"
|
2019-03-14 20:31:42 +00:00
|
|
|
ng-class="'message-severity-' + ngModel.severity">
|
|
|
|
<div class="w-message-contents">
|
2019-03-21 22:07:16 +00:00
|
|
|
<div class="c-message__top-bar">
|
|
|
|
<div class="c-message__title">{{ngModel.message}}</div>
|
2019-03-14 20:31:42 +00:00
|
|
|
</div>
|
|
|
|
<div class="message-body">
|
|
|
|
<mct-include key="'progress-bar'"
|
|
|
|
ng-model="ngModel"
|
|
|
|
ng-show="ngModel.progressPerc !== undefined"></mct-include>
|
|
|
|
</div>
|
2019-04-26 21:43:13 +00:00
|
|
|
</div>
|
|
|
|
<div class="c-overlay__button-bar">
|
|
|
|
<button ng-repeat="dialogOption in ngModel.options"
|
2019-03-21 22:07:16 +00:00
|
|
|
class="c-button"
|
2019-03-14 20:31:42 +00:00
|
|
|
ng-click="dialogOption.callback()">
|
2019-04-26 21:43:13 +00:00
|
|
|
{{dialogOption.label}}
|
|
|
|
</button>
|
|
|
|
<button class="c-button c-button--major"
|
2019-03-14 20:31:42 +00:00
|
|
|
ng-if="ngModel.primaryOption"
|
|
|
|
ng-click="ngModel.primaryOption.callback()">
|
2019-04-26 21:43:13 +00:00
|
|
|
{{ngModel.primaryOption.label}}
|
|
|
|
</button>
|
2019-03-14 20:31:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|