From 30e3f3d6c19025c37694127ac148146277681994 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 3 Apr 2012 14:43:52 -0700 Subject: CSS Panel - Stylesheet edit mode --- .../css-panel/style-sheet.reel/style-sheet.html | 33 ++++++++++++++-------- 1 file changed, 21 insertions(+), 12 deletions(-) (limited to 'js/panels/css-panel/style-sheet.reel/style-sheet.html') diff --git a/js/panels/css-panel/style-sheet.reel/style-sheet.html b/js/panels/css-panel/style-sheet.reel/style-sheet.html index 64b8e8ae..2619258a 100644 --- a/js/panels/css-panel/style-sheet.reel/style-sheet.html +++ b/js/panels/css-panel/style-sheet.reel/style-sheet.html @@ -15,13 +15,14 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "name" : "StyleSheet", "properties" : { "element" : {"#" : "style-sheet-container"}, - "disableCheckbox": {"@": "disableCheckbox1"}, - "nameText": {"@": "name1"}, - "mediaInput": {"@": "mediaInput1"}, - "deleteButton": {"@": "deleteButton1"} + "disableCheckbox": {"@": "disableCheckbox"}, + "nameText": {"@": "name"}, + "mediaInput": {"@": "mediaInput"}, + "editButton": {"@": "editButton"}, + "editView": {"#": "style-sheet-edit"} } }, - "disableCheckbox1": { + "disableCheckbox": { "module": "js/components/checkbox.reel", "name": "Checkbox", "properties": { @@ -29,7 +30,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "checked": true } }, - "name1": { + "name": { "module": "montage/ui/dynamic-text.reel", "name": "DynamicText", "properties": { @@ -44,20 +45,25 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot } } }, - "mediaInput1": { + "mediaInput": { "module": "js/components/textfield.reel", "name": "TextField", "properties": { "element": {"#": "media-input"} } }, - "deleteButton1": { - "module": "js/components/button.reel", + "editButton": { + "module": "montage/ui/button.reel", "name": "Button", "properties": { - "element": {"#": "delete-button"}, + "element": {"#": "editbutton"}, + "identifier": "editButton", "label": " " - } + }, + "listeners": [{ + "type": "action", + "listener": {"@": "owner"} + }] } } @@ -69,7 +75,10 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
-
+ +
+ +
\ No newline at end of file -- cgit v1.2.3