-
Notifications
You must be signed in to change notification settings - Fork 0
/
gossip.html
52 lines (49 loc) · 1.08 KB
/
gossip.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
<!DOCTYPE html>
<html>
<head>
<title>Gossip</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="./gossip.js"></script>
<style>
.center {
margin: auto;
width: 60%;
padding: 10px;
}
table,
th,
td {
border: 1px solid black;
}
</style>
</head>
<body>
<div>
<p>Enter node ip: </p> <input type="text" id="nodeIp">
<button onClick="connectToNode()">Connect</button>
</div>
<div class="center">
<p>Network State</p>
<table>
<thead>
<th>
IP
</th>
<th>
Revision
</th>
<th>
Heartbeat
</th>
<th>
State
</th>
</thead>
<tbody id="networkStateTable">
<tr>
</tr>
</tbody>
</table>
</div>
</body>
</html>