aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout/bread-crumb-button.reel/bread-crumb-button.html
diff options
context:
space:
mode:
authorJose Antonio Marquez Russo2012-07-12 23:40:46 -0700
committerJose Antonio Marquez Russo2012-07-12 23:40:46 -0700
commit644b9d5d2a3c01fd0b7515471f0fc29ddc395ec0 (patch)
treece321e98d88a1c8abe34ac2b6e2c8044fa5c23a2 /js/components/layout/bread-crumb-button.reel/bread-crumb-button.html
parent3f5958b79392457bb13e65819d502065d05b1db1 (diff)
parent73077acd7b5d9548539dccdf7a3e3c15af18a38a (diff)
downloadninja-644b9d5d2a3c01fd0b7515471f0fc29ddc395ec0.tar.gz
Merge pull request #42 from mencio/breadcrumb-container
adding a container around the breadcrumb button
Diffstat (limited to 'js/components/layout/bread-crumb-button.reel/bread-crumb-button.html')
-rwxr-xr-xjs/components/layout/bread-crumb-button.reel/bread-crumb-button.html75
1 files changed, 75 insertions, 0 deletions
diff --git a/js/components/layout/bread-crumb-button.reel/bread-crumb-button.html b/js/components/layout/bread-crumb-button.reel/bread-crumb-button.html
new file mode 100755
index 00000000..6c881277
--- /dev/null
+++ b/js/components/layout/bread-crumb-button.reel/bread-crumb-button.html
@@ -0,0 +1,75 @@
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 lang="en">
33 <head>
34 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
35 <link rel="stylesheet" type="text/css" href="bread-crumb-button.css">
36
37
38 <script type="text/montage-serialization">
39 {
40 "owner": {
41 "prototype": "js/components/layout/bread-crumb-button.reel",
42 "properties": {
43 "element": {"#": "breadcrumb_container"}
44
45 }
46 },
47
48 "breadCrumbButton": {
49 "prototype": "montage/ui/native/button.reel",
50 "properties": {
51 "element": {"#": "breadcrumb_button"}
52 },
53 "listeners": [
54 {
55 "type": "action",
56 "listener": {"@": "owner"}
57 }
58 ],
59 "bindings": {
60 "label": {"<-": "@owner.label"},
61 "value": {"<-": "@owner.value"}
62 }
63 }
64 }
65 </script>
66
67 </head>
68 <body>
69
70 <div data-montage-id="breadcrumb_container">
71 <button data-montage-id="breadcrumb_button" class="nj-skinned"></button>
72 </div>
73
74 </body>
75</html>