-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
61 lines (51 loc) · 2.27 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 Information: Character set, Viewport, and Title -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tab Saver Popup</title>
<!-- External CSS -->
<link rel="stylesheet" href="popup.css">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
<!-- Bootstrap CSS from CDN -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<!-- jQuery and Popper.js from CDN -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<!-- Bootstrap JS from CDN -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<!-- JavaScript Files -->
<script src="tabManager.js" defer></script>
<script src="uiManager.js" defer></script>
<script src="popup.js" defer></script>
<!-- Main Application Container -->
<main id="app">
<!-- Title of the Application -->
<h1>Tab Saver</h1>
<!-- Action Buttons Section -->
<div>
<!-- Button to save all open tabs -->
<button id="saveTabs" aria-label="Save all open tabs">Save Tabs</button>
<!-- Button to export saved tabs to a file -->
<button id="exportTabs" aria-label="Export saved tabs to a file">Export Tabs</button>
<!-- Button to import tabs from a file -->
<button id="importTabs" aria-label="Import tabs from a file">Import Tabs</button>
</div>
<!-- List to display saved tabs -->
<ul id="tabsList"></ul>
<!-- Input field for user to enter desired size -->
<div id="resizeContainer">
<div>
<label for="sizeInput">Enter desired size:</label>
<input type="number" id="sizeInput" min="100" max="1000" step="10" value="500">
</div>
<button id="resizeButton">Resize</button>
</div>
</main>
</body>
</html>