mirror of
https://github.com/nasa/openmct.git
synced 2024-12-28 08:58:52 +00:00
582a236d8a
WTD-1150 WTD-1145 Fixed incorrect references to iFrameController to EmbeddedPageController; Added new glyph for Page; Renamed Page to Web Page;
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"extensions": {
|
|
"types": [
|
|
{
|
|
"key": "example.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": [
|
|
{
|
|
"key": "url",
|
|
"name": "URL",
|
|
"control": "textfield",
|
|
"pattern": "^(ftp|https?)\\:\\/\\/\\w+(\\.\\w+)*(\\:\\d+)?(\\/\\S*)*$",
|
|
"required": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"views": [
|
|
{
|
|
"templateUrl": "iframe.html",
|
|
"name": "Page",
|
|
"type": "example.page",
|
|
"key": "example.page"
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "EmbeddedPageController",
|
|
"implementation": "EmbeddedPageController.js",
|
|
"depends": ["$sce"]
|
|
}
|
|
]
|
|
}
|
|
} |