diff options
author | Valerio Virgillito | 2012-02-16 22:08:04 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-16 22:08:04 -0800 |
commit | 0175cb67e426a27a3ecfb7b81317caa383c8a5a5 (patch) | |
tree | b4fbfcaabaadff508ad5463e8f71fd643995aacb /js/panels/presets/style-presets.reel/style-presets.html | |
parent | fe71cb9aa1700199c0089166ad54fc56eb760644 (diff) | |
parent | 9f0c4efe2ed9a00f2c5d85c9d88a8040fedb5d8f (diff) | |
download | ninja-0175cb67e426a27a3ecfb7b81317caa383c8a5a5.tar.gz |
Merge branch 'refs/heads/master' into components
Diffstat (limited to 'js/panels/presets/style-presets.reel/style-presets.html')
-rw-r--r-- | js/panels/presets/style-presets.reel/style-presets.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/js/panels/presets/style-presets.reel/style-presets.html b/js/panels/presets/style-presets.reel/style-presets.html new file mode 100644 index 00000000..0db4d3c0 --- /dev/null +++ b/js/panels/presets/style-presets.reel/style-presets.html | |||
@@ -0,0 +1,59 @@ | |||
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" href="style-presets.css" type="text/css"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "owner": { | ||
14 | "module" : "js/panels/presets/style-presets.reel", | ||
15 | "name" : "StylesLibrary", | ||
16 | "properties" : { | ||
17 | "element" : {"#" : "stylesLibrary"}, | ||
18 | "treeList" : {"@" : "treeList"} | ||
19 | } | ||
20 | }, | ||
21 | "presetsController" : { | ||
22 | "module": "js/controllers/tree-controller", | ||
23 | "name": "TreeController", | ||
24 | "properties" : { | ||
25 | "branchKey" : "children", | ||
26 | "labelKey" : "text", | ||
27 | "delegate": {"@": "owner" } | ||
28 | }, | ||
29 | "bindings": { | ||
30 | "content": { | ||
31 | "boundObject": {"@": "owner"}, | ||
32 | "boundObjectPropertyPath": "presetData" | ||
33 | } | ||
34 | } | ||
35 | }, | ||
36 | "presetsContainer" : { | ||
37 | "module" : "js/components/treeview/treeview.reel", | ||
38 | "name" : "Treeview", | ||
39 | "properties" : { | ||
40 | "element" : {"#": "libraryContainer"}, | ||
41 | "branchComponent" : {"@": "branch" }, | ||
42 | "contentController": {"@": "presetsController"}, | ||
43 | "activationEvent" : "dblclick", | ||
44 | "showRoot" : false | ||
45 | } | ||
46 | }, | ||
47 | "branch" : { | ||
48 | "module" : "js/components/treeview/ninja-branch.reel", | ||
49 | "name" : "Branch" | ||
50 | } | ||
51 | } | ||
52 | </script> | ||
53 | </head> | ||
54 | <body> | ||
55 | <section id="stylesLibrary" class="stylesLibrary"> | ||
56 | <div id="libraryContainer"></div> | ||
57 | </section> | ||
58 | </body> | ||
59 | </html> \ No newline at end of file | ||