aboutsummaryrefslogtreecommitdiff
path: root/js/panels/components-panel.reel/components-panel.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-26 15:55:38 -0700
committerValerio Virgillito2012-03-26 15:55:38 -0700
commit6b9bfb63f6bc22ef1095dc11816826bb83a2c408 (patch)
tree0c5ff0912bc28dc3e06b9f223363413a641cf34d /js/panels/components-panel.reel/components-panel.html
parent309dde5a8c4599cef6a1052c1ff9ee1ad8ec5858 (diff)
downloadninja-6b9bfb63f6bc22ef1095dc11816826bb83a2c408.tar.gz
Cleanup of the components panel
Renamed to naming convention. Deleted un-used file. Signed-off-by: Valerio Virgillito <valerio@motorola.com>
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