-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
46 lines (46 loc) · 1.19 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<title>TAI Sync</title>
<style>
body {
width: 300px;
padding: 10px;
font-family: Arial, sans-serif;
}
input, button {
width: 100%;
padding: 10px;
margin-top: 10px;
font-size: 16px;
box-sizing: border-box;
}
label {
margin-top: 10px;
display: block;
}
.spinner {
display: none; /* Hidden initially */
border: 4px solid rgba(0, 0, 0, 0.1);
border-left-color: #4CAF50;
border-radius: 50%;
width: 24px;
height: 24px;
animation: spin 1s linear infinite;
margin: 10px auto;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<h1>TAI Sync</h1>
<div class="spinner" id="loadingSpinner"></div> <!-- Loading spinner -->
<button id="syncButton">Sync</button>
<p id="status"></p>
<button id="clearStorageButton">Sign out</button>
<script src="popup.js"></script>
</body>
</html>