-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (50 loc) · 2.23 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
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="robots" content="noindex, nofollow">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/img/logo.png" type="image/x-icon">
<link rel="stylesheet" href="/css/index.css">
<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">
<script src="https://unpkg.com/@dotlottie/[email protected]/dist/dotlottie-player.mjs" type="module"></script>
<title>MULTI DRIVE</title>
</head>
<body>
<div class="header">
<h1>Google Drive Account Manager</h1>
<button class="btn btn-primary" onclick="handleAuthClick()">
<i class="material-symbols-outlined"> person_add </i> Add Google Account
</button>
<div class="search-container">
<input type="text" id="searchInput" placeholder="Search for folders..." />
<button class="btn btn-primary" id="searchBtn">
<i class="material-symbols-outlined"> search </i>
</button>
</div>
</div>
<div class="container">
<h2 id="accountTitle">Accounts</h2>
<div class="account-list" id="accountList"> </div>
<h2 id="searchTitle" style="display: none">Search Results</h2>
<button id="backBtn" class="btn btn-secondary" onclick="resetSearch()" style="display: none;">
<i class="material-symbols-outlined">arrow_back</i>
</button>
<div class="search-results" id="searchResults"></div>
</div>
<!-- Google API scripts -->
<script src="/js/index.js"></script>
<script src="https://apis.google.com/js/api.js"></script>
<script src="https://accounts.google.com/gsi/client"></script>
<script src="/credentials.js"></script>
<script>
// Get the Lottie animation element
const lottieAnimation = document.getElementById("lottieAnimation");
// Pause the animation when it completes
lottieAnimation.addEventListener("complete", () => {
lottieAnimation.pause();
});
</script>
</body>
</html>