aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/css-style.reel
diff options
context:
space:
mode:
authorEric Guzman2012-05-22 14:28:00 -0700
committerEric Guzman2012-05-22 14:28:00 -0700
commit1c3da2901f454ad2c18e20216bb2517740a1c080 (patch)
treef91f102be89eb01362da1a7d209deecb98b413a9 /js/panels/css-panel/css-style.reel
parent70a85334144a9516fdec7b09eb5c9856230d12f1 (diff)
downloadninja-1c3da2901f454ad2c18e20216bb2517740a1c080.tar.gz
CSS Panel - Update components to use new serialization format
Diffstat (limited to 'js/panels/css-panel/css-style.reel')
-rw-r--r--js/panels/css-panel/css-style.reel/css-style.html32
1 files changed, 8 insertions, 24 deletions
diff --git a/js/panels/css-panel/css-style.reel/css-style.html b/js/panels/css-panel/css-style.reel/css-style.html
index c4b6dd59..00cebf39 100644
--- a/js/panels/css-panel/css-style.reel/css-style.html
+++ b/js/panels/css-panel/css-style.reel/css-style.html
@@ -11,8 +11,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
11 <script type="text/montage-serialization"> 11 <script type="text/montage-serialization">
12 { 12 {
13 "owner": { 13 "owner": {
14 "module" : "js/panels/css-panel/css-style.reel", 14 "prototype" : "js/panels/css-panel/css-style.reel",
15 "name" : "CssStyle",
16 "properties" : { 15 "properties" : {
17 "element" : {"#" : "container"}, 16 "element" : {"#" : "container"},
18 "addStyleButton": {"#": "add-style-button"}, 17 "addStyleButton": {"#": "add-style-button"},
@@ -25,34 +24,24 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
25 "object": "js/panels/CSSPanel/css-property-name-list" 24 "object": "js/panels/CSSPanel/css-property-name-list"
26 }, 25 },
27 "checkbox": { 26 "checkbox": {
28 "module": "montage/ui/checkbox.reel", 27 "prototype": "montage/ui/checkbox.reel",
29 "name": "Checkbox",
30 "properties": { 28 "properties": {
31 "element": {"#": "disable-checkbox"}, 29 "element": {"#": "disable-checkbox"},
32 "checked": true 30 "checked": true
33 }, 31 },
34 "bindings": { 32 "bindings": {
35 "checked" : { 33 "checked" : {"<<->": "@owner.enabled" }
36 "boundObject": {"@": "owner"},
37 "boundObjectPropertyPath": "enabled",
38 "oneway": false
39 }
40 } 34 }
41 }, 35 },
42 "property": { 36 "property": {
43 "module": "js/components/hintable.reel", 37 "prototype": "js/components/hintable.reel",
44 "name": "Hintable",
45 "properties": { 38 "properties": {
46 "startOnEvent": "click", 39 "startOnEvent": "click",
47 "element": {"#": "property"}, 40 "element": {"#": "property"},
48 "identifier": "property" 41 "identifier": "property"
49 }, 42 },
50 "bindings": { 43 "bindings": {
51 "value" : { 44 "value" : {"<-": "@owner.propertyText" }
52 "boundObject": {"@": "owner"},
53 "boundObjectPropertyPath": "propertyText",
54 "oneway": true
55 }
56 }, 45 },
57 "listeners": [ 46 "listeners": [
58 { 47 {
@@ -66,19 +55,14 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
66 ] 55 ]
67 }, 56 },
68 "value": { 57 "value": {
69 "module": "js/components/hintable.reel", 58 "prototype": "js/components/hintable.reel",
70 "name": "Hintable",
71 "properties": { 59 "properties": {
72 "startOnEvent": "click", 60 "startOnEvent": "click",
73 "element": {"#": "value"}, 61 "element": {"#": "value"},
74 "identifier": "value" 62 "identifier": "value"
75 }, 63 },
76 "bindings": { 64 "bindings": {
77 "value" : { 65 "value" : {"<-": "@owner.valueText" }
78 "boundObject": {"@": "owner"},
79 "boundObjectPropertyPath": "valueText",
80 "oneway": true
81 }
82 }, 66 },
83 "listeners": [ 67 "listeners": [
84 { 68 {
@@ -95,7 +79,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
95 </script> 79 </script>
96</head> 80</head>
97<body> 81<body>
98<div id="container" class="style-item" spellcheck="false" draggable="false"> 82<div data-montage-id="container" class="style-item" spellcheck="false" draggable="false">
99 <input type="checkbox" data-montage-id="disable-checkbox"><dt data-montage-id="property" class="css-property"></dt><dd data-montage-id="value" class="css-value"></dd> 83 <input type="checkbox" data-montage-id="disable-checkbox"><dt data-montage-id="property" class="css-property"></dt><dd data-montage-id="value" class="css-value"></dd>
100 <button data-montage-id="add-style-button" class="add-style-button">Add</button> 84 <button data-montage-id="add-style-button" class="add-style-button">Add</button>
101</div> 85</div>