-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (68 loc) · 2.15 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
<!doctype html>
<html lang="en-US">
<meta charset="UTF-8">
<title>Latency and Bandwidth Tester</title>
<body>
<div id="main">
<header>Latency and Bandwidth Tester</header>
<div id="flow-plots">
<div id="iperf-gnuplot">
</div>
<div id="ping-gnuplot">
</div>
</div>
<div id="control">
<button type="button" id="btnStartStop">Start traffic</button>
<button type="button" id="btnSave">Save changes</button>
</div>
<div id="flow-tables">
<p>iPerf flows</p>
<table id="iperf-table">
<thead>
<tr>
<th>Enabled</th>
<th>Label</th>
<th>Source</th>
<th>Destination</th>
<th>Port</th>
<th>Transport</th>
<th>(UDP) Bandwidth</th>
<th><button type="button" class="btnAdd">+</button></th>
</tr>
</thead>
<tbody></tbody>
</table>
<p>Ping flows</p>
<table id="ping-table">
<thead>
<tr>
<th>Enabled</th>
<th>Label</th>
<th>Source</th>
<th>Destination</th>
<th>Interval type</th>
<th>Interval (ms)</th>
<th>Packet size</th>
<th><button type="button" class="btnAdd">+</button></th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</body>
<script src="js/client.js"></script>
<style type="text/css">
body {background-color: #fff; color: #222; font-family: sans-serif;}
table {border-collapse: collapse; border: 0; width: 1100px; box-shadow: 1px 2px 3px #ccc; margin: 20px; }
td, th {text-align: center; border: 1px solid #666; font-size: 75%; vertical-align: baseline; padding: 4px 5px;}
header {background-color: grey; color: white; padding: 15px; font-size: 150%; display: block; font-weight: bold; text-align: center; }
#main { float: left; }
#control { text-align: center; margin: auto; clear: both; }
#btnStartStop { margin: 20px; padding: 10px; }
#btnSave { margin: 20px; padding: 10px; }
#iperf-gnuplot {float: left;}
#iperf-ping {float: right;}
#flow-tables { margin-left: 70px; margin-top: 20px; }
</style>
</html>