-
Notifications
You must be signed in to change notification settings - Fork 22
/
missed.html
83 lines (82 loc) · 2.91 KB
/
missed.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Monitor</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="js/echarts.min.js"></script>
<link rel="icon" href="/img/favicon.png">
</head>
<body onload="init()">
<div class="container-xl border-bottom border-info" style="padding-top: 20px">
<div class="row" style="padding-bottom: 10px;">
<div class="col-4">
<h3><span id="networkId" class="text-capitalize"></span> Monitor</h3>
</div>
<div class="col-4 d-flex justify-content-center btn-group btn-group-sm">
<a href="/"><button class="btn btn-secondary btn-sm">Overview</button></a>
<a href="/missed.html"><button class="btn btn-info btn-sm">Missed Blocks</button></a>
<a href="/network.html"><button class="btn btn-secondary btn-sm">Network</button></a>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="row text-center">
<div class="col-4">Data for last <span id="timeframe"></span> blocks</div>
<div class="col-4">Latest block is <span id="headblock" class="fw-bold"></span></div>
<div class="col-4">+<span id="seconds" class="fw-bold"></span> seconds</div>
</div>
</div>
<div>
</div>
</div>
</div>
<div class="container-xl" style="padding-top: 20px;">
<div class="row">
<div class="col-12" style="padding-right: 0;">
<div class="row justify-content-center">
<div class="col-12" id="main" style="height: 500px"></div>
</div>
<div class="row text-md-center" style="padding-top: 10px;">
<div class="col-2">
<div class="text-white" id="missingWhen">Loading Missing ...</div>
<div class="text-start fw-bold fs-6">
<ol id="missing"></ol>
</div>
</div>
<div class="col-8">
<div class="row" style="padding-bottom: 0;">
<p align="center" class="text-white">
% Missed | Consensus %
</p>
</div>
<div class="row" id="bottom" style="padding-bottom: 0;"></div>
</div>
<div class="col-2">
<div class="text-white" id="currentJailed">Loading Jailed ...</div>
<div class="text-start fw-bold fs-6">
<ol id="jailed"></ol>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<p align="center">
<a href="https://blockpane.com"><img src="img/bp-logo-text.svg" height="30" alt="© 2021 Block Pane LLC."></a>
<a href="https://github.com/blockpane/cosmissed"><img src="img/GitHub-Mark.png" height="30"></a>
</p>
</div>
</div>
<script src="js/chart.js"></script>
<script src="js/top.js"></script>
<script type="text/javascript">
function init(){
query();
topMissed();
}
</script>
<script src="js/bootstrap.bundle.min.js"></script>
</body>
</html>