[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:
Victor Woeltjen 2015-02-20 11:39:29 -08:00
parent 2be58579dc
commit 6fca03521b
5 changed files with 25 additions and 0 deletions

View File

@ -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": [

View File

@ -0,0 +1,2 @@
<div ng-style="{ background: ngModel.fill }">
</div>

View File

@ -0,0 +1 @@
<img ng-src="ngModel.url" style="width: 100%; height: 100%;"></img>

View File

@ -0,0 +1,3 @@
<div ng-style="{ background: ngModel.fill }">
...line...
</div>

View File

@ -0,0 +1,3 @@
<div ng-style="{ background: ngModel.fill }">
{{ngModel.text}}
</div>