From 6fca03521b11e33f29aa0bc93b7b9816addb6626 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 20 Feb 2015 11:39:29 -0800 Subject: [PATCH] [Fixed Position] Add initial element templates Add element templates for fixed position elements introduced via the Add button, WTD-880. --- platform/features/layout/bundle.json | 16 ++++++++++++++++ .../layout/res/templates/elements/box.html | 2 ++ .../layout/res/templates/elements/image.html | 1 + .../layout/res/templates/elements/line.html | 3 +++ .../layout/res/templates/elements/text.html | 3 +++ 5 files changed, 25 insertions(+) create mode 100644 platform/features/layout/res/templates/elements/box.html create mode 100644 platform/features/layout/res/templates/elements/image.html create mode 100644 platform/features/layout/res/templates/elements/line.html create mode 100644 platform/features/layout/res/templates/elements/text.html diff --git a/platform/features/layout/bundle.json b/platform/features/layout/bundle.json index bdb780513e..0e709237f5 100644 --- a/platform/features/layout/bundle.json +++ b/platform/features/layout/bundle.json @@ -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": [ diff --git a/platform/features/layout/res/templates/elements/box.html b/platform/features/layout/res/templates/elements/box.html new file mode 100644 index 0000000000..88a6987b29 --- /dev/null +++ b/platform/features/layout/res/templates/elements/box.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/platform/features/layout/res/templates/elements/image.html b/platform/features/layout/res/templates/elements/image.html new file mode 100644 index 0000000000..f4c1b3ac2d --- /dev/null +++ b/platform/features/layout/res/templates/elements/image.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/features/layout/res/templates/elements/line.html b/platform/features/layout/res/templates/elements/line.html new file mode 100644 index 0000000000..27eb74fc3d --- /dev/null +++ b/platform/features/layout/res/templates/elements/line.html @@ -0,0 +1,3 @@ +
+ ...line... +
\ No newline at end of file diff --git a/platform/features/layout/res/templates/elements/text.html b/platform/features/layout/res/templates/elements/text.html new file mode 100644 index 0000000000..4cdc956360 --- /dev/null +++ b/platform/features/layout/res/templates/elements/text.html @@ -0,0 +1,3 @@ +
+ {{ngModel.text}} +
\ No newline at end of file