diff options
author | John Mayhew | 2012-07-09 17:28:24 -0700 |
---|---|---|
committer | John Mayhew | 2012-07-09 17:28:24 -0700 |
commit | 770bcb52422742ff741a88a75ecefbeb90bc9247 (patch) | |
tree | 64cb3e09a8daeb340261dd7f3869c73f7b90b643 /js/document/templates/html/index.html | |
parent | 8c5ecaf90062f9e030386f338bdc19fd62b826c8 (diff) | |
parent | 2b2b5fbb4b6a786daa4e9d4ee9eba9ac78924842 (diff) | |
download | ninja-770bcb52422742ff741a88a75ecefbeb90bc9247.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal
Conflicts:
manifest.json
Diffstat (limited to 'js/document/templates/html/index.html')
-rwxr-xr-x | js/document/templates/html/index.html | 103 |
1 files changed, 52 insertions, 51 deletions
diff --git a/js/document/templates/html/index.html b/js/document/templates/html/index.html index 2677ade6..953564b5 100755 --- a/js/document/templates/html/index.html +++ b/js/document/templates/html/index.html | |||
@@ -1,25 +1,26 @@ | |||
1 | <!DOCTYPE html> | 1 | <!doctype html> |
2 | <!-- <copyright> | 2 | <!-- <copyright> |
3 | Copyright (c) 2012, Motorola Mobility, Inc | 3 | Copyright (c) 2012, Motorola Mobility LLC. |
4 | All Rights Reserved. | 4 | All Rights Reserved. |
5 | BSD License. | ||
6 | 5 | ||
7 | Redistribution and use in source and binary forms, with or without | 6 | Redistribution and use in source and binary forms, with or without |
8 | modification, are permitted provided that the following conditions are met: | 7 | modification, are permitted provided that the following conditions are met: |
9 | 8 | ||
10 | - Redistributions of source code must retain the above copyright notice, | 9 | * Redistributions of source code must retain the above copyright notice, |
11 | this list of conditions and the following disclaimer. | 10 | this list of conditions and the following disclaimer. |
12 | - Redistributions in binary form must reproduce the above copyright | 11 | |
13 | notice, this list of conditions and the following disclaimer in the | 12 | * Redistributions in binary form must reproduce the above copyright notice, |
14 | documentation and/or other materials provided with the distribution. | 13 | this list of conditions and the following disclaimer in the documentation |
15 | - Neither the name of Motorola Mobility nor the names of its contributors | 14 | and/or other materials provided with the distribution. |
16 | may be used to endorse or promote products derived from this software | 15 | |
17 | without specific prior written permission. | 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. | ||
18 | 19 | ||
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
20 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
21 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
22 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | 23 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
23 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 24 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
24 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | 25 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
25 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | 26 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
@@ -28,37 +29,37 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |||
28 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 29 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
29 | POSSIBILITY OF SUCH DAMAGE. | 30 | POSSIBILITY OF SUCH DAMAGE. |
30 | </copyright> --> | 31 | </copyright> --> |
31 | 32 | ||
32 | 33 | ||
33 | <!-- | 34 | <!-- |
34 | NOTE(s): | 35 | NOTE(s): |
35 | All elements in the head of the document to be exclude from I/O | 36 | All elements in the head of the document to be exclude from I/O |
36 | must set the 'data-ninja-template' | 37 | must set the 'data-ninja-template' |
37 | data-ninja-template="true" | 38 | data-ninja-template="true" |
38 | --> | 39 | --> |
39 | 40 | ||
40 | <!-- TODO: Determine if loading Montage is always needed or if it could be done author-time or on file open --> | 41 | <!-- TODO: Determine if loading Montage is always needed or if it could be done author-time or on file open --> |
41 | 42 | ||
42 | <html> | 43 | <html> |
43 | 44 | ||
44 | <head> | 45 | <head> |
45 | 46 | ||
46 | <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true"> | 47 | <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true"> |
47 | * { | 48 | * { |
48 | -webkit-animation: none !important; | 49 | -webkit-animation: none !important; |
49 | -webkit-transition-duration: 0s !important; | 50 | -webkit-transition-duration: 0s !important; |
50 | -webkit-animation-duration: 0s !important; | 51 | -webkit-animation-duration: 0s !important; |
51 | -webkit-animation-name: none !important; | 52 | -webkit-animation-name: none !important; |
52 | -webkit-animation-fill-mode: none !important; | 53 | -webkit-animation-fill-mode: none !important; |
53 | } | 54 | } |
54 | 55 | ||
55 | body { | 56 | body { |
56 | margin: 0; | 57 | margin: 0; |
57 | padding: 0; | 58 | padding: 0; |
58 | position: absolute; | 59 | position: absolute; |
59 | -webkit-transform-style: preserve-3d; | 60 | -webkit-transform-style: preserve-3d; |
60 | -webkit-transform: perspective(1400) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); | 61 | -webkit-transform: perspective(1400) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); |
61 | } | 62 | } |
62 | 63 | ||
63 | html { | 64 | html { |
64 | overflow: scroll; | 65 | overflow: scroll; |
@@ -68,18 +69,18 @@ POSSIBILITY OF SUCH DAMAGE. | |||
68 | width: 100%; | 69 | width: 100%; |
69 | height: 100%; | 70 | height: 100%; |
70 | } | 71 | } |
71 | |||
72 | ninjaloadinghack { | ||
73 | display: none; | ||
74 | } | ||
75 | 72 | ||
76 | .active-element-outline { | 73 | ninjaloadinghack { |
77 | outline: #adff2f solid 2px; | 74 | display: none; |
78 | } | 75 | } |
76 | |||
77 | .active-element-outline { | ||
78 | outline: #adff2f solid 2px; | ||
79 | } | ||
79 | 80 | ||
80 | .nj-preset-transition { | 81 | .nj-preset-transition { |
81 | -webkit-transition: all 450ms linear !important; | 82 | -webkit-transition: all 450ms linear !important; |
82 | } | 83 | } |
83 | 84 | ||
84 | .nj-element-highlight { | 85 | .nj-element-highlight { |
85 | outline: 4px solid #ff0000; | 86 | outline: 4px solid #ff0000; |
@@ -108,7 +109,7 @@ POSSIBILITY OF SUCH DAMAGE. | |||
108 | ::-webkit-resizer:disabled { display: block; } | 109 | ::-webkit-resizer:disabled { display: block; } |
109 | 110 | ||
110 | </style> | 111 | </style> |
111 | 112 | ||
112 | <script type="text/javascript" data-ninja-template="true"> | 113 | <script type="text/javascript" data-ninja-template="true"> |
113 | 114 | ||
114 | function getElement(x,y) { | 115 | function getElement(x,y) { |
@@ -132,9 +133,9 @@ POSSIBILITY OF SUCH DAMAGE. | |||
132 | } | 133 | } |
133 | }); | 134 | }); |
134 | 135 | ||
135 | </script> | 136 | </script> |
136 | 137 | ||
137 | <script type="text/javascript" data-package="../app" src="../../../../node_modules/montage/montage.js" data-ninja-template="true"></script> | 138 | <script type="text/javascript" data-package="../app" src="../../../../node_modules/montage/montage.js" data-ninja-template="true"></script> |
138 | 139 | ||
139 | <script type="text/montage-serialization" data-ninja-template="true"> | 140 | <script type="text/montage-serialization" data-ninja-template="true"> |
140 | { | 141 | { |
@@ -144,8 +145,8 @@ POSSIBILITY OF SUCH DAMAGE. | |||
144 | } | 145 | } |
145 | </script> | 146 | </script> |
146 | 147 | ||
147 | </head> | 148 | </head> |
148 | 149 | ||
149 | <body></body> | 150 | <body></body> |
150 | 151 | ||
151 | </html> | 152 | </html> |