-
Notifications
You must be signed in to change notification settings - Fork 224
/
index.html
397 lines (361 loc) · 13.6 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
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie11 lt-ie10 lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie11 lt-ie10 lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie11 lt-ie10 lt-ie9"> <![endif]-->
<!--[if lte IE 9]> <html class="no-js lt-ie11 lt-ie10"> <![endif]-->
<!--[if gt IE 9]><!-->
<html class="no-js gt-ie9" lang="en-US">
<!--<![endif]-->
<html class="no-js" lang="en-US">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Search, discover, visualize, refine, and access NASA Earth Observation data in your browser with Earthdata Search" data-react-helmet="true" />
<link rel="shortcut icon" href="/favicon.ico?v=1.1" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Inter:ital,opsz,wght@0,14..32,300..900;1,14..32,300..900&family=Public+Sans:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet">
<title>Earthdata Search</title>
<style type="text/css">
html,
body {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
}
body {
display: block;
display: flex;
flex-direction: column;
background-color: #000;
overflow: hidden;
}
.th-wrapper {
width: 100%;
z-index: 1000;
height: 34px;
}
.root {
position: relative;
height: 100%;
width: 100%;
overflow: hidden;
}
.root__app {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
overflow: hidden;
}
.root__loading {
display: none;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1000;
background-color: black;
transition: opacity 0.15s ease-out;
}
.root--loading .root__loading {
display: block;
}
.root--loading-fade .root__loading{
opacity: 0;
}
.root__spinner {
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%)
}
.fallback-page,
.fallback-page__wrapper--no-js,
.fallback-page__wrapper--unsupported-browser {
display: none;
}
.fallback-page {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
height: 100%;
width: 100%;
padding: 0px;
background-color: #191a1b;
}
.fallback-page__wrapper {
height: 100%;
}
.fallback-page__content {
position: relative;
top: 150px;
margin: 0 auto;
max-width: 700px;
padding: 1rem;
text-align: center;
color: white;
background-color: #121315;
border-radius: 4px;
border-radius: 0.25rem;
}
.fallback-page__wrapper--unsupported-browser .fallback-page__content {
max-width: 850px;
}
.lt-ie8 .fallback-page__heading {
margin-top: 16px;
}
.fallback-page__note--last {
margin-bottom: 0;
}
.footer.fallback-page__footer {
position: absolute;
bottom: 0;
width: 100%;
}
.lt-ie8 .footer__info--right {
float: right;
margin: 10px;
}
.lt-ie8 .footer__info--left {
float: left;
margin: 10px;
}
.no-js .fallback-page,
.no-js .fallback-page__wrapper--no-js {
display: block;
}
.unsupported-browser .fallback-page,
.unsupported-browser .fallback-page__wrapper--unsupported-browser {
display: block;
}
.no-js .root,
.unsupported-browser .root {
display: none;
}
.no-js .th-wrapper,
.unsupported-browser .th-wrapper {
display: none;
}
.lt-ie11 .unsupported-browser {
display: block;
}
.browser-icons {
margin-top: 2em;
margin-top: 2rem;
padding: 0;
list-style-type: none;
}
.browser-icons__item {
display: inline-block;
*display: inline;
*zoom: 1;
cursor: pointer;
width: 120px;
height: 122px;
margin: 0px 10px 10px 10px;
}
.browser-icons__icon {
display: block;
width: 100px;
height: 100px;
margin: 1px auto;
background-attachment: scroll;
background-color: transparent;
background-position: 0% 0%;
background-repeat: no-repeat no-repeat;
}
.browser-icons__icon--chrome {
background-image: url('images/browsers/browser_chrome.gif');
}
.browser-icons__icon--firefox {
background-image: url('images/browsers/browser_firefox.gif');
}
.browser-icons__icon--safari {
background-image: url('images/browsers/browser_safari.gif');
}
.browser-icons__icon--opera {
background-image: url('images/browsers/browser_opera.gif');
}
.browser-icons__icon--ie {
background-image: url('images/browsers/browser_ie.gif');
}
.browser-icons__name {
display: block;
margin: 8px auto 0;
margin: 0.5rem auto 0;
width: 118px;
color: rgb(128, 128, 128);
font-size: 0.8em;
height: 18px;
line-height: 17px;
text-align: center;
}
</style>
<noscript>
<style>
[data-simplebar] {
overflow: auto;
}
</style>
</noscript>
</head>
<body>
<script type="module" src="static/src/index.jsx"></script>
<noscript>
<% if (gtmPropertyId.length > 0) { %>
<iframe src="https://www.googletagmanager.com/ns.html?id=<%= gtmPropertyId %>" height="0" width="0" style="display:none;visibility:hidden"></iframe>
<% } %>
</noscript>
<script type="text/javascript">
var htmlElement = document.getElementsByTagName('html')[0];
if (htmlElement) {
// Remove the 'no-js' class from the html element
htmlElement.className = htmlElement.className.replace(/\bno-js\b/, '');
// Add the 'unsupported-browser' class to the html element
// https://stackoverflow.com/questions/49986720/how-to-detect-internet-explorer-11-and-below-versions
function isOldIE() {
var ua = window.navigator.userAgent;
var msie = ua.indexOf('MSIE ');
return (msie > 0);
}
if (isOldIE()) {
htmlElement.className += ' unsupported-browser'
}
}
</script>
<% if (showTophat) { %>
<div id="earthdata-tophat2" class="th-wrapper" style="height: 34px; background: #000;"></div>
<% } %>
<div id="root" class="root root--loading">
<div class="root__loading">
<div class="root__spinner spinner spinner--dots spinner--white spinner--small">
<div class="spinner__inner"></div>
<div class="spinner__inner"></div>
<div class="spinner__inner"></div>
</div>
</div>
<div id="app" class="root__app"></div>
</div>
<div id="app"></div>
<div class="fallback-page">
<div class="fallback-page__wrapper fallback-page__wrapper--no-js">
<div class="fallback-page__content">
<h3 class="fallback-page__heading">Earthdata Search uses JavaScript</h3>
<p class="fallback-page__note fallback-page__note--last">Please use a JavaScript-aware browser and make sure
JavaScript is enabled.</p>
</div>
</div>
<div class="fallback-page__wrapper fallback-page__wrapper--unsupported-browser">
<div class="fallback-page__content">
<h3 class="fallback-page__heading">Your browser is out of date</h3>
<p class="fallback-page__note">In order to use Earthdata Search, you must upgrade your web browser.<br>
Alternatively, you can <a href="https://access.earthdata.nasa.gov">Earthdata Access</a>.</p>
<p class="fallback-page__note fallback-page__note--last">To upgrade your browser, click on the icons below
to go to the download page.</p>
<ul class="browser-icons">
<li class="browser-icons__item">
<a class="browser-icons__link" href="https://www.google.com/chrome/" target="_blank">
<span class="browser-icons__icon browser-icons__icon--chrome"></span>
<span class="browser-icons__name">Chrome</span>
</a>
</li>
<li class="browser-icons__item">
<a class="browser-icons__link" href="http://www.mozilla.org/firefox/" target="_blank">
<span class="browser-icons__icon browser-icons__icon--firefox"></span>
<span class="browser-icons__name">Firefox</span>
</a>
</li>
<li class="browser-icons__item">
<a class="browser-icons__link" href="http://www.apple.com/safari/" target="_blank">
<span class="browser-icons__icon browser-icons__icon--safari"></span>
<span class="browser-icons__name">Safari</span>
</a>
</li>
<li class="browser-icons__item">
<a class="browser-icons__link" href="http://www.opera.com/" target="_blank">
<span class="browser-icons__icon browser-icons__icon--opera"></span>
<span class="browser-icons__name">Opera</span>
</a>
</li>
<li class="browser-icons__item">
<a class="browser-icons__link" href="http://windows.microsoft.com/en-us/internet-explorer/download-ie" target="_blank">
<span class="browser-icons__icon browser-icons__icon--ie"></span>
<span class="browser-icons__name">Internet Explorer</span>
</a>
</li>
</ul>
</div>
</div>
<div class="footer fallback-page__footer">
<span class="footer__info footer__info--left">
<span class="footer__info-bit footer__info-bit--emph">NASA Official: Stephen Berrick</span>
<span class="footer__info-bit"><a class="footer__info-link" aria-label="NASA Freedom of Information Act" href="http://www.nasa.gov/FOIA/index.html">FOIA</a></span>
<span class="footer__info-bit"><a class="footer__info-link" aria-label="NASA Privacy Policy" href="http://www.nasa.gov/about/highlights/HP_Privacy.html">NASA Privacy Policy</a></span>
<span class="footer__info-bit"><a class="footer__info-link" aria-label="USA Government Information and Services" href="http://www.usa.gov">USA.gov</a></span>
</span>
<span class="footer__info footer__info--right">
<span class="footer__info-bit footer__info-bit--clean footer__info-bit--emph">
<a class="footer__info-link footer__info-link--underline" aria-label="Earthdata Access 508 Accessible Alternative" href="https://access.earthdata.nasa.gov/">
Earthdata Access: A Section 508 accessible alternative
</a>
</span>
</span>
</div>
</div>
<% if (showTophat) { %>
<script
id="earthdata-tophat-script"
src="https://cdn.earthdata.nasa.gov/tophat2/tophat2.js"
async="async"
defer="defer"
data-show-fbm="true"
data-app-title="Search"
data-app-link="/"
data-show-status="true"
data-status-api-url="https://status.earthdata.nasa.gov/api/v1/notifications"
data-show-outage-banner="true">
</script>
<% } %>
<% if (feedbackApp.length > 0) { %>
<script
src="https://fbm.earthdata.nasa.gov/for/<%= feedbackApp %>/feedback.js"
type="text/javascript">
</script>
<script type="text/javascript">feedback.init({ showIcon: false });</script>
<% } %>
<% if (env !== 'dev') { %>
<script
async
type="text/javascript"
src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=NASA&subagency=GSFC"
id="_fed_an_ua_tag">
</script>
<% } %>
<% if (gtmPropertyId.length > 0) { %>
<script>
var dataLayer = window.dataLayer = window.dataLayer || [];
<% if (environment === 'development' && includeDevGoogleAnalytics === true) { %>
dataLayer.push({
'event': 'localIdentifier',
'localGAProperty': '<%= gaPropertyId %>'
});
<% } %>
(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', '<%= gtmPropertyId %>');
</script>
<% } %>
</body>
</html>