This repository has been archived by the owner on Jan 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (54 loc) · 2.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Share-It</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<section class= "upload-container">
<div class="drop-zone">
<div class="icon-container">
<img src="./file.svg" alt="file-icon" class="center" draggable="false">
<img src="./file.svg" alt="file-icon" class="left" draggable="false">
<img src="./file.svg" alt="file-icon" class="right" draggable="false">
</div>
<input type="file" id="fileInput">
<div class="title">Drop your files here or, <span class="browseBtn">browse</span></div>
</div>
<div class="progress-container">
<div class="bg-progress"></div>
<div class="inner-container">
<div class="title">Uploading...</div>
<div class="percent-container"><span id="percent">0</span>%</div>
<div class="progress-bar"></div>
</div>
</div>
<div class="sharing-container">
<p class ="expire">Link expires in 24 hrs</p>
<div class="input-container">
<input type="text" id="fileURL" readonly>
<img src="./copy-icon.svg" id="copyBtn" alt="copy to clipboard icon" >
</div>
<p>Or send Via Email</p>
<div class="email-container">
<form id ="emailForm">
<div class="field">
<label for="sender">Your email</label>
<input type="email" required name="from-email" id="sender">
</div>
<div class="field">
<label for="receiver">Receiver's email</label>
<input type="email" required name="to-email" id="receiver">
</div>
<button type="submit">Send</button>
</form>
</div>
</div>
</section>
<div class="upload-vector"></div>
<div class="toast"></div>
<script src="index.js"></script>
</body>
</html>