mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 22:17:49 +00:00
97d4f34ae2
Refactor overlay templates to separate out the overlay container from the inner dialog containing the form; this permits the easy reuse of that overlay container to supply a non-form-like About dialog, WTD-667.
32 lines
880 B
JSON
32 lines
880 B
JSON
{
|
|
"extensions": {
|
|
"services": [
|
|
{
|
|
"key": "dialogService",
|
|
"implementation": "DialogService.js",
|
|
"depends": [ "overlayService", "$q", "$log" ]
|
|
},
|
|
{
|
|
"key": "overlayService",
|
|
"implementation": "OverlayService.js",
|
|
"depends": [ "$document", "$compile", "$rootScope" ]
|
|
}
|
|
],
|
|
"templates": [
|
|
{
|
|
"key": "overlay-dialog",
|
|
"templateUrl": "templates/overlay-dialog.html"
|
|
},
|
|
{
|
|
"key": "form-dialog",
|
|
"templateUrl": "templates/dialog.html"
|
|
}
|
|
],
|
|
"containers": [
|
|
{
|
|
"key": "overlay",
|
|
"templateUrl": "templates/overlay.html"
|
|
}
|
|
]
|
|
}
|
|
} |