-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
38 lines (38 loc) · 1.78 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
<!DOCTYPE html>
<html>
<head>
<title>BCH Fireworks</title>
<link rel="stylesheet" type="text/css" href="/assets/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
</head>
<body>
<div id = "board"></div>
<div class="container">
<h1 style="margin: 2vh 0px 1vh 0px;color: #ffffff;">BCH Fireworks</h1>
<p style="margin: -1vh 0px 1vh 0px;color: #ffffff;">Powered by <a target="_blank" href="https://bitsocket.bch.sx">Bitsocket Fountainhead</a>.</p>
<div id="stream">
<div id="header">TRANSACTIONS</div>
<div><span class="led"><div id="loading" style="margin-bottom: 10px"><i class="fas fa-power-off spinner"></i></span><span class="msg">Connecting to Bitsocket..</span></div>
<div id="list"></div>
</div>
</div>
<script src="/assets/fireworks.js"></script>
<script src="bitsocket.js"></script>
<script>
setInterval(() => {
document.querySelectorAll('.fireWorkBatch').forEach(function(el) {
if(el.dataset.timestamp && el.dataset.timestamp < (Date.now() - 10000)) {
el.remove()
}
});
document.querySelectorAll('.new_tx').forEach(function(el) {
if(el.dataset.timestamp && el.dataset.timestamp < (Date.now() - 8000)) {
el.remove()
}
});
}, 1000);
</script>
</body>
</html>