mirror of
https://github.com/nasa/openmct.git
synced 2025-04-09 04:14:32 +00:00
Modified messages dialog launcher
This commit is contained in:
parent
11264759ec
commit
b2a09599a0
@ -11,6 +11,9 @@
|
||||
<div class="hint" ng-hide="ngModel.hint === undefined">{{ngModel.hint}}</div>
|
||||
</div>
|
||||
<div class="message-body">
|
||||
<div class="message-action">
|
||||
{{ngModel.actionText}}
|
||||
</div>
|
||||
<mct-include key="'progress-bar'"
|
||||
ng-model="ngModel"
|
||||
ng-show="ngModel.progress !== undefined || ngModel.unknownProgress"></mct-include>
|
||||
|
@ -3,8 +3,7 @@
|
||||
<span class="label">
|
||||
<a ng-click="launchProgress(true)">Known</a> |
|
||||
<a ng-click="launchProgress(false)">Unknown</a> |
|
||||
<a ng-click="launchError()">Error</a> |
|
||||
<a ng-click="launchMessages()">Messages</a>
|
||||
<a ng-click="launchError()">Error</a>
|
||||
</span>
|
||||
<span class="count">Dialogs</span>
|
||||
</span>
|
@ -93,7 +93,7 @@ define(
|
||||
console.log('Retry clicked');
|
||||
}
|
||||
},
|
||||
actions: getExampleActions});
|
||||
actions: getExampleActions()});
|
||||
};
|
||||
|
||||
$scope.newProgress = function(){
|
||||
@ -102,6 +102,7 @@ define(
|
||||
title: "Progress notification!",
|
||||
severity: MessageSeverity.INFO,
|
||||
progress: 0,
|
||||
actionText: getExampleActionText(),
|
||||
unknownProgress: false
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user