-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (64 loc) · 3.1 KB
/
index.html
File metadata and controls
69 lines (64 loc) · 3.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#3FDEC4">
<link rel="alternate icon" href="assets/img/logo.ico">
<link href="assets/css/normalize.css" rel="stylesheet">
<link href="assets/css/rocket.css" rel="stylesheet">
<link rel="manifest" href="manifest.webpackmanifest">
<title>Shopblocks - Service Status</title>
</head>
<body style="overflow-x: hidden;">
<div class="container fluid" style="max-width: 1048px;">
<div class="row">
<div class="col">
<div class="card card-centered">
<div class="card-body">
<div class="centered mb-5">
<img class="invert" alt="Shopblocks" src="assets/img/logo.png" style="width: 40px;">
<span class="badge">Server Status</span>
</div>
<div id="tooltip" class="tooltip" style="opacity: 0">
<div id="tooltip-arrow" class="tooltip-arrow"></div>
<div id="tooltip-datetime" class="tooltip-datetime"></div>
<div id="tooltip-status" class="tooltip-status"></div>
<hr />
<div id="tooltip-description" class="tooltip-description"></div>
</div>
<div id="reports" class="reports-wrapper"></div>
</div>
</div>
</div>
</div>
</div>
<div id="templates" style="display: none">
<div class="report-wrapper bordered mb-4 p-4" id="report-wrapper">
<div class="pb-2" style="display: inline-flex">
<h6 class="bold uppercase">$title </h6>
<span class="ms-4 chip $color">$status</span>
</div>
<a class="link-muted" href="$url" target="_blank">$url</a>
<small class="u-pull-right text-muted">$upTime in the last 30 days</small>
</div>
<div id="status-square" class="status-square $color" data-status="$color"></div>
<div id="status-line" class="status-line"></div>
<div id="stream-wrapper" class="stream-wrapper" style="display: inline-flex"></div>
</div>
</body>
<script src="assets/js/app.js"></script>
<script src="sw.js"></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('sw.js').then(function (registration) {
console.log('Registered Service Worker Successfully!', registration.scope);
}, function (error) {
console.log('Failed to register Service Worker!', error)
});
});
}
genAllReports();
</script>
</html>