aboutsummaryrefslogtreecommitdiff
path: root/js/panels/components-panel.reel/components-panel.html
diff options
context:
space:
mode:
authorPushkar Joshi2012-04-06 12:13:59 -0700
committerPushkar Joshi2012-04-06 12:13:59 -0700
commit6cce5e9367676f5b452c28dd7d960aa46f4e464c (patch)
tree779125b7c1fc668c02e0dfbb661494a16242c329 /js/panels/components-panel.reel/components-panel.html
parentf61545fd7054088efc88aafffd78e11df80d750d (diff)
parent7656b6eac7aec59697c6cddbe2a507fe9e4aa187 (diff)
downloadninja-6cce5e9367676f5b452c28dd7d960aa46f4e464c.tar.gz
Merge branch 'master' into pentool
Diffstat (limited to 'js/panels/components-panel.reel/components-panel.html')
-rwxr-xr-xjs/panels/components-panel.reel/components-panel.html65
1 files changed, 65 insertions, 0 deletions
diff --git a/js/panels/components-panel.reel/components-panel.html b/js/panels/components-panel.reel/components-panel.html
new file mode 100755
index 00000000..f598a1ee
--- /dev/null
+++ b/js/panels/components-panel.reel/components-panel.html
@@ -0,0 +1,65 @@
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 rel="stylesheet" type="text/css" href="components-panel.css">
11
12 <script type="text/montage-serialization">
13 {
14 "owner": {
15 "module": "js/panels/components-panel.reel",
16 "name": "ComponentsPanel",
17 "properties": {
18 "element": {"#": "components_panel"},
19 "controller": {"@": "componentsTree"}
20 }
21 },
22
23 "componentsController" : {
24 "module": "js/components/controllers/tree-controller",
25 "name": "TreeController",
26 "properties" : {
27 "branchKey" : "children",
28 "labelKey" : "text",
29 "delegate": {"@": "owner" }
30 },
31 "bindings": {
32 "content": {
33 "boundObject": {"@": "owner"},
34 "boundObjectPropertyPath": "components"
35 }
36 }
37 },
38
39 "componentsTree" : {
40 "module" : "js/components/treeview/treeview.reel",
41 "name" : "Treeview",
42 "properties" : {
43 "element" : {"#": "componentsContainer"},
44 "branchComponent" : {"@": "branch" },
45 "contentController": {"@": "componentsController"},
46 "showRoot" : false
47 }
48 },
49
50 "branch" : {
51 "module" : "js/components/treeview/ninja-branch.reel",
52 "name" : "Branch"
53 }
54 }
55 </script>
56
57 </head>
58 <body>
59
60 <div id="components_panel" class="components_panel">
61 <div id="componentsContainer"></div>
62 </div>
63
64 </body>
65</html> \ No newline at end of file