aboutsummaryrefslogtreecommitdiff
path: root/js/document/templates/html/index.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-11 14:46:51 -0700
committerValerio Virgillito2012-05-11 14:46:51 -0700
commit1fb663b5f348fe2ff5ce86a80e8a61be289eba70 (patch)
tree7ccb54a07eb4adf793bae3f1a4ddd622bd4f9a0c /js/document/templates/html/index.html
parent647a7cf0697debe7b3d6fa0d68cd6b37996d6b59 (diff)
parentd2e1d4eeba4439ed26f2adf1c34991caf44a591f (diff)
downloadninja-1fb663b5f348fe2ff5ce86a80e8a61be289eba70.tar.gz
Merge pull request #222 from joseeight/Document
Adding partial support for templates
Diffstat (limited to 'js/document/templates/html/index.html')
-rwxr-xr-xjs/document/templates/html/index.html78
1 files changed, 78 insertions, 0 deletions
diff --git a/js/document/templates/html/index.html b/js/document/templates/html/index.html
new file mode 100755
index 00000000..a1b8b242
--- /dev/null
+++ b/js/document/templates/html/index.html
@@ -0,0 +1,78 @@
1<!DOCTYPE html>
2<!-- <copyright>
3 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
4 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
5 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
6 </copyright> -->
7
8
9<!--
10 NOTE(s):
11 All elements in the head of the document to be exclude from I/O
12 must set the 'data-ninja-template'
13 data-ninja-template="true"
14-->
15<html>
16
17 <head>
18
19 <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true">
20 * {
21 -webkit-transition-duration: 0s !important;
22 -webkit-animation-duration: 0s !important;
23 -webkit-animation-name: none !important;
24 }
25
26 body {
27 margin: 0;
28 padding: 0;
29 position: absolute;
30 -webkit-transform-style: preserve-3d;
31 -webkit-transform: perspective(1400) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
32 }
33
34 html {
35 overflow: scroll;
36 }
37
38 html, body {
39 width: 100%;
40 height: 100%;
41 }
42
43 ninjaloadinghack {
44 display: none;
45 }
46
47 .active-element-outline {
48 outline: #adff2f solid 2px;
49 }
50
51 .nj-preset-transition {
52 -webkit-transition: all 450ms linear !important;
53 }
54 </style>
55
56 <script type="text/javascript" data-ninja-template="true">
57 function getElement(x,y) {
58 return document.elementFromPoint(x,y);
59 }
60 </script>
61
62 <!-- TODO: Determine if loading Montage is always needed or if it could be done author-time or on file open -->
63
64 <script type="text/javascript" data-package="." src="../../../../node_modules/montage/montage.js" data-ninja-template="true"></script>
65
66 <script type="text/montage-serialization" data-ninja-template="true">
67 {
68 "owner": {
69 "prototype": "main"
70 }
71 }
72 </script>
73
74 </head>
75
76 <body></body>
77
78</html> \ No newline at end of file