-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
587 lines (554 loc) · 23.1 KB
/
Copy pathindex.html
File metadata and controls
587 lines (554 loc) · 23.1 KB
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
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
<!DOCTYPE html>
<html lang="en">
<head>
<title>Live Data Monitoring Covid-19</title>
<!--meta tags -->
<meta name="theme-color" content="#fff">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="Coronavirus, covi-19, covi19, Virus,
API Corona Virus, Update CoronaVirus, Data CoronaVirus Global,
Data CoronaVirus Indonesia, Udate corono indonesia, coronavirus terkini" />
<script>
addEventListener("load", function() {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
}
</script>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" media="all">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/style.css" rel='stylesheet' type='text/css' media="all">
<link href="//fonts.googleapis.com/css?family=Josefin+Sans:400,600,700" rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=Libre+Franklin:400,500" rel="stylesheet">
<link rel="icon" type="image/png" href="images/virus.png">
</head>
<body oncontextmenu="return false;">
<!-- disbale right click -->
<div class="main-top" id="home">
<!-- header -->
<div class="headder-top">
<div id="logo">
<h1>
<a href="index.html">COVID-19</a>
</h1>
</div>
<!-- nav -->
<nav class="mx-md-auto">
<label for="drop" class="toggle">Menu</label>
<input type="checkbox" id="drop">
<ul class="menu mt-2">
<li class="active">
<a href="index.html">Home</a>
</li>
<li>
<a href="pages/global.html">Global</a>
</li>
<li>
<a href="pages/indonesia.html">Indonesia</a>
</li>
<li>
<a href="pages/hotline.html">hotline</a>
</li>
<li>
<a href="#pencegahan">Pencegahan</a>
</li>
</ul>
</nav>
<!-- //nav -->
</div>
<!-- //header -->
<!-- banner -->
<div class="slider-img">
<!-- <div class="container-fluid"> -->
<h3 class="title text-center mb-2" style="color:#ffffff;">Monitoring Virus Corona</h3>
<div class="title-w3ls-text text-center mb-lg-5 mb-md-4 mb-sm-4 mb-3">
<p style="color:#f8a640;">Selamat datang di website monitoring virus corona, data yang disajikan disini akan terus terupdate
secara realtime yang bersumber dari <br> <span id="source"></span> </p>
</div>
<!-- </div> -->
</div>
<div id="loading">
<img src="images/loading.gif" width="75" height="75" class="loading-img" />
</div>
</div>
<!--//banner -->
<!-- about -->
<section class="about py-lg-4 py-md-3 py-sm-3 py-3" id="global">
<div class="container py-lg-5 py-md-4 py-sm-4 py-3">
<h3 class="title text-center mb-2">Data Global</h3>
<div class="title-w3ls-text text-center mb-lg-5 mb-md-4 mb-sm-4 mb-3">
<p class="updated"></p>
</div>
<div class="row">
<div class="col-lg-3 col-md-6 col-sm-6 text-center about-two-side my-3">
<div class="about-wthree-grids ">
<div class="about-icon text-center color-one mb-lg-4 mb-md-3 mb-3">
<span><img src="images/sick.png" alt="sick" width="75" height="75"></span>
</div>
<h5>Total Kasus</h5>
<p class="mt-2">
<h4 id="total_cases"></h4>
</p>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 text-center about-two-side my-3">
<div class="about-wthree-grids ">
<div class="about-icon text-center color-one mb-lg-4 mb-md-3 mb-3">
<span><img src="images/sad2.png" alt="sad" width="75" height="75"></span>
</div>
<h5>Total Kasus Aktif</h5>
<p class="mt-2">
<h4 id="total_active_cases"></h4>
</p>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 text-center about-two-side my-3">
<div class="about-wthree-grids ">
<div class="about-icon text-center color-one mb-lg-4 mb-md-3 mb-3">
<span><img src="images/happy.png" alt="happy" width="75" height="75"></span>
</div>
<h5>Total Sembuh</h5>
<p class="mt-2">
<h4 id="total_recovered"></h4>
</p>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 text-center about-two-side my-3">
<div class="about-wthree-grids ">
<div class="about-icon text-center color-one mb-lg-4 mb-md-3 mb-3">
<span><img src="images/cry.png" alt="cry" width="75" height="75"></span>
</div>
<h5>Total Meninggal</h5>
<p class="mt-2">
<h4 id="total_deaths"></h4>
</p>
</div>
</div>
<!--
<div class="col-lg-4 col-md-6 col-sm-6 text-center about-two-side my-3">
<div class="about-wthree-grids ">
<div class="about-icon text-center color-one mb-lg-4 mb-md-3 mb-3">
<span><img src="images/sad.png" alt="sad" width="75" height="75"></span>
</div>
<h5>Kasus Baru Hari Ini</h5>
<p class="mt-2">
<h4 id="total_new_cases_today"></h4>
</p>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6 text-center about-two-side my-3">
<div class="about-wthree-grids ">
<div class="about-icon text-center color-one mb-lg-4 mb-md-3 mb-3">
<span><img src="images/sad.png" alt="sad" width="75" height="75"></span>
</div>
<h5>Kasus Meninggal Hari Ini</h5>
<p class="mt-2">
<h4 id="total_new_deaths_today"></h4>
</p>
</div>
</div>
</div>
-->
</div>
</section>
<!--//about -->
<!-- service -->
<section class="service py-lg-4 py-md-3 py-sm-3 py-3" id="indonesia">
<div class="container py-lg-5 py-md-4 py-sm-4 py-3">
<h3 class="title text-center mb-2">Data Indonesia</h3>
<div class="title-w3ls-text text-center mb-lg-5 mb-md-4 mb-sm-4 mb-3">
<p class="updated"></p>
</div>
<div class="row">
<div class="col-lg-3 col-md-6 col-sm-6 text-center about-two-side my-3">
<div class="service-grid-wthree ">
<div class="about-icon text-center color-one mb-lg-4 mb-md-3 mb-3">
<span><img src="images/sick.png" alt="sick" width="75" height="75"></span>
</div>
<h5>Terkonfirmasi</h5>
<p class="mt-2">
<h4 id="id_total_cases" style="color:#f8a640;"></h4>
</p>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 text-center about-two-side my-3">
<div class="service-grid-wthree ">
<div class="about-icon text-center color-one mb-lg-4 mb-md-3 mb-3">
<span><img src="images/sad2.png" alt="sad" width="75" height="75"></span>
</div>
<h5>Dalam Perawatan</h5>
<p class="mt-2">
<h4 id="id_total_active_cases" style="color:#f8a640;"></h4>
</p>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 text-center about-two-side my-3">
<div class="service-grid-wthree ">
<div class="about-icon text-center color-one mb-lg-4 mb-md-3 mb-3">
<span><img src="images/happy.png" alt="happy" width="75" height="75"></span>
</div>
<h5>Total Sembuh</h5>
<p class="mt-2">
<h4 id="id_total_recovered" style="color:#f8a640;"></h4>
</p>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 text-center about-two-side my-3">
<div class="service-grid-wthree ">
<div class="about-icon text-center color-one mb-lg-4 mb-md-3 mb-3">
<span><img src="images/cry.png" alt="cry" width="75" height="75"></span>
</div>
<h5>Total Meninggal</h5>
<p class="mt-2">
<h4 id="id_total_deaths" style="color:#f8a640;"></h4>
</p>
</div>
</div>
</div>
</div>
</section>
<!--//service -->
<!-- service -->
<section class="about py-lg-4 py-md-3 py-sm-3 py-3" id="pencegahan">
<div class="container py-lg-5 py-md-4 py-sm-4 py-3">
<h3 class="title text-center mb-2">Langkah Pencegahan</h3>
<div class="title-w3ls-text text-center mb-lg-5 mb-md-4 mb-sm-4 mb-3">
<p>Beberapa langkah dan tindakan untuk mencegah tertularnya virus corona
dan membantu untuk meminimalisir penyebaran virus corona</p>
</div>
<div class="row">
<div class="col-lg-4 col-md-6 my-3">
<div class="service-grid-wthree ">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-2 service-jst-icon">
<div class="service-icon text-center ">
<span class="fa fa-shield" aria-hidden="true"></span>
</div>
</div>
<div class="ser-sevice-grid col-lg-9 col-md-9 col-sm-10">
<h4>Menjaga Kebersihan</h4>
<p class="mt-2">Selalu mencuci tangan atau memakai hand sanitizer setelah bepergian dari luar rumah</p>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 my-3">
<div class="service-grid-wthree ">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-2 service-jst-icon">
<div class="service-icon text-center ">
<span class="fa fa-child" aria-hidden="true"></span>
</div>
</div>
<div class="ser-sevice-grid col-lg-9 col-md-9 col-sm-10">
<h4>Menjaga Kesehatan</h4>
<p class="mt-2">Makan makanan bergizi dan istirahat yang cukup untuk menjaga badan tetap fit</p>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 my-3">
<div class="service-grid-wthree ">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-2 service-jst-icon">
<div class="service-icon text-center ">
<span class="fa fa-male" aria-hidden="true"></span>
</div>
</div>
<div class="ser-sevice-grid col-lg-9 col-md-9 col-sm-10">
<h4>Social Distancing</h4>
<p class="mt-2">Hindari kerumunan dan selalu jaga jarak dengan orang lain saat berada di luar rumah</p>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 my-3">
<div class="service-grid-wthree ">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-2 service-jst-icon">
<div class="service-icon text-center ">
<span class="fa fa-home" aria-hidden="true"></span>
</div>
</div>
<div class="ser-sevice-grid col-lg-9 col-md-9 col-sm-10">
<h4>Tetap di <br> dalam rumah</h4>
<p class="mt-2">Tetap berada di dlam rumah, jangan keluar rumah jika tidak ada keperluan mendesak.</p>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 my-3">
<div class="service-grid-wthree ">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-2 service-jst-icon">
<div class="service-icon text-center ">
<span class="fa fa-smile-o" aria-hidden="true"></span>
</div>
</div>
<div class="ser-sevice-grid col-lg-9 col-md-9 col-sm-10">
<h4>Jangan Bersikap Panik</h4>
<p class="mt-2">Tetap tenang jangan panik karena akan mengganggu psikis dan daya tahan tubuh</p>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 my-3">
<div class="service-grid-wthree ">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-2 service-jst-icon">
<div class="service-icon text-center ">
<span class="fa fa-laptop" aria-hidden="true"></span>
</div>
</div>
<div class="ser-sevice-grid col-lg-9 col-md-9 col-sm-10">
<h4>Work From Home</h4>
<p class="mt-2">Jika memungkinkan bekerjalah dari rumah untuk menghindari penularan virus di luar rumah</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--//service -->
<h3 class="title text-center mb-2">Layanan Informasi</h3>
<div class="title-w3ls-text text-center mb-lg-5 mb-md-4 mb-sm-4 mb-3">
<p>Beberapa layanan informasi resmi dari pemerintah untuk memberi akses informasi yang akurat
bagi masyarakat</p>
</div>
<!-- contact-address -->
<section class="contact-two py-lg-4 py-md-3 py-sm-3 py-3">
<div class="container py-lg-5 py-md-4 py-sm-4 py-3">
<div class="footer-top">
<h4>Website</h4>
<p class="mt-1">
<i class="fa fa-check-circle-o fa-lg" aria-hidden="true"></i>
<a href="https://www.covid19.go.id" target="_blank">https://www.covid19.go.id</a> <br>
<i class="fa fa-check-circle-o fa-lg" aria-hidden="true"></i>
<a href="http://covid19.bnpb.go.id" target="_blank">http://covid19.bnpb.go.id</a> <br>
<i class="fa fa-check-circle-o fa-lg" aria-hidden="true"></i>
<a href="https://covid19.kemkes.go.id" target="_blank">https://covid19.kemkes.go.id</a> <br>
</p>
<!-- <h4 class="mt-3">Telepon</h4>
<p class="mt-1">
<i class="fa fa-phone-square fa-lg" aria-hidden="true"></i>
<a href="tel://119" target="_blank">119 ext 9 (covid19.go.id)</a> <br>
<i class="fa fa-phone-square fa-lg" aria-hidden="true"></i>
<a href="tel://622129827444" target="_blank">+6221-29827444 (covid19.bnpb.go.id)</a> <br>
<i class="fa fa-phone-square fa-lg" aria-hidden="true"></i>
<a href="tel://628121237575" target="_blank">+62812-1237-575 (covid19.bnpb.go.id)</a> <br>
<i class="fa fa-phone-square fa-lg" aria-hidden="true"></i>
<a href="tel://62215210411" target="_blank">021-5210-411 (covid19.kemkes.go.id)</a> <br>
<i class="fa fa-phone-square fa-lg" aria-hidden="true"></i>
<a href="tel://6281212123119" target="_blank">0812-1212-3119 (covid19.kemkes.go.id)</a> <br>
</p> -->
<h4 class="mt-3">Email</h4>
<p class="mt-1">
<i class="fa fa-envelope-square fa-lg" aria-hidden="true"></i>
<a href="mailto:pusdalops@bnpb.go.id" target="_blank">pusdalops@bnpb.go.id</a> <br>
<i class="fa fa-envelope-square fa-lg" aria-hidden="true"></i>
<a href="mailto:contact@bnpb.go.id" target="_blank">contact@bnpb.go.id</a> <br>
</p>
</div>
</div>
</section>
<!--//contact-address -->
<!-- footer -->
<section class="py-lg-4 py-md-3 py-sm-3 py-3 footer-style">
<div class="social-icons mt-lg-5 mt-md-4 mt-3 text-center">
<ul>
<li>
<a href="https://facebook.com/seeudindotcom/" target="_blank">
<span class="fa fa-facebook-square f1"></span>
</a>
</li>
<li>
<a href="https://instagram.com/see_udin/" target="_blank">
<span class="fa fa-instagram f5"></span>
</a>
</li>
<li>
<a href="https://www.linkedin.com/in/akhirudin-muhamad-a56b5b126" target="_blank">
<span class="fa fa-linkedin-square f2"></span>
</a>
</li>
<li>
<a href="mailto:acerudyn@yahoo.com" target="_blank">
<span class="fa fa-envelope-square f3"></span>
</a>
</li>
</ul>
</div>
<!-- move icon -->
<div class="text-center">
<a href="#home" class="move-top text-center mt-lg-5 mt-md-4 mt-3">
<span class="fa fa-chevron-circle-up" aria-hidden="true"></span>
</a>
</div>
<!--//move icon -->
</section>
<!--//footer -->
<!-- copy right -->
<footer>
<div class="bottom-footer text-center py-md-4 py-3">
<p>
© 2020 Made with <i class="fa fa-heart fa-lg" aria-hidden="true" style="color:#f207a8;"></i> by <a href="http://s.id/see_udin" target="_blank">see_udin</a> <br>
Develop from home - Dedicated for Indonesia
</p>
</div>
</footer>
<!-- copy right -->
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js"></script> <!-- http://numeraljs.com/ -->
<script src="js/momentjs.js"></script> <!-- https://momentjs.com/ -->
<script type="text/javascript">
$(document).ready(function() {
/* disable Right Click F12 Ctrl + Shift + I Ctrl + Shift + J Ctrl + U */
document.onkeydown = function(e) {
if (event.keyCode == 123) {
return false;
}
if (e.ctrlKey && e.shiftKey && e.keyCode == 'I'.charCodeAt(0)) {
return false;
}
if (e.ctrlKey && e.shiftKey && e.keyCode == 'J'.charCodeAt(0)) {
return false;
}
if (e.ctrlKey && e.keyCode == 'U'.charCodeAt(0)) {
return false;
}
}
var time = moment().format('DD-MMM-YYYY H:mm:ss');
$('.updated').html('Update Terakhir : ' + time);
$(".belum").click(function() {
swal("Information", "Maaf, masih under development", "warning");
});
// data global
// $.ajax({
// url: 'https://thevirustracker.com/free-api?global=stats',
// dataType: 'json',
// success: function(data) {
// var status = data.stat;
// var total_kasus = numeral(data.results[0].total_cases).format('0,0');
// var total_sembuh = numeral(data.results[0].total_recovered).format('0,0');
// var total_meninggal = numeral(data.results[0].total_deaths).format('0,0');
// var total_kasus_baru_hari_ini = numeral(data.results[0].total_new_cases_today).format('0,0');
// var total_kasus_meninggal_hari_ini = numeral(data.results[0].total_new_deaths_today).format('0,0');
// var total_kasus_aktif = numeral(data.results[0].total_active_cases).format('0,0');
// var sumber = data.results[0].source.url;
//
// var number = numeral(total_kasus);
// var string = number.format('0,0'); // '1,000'
//
// if (status = 'ok') {
// // swal('Success', 'Test Connected', 'success');
// $('#total_cases').html(total_kasus);
// $('#total_active_cases').html(total_kasus_aktif);
// $('#total_recovered').html(total_sembuh);
// $('#total_deaths').html(total_meninggal);
// $('#total_new_cases_today').html(total_kasus_baru_hari_ini);
// $('#total_new_deaths_today').html(total_kasus_meninggal_hari_ini);
// $('#source').html('<a href="' + sumber + '" target="_blank">' + sumber + '</a>');
// } else {
// swal('Error', 'Server API Error', 'error');
// }
// // console.log(data.results[0].total_cases);
// // console.log(data);
// },
// error: function (textStatus, errorThrown) {
// var message = errorThrown;
// swal('Error', 'API Server '+ message, 'error');
// }
// });
// data global
$.ajax({
url: 'https://corona.lmao.ninja/v2/all',
dataType: 'json',
success: function(data) {
var sumber = 'JHUCSSE (Johns Hopikins University)';
$('#total_cases').html(numeral(data.cases).format('0,0'));
$('#total_active_cases').html(numeral(data.active).format('0,0'));
$('#total_recovered').html(numeral(data.recovered).format('0,0'));
$('#total_deaths').html(numeral(data.deaths).format('0,0'));
$('#source').html('<a href="#">' + sumber + '</a>');
$('#loading').css('display', 'none');
},
error: function(textStatus, errorThrown) {
var message = errorThrown;
swal('Error', 'API Server ' + message, 'error');
$('#loading').css('display', 'none');
}
});
// data indonesia
// $.ajax({
// url: 'https://thevirustracker.com/free-api?countryTotal=ID',
// dataType: 'json',
// success: function(data) {
// var id_status = data.stat;
// var id_total_kasus = numeral(data.countrydata[0].total_cases).format('0,0');
// var id_total_sembuh = numeral(data.countrydata[0].total_recovered).format('0,0');
// var id_total_meninggal = numeral(data.countrydata[0].total_deaths).format('0,0');
// var id_total_kasus_aktif = numeral(data.countrydata[0].total_active_cases).format('0,0');
//
// if (id_status = 'ok') {
// $('#id_total_cases').html(id_total_kasus);
// $('#id_total_active_cases').html(id_total_kasus_aktif);
// $('#id_total_recovered').html(id_total_sembuh);
// $('#id_total_deaths').html(id_total_meninggal);
// } else {
// swal('Error', 'Server API Error', 'error');
// }
// // console.log(data.results[0].total_cases);
// // console.log(data.countrydata[0]);
// $('#loading').css('display', 'none');
// },
// error: function (textStatus, errorThrown) {
// var message = errorThrown;
// swal('Error', 'API Server '+ message, 'error');
// $('#loading').css('display', 'none');
// }
// });
$.ajax({
url: 'https://corona.lmao.ninja/v2/countries/id',
dataType: 'json',
success: function(data) {
// console.log(data.cases);
$('#id_total_cases').html(numeral(data.cases).format('0,0'));
$('#id_total_active_cases').html(numeral(data.active).format('0,0'));
$('#id_total_recovered').html(numeral(data.recovered).format('0,0'));
$('#id_total_deaths').html(numeral(data.deaths).format('0,0'));
$('#loading').css('display', 'none');
},
error: function(textStatus, errorThrown) {
var message = errorThrown;
swal('Error', 'API Server ' + message, 'error');
$('#loading').css('display', 'none');
}
});
});
</script>
<!-- Begin Inspectlet Asynchronous Code -->
<script type="text/javascript">
(function() {
window.__insp = window.__insp || [];
__insp.push(['wid', 740313075]);
var ldinsp = function() {
if (typeof window.__inspld != "undefined") return;
window.__inspld = 1;
var insp = document.createElement('script');
insp.type = 'text/javascript';
insp.async = true;
insp.id = "inspsync";
insp.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://cdn.inspectlet.com/inspectlet.js?wid=740313075&r=' + Math.floor(new Date().getTime() / 3600000);
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(insp, x);
};
setTimeout(ldinsp, 0);
})();
</script>
<!-- End Inspectlet Asynchronous Code -->
</html>