-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (55 loc) · 2.69 KB
/
index.html
File metadata and controls
59 lines (55 loc) · 2.69 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>File Management System</title>
<link rel="stylesheet" href="/style.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
</head>
<body>
<!-- Button trigger modal -->
<div class="outerBox">
<button type="button" class="btn btn-dark" data-bs-toggle="modal" data-bs-target="#exampleModal">
Launch File System
</button>
</div>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="btn btn-outline-dark headingButton"
onclick="recentFunction(recent,directory,upload)">Recent</button>
<button type="button" class="btn btn-outline-dark headingButton"
onclick="directoryFunction(directory,recent,upload)">My Directory</button>
<button type="button" class="btn btn-outline-dark headingButton"
onclick="uploadFunction(upload,directory,recent)">Upload</button>
</div>
<div class="modal-body" style="align-items: center; text-align: center;">
<div id="recent" style="display: inline;">
Inside Recent
</div>
<div id="directory" style="display: none;">
Inside Directory
</div>
<div id="upload" style="display: none;">
<div class="input-group mt-4 w-75 mx-auto">
<input type="file" class="form-control" id="inputGroupFile02">
<label class="input-group-text" for="inputGroupFile02">Upload</label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"
crossorigin="anonymous"></script>
<script src="/main.js"></script>
</body>
</html>