diff options
author | Pierre Frisch | 2011-12-22 07:25:50 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-27 11:18:17 -0800 |
commit | b89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch) | |
tree | 0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /js/components/menu/menu-entry.reel/menu-entry.html | |
parent | 2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff) | |
download | ninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz |
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'js/components/menu/menu-entry.reel/menu-entry.html')
-rw-r--r-- | js/components/menu/menu-entry.reel/menu-entry.html | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/js/components/menu/menu-entry.reel/menu-entry.html b/js/components/menu/menu-entry.reel/menu-entry.html new file mode 100644 index 00000000..bba5e65d --- /dev/null +++ b/js/components/menu/menu-entry.reel/menu-entry.html | |||
@@ -0,0 +1,81 @@ | |||
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="menu-entry.css"> | ||
11 | |||
12 | <script type="text/montage-serialization"> | ||
13 | { | ||
14 | "entriesController": { | ||
15 | "name": "ArrayController", | ||
16 | "module": "montage/ui/controller/array-controller", | ||
17 | "properties": { | ||
18 | "automaticallyOrganizeObjects": false | ||
19 | }, | ||
20 | "bindings": { | ||
21 | "content": { | ||
22 | "boundObject": {"@": "owner"}, | ||
23 | "boundObjectPropertyPath": "data.entries", | ||
24 | "oneway": true | ||
25 | } | ||
26 | } | ||
27 | }, | ||
28 | |||
29 | "repetition": { | ||
30 | "module": "montage/ui/repetition.reel", | ||
31 | "name": "Repetition", | ||
32 | "properties": { | ||
33 | "element": { "#": "subEntries" }, | ||
34 | "contentController": {"@": "entriesController"} | ||
35 | } | ||
36 | }, | ||
37 | |||
38 | "menuItem": { | ||
39 | "module": "js/components/menu/menu-item.reel", | ||
40 | "name": "MenuItem", | ||
41 | "properties": { | ||
42 | "element": { "#": "menuEntryItem" } | ||
43 | }, | ||
44 | "bindings": { | ||
45 | "data": { | ||
46 | "boundObject": {"@": "repetition"}, | ||
47 | "boundObjectPropertyPath": "objectAtCurrentIteration", | ||
48 | "oneway": true | ||
49 | } | ||
50 | } | ||
51 | }, | ||
52 | |||
53 | "owner": { | ||
54 | "module": "js/components/menu/menu-entry.reel", | ||
55 | "name": "MenuEntry", | ||
56 | "properties": { | ||
57 | "element": {"#": "menuItem"}, | ||
58 | "topHeader": {"#": "topHeaderBackground"}, | ||
59 | "topHeaderText": {"#": "topHeaderText"}, | ||
60 | "subEntries": {"#": "subEntries"} | ||
61 | } | ||
62 | } | ||
63 | } | ||
64 | </script> | ||
65 | |||
66 | </head> | ||
67 | <body> | ||
68 | |||
69 | <li id="menuItem" class="topMenuItem"> | ||
70 | <div id="topHeaderBackground" class="menubg"> | ||
71 | <span id="topHeaderText" class="menu-label"></span> | ||
72 | </div> | ||
73 | |||
74 | <ul id="subEntries" class="subEntries" style="z-index: 9991;"> | ||
75 | <li id="menuEntryItem"></li> | ||
76 | </ul> | ||
77 | |||
78 | </li> | ||
79 | |||
80 | </body> | ||
81 | </html> | ||