-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuploadWindow.html
More file actions
67 lines (60 loc) · 2.67 KB
/
uploadWindow.html
File metadata and controls
67 lines (60 loc) · 2.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<link rel="stylesheet" href="photon.min.css" />
<link rel="stylesheet" href="style.css" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous" />
<title>File Upload</title>
</head>
<body style="background-image: url('./image/image.jpg')">
<div id="successMessage" class="hidden">
<p>Email sent successfully!</p>
</div>
<div class="position-absolute top-50 start-50 translate-middle mainWrapper">
<form class="formBox" style="
width: fit-content;
margin: 20px;
padding: 20px;
align-self: center;
background-color: rgba(21, 24, 23, 0.5);
" id="formBox">
<div id="loadingBox">
<div id="loading" class="hidden">
<img src="./image/loading3d.gif" alt="Sending..." />
</div>
</div>
<div class="input-group mb-3 rounded-1">
<input type="text" id="email" name="email" class="form-control inputColor" placeholder="Email Id" /><br /><br />
<span class="input-group-text inputColor" id="basic-addon2"></span>
</div>
<div class="input-group mb-3 rounded-1">
<input type="password" id="password" name="password" class="form-control inputColor" placeholder="Password"
onmouseout="submitForm()" /><br /><br />
</div>
<div class="input-group mb-3 rounded-1">
<button id="btnRead" type="button" class="btn btnColor border-2 rounded-1" onclick="upload()">
<b>Upload</b>
</button>
<input id="excel" class="form-control inputColor" placeholder="Chosen Excel sheet" style="margin-left: 7px"
readonly />
</div>
<div class="input-group mb-3 rounded-1">
<button id="selectDirectory" type="button" class="btn btnColor border-2 rounded-1"
onclick="onDirectorySelected()">
<b> Directory</b>
</button>
<input id="dirPath" class="form-control inputColor" placeholder="Chosen Path" style="margin-left: 7px"
readonly />
</div>
<button id="sendFiles" type="button" class="btn btnColor border-2 rounded-1" style="margin-left: 170px">
<b>Send</b></button><br /><br />
</form>
</div>
<script src="index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz"
crossorigin="anonymous"></script>
</body>
</html>