-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
162 lines (156 loc) · 5.61 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="apple-touch-icon" sizes="180x180" href="/icons/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon/favicon-16x16.png">
<link rel="manifest" href="/icons/favicon/site.webmanifest">
<link rel="stylesheet" href="/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="/font-awesome/6.6.0/css/all.min.css" />
<link rel="stylesheet" href="/dist/minty/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="/libs/toastify.min.css" />
<link rel="stylesheet" href="/libs/animate.min.css" />
<link id="dynamicStyles" rel="stylesheet" href="/css/desktop.css">
<link rel="stylesheet" href="/css/style.css" />
</head>
<body>
<div class="container">
<div class="row mb-3">
<div class="col-1">
<i
role="button"
data-bs-toggle="offcanvas"
href="#offcanvasSettings"
class="fas fa-bars"
></i>
</div>
<div
class="col-9 text-center animate__animated animate__lightSpeedInLeft"
>
<h5>Tab Collections</h5>
</div>
<div
id="createCollection"
class="col-1 text-end animate__animated animate__tada animate__infinite"
>
<i class="fas fa-folder-plus"></i>
</div>
</div>
<div id="collections" class="row animate__animated animate__jackInTheBox">
<!-- <div class="col-6 mb-3">
<button type="button" class="btn btn-secondary">
Tab Collection 1
</button>
</div>
<div class="col-6 mb-3">
<button type="button" class="btn btn-secondary">
Tab Collection 2
</button>
</div>
<div class="col-6 mb-3">
<button type="button" class="btn btn-secondary">
Tab Collection 3
</button>
</div>
<div class="col-6 mb-3">
<button type="button" class="btn btn-secondary">
Tab Collection 4
</button>
</div> -->
</div>
</div>
<!-- Modal for creating a new collection -->
<div id="modal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h5 class="modal-title">Create a new tab collection</h5>
<div class="form-group mb-2">
<label for="collectionName">Collection Name</label>
<input
type="text"
class="form-control"
id="collectionName"
placeholder="Programming"
/>
</div>
<div class="form-group mb-2">
<label style="margin-right: 10px;" for="collectionLinks">Paste links here, one per line</label>
<textarea
class="form-control"
id="collectionLinks"
placeholder="http://www.google.com/"
rows="7"
></textarea>
</div>
<button type="button" id="saveCollection" class="btn btn-success">
Save
</button>
</div>
</div>
<!-- Modal for editing a collection -->
<div id="editModal" class="modal">
<div class="modal-content">
<span class="closeEdit" style="cursor: pointer">×</span>
<h5 class="modal-title">Edit Links</h5>
<div class="form-group mb-2">
<label style="margin-right: 10px;" for="editLinks">Edit links here, one per line</label>
<textarea class="form-control" id="editLinks" rows="10"></textarea>
</div>
<button type="button" id="saveEditedCollection" class="btn btn-success">
Save Changes
</button>
</div>
</div>
<div
class="offcanvas offcanvas-start"
tabindex="-1"
id="offcanvasSettings"
aria-labelledby="offcanvasSettingsLabel"
bis_skin_checked="1"
>
<div class="offcanvas-header" bis_skin_checked="1">
<h5 class="offcanvas-title" id="offcanvasSettingsLabel">Settings</h5>
<button
type="button"
class="btn-close text-reset"
data-bs-dismiss="offcanvas"
aria-label="Close"
></button>
</div>
<div class="offcanvas-body" bis_skin_checked="1">
<h5 class="mb-2">Backup/Restore:</h5>
<div
class="card border-info mb-3"
style="max-width: 20rem"
bis_skin_checked="1"
>
<div class="card-header" bis_skin_checked="1">JSON</div>
<div class="card-body" bis_skin_checked="1">
<button id="exportJSON" type="button" class="btn btn-primary">
Export
</button>
<button id="importJSON" type="button" class="btn btn-secondary">
Import
</button>
</div>
<div class="card-header" bis_skin_checked="1">GDrive</div>
<div class="card-body" bis_skin_checked="1">
<button id="exportDrive" type="button" class="btn btn-primary">
Export
</button>
<button id="importDrive" type="button" class="btn btn-secondary">
Import
</button>
</div>
</div>
</div>
</div>
<script src="/libs/jquery/jquery.js"></script>
<script src="/dist/popper/popper.min.js"></script>
<script src="/dist/js/bootstrap.js"></script>
<script src="/dist/js/bootstrap.bundle.js"></script>
<script type="text/javascript" src="/libs/toastify.js"></script>
<script src="/js/popup.js"></script>
</body>
</html>