diff options
Diffstat (limited to 'js/panels/css-panel/style.reel/style.html')
-rw-r--r-- | js/panels/css-panel/style.reel/style.html | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/js/panels/css-panel/style.reel/style.html b/js/panels/css-panel/style.reel/style.html new file mode 100644 index 00000000..469c7268 --- /dev/null +++ b/js/panels/css-panel/style.reel/style.html | |||
@@ -0,0 +1,91 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
6 | </copyright> --> | ||
7 | <html lang="en"> | ||
8 | <head> | ||
9 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
10 | <link href="style.css" type="text/css" rel="stylesheet" media="screen"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "owner": { | ||
14 | "module" : "js/panels/css-panel/style.reel", | ||
15 | "name" : "Style", | ||
16 | "properties" : { | ||
17 | "element" : {"#" : "container"}, | ||
18 | "addStyleButton": {"#": "add-style-button"}, | ||
19 | "propertyField": {"@": "property"}, | ||
20 | "valueField": {"@": "value"} | ||
21 | } | ||
22 | }, | ||
23 | "checkbox": { | ||
24 | "module": "montage/ui/checkbox.reel", | ||
25 | "name": "Checkbox", | ||
26 | "properties": { | ||
27 | "element": {"#": "disable-checkbox"}, | ||
28 | "checked": true | ||
29 | }, | ||
30 | "bindings": { | ||
31 | "checked" : { | ||
32 | "boundObject": {"@": "owner"}, | ||
33 | "boundObjectPropertyPath": "enabled", | ||
34 | "oneway": false | ||
35 | } | ||
36 | } | ||
37 | }, | ||
38 | "property": { | ||
39 | "module": "js/components/hintable.reel", | ||
40 | "name": "Hintable", | ||
41 | "properties": { | ||
42 | "startOnEvent": "click", | ||
43 | "element": {"#": "property"}, | ||
44 | "identifier": "property" | ||
45 | }, | ||
46 | "bindings": { | ||
47 | "value" : { | ||
48 | "boundObject": {"@": "owner"}, | ||
49 | "boundObjectPropertyPath": "propertyText", | ||
50 | "oneway": true | ||
51 | } | ||
52 | }, | ||
53 | "listeners": [ | ||
54 | { | ||
55 | "type": "change", | ||
56 | "listener": {"@": "owner"} | ||
57 | } | ||
58 | ] | ||
59 | }, | ||
60 | "value": { | ||
61 | "module": "js/components/hintable.reel", | ||
62 | "name": "Hintable", | ||
63 | "properties": { | ||
64 | "startOnEvent": "click", | ||
65 | "element": {"#": "value"}, | ||
66 | "identifier": "value" | ||
67 | }, | ||
68 | "bindings": { | ||
69 | "value" : { | ||
70 | "boundObject": {"@": "owner"}, | ||
71 | "boundObjectPropertyPath": "valueText", | ||
72 | "oneway": true | ||
73 | } | ||
74 | }, | ||
75 | "listeners": [ | ||
76 | { | ||
77 | "type": "change", | ||
78 | "listener": {"@": "owner"} | ||
79 | } | ||
80 | ] | ||
81 | } | ||
82 | } | ||
83 | </script> | ||
84 | </head> | ||
85 | <body> | ||
86 | <div id="container" class="style-item" spellcheck="false" draggable="true"> | ||
87 | <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> | ||
88 | <button data-montage-id="add-style-button" class="add-style-button">Add</button> | ||
89 | </div> | ||
90 | </body> | ||
91 | </html> \ No newline at end of file | ||