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 | 81 |
1 files changed, 81 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..b1381bc6 --- /dev/null +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html | |||
@@ -0,0 +1,81 @@ | |||
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 | "oneway": true | ||
30 | } | ||
31 | } | ||
32 | }, | ||
33 | "repetition": { | ||
34 | "prototype": "montage/ui/repetition.reel", | ||
35 | "properties": { | ||
36 | "element": {"#": "declaration-list"}, | ||
37 | "contentController": {"@": "arrayController"} | ||
38 | } | ||
39 | }, | ||
40 | "styleItem": { | ||
41 | "prototype": "js/panels/css-panel/css-style.reel", | ||
42 | "properties": { | ||
43 | "element" : {"#": "style-item"}, | ||
44 | "declaration": {"@": "owner"} | ||
45 | }, | ||
46 | "bindings": { | ||
47 | "source" : { | ||
48 | "boundObject": {"@": "repetition"}, | ||
49 | "boundObjectPropertyPath": "objectAtCurrentIteration", | ||
50 | "oneway": true | ||
51 | }, | ||
52 | "propertyText" : { | ||
53 | "boundObject": {"@": "repetition"}, | ||
54 | "boundObjectPropertyPath": "objectAtCurrentIteration.name" | ||
55 | }, | ||
56 | "valueText" : { | ||
57 | "boundObject": {"@": "repetition"}, | ||
58 | "boundObjectPropertyPath": "objectAtCurrentIteration.value" | ||
59 | }, | ||
60 | "empty" : { | ||
61 | "boundObject": {"@": "repetition"}, | ||
62 | "boundObjectPropertyPath": "objectAtCurrentIteration.isEmpty" | ||
63 | }, | ||
64 | "delegate": { | ||
65 | "boundObject": {"@": "owner"}, | ||
66 | "boundObjectPropertyPath": "focusDelegate" | ||
67 | } | ||
68 | } | ||
69 | } | ||
70 | |||
71 | } | ||
72 | </script> | ||
73 | </head> | ||
74 | <body> | ||
75 | <div id="container"> | ||
76 | <dl data-montage-id="declaration-list" class="declaration-list"> | ||
77 | <div data-montage-id="style-item"></div> | ||
78 | </dl> | ||
79 | </div> | ||
80 | </body> | ||
81 | </html> \ No newline at end of file | ||