-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
72 lines (63 loc) · 2.65 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
<!DOCTYPE html>
<html>
<head>
<link href="favicon.png" rel="shortcut icon" />
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="main.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Distribyted Gateway</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-primary bg-primary">
<div class="container-fluid">
<a class="navbar-brand" href="https://gate.distribyted.com" target="_blank">
<img src="favicon.png" width="24" height="24" class="d-inline-block align-text-top">
Gate
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText"
aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarText">
<span class="navbar-text">
↘<code id="downloadSpeed">0 b/s</code>
<div class="vr"></div>
↗<code id="uploadSpeed">0 b/s</code>
<div class="vr"></div>
<code id="downloaded"></code>
of <code id="total"></code>
<div class="vr"></div>
<code id="numPeers">0 peers</code>
</span>
</div>
</div>
</nav>
<div class="progress" style="height: 0.5rem;">
<div class="progress-bar progress-bar-striped progress-bar bg-success" role="progressbar" id="progressbar"
aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"></div>
</div>
<div class="d-flex align-items-center justify-content-center loading-div" id="loading"
style="display:none !important;">
<div class="spinner-border my-auto" style="width: 5rem; height: 5rem;" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<div class="container align-items-center justify-content-center" id="form">
<form>
<div class="input-group mb-3">
<input class="form-control form-control-lg" type="text" name="torrentId" placeholder="magnet:" aria-describedby="button-addon2">
<button class="btn btn-outline-primary" type="submit" id="button-addon2">Go!</button>
</div>
</form>
</div>
<div class="d-flex align-items-center justify-content-center" id="iframe">
<iframe id="content" title="content" class="iframe-web-container"> </iframe>
</div>
<script src="bootstrap.min.js"></script>
<script src="webtorrent.min.js"></script>
<script src="range-parser.js"></script>
<script src="moment.min.js"></script>
<script src="script.js"></script>
</body>
</html>