mirror of
https://github.com/nasa/openmct.git
synced 2024-12-28 00:48:51 +00:00
6f1b5b4ae3
* Added progress method to notifications so no longer dependent on reactive properties * Updated notification launch controller to use new progress method * Added progress function to Notifications API. Introduced NotificationService compatibility layer for legacy code
11 lines
568 B
HTML
11 lines
568 B
HTML
<span class="l-progress-bar s-progress-bar"
|
|
ng-class="{ indeterminate:ngModel.progressPerc === 'unknown' }">
|
|
<span class="progress-amt-holder">
|
|
<span class="progress-amt" style="width: {{ngModel.progressPerc === 'unknown' ? 100 : ngModel.progressPerc}}%"></span>
|
|
</span>
|
|
</span>
|
|
<div class="progress-info hint" ng-hide="ngModel.progressText === undefined">
|
|
<span class="progress-amt-text" ng-show="ngModel.progressPerc !== 'unknown' && ngModel.progressPerc > 0">{{ngModel.progressPerc}}% complete. </span>
|
|
{{ngModel.progressText}}
|
|
</div>
|