aboutsummaryrefslogtreecommitdiff
path: root/js/components/menu/menu-item.reel/menu-item.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-07-18 16:24:45 -0700
committerValerio Virgillito2012-07-18 16:24:45 -0700
commitf79f7c540d8533eed8fc562b809e15dcfea94438 (patch)
tree955b0d51fb163fb0a5165a6e16bf503de4cda712 /js/components/menu/menu-item.reel/menu-item.html
parent71650434d5b78c2b86dc8a689d0c9034d418f38b (diff)
parent6f2e455a77179f81dfd19037c078c158d3e14ee2 (diff)
downloadninja-f79f7c540d8533eed8fc562b809e15dcfea94438.tar.gz
Merge branch 'menu-fixes' of https://github.com/mencio/ninja
Diffstat (limited to 'js/components/menu/menu-item.reel/menu-item.html')
-rwxr-xr-xjs/components/menu/menu-item.reel/menu-item.html97
1 files changed, 0 insertions, 97 deletions
diff --git a/js/components/menu/menu-item.reel/menu-item.html b/js/components/menu/menu-item.reel/menu-item.html
deleted file mode 100755
index 364a0997..00000000
--- a/js/components/menu/menu-item.reel/menu-item.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-item.css">
36
37 <script type="text/montage-serialization">
38 {
39 "entriesController": {
40 "prototype": "montage/ui/controller/array-controller",
41 "properties": {
42 "automaticallyOrganizeObjects": false
43 },
44 "bindings": {
45 "content": {"<-": "@owner.subentries"}
46 }
47 },
48
49 "repetition": {
50 "prototype": "montage/ui/repetition.reel",
51 "properties": {
52 "element": {"#": "subEntries"},
53 "contentController": {"@": "entriesController"}
54 }
55 },
56
57 "menuItem": {
58 "prototype": "js/components/menu/menu-item.reel",
59 "properties": {
60 "element": {"#": "menuEntryItem" }
61 },
62 "bindings": {
63 "data": {"<-": "@repetition.objectAtCurrentIteration"},
64 "enabled": {"<-": "@repetition.objectAtCurrentIteration.enabled"}
65 }
66 },
67
68 "owner": {
69 "prototype": "js/components/menu/menu-item.reel",
70 "properties": {
71 "element": {"#": "menuItem"},
72 "itemBackground": {"#": "menuItemBackground"},
73 "itemText": {"#": "menuItemText"},
74 "subMenu": {"#": "subEntries"}
75 }
76 }
77 }
78 </script>
79
80</head>
81<body>
82
83 <li data-montage-id="menuItem" class="menuItem">
84 <div data-montage-id="menuItemBackground" class="menubg">
85 <span class="check"></span>
86 <span data-montage-id="menuItemText" class="menu-label"></span>
87 <span class="rightArrow"></span>
88
89 <ul data-montage-id="subEntries" class="subEntries" style="display: none">
90 <li data-montage-id="menuEntryItem"></li>
91 </ul>
92
93 </div>
94 </li>
95
96</body>
97</html>