forked from richorama/AzureSpeedTest2
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
163 lines (138 loc) · 3.76 KB
/
index.html
File metadata and controls
163 lines (138 loc) · 3.76 KB
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
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description"
content="Github Azure DevOps SpeedTest - Measure the latenecy to your nearest Microsoft Azure Data Center" />
<meta name="author" content="Janusz Nowak" />
<meta name="twitter:card"
content="https://user-images.githubusercontent.com/5168275/224496856-971ca7f5-9982-4cdb-b48b-61eb8540019b.png">
<meta name="twitter:site" content="@jnowwwak">
<meta name="twitter:title" content="Github Azure DevOps SpeedTest">
<meta name="twitter:description" content="Your Description">
<meta name="twitter:image"
content="https://user-images.githubusercontent.com/5168275/224496856-971ca7f5-9982-4cdb-b48b-61eb8540019b.png">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous" />
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<title>Github Azure DevOps SpeedTest</title>
<link rel="icon" type="image/png" href="/favicon.png" />
<style>
:root {
--bg-color: #ffffff;
--text-color: #212529;
--jumbotron-bg: #e9ecef;
--table-bg: #ffffff;
--table-stripe: #f8f9fa;
--border-color: #dee2e6;
}
body.dark-mode {
--bg-color: #1a1a1a;
--text-color: #e9ecef;
--jumbotron-bg: #2d2d2d;
--table-bg: #2d2d2d;
--table-stripe: #3d3d3d;
--border-color: #454545;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
transition: background-color 0.3s, color 0.3s;
}
.jumbotron {
background-color: var(--jumbotron-bg);
color: var(--text-color);
}
.table {
background-color: var(--table-bg);
color: var(--text-color);
}
.table tbody tr:hover {
background-color: var(--table-stripe);
}
.dark-mode-toggle {
position: fixed;
top: 20px;
right: 20px;
padding: 10px 20px;
border: none;
border-radius: 25px;
background-color: var(--jumbotron-bg);
color: var(--text-color);
cursor: pointer;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
z-index: 1000;
transition: all 0.3s;
}
.dark-mode-toggle:hover {
transform: scale(1.05);
}
.export-buttons {
margin: 20px 0;
}
.export-buttons button {
margin-right: 10px;
margin-bottom: 10px;
}
.btn-warning {
background-color: #ffc107;
border-color: #ffc107;
color: #212529;
}
.btn-warning:hover {
background-color: #e0a800;
border-color: #d39e00;
}
.container {
/*width: 970px;*/
}
.icon {
width: 25px;
margin-right: 8px;
}
.results-table {
margin-bottom: 75px;
}
tr {
display: flex;
width: 100%;
}
td,
th {
flex: 1;
}
svg {
width: 200px;
height: 100%;
}
@media screen and (max-width: 770px) {
.no-mobile {
display: none;
}
.dark-mode-toggle {
top: 10px;
right: 10px;
padding: 8px 16px;
font-size: 14px;
}
}
</style>
</head>
<body>
<div class="jumbotron">
<div class="container">
<h1 class="display-4">Github Azure DevOps SpeedTest</h1>
<p class="lead">
Measures the network latency between your browser and GitHub and each
of the Azure DevOps region.
</p>
</div>
</div>
<div class="container">
<div id="content">Starting...</div>
</div>
<noscript>You need to enabled JavaScript for this web application to
work.</noscript>
<script src="index.min.js"></script>
</body>
</html>