-
Notifications
You must be signed in to change notification settings - Fork 25
/
index.html
87 lines (74 loc) · 3.84 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>HTML5 Speedtest</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="test.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<script src="network.js"></script>
<script src="dial.js"></script>
</head>
<body>
<div role="main">
<div style="text-align:center">
<form>
<fieldset>
<legend>HTML5 Speedtest</legend>
<div class="row">
<div id="leg" class="col-md-6" style="width:100%;position:relative">
<div class="btn-toolbar">
<div class="btn-group" data-placement="left" title="Start a latency, download and upload test. You can always interrupt the current test by pressing the Abort button.">
<button class="btn btn-default" type="button" data-measure="all">
<span class="glyphicon glyphicon-time"></span><span class="glyphicon glyphicon-download"></span><span class="glyphicon glyphicon-upload"></span><span id="start"> Start test</span>
</button>
</div>
<div class="btn-group" style="float:right" data-placement="right" title="Abort the current test.">
<button class="btn btn-default" type="button" data-abort disabled>
<span class="glyphicon glyphicon-remove-circle"></span><span> Abort</span>
</button>
</div>
</div>
</div>
</div>
<div class="testerSlOverSl testerSlOverSlDown">
<h2 id="tipo" style="color:#5CA222">Download</h2>
<div class="testerSlOverSlIn">
<script type='text/javascript'>
ntmtTesterDialDown = new NtmtTesterDial(1,'down');
</script>
</div>
<div id="progressBarDown"><div></div></div>
</div>
<div class="testerSlOverSl testerSlOverSlPing">
<div class="testerSlOverSlIn">
<h2 style="color:#237F89;">Ping</h2>
<div style="padding:27px">
<script type='text/javascript'>
ntmtTesterDialPing = new NtmtTesterDialPing(1);
</script>
</div>
</div>
</div>
<div class="testerSlOverSl testerSlOverSlUp">
<h2 id="tipo" style="color:#a26822">Upload</h2>
<div class="testerSlOverSlIn">
<script type='text/javascript'>
ntmtTesterDialUp = new NtmtTesterDial(1,'up');
</script>
</div>
<div id="progressBarUp"><div></div></div>
</div>
<div id="log"></div>
</fieldset>
</form>
</div>
</div>
</body>
<script src="main.js"></script>
</html>