-
Notifications
You must be signed in to change notification settings - Fork 0
/
newtab.html
347 lines (344 loc) · 14.3 KB
/
newtab.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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
<!DOCTYPE html>
<!--Hello there!-->
<!--You can help this project by contributing-->
<!--to this repository:-->
<!--https://github.com/Annndruha/PulchraBookmarks-->
<html lang="en">
<head>
<title>Bookmarks</title>
<meta charset="utf-8">
<link rel="icon" href="images/icons/favicon.svg">
<link rel="shortcut icon" href="/images/icons/favicon.svg">
<link rel="stylesheet" href="css/switch-button.css">
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="css/content.css">
<link rel="stylesheet" href="css/bottom-menu.css">
<link rel="stylesheet" href="css/settings.css">
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="css/right-click-menu.css">
<link rel="stylesheet" href="css/edit-menu.css">
<link rel="stylesheet" href="css/clock.css">
<link rel="stylesheet" id="emptysheet" href="css/empty-icon-bm.css">
</head>
<body>
<div class="app-container" id="app-container">
<div class="bookmarks-header">
<div class="row" id="header-row">
<div class="header-left" id="bookmarks">
</div>
<div class="header-right">
<img class="settings-icon" id="settings-open-button" draggable="false" src="images/icons/menu.svg" alt="">
</div>
</div>
</div>
<div class="clock-div">
<div class="clock-text" id="clock"></div>
</div>
<div class="content">
<div class="grid" id="grid">
</div>
</div>
</div>
<div class="settings cancel-overlay"></div>
<div class="settings settins-overlay">
<div class="settings window">
<div class="row" id="title-row">
<div class="item-left">
<img id="logo" draggable="false" src="images/branding/pulchra-bookmarks.svg" alt="">
<div class="verticalflex">
<span id="title">
<span>Pulchra Bookmarks</span>
</span>
<div class="header-small-row">
<span class="title-no-accent" id="version">vNaN</span>
<img id="git-link" draggable="false" class="store-icons" src="images/branding/github.svg" alt="">
<img id="store-link" draggable="false" class="store-icons" src="images/branding/chromewebstore.svg"
alt="">
</div>
</div>
</div>
<div class="item-right">
<img class="settings-icon" draggable="false" id="close-settings-button" src="images/icons/close.svg" alt="">
</div>
</div>
<div class="row rowgroup">
<div class="rowgroup-title">
<span>Visual</span>
</div>
</div>
<div class="row rowgroup-separator">
<div class="separator"></div>
</div>
<div class="row rowhover" id="load-background">
<div class="item-left" id="load-text-background">
<span>Change background</span>
</div>
<div class="item-right" id="load-icon-background">
<img class="settings-icon" draggable="false" src="images/icons/image.svg" alt="">
</div>
<div class="input-row-back-out">
<div class="input-row-2">
<input type="file" id="upload_background" accept=".png, .jpg" name="upload"/>
</div>
</div>
</div>
<div class="row rowhover" id="reset-background">
<div class="item-left">
<span>Reset background to default</span>
</div>
<div class="item-right">
<img id="reset-icon-background" draggable="false" class="settings-icon" src="images/icons/not_image.svg" alt="">
</div>
</div>
<div class="row changegrid">
<div class="item-left">
<span>
Lines
</span>
</div>
<div class="item-right">
<div class="slider-long">
<input type="range" id="range-rows" name="volume"
min="1" max="10">
</div>
<label id="rows" for="range-rows">N</label>
</div>
</div>
<div class="row changegrid">
<div class="item-left">
<span>
Columns
</span>
</div>
<div class="item-right">
<div class="slider-long">
<input type="range" id="range-cols" name="volume"
min="1" max="10">
</div>
<label id="cols" for="range-cols">N</label>
</div>
</div>
<div class="row rowhover" id="show-header">
<div class="item-left">
<span>Show bookmarks bar</span>
</div>
<div class="item-right">
<label class="switch">
<input type="checkbox" id="checkbox-show-header">
<span class="slider round"></span>
</label>
</div>
</div>
<div class="row rowhover" id="show-quick">
<div class="item-left">
<span>Show quick access</span>
</div>
<div class="item-right">
<label class="switch">
<input type="checkbox" id="checkbox-show-quick">
<span class="slider round"></span>
</label>
</div>
</div>
<div class="row rowhover" id="show-clock">
<div class="item-left">
<span>Show clock</span>
</div>
<div class="item-right">
<label class="switch">
<input type="checkbox" id="checkbox-show-clock">
<span class="slider round"></span>
</label>
</div>
</div>
<div class="row rowgroup">
<div class="rowgroup-title">
<span>Behavior</span>
</div>
</div>
<div class="row rowgroup-separator">
<div class="separator"></div>
</div>
<div class="row rowhover" id="new-tab">
<div class="item-left">
<span>Open in new tab</span>
</div>
<div class="item-right">
<label class="switch">
<input type="checkbox" id="checkbox-new-tab">
<span class="slider round"></span>
</label>
</div>
</div>
<div class="row rowhover" id="keybinds">
<div class="item-left">
<span>Keyboard shortcuts</span>
</div>
<div class="item-right">
<label class="switch">
<input type="checkbox" id="checkbox-keybinds">
<span class="slider round"></span>
</label>
</div>
</div>
<div class="row rowgroup">
<div class="rowgroup-title">
<span>Other</span>
</div>
</div>
<div class="row rowgroup-separator">
<div class="separator"></div>
</div>
<div class="row rowhover" id="reload-icons">
<div class="item-left">
<span>Reload icons</span>
</div>
<div class="item-right">
<img id="icon-reload-icons" draggable="false" class="settings-icon" src="images/icons/autorenew_black.svg" alt="">
</div>
</div>
<div class="row rowhover" id="report_bug">
<div class="item-left">
<span>Bug report</span>
</div>
<div class="item-right">
<img class="settings-icon" draggable="false" src="images/icons/bug_report.svg" alt="">
</div>
</div>
<div id="settings-bottom-block">
<div class="row rowgroup">
<div class="rowgroup-title">
<span>Backup</span>
</div>
</div>
<div class="row rowgroup-separator">
<div class="separator"></div>
</div>
<div class="row rowhover" id="save-to-file">
<div class="item-left">
<span>Save to file</span>
</div>
<div class="item-right">
<img class="settings-icon" draggable="false" src="images/icons/file_download.svg" alt="">
</div>
</div>
<div class="row rowhover" id="load-from-file">
<div class="item-left" id="load-text">
<span>Load from file</span>
</div>
<div class="item-right" id="load-icon">
<img class="settings-icon" draggable="false" src="images/icons/file_upload.svg" alt="">
</div>
<div class="input-row-1">
<div class="input-row-2">
<input type="file" id="upload_input" accept=".json" name="upload"/>
</div>
</div>
</div>
<div class="row rowhover" id="save-to-cloud">
<div class="item-left">
<span>Save to cloud</span>
</div>
<div class="item-right">
<span id="save-cloud-status"></span>
<img id="icon-cloud-save" draggable="false" class="settings-icon" src="images/icons/cloud_download.svg" alt="">
</div>
</div>
<div class="row rowhover" id="load-from-cloud">
<div class="item-left" id="load-text-cloud">
<span>Load from cloud</span>
</div>
<div class="item-right">
<span id="load-cloud-status"></span>
<img id="icon-cloud-load" draggable="false" class="settings-icon" src="images/icons/backup.svg" alt="">
</div>
</div>
</div>
</div>
</div>
<div class="click-menu" id="click-menu-grid-item">
<div class="click-menu-row" data-action="new-tab">
<img draggable="false" class="click-menu-inrow settings-icon" src="images/icons/open_in_new.svg" alt="">
<span class="click-menu-inrow click-menu-text">Open link in new tab</span>
</div>
<div class="click-menu-row" data-action="edit">
<img draggable="false" class="click-menu-inrow settings-icon" src="images/icons/edit.svg" alt="">
<span class="click-menu-inrow click-menu-text">Edit</span>
</div>
<div class="click-menu-row" data-action="delete">
<img draggable="false" class="click-menu-inrow settings-icon" src="images/icons/delete_outline.svg" alt="">
<span class="click-menu-inrow click-menu-text">Delete</span>
</div>
</div>
<div class="click-menu" id="click-menu-bottom-menu">
<div class="click-menu-row" data-action="new-tab">
<img draggable="false" class="click-menu-inrow settings-icon" src="images/icons/open_in_new.svg" alt="">
<span class="click-menu-inrow click-menu-text">Open link in new tab</span>
</div>
</div>
<div class="click-menu" id="click-menu-grid-item-edit">
<div class="click-menu-row" data-action="edit">
<img draggable="false" class="click-menu-inrow settings-icon" src="images/icons/edit.svg" alt="">
<span class="click-menu-inrow click-menu-text">Edit</span>
</div>
</div>
<div class="close-edit"></div>
<div class="edit_popup" id="edit_popup" data-status="closed">
<div class="edit_popup-inner">
<div class="row " id="edit-title">
<div class="item-left">
<img class="edit-menu-inrow" id="edit-logo" draggable="false" src="images/branding/pulchra-bookmarks.svg" alt="">
<span class="edit-menu-inrow edit-menu-text">Edit bookmark</span>
</div>
<div class="item-right">
<span class="edit-menu-inrow edit-menu-text" id="key-preview"></span>
<img class="settings-icon" id="close-edit-button" draggable="false" src="images/icons/close.svg" alt="">
</div>
</div>
<div class="row edit-menu-row">
<div>
<span class="edit-menu-inrow edit-menu-text">Link:</span>
<label for="edit-link-text"></label><input id="edit-link-text">
</div>
</div>
<div class="row edit-menu-row">
<div>
<span class="edit-menu-inrow edit-menu-text">Text:</span>
<label for="edit-bookmark-text"></label><input id="edit-bookmark-text">
</div>
</div>
<div class="row edit-menu-row">
<div>
<span class="edit-menu-inrow edit-menu-text">Icon:</span>
<label for="edit-icon-text"></label><input id="edit-icon-text">
</div>
</div>
<div class="row edit-menu-row">
<div id="edit-save-button">
<div id="edit-save-button-elements">
<span class="edit-menu-inrow edit-menu-text">Save</span>
<img draggable="false" class="edit-menu-inrow settings-icon" id="edit-save-icon" src="images/icons/save.svg" alt="">
</div>
</div>
</div>
<div id="preview">
<img id="icon-preview" draggable="false" src="images/icons/language.svg" alt="">
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="js/basic-func.js"></script>
<script type="text/javascript" src="js/links-func.js"></script>
<script type="text/javascript" src="js/keybindings.js"></script>
<script type="text/javascript" src="js/bottom-menu.js"></script>
<script type="text/javascript" src="js/load-icons.js"></script>
<script type="text/javascript" src="js/bookmarks.js"></script>
<script type="text/javascript" src="js/right-click-menu.js"></script>
<script type="text/javascript" src="js/edit-menu.js"></script>
<script type="text/javascript" src="js/settings.js"></script>
<script type="text/javascript" src="js/saveopen.js"></script>
<script type="text/javascript" src="js/header.js"></script>
<script type="text/javascript" src="js/clock.js"></script>
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>