aboutsummaryrefslogtreecommitdiff
path: root/js/document/templates/html
diff options
context:
space:
mode:
authorPushkar Joshi2012-05-31 12:20:03 -0700
committerPushkar Joshi2012-05-31 12:20:03 -0700
commit4bc52365b1f81a386c3c59fd7c6ad874bb387cb5 (patch)
treec5b17297aba04bd54a59cf6214d29486e089031b /js/document/templates/html
parent75a862d305bc4502e22bc5aa65fa271143b8cf6c (diff)
parent6042bdc5f2aada4412912fd01602d32c9088dc26 (diff)
downloadninja-4bc52365b1f81a386c3c59fd7c6ad874bb387cb5.tar.gz
Merge branch 'master' into pentool
Diffstat (limited to 'js/document/templates/html')
-rwxr-xr-xjs/document/templates/html/index.html83
1 files changed, 83 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..70187900
--- /dev/null
+++ b/js/document/templates/html/index.html
@@ -0,0 +1,83 @@
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
16<!-- TODO: Determine if loading Montage is always needed or if it could be done author-time or on file open -->
17
18<html>
19
20 <head>
21
22 <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true">
23 * {
24 -webkit-transition-duration: 0s !important;
25 -webkit-animation-duration: 0s !important;
26 -webkit-animation-name: none !important;
27 }
28
29 body {
30 margin: 0;
31 padding: 0;
32 position: absolute;
33 -webkit-transform-style: preserve-3d;
34 -webkit-transform: perspective(1400) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
35 }
36
37 html {
38 overflow: scroll;
39 }
40
41 html, body {
42 width: 100%;
43 height: 100%;
44 }
45
46 ninjaloadinghack {
47 display: none;
48 }
49
50 .active-element-outline {
51 outline: #adff2f solid 2px;
52 }
53
54 .nj-preset-transition {
55 -webkit-transition: all 450ms linear !important;
56 }
57
58 .nj-element-highlight {
59 outline: 4px solid #ff0000;
60 }
61 </style>
62
63 <script type="text/javascript" data-ninja-template="true">
64 function getElement(x,y) {
65 return document.elementFromPoint(x,y);
66 }
67 </script>
68
69 <script type="text/javascript" data-package="../app" src="../../../../node_modules/montage/montage.js" data-ninja-template="true"></script>
70
71 <script type="text/montage-serialization" data-ninja-template="true">
72 {
73 "owner": {
74 "prototype": "main"
75 }
76 }
77 </script>
78
79 </head>
80
81 <body></body>
82
83</html> \ No newline at end of file