-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
750 lines (514 loc) · 35.4 KB
/
index.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
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title> New Tab by Mission Control</title>
<link rel="shortcut icon" href="icon.png" type="image/x-icon">
<link rel="stylesheet" href="./static/css/style.css">
</head>
<body class="bg-gray-100">
<div id="tasks" class="hidden">
<div id="task_cards"
class="grid items-center justify-center max-w-screen-xl min-h-screen grid-cols-1 gap-8 px-10 py-6 mx-auto sm:grid-cols-2 xl:grid-cols-3 lg:grid-cols-3 xl:px-5">
<!--
<div id="addNewTaskUI"
class="flex items-center justify-center w-1/5 p-5 m-5 bg-gray-100 border-2 border-dashed cursor-pointer h-25">
<div class="w-1/2 text-center text-gray-300 h-1/2">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
stroke="currentColor" viewbox="0 0 24 24">
<path d="M12 4v16m8-8H4"></path>
</svg>
<h3 class="text-lg text-gray-400"> Add New</h3>
</div>
</div> -->
</div>
</div>
<!-- // END TASKS -->
<div id="bookmarks" class="hidden">
<div class="flex justify-center m-16 mb-8">
<div class="relative w-full md:w-1/2 lg:w-1/3">
<span
class="absolute z-10 items-center justify-center w-8 h-full py-3 pl-3 text-base font-normal leading-snug text-center text-gray-400 bg-transparent rounded">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
stroke="currentColor" viewBox="0 0 24 24">
<path d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</span>
<input type="search" name="search" autocomplete="off" placeholder="Search Websites or Cards..."
class="relative w-full px-3 py-3 pl-10 text-sm text-gray-700 placeholder-gray-400 bg-white rounded shadow outline-none search focus:outline-none focus:shadow-outline"
list="card_categories" id="bookmark_search_input" />
<ul class="absolute z-10 hidden w-full mt-2 overflow-y-auto bg-white shadow max-h-25"
id="card_categories">
</ul>
<!-- It will dynamically poulate from JS addDatalistToSearch(cardarray) -->
<div class="flex justify-center mt-5">
<div class="inline-flex text-sm leading-none text-gray-500 bg-gray-200 border-2 border-gray-200 rounded-full"
id="filter__site_cards">
<button
class="inline-flex items-center px-4 py-2 rounded-l-full focus:outline-none hover:text-indigo-400 focus:text-indigo-400 "
id="filter__by_starred">
<svg class="w-4 h-4 mr-2 fill-current" fill="none" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" stroke="currentColor" viewbox="0 0 24 24">
<path
d="M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z">
</path>
</svg>
<span>Starred</span>
</button>
<button
class="inline-flex items-center px-4 py-2 rounded-r-full whitespace-nowrap focus:outline-none hover:text-indigo-400 focus:text-indigo-400 toggle__active"
id="filter__by_all">
<svg class="w-4 h-4 mr-2 stroke-current" width="24" height="24" fill="none"
stroke-linecap="round" stroke-linejoin="round" stroke-width="2" stroke="currentColor"
viewbox="0 0 24 24">
<path
d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10">
</path>
</svg>
<span>Show All</span>
</button>
</div>
</div>
</div>
</div>
<div id="bookmark_cards"
class="grid justify-center min-h-screen grid-cols-1 gap-8 px-10 py-6 mx-auto sm:grid-cols-2 xl:grid-cols-4 lg:grid-cols-3 xl:px-5 max-w-screen-2xl">
<!-- bookmarks block-->
<!-- <div
class="w-1/5 p-5 m-5 overflow-y-auto scrolling-touch bg-white shadow-md h-25 scrollbar-w-2 scrollbar-track-gray-lighter scrollbar-thumb-rounded scrollbar-thumb-gray">
<div class="content">
<div class="header">
<p class="tracking-wide text-gray-400">MY BOOKMARKS</p>
</div>
</div>
<div class="content">
<div class="ui small feed">
<div class="relative" id="showBookmarks">
<div class="text-center" id="b_loader">
<div class="inline-block w-8 h-8">
<div class="stroke-current"><svg class="text-red-200 stroke-current spinner"
viewbox="0 0 50 50">
<circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="5">
</circle>
</svg></div>
</div>
</div>
</div>
</div>
</div>
</div> -->
<div id="addNewBookmarkUI"
class="flex items-center justify-center p-5 bg-gray-100 border-2 border-dashed cursor-pointer h-25">
<div class="w-1/2 text-center text-gray-300 h-1/2">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
stroke="currentColor" viewbox="0 0 24 24">
<path d="M12 4v16m8-8H4"></path>
</svg>
<h3 class="text-lg text-gray-400"> Add New</h3>
</div>
</div>
</div>
<!-- end container -->
</div>
<div id="settings" class="hidden">
<div class="container flex flex-row justify-center h-screen py-6 mx-auto">
<!-- tasks Block -->
<div
class="w-1/2 max-h-full p-8 overflow-y-auto scrolling-touch bg-white shadow-md overflow__block scrollbar-w-2 scrollbar-track-gray-lighter scrollbar-thumb-rounded scrollbar-thumb-gray">
<div class="content">
<div class="text-center header">
<h3 class="pb-1 text-xl tracking-wide text-indigo-700">
Mission Control</h3>
<p class="text-gray-500">Change Settings</p>
<hr class="mt-5 mb-8">
</div>
</div>
<div class="content">
<details open>
<summary
class="block px-1 py-1 mr-auto text-lg font-bold tracking-wide text-gray-700 truncate cursor-pointor w-100">
Sync Data to Github Gist
</summary>
<div class="p-5 my-3 mb-5 bg-gray-100">
<div class="mb-4">
<label for="" class="block mb-2 text-base text-gray-800">Github Personal Token</label>
<input type="text" id="g__token" name="g__token" placeholder="Personal Token"
autocomplete="off"
class="w-full px-2 py-2 text-sm text-gray-800 placeholder-gray-400 bg-white border border-gray-200 rounded shadow outline-none focus:border-gray-400 focus:outline-none ocus:shadow-outline" />
</div>
<div class="hidden mb-4" id="gist_block">
<label for="" class="block mb-2 text-base text-gray-800">Gist ID <a
id="delete__existing_gist" href="#!" class="float-right text-red-700"
title="Delete this Gist to Create new Gist when syncing"><small>Delete this
Gist</small></a></label>
<input type="text" id="g__id" name="g__id" disabled
placeholder="You may keep it blank. " autocomplete="off"
class="w-full px-2 py-2 text-sm text-gray-800 placeholder-gray-400 bg-white border border-gray-200 rounded shadow outline-none disabled:opacity-75 focus:border-gray-400 focus:outline-none ocus:shadow-outline" />
</div>
<!-- Exsiting Gist ID -->
<div class="hidden mb-4" id="importbackupBlock">
<label for="" class="block mb-2 text-base text-gray-800">Existing Gist ID <span
class="inline-block w-4 h-4 pt-1 text-gray-500"
title="Open your backup gist in browser. Copy the part after your username/">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
viewBox="0 0 24 24" stroke="currentColor">
<path
d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z">
</path>
</svg>
</span> </label>
<input type="text" id="ex-g__id" name="ex-g__id" placeholder="Your Existing Gist ID "
autocomplete="off"
class="w-full px-2 py-2 text-sm text-gray-800 placeholder-gray-400 bg-white border border-gray-200 rounded shadow outline-none disabled:opacity-75 focus:border-gray-400 focus:outline-none ocus:shadow-outline" />
<div class="flex items-center mt-3">
<button id="g__importData"
class="inline-flex px-4 py-2 mb-1 mr-2 text-xs font-bold text-white uppercase bg-gray-800 rounded shadow outline-none active:bg-pink-600 hover:shadow-md focus:outline-none"
type="button" style="transition: all .15s ease">
<svg class="w-4 h-4 mr-2 stroke-current" xmlns="http://www.w3.org/2000/svg"
fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" />
</svg>
<span>Import Data
</span>
</button>
<span class="text-red-600">This will delete all existing data</span>
</div>
</div>
<div class="flex justify-between mb-4">
<label class="block text-gray-800" for="g__public"
title="Only Available while creating new Gist.">
<input class="leading-tight" type="checkbox" id="g__public" name="g__public">
<span class="text-sm">
Make Public Gist (Access anywhere) <span
class="inline-block w-4 h-4 pt-1 text-gray-500"
title="Can change only while creating new Gist, Delete existing Gist to modify">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" viewBox="0 0 24 24" stroke="currentColor">
<path
d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z">
</path>
</svg>
</span>
</span>
</label>
<a href="#" id="importBackupTrigger"
class="text-sm text-blue-600 border-b-2 border-blue-200">Import
Backup</a>
</div>
<div class="px-6 py-4 mb-4 bg-gray-200 rounded ">
<h4 class="mb-2 text-gray-600"><strong>How to create a Github Token?</strong></h4>
<p class="text-gray-600 ">
Click this <strong> <a href="https://github.com/settings/tokens/new"
class="text-blue-600">Generate
Token</a> </strong> link and login to your
github account. Tick the Checkbox for <strong>Gist (Create Gist)</strong> from the
given
list and click Generate Token. You are done. Just copy the Token and paste here.
</p>
</div>
<div class="flex">
<button id="g__syncData"
class="inline-flex px-4 py-2 mb-1 mr-1 mr-auto text-xs font-bold text-white uppercase bg-indigo-500 rounded shadow outline-none active:bg-pink-600 hover:shadow-md focus:outline-none"
type="button" style="transition: all .15s ease">
<svg class="w-4 h-4 mr-2 stroke-current" fill="none" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" stroke="currentColor"
viewBox="0 0 24 24">
<path
d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15">
</path>
</svg>
<span>Sync Data
</span>
</button>
<button id="download__as_json"
class="inline-flex px-4 py-2 mb-1 mr-1 text-xs font-bold text-white uppercase bg-gray-500 rounded shadow outline-none active:bg-pink-600 hover:shadow-md focus:outline-none"
type="button" style="transition: all .15s ease">
<svg class="w-4 h-4 mr-2 stroke-current" fill="none" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" stroke="currentColor"
viewBox="0 0 24 24">
<path
d="M8 16a5 5 0 01-.916-9.916 5.002 5.002 0 019.832 0A5.002 5.002 0 0116 16m-7 3l3 3m0 0l3-3m-3 3V10">
</path>
</svg>
<span> Download as JSON
</span>
</button>
</div>
<p id="last_sync_info" class="text-gray-500"></p>
</div>
</details>
<div
class="block px-1 py-2 mr-auto text-lg font-bold tracking-wide text-gray-700 truncate cursor-pointor w-100">
Enjoying Mission Control? I need your support.
</div>
<!-- <iframe src="
https://www.buymeacoffee.com/widget/page/surjithctly" frameborder="0" width="100%" height="520"
allowpaymentrequest></iframe> -->
<a href="https://www.buymeacoffee.com/surjithctly" target="_blank"><img
src="./static/img/default-yellow.webp" alt="Buy Me A Coffee"
style="height: 60px !important;width: 217px !important;"></a>
</div>
</div>
</div>
</div>
<div class="fixed top-0 left-0 m-4">
<div id="showSettings" class="w-12 h-12 p-3 m-1 overflow-hidden bg-white rounded-full shadow-sm">
<a class="text-indigo-500" href="#!" title="Settings">
<span class="stroke-current">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
stroke="currentColor" viewBox="0 0 24 24">
<path
d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z">
</path>
<path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
</svg>
</span>
<span class="settings__go-back"><svg fill="none" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" stroke="currentColor" viewBox="0 0 24 24">
<path d="M10 19l-7-7m0 0l7-7m-7 7h18"></path>
</svg></span>
</a>
</div>
</div>
<div class="fixed bottom-0 right-0 m-4">
<!-- <a class="link-to-download" href="download" download="export.json"></a> -->
<!-- <div id="ExportData" class="w-12 h-12 p-3 m-1 overflow-hidden bg-white rounded-full shadow-sm"
data="Export Data">
<a class="text-indigo-500" href="#!">
<span class="stroke-current">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
stroke="currentColor" viewbox="0 0 24 24">
<path
d="M8 16a5 5 0 01-.916-9.916 5.002 5.002 0 019.832 0A5.002 5.002 0 0116 16m-7 3l3 3m0 0l3-3m-3 3V10">
</path>
</svg>
</span>
</a>
</div> -->
<div id="defaultViewToggle" class="w-12 h-12 p-3 m-1 overflow-hidden bg-indigo-500 rounded-full shadow-sm"
data="Toggle View">
<a href=" #!" class="text-white">
<!-- Task -->
<span class="hidden stroke-current" data-pref="tasks"><svg fill="none" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" stroke="currentColor" viewbox="0 0 24 24">
<path
d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4">
</path>
</svg></span>
<!-- Bookmarks -->
<span class="hidden stroke-current" data-pref="bookmarks"><svg fill="none" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" stroke="currentColor" viewbox="0 0 24 24">
<path d="M5 5a2 2 0 012-2h10a2 2 0 012 2v16l-7-3.5L5 21V5z"></path>
</svg></span>
</a>
</div>
</div>
<!--
Modal -->
<!--Modal-->
<div
class="fixed top-0 left-0 z-10 flex items-center justify-center w-full h-full opacity-0 pointer-events-none modal">
<div class="absolute w-full h-full bg-gray-900 opacity-50 modal-overlay"></div>
<div class="z-50 w-11/12 mx-auto overflow-y-auto bg-white rounded shadow-lg modal-container md:max-w-md">
<div
class="absolute top-0 right-0 z-50 flex flex-col items-center mt-4 mr-4 text-sm text-white cursor-pointer modal-close">
<svg class="text-white fill-current" xmlns="http://www.w3.org/2000/svg" width="18" height="18"
viewbox="0 0 18 18">
<path
d="M14.53 4.53l-1.06-1.06L9 7.94 4.53 3.47 3.47 4.53 7.94 9l-4.47 4.47 1.06 1.06L9 10.06l4.47 4.47 1.06-1.06L10.06 9z">
</path>
</svg>
<span class="text-sm">(Esc)</span>
</div>
<!-- Add margin if you want to see some of the overlay behind the modal-->
<div class="px-6 py-4 text-left modal-content">
<!--Title-->
<div class="flex items-center justify-between pb-3">
<p class="text-2xl font-bold" id="dynamicModalTitle">Add New</p>
<div class="z-50 cursor-pointer modal-close">
<svg class="text-black fill-current" xmlns="http://www.w3.org/2000/svg" width="18" height="18"
viewbox="0 0 18 18">
<path
d="M14.53 4.53l-1.06-1.06L9 7.94 4.53 3.47 3.47 4.53 7.94 9l-4.47 4.47 1.06 1.06L9 10.06l4.47 4.47 1.06-1.06L10.06 9z">
</path>
</svg>
</div>
</div>
<!--Body : Add Bookmark Form-->
<form id="addBookmarkform" class="hidden">
<div class="relative flex flex-wrap items-stretch w-full my-3 mb-5">
<span
class="absolute z-10 items-center justify-center w-8 h-full py-3 pl-3 text-base font-normal leading-snug text-center text-gray-400 bg-transparent rounded">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
stroke="currentColor" viewbox="0 0 24 24">
<path
d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1">
</path>
</svg>
</span>
<input type="url" required id="bookmark_url" name="bookmark_url" placeholder="URL"
autocomplete="off"
class="relative w-full px-3 py-3 pl-10 text-sm text-gray-700 placeholder-gray-400 bg-white rounded shadow outline-none focus:outline-none focus:shadow-outline" />
</div>
<div class="relative flex flex-wrap items-stretch w-full my-3 mb-5">
<span
class="absolute z-10 items-center justify-center w-8 h-full py-3 pl-3 text-base font-normal leading-snug text-center text-gray-400 bg-transparent rounded">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
stroke="currentColor" viewbox="0 0 24 24">
<path
d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z">
</path>
</svg>
</span>
<input type="text" required id="bookmark_title" name="bookmark_title" maxlength="100"
autocomplete="off" placeholder="Enter Title"
class="relative w-full px-3 py-3 pl-10 text-sm text-gray-700 placeholder-gray-400 bg-white rounded shadow outline-none focus:outline-none focus:shadow-outline" />
</div>
<div class="relative flex flex-wrap items-stretch w-full my-3 mb-5">
<span
class="absolute z-10 items-center justify-center w-8 h-full py-3 pl-3 text-base font-normal leading-snug text-center text-gray-400 bg-transparent rounded">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
stroke="currentColor" viewbox="0 0 24 24">
<path
d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z">
</path>
</svg>
</span>
<input type="text" id="bookmark_desc" name="bookmark_desc" autocomplete="off" maxlength="100"
value="" placeholder="Description or Tags (optional)"
class="relative w-full px-3 py-3 pl-10 text-sm text-gray-700 placeholder-gray-400 bg-white rounded shadow outline-none focus:outline-none focus:shadow-outline" />
<p class="mt-3 text-gray-500">Describe why did you save this website. It helps you to search the
website later even
if you forgot the name or URL. You can also add Tags separated with a comma</p>
</div>
<div class="text-center">
<input type="hidden" name="category_id" id="category_id">
<button type="submit" id="addBookmarkBtn"
class="px-4 py-2 mb-1 mr-1 text-xs font-bold text-white uppercase align-middle bg-pink-500 rounded shadow outline-none active:bg-pink-600 hover:shadow-md focus:outline-none"
style="transition: all .15s ease">
<span class="">
<svg class="relative inline-block w-4 h-4 -mt-1" fill="none" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" stroke="currentColor" viewbox="0 0 24 24">
<path d="M12 4v16m8-8H4"></path>
</svg>
</span> Add Website
</button>
</div>
</form>
<!--Body : Add Task Form-->
<form id="addtaskform" class="hidden">
<div class="relative flex flex-wrap items-stretch w-full my-3 mb-5">
<span
class="absolute z-10 items-center justify-center w-8 h-full py-3 pl-3 text-base font-normal leading-snug text-center text-gray-400 bg-transparent rounded">
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
stroke="currentColor" viewbox="0 0 24 24">
<path d="M12 4v16m8-8H4"></path>
</svg>
</span>
<input type="text" required id="todo_title" name="todo_title" placeholder="Enter Task Name"
autocomplete="off"
class="relative w-full px-3 py-3 pl-10 text-sm text-gray-700 placeholder-gray-400 bg-white rounded shadow outline-none focus:outline-none focus:shadow-outline" />
</div>
<!-- <div class="relative flex flex-wrap items-stretch w-full my-3 mb-5">
<span
class="absolute z-10 items-center justify-center w-8 h-full py-3 pl-3 text-base font-normal leading-snug text-center text-gray-400 bg-transparent rounded">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z">
</path>
</svg>
</span>
<select required name="task_project" id="task_project"
class="relative w-full px-3 py-3 pl-10 text-sm text-gray-700 placeholder-gray-400 bg-white rounded shadow outline-none focus:outline-none focus:shadow-outline">
<option disabled selected>Choose a Project</option>
<option value="10">10 Minutes</option>
<option value="15">15 Minutes</option>
<option value="10">20 Minutes</option>
<option value="30">30 Minutes</option>
<option value="45">45 Minutes</option>
<option value="60">1 hour</option>
</select>
</div> -->
<div class="relative flex flex-wrap items-stretch w-full my-3 mb-5">
<span
class="absolute z-10 items-center justify-center w-8 h-full py-3 pl-3 text-base font-normal leading-snug text-center text-gray-400 bg-transparent rounded">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="10"></circle>
<polyline points="12 6 12 12 16 14"></polyline>
</svg>
</span>
<select required name="task_time" id="task_time"
class="relative w-full px-3 py-3 pl-10 text-sm text-gray-700 placeholder-gray-400 bg-white rounded shadow outline-none focus:outline-none focus:shadow-outline">
<option disabled value="">Approx Time to finish this task</option>
<option value="10">10 Minutes</option>
<option value="15">15 Minutes</option>
<option value="20" selected>20 Minutes</option>
<option value="30">30 Minutes</option>
<option value="45">45 Minutes</option>
<option value="60">1 hour</option>
</select>
<p class="mt-3 text-gray-500">If your task is greater than one hour, we recommend to break into
multiple tasks to improve productivity.</p>
</div>
<div class="text-center">
<input type="hidden" name="task_category_id" id="task_category_id">
<button type="submit" id="addTaskBtn"
class="px-4 py-2 mb-1 mr-1 text-xs font-bold text-white uppercase align-middle bg-pink-500 rounded shadow outline-none active:bg-pink-600 hover:shadow-md focus:outline-none"
style="transition: all .15s ease">
<span class="">
<svg class="relative inline-block w-4 h-4 -mt-1" fill="none" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" stroke="currentColor" viewbox="0 0 24 24">
<path d="M12 4v16m8-8H4"></path>
</svg>
</span> Add Task
</button>
</div>
</form>
<!--Footer-->
<!-- <div class="flex justify-end pt-2">
<button
class="p-3 px-4 mr-2 text-indigo-500 bg-transparent rounded-lg hover:bg-gray-100 hover:text-indigo-400">Action</button>
<button
class="p-3 px-4 text-white bg-indigo-500 rounded-lg modal-close hover:bg-indigo-400">Close</button>
</div> -->
</div>
</div>
</div>
<!--
End Modal -->
<div class="fixed bottom-0 p-3 text-center text-gray-500 footer hover:text-gray-800 ">
<p class="flex space-x-1"><span>Made with ♥ by </span><a href="https://surjithctly.in/" target="_blank">
Surjith S
M</a>
<span> ·</span> <a href="https://github.com/surjithctly/mission-control" target="_blank">Github</a>
<span>
·</span>
<a href="https://github.com/surjithctly/mission-control/issues" target="_blank">Help</a>
<span> ·</span>
<a href="https://twitter.com/surjithctly/" target="_blank"
class="flex items-center justify-center space-x-1">
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="14"
height="14" viewBox="0 0 24 24" fill="currentColor" stroke-width="1" stroke-linecap="round"
stroke-linejoin="round">
<path
d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z">
</path>
</svg> -->
<span>Twitter</span></a>
</p>
</div>
<script src="./static/js/jquery-3.5.0.min.js"></script>
<script src="./static/js/sortable.min.js"></script>
<script src="./static/js/mark.min.js"></script>
<script src="./static/js/settings.js"></script>
<script src="./static/js/modal.js"></script>
<script src="./static/js/tasks.js"></script>
<script src="./static/js/bookmarks.js"></script>
</body>
</html>