diff --git a/platform/features/layout/res/templates/elements/box.html b/platform/features/layout/res/templates/elements/box.html index eab7cf0af5..5938549bad 100644 --- a/platform/features/layout/res/templates/elements/box.html +++ b/platform/features/layout/res/templates/elements/box.html @@ -1,4 +1,3 @@
- ???
\ 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 index a00e18faaa..041147df27 100644 --- a/platform/features/layout/res/templates/elements/image.html +++ b/platform/features/layout/res/templates/elements/image.html @@ -1 +1,3 @@ - \ No newline at end of file +
+
\ 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 index e41d20b639..2b52f04598 100644 --- a/platform/features/layout/res/templates/elements/text.html +++ b/platform/features/layout/res/templates/elements/text.html @@ -1,4 +1,4 @@ -
- {{ngModel.text}} +
+ {{ngModel.element.text}}
\ No newline at end of file diff --git a/platform/features/layout/src/elements/ElementFactory.js b/platform/features/layout/src/elements/ElementFactory.js index 9e1ee6e2b9..dc1eb27e82 100644 --- a/platform/features/layout/src/elements/ElementFactory.js +++ b/platform/features/layout/src/elements/ElementFactory.js @@ -6,8 +6,15 @@ define( "use strict"; var INITIAL_STATES = { - "fixed.image": { - url: "http://www.nasa.gov/sites/default/themes/NASAPortal/images/nasa-logo.gif" + "fixed.image": {}, + "fixed.box": { + fill: "#888", + border: "transparent" + }, + "fixed.line": {}, + "fixed.text": { + fill: "transparent", + border: "transparent" } }, DIALOGS = { @@ -25,6 +32,21 @@ define( ] } ] + }, + "fixed.text": { + name: "Text Element Properties", + sections: [ + { + rows: [ + { + key: "text", + control: "textfield", + name: "Text", + required: true + } + ] + } + ] } };