-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
332 lines (323 loc) · 15.6 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
<!DOCTYPE html>
<html lang="en">
<head>
<title>NetMet: Meet your network performance</title>
<meta property="og:title" content="NetMet: Meet your network performance" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="utf-8" />
<meta property="twitter:card" content="summary_large_image" />
<style data-tag="reset-style-sheet">
html { line-height: 1.15;}body { margin: 0;}* { box-sizing: border-box; border-width: 0; border-style: solid;}p,li,ul,pre,div,h1,h2,h3,h4,h5,h6,figure,blockquote,figcaption { margin: 0; padding: 0;}button { background-color: transparent;}button,input,optgroup,select,textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;}button,select { text-transform: none;}button,[type="button"],[type="reset"],[type="submit"] { -webkit-appearance: button;}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner { border-style: none; padding: 0;}button:-moz-focus,[type="button"]:-moz-focus,[type="reset"]:-moz-focus,[type="submit"]:-moz-focus { outline: 1px dotted ButtonText;}a { color: inherit; text-decoration: inherit;}input { padding: 2px 4px;}img { display: block;}html { scroll-behavior: smooth }
</style>
<style data-tag="default-style-sheet">
html {
font-family: Inter;
font-size: 16px;
}
body {
font-weight: 400;
font-style:normal;
text-decoration: none;
text-transform: none;
letter-spacing: normal;
line-height: 1.15;
color: var(--dl-color-gray-black);
background-color: var(--dl-color-gray-white);
}
</style>
<link
rel="stylesheet"
href="https://unpkg.com/animate.css@4.1.1/animate.css"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
data-tag="font"
/>
<link
rel="stylesheet"
href="https://unpkg.com/@teleporthq/teleport-custom-scripts/dist/style.css"
/>
<style>
[data-thq="thq-dropdown"]:hover > [data-thq="thq-dropdown-list"] {
display: flex;
}
[data-thq="thq-dropdown"]:hover > div [data-thq="thq-dropdown-arrow"] {
transform: rotate(90deg);
}
</style>
</head>
<body>
<link rel="stylesheet" href="./index.css"/>
<div class="main-container">
<!-- <link href="./index.css" rel="stylesheet" /> -->
<div class="home-container">
<header data-role="Header" class="home-header">
<!-- <h1 class="home-text">NetMet</h1> -->
<img height="91" width="100" src="img/logo.png">
<div class="home-btn-group">
<div id="dropdownASNDiv" data-thq="thq-dropdown" class="home-thq-dropdown list-item">
<div data-thq="thq-dropdown-toggle" class="home-dropdown-toggle">
<span class="home-text01">History</span>
<div data-thq="thq-dropdown-arrow" class="home-dropdown-arrow">
<svg viewBox="0 0 1024 1024" class="home-icon">
<path d="M426 726v-428l214 214z"></path>
</svg>
</div>
</div>
<ul id="dropdownASNList" data-thq="thq-dropdown-list" class="home-dropdown-list">
<!-- <li data-thq="thq-dropdown" class="home-dropdown list-item">
<div
data-thq="thq-dropdown-toggle"
class="home-dropdown-toggle1"
>
<span class="home-text02">Sub-menu Item</span>
</div>
</li>
<li data-thq="thq-dropdown" class="home-dropdown list-item">
<div
data-thq="thq-dropdown-toggle"
class="home-dropdown-toggle1"
>
<span class="home-text03">Sub-menu Item</span>
</div>
</li>
<li data-thq="thq-dropdown" class="home-dropdown list-item">
<div
data-thq="thq-dropdown-toggle"
class="home-dropdown-toggle1"
>
<span class="home-text04">Sub-menu Item</span>
</div>
</li> -->
</ul>
</div>
<button id="startMeasurementBtn" class="home-measurement button">New Measurement</button>
<button id="settingsOpnBtn" class="settings-index-btn">
<img src="img/settingsIconWhitePPT.png" width="30" height="30" alt="Settings" class="settings-index-btn">
</button>
</div>
<div class="home-container1">
<!-- <animate-on-reveal
animation="flash"
duration="1s"
delay="0s"
direction="normal"
easing="ease"
iteration="100"
>
<span id="testInProgressText" data-thq-animate-on-reveal="true" class="home-text05" style="display: none;">Test in progress...
</span>
</animate-on-reveal> -->
</div>
</header>
<!-- <div class="home-container2" id="settingsContainer" style="display: none;"> -->
<div class="settings-index-container" style="display: none;" id="settingsContainer">
<div id="settingsCloseBtn" class="close-index-btn" >×</div>
<h3>Settings</h3>
<ul>
<li>
<label class="popup-text10">User Id:</label>
<label class="popup-text10" id="userIdNum">N/A</label>
</li>
<li>
<label class="popup-text10">App Version:</label>
<label class="popup-text10" id="appVerNum">N/A</label>
</li>
<li>
<label class="popup-text10">Github:</label>
<label class="popup-text10">https://github.com/boserohan91/netmet</label>
</li>
<li>
<label class="popup-text10" for="text-field">Popup Frequency (mins):</label>
<input type="number" id="popupFrequency" min="15" max="300" style="height: 18px;">
</li>
</ul>
<span class="settings-feedback-text" style="display: none;" id="settingsSaveFeedback"></span>
<button id="settingsSaveBtn" class="popup-index-register1">Save</button>
</div>
<!-- </div> -->
<div class="header-text" id="infoHeader">
<header>
<p><strong>IMPORTANT:</strong> A new browser window is opened up on starting a new test. This will request the top 20 websites in your location. <strong>Please do not close this or the new browser window</strong> while the test is running.</p>
<h2 id="inProgressHeader" style="text-align: center;">Test in progress...</h2>
<div id="timerDiv" style="display: none;">
This window will close in <strong><label id="timerLabel">60</label></strong> seconds.
<a href="#" id="stopTimerLink">Click to prevent closing</a>
</div>
</header>
</div>
<div class="home-container2">
<h2 id="displayHeader" class="home-text06">Current Overview</h2>
<ul class="home-ul list">
<li class="list-item">
<label class="home-text07">Web Browsing:</label>
<label id="webBrowsingText" class="home-text08">N/A</label>
</li>
<li class="list-item">
<label class="home-text09">Video Streaming:</label>
<label id="videoStreamingText" class="home-text10">N/A</label>
</li>
<li class="list-item">
<label class="home-text11">Gaming:</label>
<label id="gamingText" class="home-text12">N/A</label>
</li>
<li class="list-item">
<label class="home-text11">Teleconferencing:</label>
<label id="teleConfText" class="home-text12">N/A</label>
</li>
</ul>
<label class="home-text13">ISP:</label>
<span id="ispText" class="home-text14">N/A</span>
<label class="test-status-text">Test Status:</label>
<span id="testStatusText" class="test-status-result">N/A</span>
</span>
</div>
<div id="currentMeasurementContainer" class="home-current-measurement-container" style="display: none;">
<!-- Web Measurement -->
<div id="webCurrentDropdownContainer" class="home-web-current-outer-container dropdown-outer-container">
<div id="webDropdownHeader" class="dropdown-header">
<h2 class="home-text15">Web Browsing</h2>
<img id="webDropdownBtn" class="dropdown-btn" src="img/dropdown-down.png" width="20" height="20" title="Expand">
</div>
<div id="webCurrentContainer" class="home-web-current-container" style="display: none;"></div>
</div>
<!-- BW Measurement -->
<div id="bwCurrentDropdownContainer" class="home-bw-current-outer-container dropdown-outer-container">
<div id="bwDropdownHeader" class="dropdown-header">
<h2 class="home-text16">Bandwidth</h2>
<img id="bwDropdownBtn" class="dropdown-btn" src="img/dropdown-down.png" width="20" height="20" title="Expand">
</div>
<div id="bwDropdownContainer" style="display: none;">
<p class="home-text16">(powered by M-Lab speed test)</p>
<div id="gaugeBWContainer" class="gauge-bw-container">
<div id="downBWCurrentContainer" class="home-inner-bw-current-container"></div>
<div id="upBWCurrentContainer" class="home-inner-bw-current-container"></div>
</div>
<div id="bwStatsContainer" class="bw-stats-container">
<ul class="bw-ul list">
<li class="list-item">
<label class="home-text07">Packet Loss:</label>
<label id="packetLossText" class="home-text08"></label>
</li>
<li class="list-item">
<label class="home-text09">Latency:</label>
<label id="latencyText" class="home-text10"></label>
</li>
</ul>
</div>
</div>
</div>
<!-- DASH Measurement -->
<div id="dashOuterContainer" class="home-dash-current-outer-container dropdown-outer-container">
<div id="dashDropdownHeader" class="dropdown-header">
<h2 class="home-text15">Video Streaming (DASH)</h2>
<img id="dashDropdownBtn" class="dropdown-btn" src="img/dropdown-down.png" width="20" height="20" title="Expand">
<!-- <span class="arrow">▼</span> -->
</div>
<!-- DASH Video Player -->
<div id="dashDropdownContainer" style="display: none;">
<div id="dashVideoContainer" class="dash-video-container">
<video id="videoPlayer" class="video-player" muted=""></video>
</div>
<div id="dashMeasurementContainer" class="dash-measurement-container">
<div class="home-buffer-current-outer-container">
<div id="bufferCurrentContainer" class="home-buffer-current-container"></div>
</div>
<div class="home-bitrate-current-outer-container">
<div id="bitrateCurrentContainer" class="home-bitrate-current-container"></div>
</div>
<div class="home-resolution-current-outer-container">
<div id="resolutionCurrentContainer" class="home-resolution-current-container"></div>
</div>
<div class="home-framerate-current-outer-container">
<div id="framerateCurrentContainer" class="home-resolution-current-container"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Historic Measurement Stats -->
<div id="histMeasurementContainer" class="home-current-measurement-container" style="display: none;">
<div class="home-web-current-outer-container">
<h2 class="home-text17">Web Browsing</h2>
<div id="containerWebHist" class="home-web-current-container"></div>
</div>
<div class="home-bw-current-outer-container">
<h2 class="home-text18">Bandwidth</h2>
<div id="containerBWHist" class="home-web-current-container"></div>
</div>
<div class="home-bw-current-outer-container">
<h2 class="home-text18">Video Streaming</h2>
<div id="containerDASHHist" class="home-web-current-container"></div>
</div>
</div>
</div>
</div>
<script
defer=""
src="teleporthq/index.umd.js"
></script>
<!-- <script
defer=""
src="teleporthq/animate-on-reveal.umd.js"
></script> -->
<script src="highcharts/highcharts.js"></script>
<script src="highcharts/highcharts-more.js"></script>
<script src="highcharts/solid-gauge.js"></script>
<script src="aws-sdk-2.1529.0.min.js"></script>
<script src="./ndt7/src/ndt7.min.js" type="text/javascript"></script>
<script src="measure_stats.js"></script>
<script src="dash.all.min.js"></script>
</body>
</html>