diff options
author | Eric Guzman | 2012-04-03 14:43:52 -0700 |
---|---|---|
committer | Eric Guzman | 2012-04-03 14:43:52 -0700 |
commit | 30e3f3d6c19025c37694127ac148146277681994 (patch) | |
tree | 5b5edcf0508d98318e11e931283bb248c78bfd52 /js/panels/css-panel/style-sheet.reel/style-sheet.html | |
parent | 0241bf331b7e06e206a54be441edf2f4c7261f63 (diff) | |
download | ninja-30e3f3d6c19025c37694127ac148146277681994.tar.gz |
CSS Panel - Stylesheet edit mode
Diffstat (limited to 'js/panels/css-panel/style-sheet.reel/style-sheet.html')
-rw-r--r-- | js/panels/css-panel/style-sheet.reel/style-sheet.html | 33 |
1 files changed, 21 insertions, 12 deletions
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 | |||
15 | "name" : "StyleSheet", | 15 | "name" : "StyleSheet", |
16 | "properties" : { | 16 | "properties" : { |
17 | "element" : {"#" : "style-sheet-container"}, | 17 | "element" : {"#" : "style-sheet-container"}, |
18 | "disableCheckbox": {"@": "disableCheckbox1"}, | 18 | "disableCheckbox": {"@": "disableCheckbox"}, |
19 | "nameText": {"@": "name1"}, | 19 | "nameText": {"@": "name"}, |
20 | "mediaInput": {"@": "mediaInput1"}, | 20 | "mediaInput": {"@": "mediaInput"}, |
21 | "deleteButton": {"@": "deleteButton1"} | 21 | "editButton": {"@": "editButton"}, |
22 | "editView": {"#": "style-sheet-edit"} | ||
22 | } | 23 | } |
23 | }, | 24 | }, |
24 | "disableCheckbox1": { | 25 | "disableCheckbox": { |
25 | "module": "js/components/checkbox.reel", | 26 | "module": "js/components/checkbox.reel", |
26 | "name": "Checkbox", | 27 | "name": "Checkbox", |
27 | "properties": { | 28 | "properties": { |
@@ -29,7 +30,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
29 | "checked": true | 30 | "checked": true |
30 | } | 31 | } |
31 | }, | 32 | }, |
32 | "name1": { | 33 | "name": { |
33 | "module": "montage/ui/dynamic-text.reel", | 34 | "module": "montage/ui/dynamic-text.reel", |
34 | "name": "DynamicText", | 35 | "name": "DynamicText", |
35 | "properties": { | 36 | "properties": { |
@@ -44,20 +45,25 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
44 | } | 45 | } |
45 | } | 46 | } |
46 | }, | 47 | }, |
47 | "mediaInput1": { | 48 | "mediaInput": { |
48 | "module": "js/components/textfield.reel", | 49 | "module": "js/components/textfield.reel", |
49 | "name": "TextField", | 50 | "name": "TextField", |
50 | "properties": { | 51 | "properties": { |
51 | "element": {"#": "media-input"} | 52 | "element": {"#": "media-input"} |
52 | } | 53 | } |
53 | }, | 54 | }, |
54 | "deleteButton1": { | 55 | "editButton": { |
55 | "module": "js/components/button.reel", | 56 | "module": "montage/ui/button.reel", |
56 | "name": "Button", | 57 | "name": "Button", |
57 | "properties": { | 58 | "properties": { |
58 | "element": {"#": "delete-button"}, | 59 | "element": {"#": "editbutton"}, |
60 | "identifier": "editButton", | ||
59 | "label": " " | 61 | "label": " " |
60 | } | 62 | }, |
63 | "listeners": [{ | ||
64 | "type": "action", | ||
65 | "listener": {"@": "owner"} | ||
66 | }] | ||
61 | 67 | ||
62 | } | 68 | } |
63 | } | 69 | } |
@@ -69,7 +75,10 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
69 | <span id="sheet-name"></span> | 75 | <span id="sheet-name"></span> |
70 | <label>Media:</label> | 76 | <label>Media:</label> |
71 | <div id="media-input"></div> | 77 | <div id="media-input"></div> |
72 | <div id="delete-button"></div> | 78 | <button data-montage-id="editbutton"></button> |
79 | <div data-montage-id="style-sheet-edit" class="style-sheet-edit"> | ||
80 | |||
81 | </div> | ||
73 | </div> | 82 | </div> |
74 | </body> | 83 | </body> |
75 | </html> \ No newline at end of file | 84 | </html> \ No newline at end of file |