aboutsummaryrefslogtreecommitdiff
path: root/js/panels/objects/objects-panel.reel/objects-panel.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/objects/objects-panel.reel/objects-panel.html')
-rw-r--r--js/panels/objects/objects-panel.reel/objects-panel.html70
1 files changed, 70 insertions, 0 deletions
diff --git a/js/panels/objects/objects-panel.reel/objects-panel.html b/js/panels/objects/objects-panel.reel/objects-panel.html
new file mode 100644
index 00000000..d68a59c0
--- /dev/null
+++ b/js/panels/objects/objects-panel.reel/objects-panel.html
@@ -0,0 +1,70 @@
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>
8<head>
9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10 <link rel="stylesheet" type="text/css" href="objects-panel.css">
11
12 <script type="text/montage-serialization">
13 {
14 "owner": {
15 "prototype": "js/panels/objects/objects-panel.reel",
16 "properties": {
17 "element": {"#": "objects-panel"}
18 }
19 },
20 "repetition" : {
21 "prototype": "montage/ui/repetition.reel",
22 "properties": {
23 "element": {"#": "list"},
24 "contentController": {"@": "arrayController"}
25 }
26 },
27 "arrayController": {
28 "prototype": "montage/ui/controller/array-controller",
29 "bindings": {
30 "content" : {
31 "boundObject": {"@": "owner"},
32 "boundObjectPropertyPath": "objects",
33 "oneway": true
34 }
35 }
36 },
37 "objectComponent": {
38 "prototype": "js/panels/objects/object.reel",
39 "properties": {
40 "element": {"#": "list-item"}
41 },
42 "bindings": {
43 "sourceObject" : {
44 "boundObject": {"@": "repetition"},
45 "boundObjectPropertyPath": "objectAtCurrentIteration",
46 "oneway": true
47 },
48 "identifier" : {
49 "boundObject": {"@": "repetition"},
50 "boundObjectPropertyPath": "objectAtCurrentIteration.identifier",
51 "oneway": true
52 }
53 }
54 }
55
56 }
57 </script>
58
59</head>
60<body>
61
62
63<section data-montage-id="objects-panel" class="objects-panel">
64 <ul data-montage-id="list" class="objects-list">
65 <li data-montage-id="list-item" class="list-item"></li>
66 </ul>
67</section>
68
69</body>
70</html>