-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
82 lines (70 loc) · 3.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="unsafe-eval" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<script src="https://code.jquery.com/jquery-3.7.0.min.js" integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g=" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/6.6.6/css/flag-icons.min.css" integrity="sha512-uvXdJud8WaOlQFjlz9B15Yy2Au/bMAvz79F7Xa6OakCl2jvQPdHD0hb3dEqZRdSwG4/sknePXlE7GiarwA/9Wg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
<link rel="stylesheet" href="index.css">
<title>Fedora Mirror Measure</title>
</head>
<body class="m-5">
<section class="my-3 d-flex flex-column" id="branding">
<div class="mx-3 form-check form-switch" style="align-self: end">
<label>Night Mode
<input id="night_mode" role="switch" class="form-check-input" type="checkbox">
</label>
</div>
<img src="./assets/mime-banner.png" style="align-self: center;" data-toggle="tooltip" alt="banner"
id="banner">
</section>
<div class="d-flex my-4" id="selection_area">
<div class="d-flex flex-column flex-fill">
<section class="border container d-flex justify-content-center" style="width: 95%; margin-bottom: 10px;">
<div class="py-5 d-flex flex-column">
<h2 class="align-self-center">Version</h2>
<div class="text-center" id="version-list">
<input type="number" placeholder="Enter Manually" class="form-control form-control-sm" min="1"
id="version">
</div>
</div>
</section>
<section class="border container d-flex justify-content-center" style="width: 95%;">
<div class="py-5 d-flex flex-column">
<h2 class="align-self-center">Architecture</h2>
<div class="align-self-center">
<div id="archi-list"></div>
</div>
</div>
</section>
</div>
<div class="align-self-center">
<p class="text-center">Or</p>
<button id="auto-detect" class="btn btn-primary">Auto Detect Configuration</button>
</div>
<section class="border container d-flex justify-content-center mx-3" style="width: 40%; max-height: 490px">
<div class="py-5 d-flex flex-column">
<h2 class="align-self-center">Mirrors</h2>
<p class="text-center my-5" id="select_first">Please select version & architecture first</p>
<div class="align-self-center my-2" style="overflow: auto">
<div class="accordion d-none" id="mirrors"></div>
</div>
</div>
</section>
</div>
<section class="container d-flex justify-content-center my-3">
<button class="btn btn-danger d-none operation-button mx-2" id="stop">Stop!</button>
<button class="btn btn-primary d-none operation-button mx-2" id="test-speed">Test Speed</button>
<button class="btn d-none operation-button mx-2" style="background-color: yellow" id="reload">Reset</button>
</section>
<section class="container d-flex justify-content-center my-3">
<div id="result">
</div>
</section>
<script src="renderer.js"></script>
</body>
</html>