-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpopup.html
More file actions
51 lines (43 loc) · 1.64 KB
/
Copy pathpopup.html
File metadata and controls
51 lines (43 loc) · 1.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="styles.css" />
</head>
<body class="popup-body">
<header class="popup-header">
<img src="/images/icon_48.png" alt="" class="popup-logo" />
<div>
<div class="popup-title">Garmin Badge Database</div>
<div class="popup-subtitle">Data Sync</div>
</div>
</header>
<main class="popup-main">
<div id="status-row" class="status-row">
<span id="status-dot" class="status-dot idle"></span>
<span id="status-text" class="status-text">Ready to sync</span>
</div>
<div id="log" class="log hidden"></div>
<div id="result" class="result hidden"></div>
<button id="sync-btn" class="sync-btn">
<svg class="btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<path d="M1 4v6h6M23 20v-6h-6"/>
<path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"/>
</svg>
<span id="btn-text">Sync now</span>
</button>
<div id="profile-links" class="profile-links hidden">
<a id="link-profile" class="profile-link" target="_blank">Profile</a>
<a id="link-challenges" class="profile-link" target="_blank">Challenges</a>
</div>
</main>
<footer class="popup-footer">
<span>Log in to</span>
<a href="https://connect.garmin.com" target="_blank" class="footer-link">Garmin Connect</a>
<span>first</span>
<span class="footer-sep">·</span>
<button class="footer-btn" id="settings-btn">Settings</button>
</footer>
<script src="popup.js"></script>
</body>
</html>