mirror of
https://github.com/nasa/openmct.git
synced 2025-01-22 12:28:09 +00:00
[Persistence] Show persistence failure dialog
WTD-1033.
This commit is contained in:
parent
acf058849f
commit
513c06a81b
@ -12,7 +12,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="abs bottom-bar">
|
||||
<a ng-repeat="options in ngModel.dialog.options"
|
||||
<a ng-repeat="option in ngModel.dialog.options"
|
||||
href=''
|
||||
class="btn lg"
|
||||
title="{{option.description}}"
|
||||
|
@ -126,8 +126,8 @@ define(
|
||||
// Add the overlay using the OverlayService, which
|
||||
// will handle actual insertion into the DOM
|
||||
overlay = overlayService.createOverlay(
|
||||
"overlay-dialog",
|
||||
{ dialog: dialogModel, click: confirm }
|
||||
"overlay-options",
|
||||
{ dialog: dialogModel, click: confirm, cancel: cancel }
|
||||
);
|
||||
|
||||
// Track that a dialog is already visible, to
|
||||
|
@ -26,6 +26,12 @@
|
||||
"key": "PERSISTENCE_QUEUE_DELAY",
|
||||
"value": 5
|
||||
}
|
||||
],
|
||||
"templates": [
|
||||
{
|
||||
"key": "persistence-failure-dialog",
|
||||
"templateUrl": "templates/persistence-failure-dialog.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
Hello persistence failure!
|
Loading…
Reference in New Issue
Block a user