-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (91 loc) · 2.37 KB
/
Copy pathindex.html
File metadata and controls
96 lines (91 loc) · 2.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self' 'unsafe-inline'"
/>
<link rel="stylesheet" href="css/all.min.css" />
<link rel="stylesheet" href="css/materialize.min.css" />
<link rel="stylesheet" href="css/style.css" />
<title>File Share</title>
</head>
<body>
<div class="container center-align">
<h3><img src="./file-upload-solid.svg" /> FileShare</h3>
<p class="hero-over">Choose a file to share</p>
<div class="file-field input-field">
<div class="btn">
<span>Browse</span>
<input type="file" id="myFile" />
</div>
<div class="file-path-wrapper">
<input
type="text"
id="filePath"
class="file-path validate"
placeholder="Upload file"
/>
</div>
</div>
<p class="note">
<strong>Note:</strong>
<em
>Both Devices must be connected to the same network (Same
WiFi/Hotspot)</em
>
</p>
<button class="btn black" onclick="myFunction()" id="share-button">
Share
<img src="./Radio-3.1s-71px.svg" />
</button>
<div class="card output">
<div class="card-content">
File Link : <span id="output-path">(No Internet Required)</span>
</div>
</div>
<p>Open the above Link your other device's web browser</p>
</div>
<div class="outer-notif" id="mainNotif">
<div class="notif-div">
<h4 class="close-notif" onclick="closeNotif()">+</h4>
<h4 id="notif-heading">No New Notifications</h4>
<hr />
<p id="notif-desc">
There are no new notifications or you are not connected to internet.
Use Ctrl+R to refresh.
</p>
<hr />
<p>
<a
href="https://www.github.com/AdityaKG-169"
target="_blank"
class="masthead"
>
Aditya Krishna Production
</a>
</p>
</div>
</div>
<div class="footer">
<!-- <span id="notif-dot"></span> -->
<img
src="./bell-regular.svg"
onclick="openNotif()"
title="Notifications"
id="notif-image"
/>
<span title="Aditya Krishna Production"
><a
href="https://www.linkedin.com/in/adityakrishnagupta"
target="_blank"
>AK</a
></span
>
<img src="./bug-solid.svg" title="Report Bug" onclick="bugAdd()" />
</div>
<script src="./script.js"></script>
</body>
</html>