-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (68 loc) · 2.79 KB
/
index.html
File metadata and controls
76 lines (68 loc) · 2.79 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bitcoin Network Stats - Bitcoin Data Labs</title>
<!-- Bitcoin Data Labs base styles -->
<link rel="stylesheet" href="https://sorukumar.github.io/Bitcoin-Data-Labs/styles/styles.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<!-- Shared tool styles -->
<link rel="stylesheet" href="../shared-tool-styles.css">
<!-- Local custom styles -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Bitcoin Data Labs Header -->
<div id="header"></div>
<div class="tool-content">
<div class="tool-header">
<h1>Bitcoin Network Stats</h1>
<p>Real-time Bitcoin network statistics from the last 24 hours</p>
</div>
<div id="loading" class="loading">
<i class="fas fa-spinner fa-spin" style="font-size: 2rem; margin-bottom: 1rem;"></i>
<div>Loading blocks: <span id="currentBlock">0</span> / <span id="totalBlocks">144</span></div>
<div style="max-width: 400px; margin: 1rem auto; background: #eee; height: 20px; border-radius: 10px; overflow: hidden;">
<div id="progress" style="background: var(--primary); height: 100%; width: 0%; transition: width 0.3s;"></div>
</div>
</div>
<div id="content" class="hidden">
<div class="content-section">
<h2>Network Summary</h2>
<div id="summaryMetrics" class="metrics-grid"></div>
</div>
<div class="content-section">
<h2>Hourly Breakdown</h2>
<div class="table-wrapper">
<table id="hourlyMetrics">
<thead>
<tr>
<th>Hour</th>
<th>Blocks</th>
<th>Transactions</th>
<th>TPS</th>
<th>Size (MB)</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Bitcoin Data Labs Footer -->
<div id="footer"></div>
<!-- Bitcoin Data Labs App Components -->
<script src="https://sorukumar.github.io/Bitcoin-Data-Labs/components/app-components.js"></script>
<script>
BitcoinLabsAppComponents.init({
isApp: true,
appName: 'Bitcoin Network Stats',
appHomeUrl: window.location.href
});
</script>
<script src="script.js"></script>
</body>
</html>