mirror of
https://github.com/nasa/openmct.git
synced 2025-01-19 11:17:04 +00:00
[Fixed Position] Add initial element templates
Add element templates for fixed position elements introduced via the Add button, WTD-880.
This commit is contained in:
parent
2be58579dc
commit
6fca03521b
@ -90,6 +90,22 @@
|
||||
{
|
||||
"key": "fixed.telemetry",
|
||||
"templateUrl": "templates/elements/telemetry.html"
|
||||
},
|
||||
{
|
||||
"key": "fixed.box",
|
||||
"templateUrl": "templates/elements/box.html"
|
||||
},
|
||||
{
|
||||
"key": "fixed.line",
|
||||
"templateUrl": "templates/elements/line.html"
|
||||
},
|
||||
{
|
||||
"key": "fixed.text",
|
||||
"templateUrl": "templates/elements/text.html"
|
||||
},
|
||||
{
|
||||
"key": "fixed.image",
|
||||
"templateUrl": "templates/elements/image.html"
|
||||
}
|
||||
],
|
||||
"types": [
|
||||
|
2
platform/features/layout/res/templates/elements/box.html
Normal file
2
platform/features/layout/res/templates/elements/box.html
Normal file
@ -0,0 +1,2 @@
|
||||
<div ng-style="{ background: ngModel.fill }">
|
||||
</div>
|
@ -0,0 +1 @@
|
||||
<img ng-src="ngModel.url" style="width: 100%; height: 100%;"></img>
|
@ -0,0 +1,3 @@
|
||||
<div ng-style="{ background: ngModel.fill }">
|
||||
...line...
|
||||
</div>
|
@ -0,0 +1,3 @@
|
||||
<div ng-style="{ background: ngModel.fill }">
|
||||
{{ngModel.text}}
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user