diff options
author | Valerio Virgillito | 2012-04-05 11:45:09 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-05 11:45:09 -0700 |
commit | 91ffa45e4eb69b1434460f9b6c618745ac19a74e (patch) | |
tree | 6d57b91e8c114aa7fa0f29666549d93841d6bf7e /js/panels/components-panel.reel/components-panel.html | |
parent | 17ca01f54591187f5c0812c0fd2cb7260afa9639 (diff) | |
parent | b60e576af3915ce0cd7b60ed5e8ed6ff6f1ea9dc (diff) | |
download | ninja-91ffa45e4eb69b1434460f9b6c618745ac19a74e.tar.gz |
Merge pull request #153 from mencio/components
Components panel cleanup and displaying only simple properties.
Diffstat (limited to 'js/panels/components-panel.reel/components-panel.html')
-rwxr-xr-x | js/panels/components-panel.reel/components-panel.html | 65 |
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 | ||