-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
94 lines (93 loc) · 3.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Status page built in pure js, html and css">
<meta name="keywords" content="HTML, CSS, JavaScript, status-page, status, page">
<meta name="author" content="DevMirza">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./style.css" />
<script src="./main.js"></script>
<script
async
src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"
></script>
<script
async
src="https://cdn.jsdelivr.net/npm/dompurify@2.3.5/dist/purify.min.js"
></script>
<title>Status Page</title>
</head>
<body>
<div class="pageContainer">
<div class="headline">
<img src="logo.svg" alt="Logo" width="200px" />
<span> System Status </span>
</div>
<div id="reports" class="reportContainer"></div>
<div id="incidents" class="incidentsContainer">
<div class="statusContainer">
<div class="statusHeader">
<h3 class="incidentReportsHeader">Incident Reports</h3>
</div>
<h4>Active Reports</h4>
<div id="activeIncidentReports">
Loading...
</div>
<hr />
<h4>Past Reports</h4>
<div id="pastIncidentReports">
Loading...
</div>
</div>
</div>
<div id="tooltip" class="tooltip" style="opacity: 0">
<div id="tooltipArrow" class="tooltipArrow"></div>
<div id="tooltipDateTime" class="tooltipDateTime"></div>
<div id="tooltipStatus" class="tooltipStatus"></div>
<hr />
<div id="tooltipDescription" class="tooltipDescription"></div>
</div>
<div id="templates" style="display: none">
<div
id="statusSquareTemplate"
class="statusSquare $color"
data-status="$color"
></div>
<div id="statusLineTemplate" class="statusLine"></div>
<div
id="statusStreamContainerTemplate"
class="statusStreamContainer"
></div>
<div id="statusContainerTemplate" class="statusContainer">
<div class="statusHeader">
<h6 class="statusTitle">$title </h6>
<div class="$color statusHeadline">$status</div>
</div>
<div class="statusSubtitle">
<div class="sectionUrl"><a href="$url">$url</a></div>
<div class="statusUptime">$upTime in the last 30 days</div>
</div>
</div>
</div>
</div>
<footer>
This is an
<a href="https://github.com/statsig-io/statsigstatus/"
>Open-Source GitHub Page</a
>.
<br>
Forked from
<a href="https://github.com/statsig-io/statuspage/"
>Statsig's Status Page Template</a
>.
</footer>
</body>
<script>
genAllReports();
// window.addEventListener("load", () => {
// genIncidentReport();
// });
</script>
</html>