-
Notifications
You must be signed in to change notification settings - Fork 23
/
indexTemplate.html
152 lines (152 loc) · 4.72 KB
/
indexTemplate.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<title>geOrchestra Viewer</title>
<style>
body {
margin: 0;
}
._ms2_init_center {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
overflow: show;
margin: auto;
display: flex;
align-items: center;
}
._ms2_init_center::before {
content: 'Loading';
position: absolute;
left: 50%;
height: 0.5em;
text-align: center;
transform: translateX(-50%) translateY(-50%);
-webkit-animation: _ms2_init_text_anim 2s linear 0s infinite normal;
animation: _ms2_init_text_anim 2s linear 0s infinite normal;
color: #6F6F6f;
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-size: 20px;
font-weight: bold;
width: 6em;
text-align: center;
margin: auto;
}
._ms2_init_spinner {
height: 176px;
width: 176px;
}
._ms2_init_spinner > div,
._ms2_init_spinner > div:after {
border-radius: 50%;
width: 176px;
height: 176px;
}
._ms2_init_spinner > div {
box-sizing: border-box;
text-indent: -9999em;
border: 16px solid rgba(119,119,119, 0.2);
border-left: 16px solid #777777;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
-webkit-animation: _ms2_init_anim 1.1s infinite linear;
animation: _ms2_init_anim 1.1s infinite linear;
}
@-webkit-keyframes _ms2_init_anim {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes _ms2_init_anim {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
._ms2_init_text {
-webkit-animation: _ms2_init_text_anim 2s linear 0s infinite normal;
animation: _ms2_init_text_anim 2s linear 0s infinite normal;
color: #6F6F6f;
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-size: 20px;
font-weight: bold;
height: 0.75em;
width: 6em;
text-align: center;
margin: auto;
z-index: 1000;
display: none;
}
@keyframes _ms2_init_text_anim {
0% {opacity: 0}
20% {opacity: 0}
50% {opacity: 1}
70% {opacity: .75}
100%{opacity: 0}
}
#georchestra-header {
width: 100%;
height: 90px;
border: none;
overflow: visible;
position: absolute;
}
#container {
position: absolute;
top: 90px;
bottom: 0;
height: unset !important;
width: 100%;
}
</style>
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
<style>
@font-face {
font-family: 'Noto Sans';
src: local('Noto Sans'), local('NotoSans-Regular'), url(assets/fonts/NotoSans.ttf) format('truetype');
}
</style>
<script src="assets/js/proj4.js"></script>
<script src="https://unpkg.com/[email protected]/es5.js"
async integrity="sha384-CWiXbo5RNu6nv9tiCWA2y1DQKjEQDDH+yFQga1FytuIZjOTcVr+4ojw2S2lShj/d" crossorigin="anonymous"
onload="checkBrowser()"></script>
<script type="text/javascript">
function checkBrowser() {
var browserInfo = bowser.getParser(window.navigator.userAgent);
var isValidBrowser = browserInfo.satisfies({
"edge": ">1",
"chrome": ">1",
"safari": ">1",
"firefox": ">1"
});
if (!isValidBrowser) {
window.location.href = "unsupportedBrowser.html"
document.querySelector("container").style.display = "none";
}
}
</script>
</head>
<body>
<geor-header id="georchestra-header"></geor-header>
<script id="georchestra-header-script"></script>
<div id="container">
<div class="_ms2_init_spinner _ms2_init_center"><div></div></div>
<div class="_ms2_init_text _ms2_init_center">Loading</div>
</div>
</body>
</html>