aboutsummaryrefslogtreecommitdiff
path: root/js/ui/menu/menu.reel/menu.html
diff options
context:
space:
mode:
authorEric Guzman2012-07-20 11:24:19 -0700
committerEric Guzman2012-07-20 11:24:19 -0700
commit3cc29231852440508bdeec1964e40ce59f979f99 (patch)
tree2faaf3d49337437e4a84818fe24dc64a60f8c611 /js/ui/menu/menu.reel/menu.html
parent8fdf2fc8aefee68aec4c7b5891e0375f704cbf26 (diff)
parent9053e2037821a5c8405fabb74db9635deacfe8d5 (diff)
downloadninja-3cc29231852440508bdeec1964e40ce59f979f99.tar.gz
Merge branch 'refs/heads/master' into fixes_7.1
Diffstat (limited to 'js/ui/menu/menu.reel/menu.html')
-rwxr-xr-xjs/ui/menu/menu.reel/menu.html94
1 files changed, 94 insertions, 0 deletions
diff --git a/js/ui/menu/menu.reel/menu.html b/js/ui/menu/menu.reel/menu.html
new file mode 100755
index 00000000..4708c2cb
--- /dev/null
+++ b/js/ui/menu/menu.reel/menu.html
@@ -0,0 +1,94 @@
1<!DOCTYPE html>
2<!-- <copyright>
3Copyright (c) 2012, Motorola Mobility LLC.
4All Rights Reserved.
5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met:
8
9* Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11
12* Redistributions in binary form must reproduce the above copyright notice,
13 this list of conditions and the following disclaimer in the documentation
14 and/or other materials provided with the distribution.
15
16* Neither the name of Motorola Mobility LLC nor the names of its
17 contributors may be used to endorse or promote products derived from this
18 software without specific prior written permission.
19
20THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
24LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30POSSIBILITY OF SUCH DAMAGE.
31</copyright> -->
32<html>
33<head>
34 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
35 <link rel="stylesheet" type="text/css" href="menu.css">
36
37 <script type="text/montage-serialization">
38 {
39 "menudata": {
40 "prototype": "js/ui/menu/menu-controller",
41 "bindings": {
42 "currentDocument": {"<-": "@owner.currentDocument"}
43 }
44 },
45
46 "menuController": {
47 "prototype": "montage/ui/controller/array-controller",
48 "bindings": {
49 "content": {"<-": "@menudata.topLevelMenu"}
50 }
51 },
52
53 "repetition": {
54 "prototype": "montage/ui/repetition.reel",
55 "properties": {
56 "element": { "#": "topMenu" },
57 "contentController": {"@": "menuController"}
58 }
59 },
60
61 "menuEntry": {
62 "prototype": "js/ui/menu/menu-entry.reel",
63 "properties": {
64 "element": { "#": "menuItem" }
65 },
66 "bindings": {
67 "label": {"<-": "@repetition.objectAtCurrentIteration.label"},
68 "entries": {"<-": "@repetition.objectAtCurrentIteration.entries"},
69 "menuIsActive": {"<-": "@owner.active"}
70 }
71 },
72
73 "owner": {
74 "prototype": "js/ui/menu/menu.reel",
75 "properties": {
76 "element": {"#": "mainMenuBar"},
77 "menudata": {"@": "menudata"}
78 }
79 }
80 }
81 </script>
82
83</head>
84<body>
85
86 <nav data-montage-id="mainMenuBar" class="mainMenuBar unselectable">
87 <ul data-montage-id="topMenu" class="horizontal-menu">
88 <li data-montage-id="menuItem"></li>
89 </ul>
90 </nav>
91
92
93</body>
94</html>