-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
61 lines (55 loc) · 1.8 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fula Companion</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
<div id="app">
<header>
<h1>Fula Companion</h1>
<div id="xp-counter">
<span id="xp-value">0</span>
<i class="fas fa-coins"></i>
</div>
</header>
<main>
<div id="settings-tab" class="tab-content">
<h2>Settings</h2>
<p>Please go to <a href="https://cloud.fx.land" target="_blank">cloud.fx.land</a> to get an API key.</p>
<input type="text" id="apiKey" placeholder="Paste your API key here">
<button id="saveApiKey">Save</button>
</div>
<div id="pins-tab" class="tab-content hidden">
<h2>Pinned Items</h2>
<ul id="pinnedList"></ul>
<div id="pagination">
<button id="prevPage" disabled>Previous</button>
<span id="pageInfo"></span>
<button id="nextPage">Next</button>
</div>
</div>
<div id="pinning-progress-tab" class="tab-content hidden">
<h2>Pinning Progress</h2>
<ul id="pinningStatusList"></ul>
</div>
<div id="loading" class="hidden">
<div class="spinner"></div>
<p>Loading...</p>
</div>
<div id="error" class="hidden">
<p id="errorMessage"></p>
</div>
</main>
<nav>
<button id="settings-tab-btn" class="tab-btn active">Settings</button>
<button id="pins-tab-btn" class="tab-btn">Pins</button>
<button id="pinning-progress-tab-btn" class="tab-btn">Progress</button>
</nav>
</div>
<script src="popup.js"></script>
</body>
</html>