-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (85 loc) · 3.82 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
html, body {
margin: 0px;
height: 100%;
overflow: hidden;
font-family: helvetica, arial, sans-serif;
}
#button {visibility: hidden; position: absolute}
#webglcanvas {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
z-index: 100;
background: red;
}
#top-bar,
#top-bar-left,
#top-bar-right {box-sizing: border-box;}
#top-bar {position: absolute; top: 0; left: 0; width: 100%; height: 50px; z-index: 101; padding-top: 30px}
#top-bar-left {float: left; padding-left: 50px;}
#top-bar-right {float: right; padding-right:50px}
#top-bar-left,
#top-bar-right {width: 50%; color: rgba(255,255,255,.8); }
#top-bar-right {text-align: right;}
#top-bar-status-icon-loading,
#top-bar-status-icon-loading-ring {display: inline-block; width: 20px; height: 20px; border-radius: 20px; background: rgba(255,255,255,.8);}
#top-bar-status-icon-loading-title {margin-left: 10px; text-transform: uppercase; font-weight: bold}
.loading #top-bar-status-icon-loading-ring {
animation-name: loadingRing;
animation-duration: 1.5s;
animation-iteration-count: infinite;
animation-timing-function: ease-in;
transform-origin: 50% 50%;
}
#top-bar-status-icon-loading-title {display: none}
.loading #top-bar-status-icon-loading-title {display: inline-block}
/* The animation code */
@keyframes loadingRing {
from {background: rgba(255,255,255,.8); transform: scale(1);}
to {background: rgba(255,255,255,0); transform: scale(2);}
}
#top-bar-list {padding: 0; margin: 0; list-style: none; display: inline-block}
#top-bar-list li {float: left; margin-right: 1em; font-weight: bold;}
.loading #tile-loading {display: inline-block}
.loading #tile-found {display: none}
#tile-loading {display: none}
#tile-found {display: inline-block}
</style>
</head>
<body class="loading">
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div id="top-bar">
<div id="top-bar-left">
<span id="top-bar-status-icon-loading" ><span id="top-bar-status-icon-loading-ring"></span></span>
<span id="top-bar-status-icon-loading-title"><span id="tile-loading">Searching</span><span id="tile-found">Found</span></span>
</div>
<div id="top-bar-right">
<ul id="top-bar-list">
<li>Name: <span id="top-bar-list-name-data"></span></li>
</ul>
</div>
</div>
<button id="button">Odeslat screen</button>
<div id="webglcanvas"></div>
<script src="js/vendor/jquery-1.12.0.min.js"></script>
<script src="js/three.min.js"></script>
<script src="js/Detector.js"></script>
<script src="js/StereoEffect.js"></script>
<script src="js/headtrackr.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
</body>
</html>