aboutsummaryrefslogtreecommitdiff
path: root/js/components/menu/menu.reel/menu.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-07-17 23:34:57 -0700
committerValerio Virgillito2012-07-17 23:34:57 -0700
commit8f78cb1377009dabde95f4a81d5090b79b9de0da (patch)
tree4b984909acba691eac8376e3b60412f632e3cdc3 /js/components/menu/menu.reel/menu.html
parent4f737b24c19ddc02d20f9783b8b080fc6ef11142 (diff)
downloadninja-8f78cb1377009dabde95f4a81d5090b79b9de0da.tar.gz
menu design update and bug fixes - Moved Preview to the document bar
- Redesigned the menu and improved DOM structure. - Removed un-used entires - Fixed layout and snap entries - Moved the preview button to the document bar. - Fixes for bugs: #1750, #1867, #1876, #1895 Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/menu/menu.reel/menu.html')
-rwxr-xr-xjs/components/menu/menu.reel/menu.html97
1 files changed, 0 insertions, 97 deletions
diff --git a/js/components/menu/menu.reel/menu.html b/js/components/menu/menu.reel/menu.html
deleted file mode 100755
index edbb8522..00000000
--- a/js/components/menu/menu.reel/menu.html
+++ /dev/null
@@ -1,97 +0,0 @@
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/data/menu-data",
41 "bindings": {
42 "currentDocument": {"<-": "@owner.currentDocument"}
43 }
44 },
45
46 "menuController": {
47 "prototype": "montage/ui/controller/array-controller",
48 "properties": {
49 "automaticallyOrganizeObjects": false
50 },
51 "bindings": {
52 "content": {"<-": "@menudata.topLevelMenu"}
53 }
54 },
55
56 "repetition": {
57 "prototype": "montage/ui/repetition.reel",
58 "properties": {
59 "element": { "#": "topMenu" }
60 },
61 "bindings": {
62 "objects": {"<-": "@menudata.topLevelMenu"}
63 }
64 },
65
66 "menuEntry": {
67 "prototype": "js/components/menu/menu-entry.reel",
68 "properties": {
69 "element": { "#": "menuItem" }
70 },
71 "bindings": {
72 "data": {"<-": "@repetition.objectAtCurrentIteration"},
73 "menuIsActive": {"<-": "@owner.active"}
74 }
75 },
76
77 "owner": {
78 "prototype": "js/components/menu/menu.reel",
79 "properties": {
80 "element": {"#": "mainMenuBar"}
81 }
82 }
83 }
84 </script>
85
86</head>
87<body>
88
89 <nav data-montage-id="mainMenuBar" class="mainMenuBar unselectable">
90 <ul data-montage-id="topMenu" class="horizontal-menu">
91 <li data-montage-id="menuItem"></li>
92 </ul>
93 </nav>
94
95
96</body>
97</html>