-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrowse.html
57 lines (47 loc) · 2.09 KB
/
browse.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>Browse Google Drive</title>
<link rel="shortcut icon" href="/img/logo.png" type="image/x-icon">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="/css/browse.css">
</head>
<body>
<div class="container">
<button class="back-button" onclick="window.location.href='index.html'">
<i class="fas fa-arrow-left"></i>
</button>
<button class="create-folder-button"> <i class="fa-solid fa-folder-plus"></i></button>
<button class="move-button" id="moveButton" disabled>
<i class="fas fa-folder-open"></i> Move
</button>
<div class="drop-zone" id="dropZone">
<i class="fas fa-upload"></i> Drag and drop files here to upload
</div>
<input type="file" id="hiddenFileInput" multiple style="display:none;">
<div id="driveContents"></div>
</div>
<div id="uploadProgressContainer" style="display: none;">
<span id="uploadProgressText">Uploading...</span>
<progress id="uploadProgress" value="0" max="100"></progress>
</div>
<div class="toast" id="toast">Copied to clipboard!</div>
<div class="modal" id="folderPickerModal">
<div class="modal-content">
<div class="modal-header">
<h3>Select Destination Folder</h3>
<button class="close-modal">×</button>
</div>
<div class="modal-body" id="modalFolderContents"></div>
<div class="modal-footer">
<button class="btn" onclick="confirmMove()">Move Here</button>
</div>
</div>
</div>
<script src="/js/browse.js"></script>
</body>
</html>