diff options
Diffstat (limited to 'js/panels/css-panel/style.reel/style.html')
-rw-r--r-- | js/panels/css-panel/style.reel/style.html | 77 |
1 files changed, 77 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..0d438ead --- /dev/null +++ b/js/panels/css-panel/style.reel/style.html | |||
@@ -0,0 +1,77 @@ | |||
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 | }, | ||
45 | "bindings": { | ||
46 | "value" : { | ||
47 | "boundObject": {"@": "owner"}, | ||
48 | "boundObjectPropertyPath": "propertyText", | ||
49 | "oneway": true | ||
50 | } | ||
51 | } | ||
52 | }, | ||
53 | "value": { | ||
54 | "module": "js/components/hintable.reel", | ||
55 | "name": "Hintable", | ||
56 | "properties": { | ||
57 | "startOnEvent": "click", | ||
58 | "element": {"#": "value"} | ||
59 | }, | ||
60 | "bindings": { | ||
61 | "value" : { | ||
62 | "boundObject": {"@": "owner"}, | ||
63 | "boundObjectPropertyPath": "valueText", | ||
64 | "oneway": true | ||
65 | } | ||
66 | } | ||
67 | } | ||
68 | } | ||
69 | </script> | ||
70 | </head> | ||
71 | <body> | ||
72 | <div id="container" class="style-item" spellcheck="false" draggable="true"> | ||
73 | <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> | ||
74 | <button data-montage-id="add-style-button" class="add-style-button">Add</button> | ||
75 | </div> | ||
76 | </body> | ||
77 | </html> \ No newline at end of file | ||