mirror of
https://github.com/nasa/openmct.git
synced 2025-06-24 02:04:02 +00:00
[Frontend] Fixes, glyph and description updates
WTD-1150 WTD-1145 Fixed incorrect references to iFrameController to EmbeddedPageController; Added new glyph for Page; Renamed Page to Web Page;
This commit is contained in:
@ -3,7 +3,9 @@
|
||||
"types": [
|
||||
{
|
||||
"key": "example.page",
|
||||
"name": "Page",
|
||||
"name": "Web Page",
|
||||
"glyph": "\u00EA",
|
||||
"description": "A component to display a web page or image with a valid URL. Can be added to a Display Layout.",
|
||||
"features": [ "creation" ],
|
||||
"properties": [
|
||||
{
|
||||
@ -26,8 +28,8 @@
|
||||
],
|
||||
"controllers": [
|
||||
{
|
||||
"key": "IFrameController",
|
||||
"implementation": "IFrameController.js",
|
||||
"key": "EmbeddedPageController",
|
||||
"implementation": "EmbeddedPageController.js",
|
||||
"depends": ["$sce"]
|
||||
}
|
||||
]
|
||||
|
@ -1,4 +1,4 @@
|
||||
<iframe ng-controller="IFrameController as ctl"
|
||||
<iframe ng-controller="EmbeddedPageController as ctl"
|
||||
style="width: 100%; height: 100%;"
|
||||
ng-src="{{ctl.trust(model.url)}}">
|
||||
</iframe>
|
Reference in New Issue
Block a user