-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
76 lines (69 loc) · 1.89 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tab Manager</title>
<style>
/* Basic body styling */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 10px;
box-sizing: border-box;
width: 100%;
height: 100%;
}
/* Table styling to ensure full width and proper layout */
table {
width: 100%;
border-collapse: collapse;
}
/* Styling for table header and cells */
th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
word-wrap: break-word; /* Ensures long words/URLs wrap inside the cell */
}
/* Styling for the header cells */
th {
cursor: pointer; /* Indicates that the header is clickable */
background-color: #f1f1f1;
position: sticky; /* Makes the header sticky */
top: 0; /* Sticks the header to the top */
z-index: 1; /* Ensures the header stays on top of other content */
}
/* Button styling */
button {
margin-top: 10px;
}
/* Styling for the favicon images */
.tab-icon {
width: 32px;
height: 32px;
}
</style>
</head>
<body>
<!-- Buttons for closing tabs and resetting checkboxes -->
<div id="buttonContainer">
<button id="closeTabsBtn">CLOSE TABS</button>
<button id="resetBtn">RESET</button>
</div>
<!-- Table to display tabs information -->
<table id="tabsTable">
<thead>
<tr>
<th>Check</th> <!-- Column for checkboxes to select tabs -->
<th>ID</th> <!-- Column for tab ID -->
<th>Icon</th> <!-- Column for tab favicons -->
<th>URL</th> <!-- Column for tab URLs -->
<th>Title</th> <!-- Column for tab titles -->
</tr>
</thead>
<tbody></tbody>
</table>
<!-- Linking the JavaScript file for functionality -->
<script src="popup.js"></script>
</body>
</html>