forked from Mitrajit/Sharenetic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (87 loc) · 4.83 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="assets/css/style.css">
<title>Sharenetic</title>
</head>
<body>
<!-- Nav bar -->
<div class="navbar navbar-dark">
<div class="container-fluid justify-content-end " id="custom-nav">
<p class="navbar-brand ms-3 me-auto" id="custom-title">
Sharenetic
</p>
<div class="down-uplo">
<div class="iconic">
<i class="bi bi-arrow-up-circle ms-2 me-2 icons"></i>
<span class="me-3" id="upload-spd">0.00MB/s</span>
</div>
<div class="iconic">
<i class="bi bi-arrow-down-circle ms-2 me-2 icons"></i>
<span class="me-3" id="download-spd">0.00MB/s</span>
</div>
</div>
</div>
</div>
<div class="container box p-4 whole-body">
<div class="input-group pb-3 head-place">
<div class="input-group recipent">
<input type="text" class="form-control" id="Recipient" placeholder="Recipient's ID"
aria-label="Recipient's ID" aria-describedby="button-addon2">
<button class="btn btn-secondary" type="button" id="copyid"
onclick="this.blur(); navigator.clipboard.writeText(localStorage.id); coppied(this)">
<i class="bi bi-clipboard"></i>
</button>
</div>
<button class="btn btn-primary ms-2" type="button" id="Connect">Connect</button>
</div>
<label for="formFileMultiple" class="form-label">Select the file to send</label>
<div class="input-group">
<div class="file-drop-area internal">
<span class="fake-btn">Choose files</span>
<span class="file-msg">or drag and drop files here</span>
<input class="file-input" type="file" id="file" multiple>
</div>
<button type="button" class="btn btn-primary ms-2 p-lg-4" id="Send">Send</button>
</div>
<!-- <div class="progress-bar" role="progressbar" style="width: 25%" aria-valuenow="50" aria-valuemin="0"
aria-valuemax="100" id="sendProgress"></div> -->
<div class="label pt-3">Send progress: </div>
<progress id="sendProgress" max="100" value="0" class="w-100"></progress>
<div class="label">Receive progress: </div>
<progress id="receiveProgress" max="100" value="0" class="w-100"></progress>
</div>
<!-- Full screen modal -->
<section class="full-screen-modal" id="popup-modal" hidden>
<div class="custom-modal">
</div>
</section>
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script> -->
<!-- Option 2: Separate Popper and Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/webrtc-adapter/out/adapter.min.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/custom.js"></script>
<script src="https://js.pusher.com/7.0/pusher.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ponyfill.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/StreamSaver.min.js"></script>
<script src="assets/js/Signalling.js"></script>
<script src="assets/js/RTCconnect.js"></script>
</body>
</html>