diff options
Diffstat (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html')
-rw-r--r-- | js/panels/css-panel/style-declaration.reel/style-declaration.html | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html new file mode 100644 index 00000000..fced7d7a --- /dev/null +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html | |||
@@ -0,0 +1,75 @@ | |||
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-declaration.css" rel="stylesheet" type="text/css" /> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "owner": { | ||
14 | "module" : "js/panels/css-panel/style-declaration.reel", | ||
15 | "name" : "Declaration", | ||
16 | "properties" : { | ||
17 | "element" : {"#" : "container"}, | ||
18 | "arrayController": {"@": "arrayController"}, | ||
19 | "styleComponent": {"@":"styleItem"}, | ||
20 | "repetition": {"@": "repetition"} | ||
21 | } | ||
22 | }, | ||
23 | "arrayController": { | ||
24 | "prototype": "montage/ui/controller/array-controller", | ||
25 | "bindings": { | ||
26 | "content": { | ||
27 | "boundObject": {"@": "owner"}, | ||
28 | "boundObjectPropertyPath": "styles" | ||
29 | } | ||
30 | } | ||
31 | }, | ||
32 | "repetition": { | ||
33 | "prototype": "montage/ui/repetition.reel", | ||
34 | "properties": { | ||
35 | "element": {"#": "declaration-list"}, | ||
36 | "contentController": {"@": "arrayController"} | ||
37 | } | ||
38 | }, | ||
39 | "styleItem": { | ||
40 | "prototype": "js/panels/css-panel/css-style.reel", | ||
41 | "properties": { | ||
42 | "element" : {"#": "style-item"}, | ||
43 | "declaration": {"@": "owner"} | ||
44 | }, | ||
45 | "bindings": { | ||
46 | "propertyText" : { | ||
47 | "boundObject": {"@": "repetition"}, | ||
48 | "boundObjectPropertyPath": "objectAtCurrentIteration.name" | ||
49 | }, | ||
50 | "valueText" : { | ||
51 | "boundObject": {"@": "repetition"}, | ||
52 | "boundObjectPropertyPath": "objectAtCurrentIteration.value" | ||
53 | }, | ||
54 | "empty" : { | ||
55 | "boundObject": {"@": "repetition"}, | ||
56 | "boundObjectPropertyPath": "objectAtCurrentIteration.isEmpty" | ||
57 | }, | ||
58 | "delegate": { | ||
59 | "boundObject": {"@": "owner"}, | ||
60 | "boundObjectPropertyPath": "focusDelegate" | ||
61 | } | ||
62 | } | ||
63 | } | ||
64 | |||
65 | } | ||
66 | </script> | ||
67 | </head> | ||
68 | <body> | ||
69 | <div id="container"> | ||
70 | <dl data-montage-id="declaration-list" class="declaration-list"> | ||
71 | <div data-montage-id="style-item"></div> | ||
72 | </dl> | ||
73 | </div> | ||
74 | </body> | ||
75 | </html> \ No newline at end of file | ||