diff options
Diffstat (limited to 'js/panels/css-panel/rule-list.reel/rule-list.html')
-rw-r--r-- | js/panels/css-panel/rule-list.reel/rule-list.html | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/js/panels/css-panel/rule-list.reel/rule-list.html b/js/panels/css-panel/rule-list.reel/rule-list.html new file mode 100644 index 00000000..efede847 --- /dev/null +++ b/js/panels/css-panel/rule-list.reel/rule-list.html | |||
@@ -0,0 +1,82 @@ | |||
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="rule-list.css" type="text/css" rel="stylesheet"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "owner": { | ||
14 | "module" : "js/panels/css-panel/rule-list.reel", | ||
15 | "name" : "RuleList", | ||
16 | "properties" : { | ||
17 | "element" : {"#" : "rule-list"} | ||
18 | } | ||
19 | } | ||
20 | } | ||
21 | </script> | ||
22 | <script type="text/json"> | ||
23 | , | ||
24 | "ruleListController": { | ||
25 | "module":"montage/ui/controller/array-controller", | ||
26 | "name": "ArrayController", | ||
27 | "bindings": { | ||
28 | "content" : { | ||
29 | "boundObject": {"@": "owner"}, | ||
30 | "boundObjectPropertyPath": "contentController.ruleList", | ||
31 | "oneway": true | ||
32 | } | ||
33 | } | ||
34 | }, | ||
35 | "ruleList": { | ||
36 | "module" : "montage/ui/repetition.reel", | ||
37 | "name": "Repetition", | ||
38 | "properties": { | ||
39 | "element": {"#": "rules-list"} | ||
40 | }, | ||
41 | "bindings": { | ||
42 | "objects" : { | ||
43 | "boundObject": {"@": "owner"}, | ||
44 | "boundObjectPropertyPath": "contentController.ruleList", | ||
45 | "oneway": true | ||
46 | } | ||
47 | } | ||
48 | }, | ||
49 | "slot": { | ||
50 | "module" : "montage/ui/slot.reel", | ||
51 | "name" : "Slot", | ||
52 | "properties" : { | ||
53 | "element" : {"#" : "rule-item"} | ||
54 | }, | ||
55 | "bindings": { | ||
56 | "rule" : { | ||
57 | "boundObject": {"@": "ruleList"}, | ||
58 | "boundObjectPropertyPath": "objectAtCurrentIteration", | ||
59 | "oneway": true | ||
60 | } | ||
61 | } | ||
62 | }, | ||
63 | "ruleContainer": { | ||
64 | "module": "js/panels/css-panel/rule-container.reel", | ||
65 | "name": "RuleContainer", | ||
66 | "properties": { | ||
67 | "element": {"#": "rule-item"} | ||
68 | }, | ||
69 | "bindings": { | ||
70 | "rule" : { | ||
71 | "boundObject": {"@": "ruleList"}, | ||
72 | "boundObjectPropertyPath": "objectAtCurrentIteration", | ||
73 | "oneway": true | ||
74 | } | ||
75 | } | ||
76 | } | ||
77 | </script> | ||
78 | </head> | ||
79 | <body> | ||
80 | <ul id="rule-list" class="rule-list"></ul> | ||
81 | </body> | ||
82 | </html> \ No newline at end of file | ||