-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
1287 lines (1246 loc) · 50.2 KB
/
index.html
File metadata and controls
1287 lines (1246 loc) · 50.2 KB
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
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="google-site-verification"
content="EOdEUW58DUvLbQxnv_gyzCjydCvMbA9gOGxrVNYJqg4"
/>
<title>New Tab</title>
<script src="src/theme-init.js"></script>
<link rel="icon" type="image/png" href="assets/icons/icon32.png" />
<link rel="stylesheet" href="css/main.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div id="bg-blur-overlay"></div>
<div id="welcome-modal-overlay" class="hidden">
<div id="welcome-modal" class="v2-1-modal">
<button id="welcome-modal-close">×</button>
<div class="modal-header">
<div class="badge-container">
<span class="version-badge">YourDynamicDashboard v2.2</span>
</div>
<h1>The Performance & Scaling Update</h1>
<p>
Rebuilt mobile engine, smart storage, and a powerful local search
history.
</p>
</div>
<div class="modal-content-v2">
<div class="section-title">✨ Key Features</div>
<div class="feature-row-3">
<div class="feature-card new-glow">
<div class="card-header">
<span class="icon">🔍</span>
<h3>Search History</h3>
</div>
<p>
A native-feeling, privacy-first search history with real-time
filtering and auto-delete.
</p>
</div>
<div class="feature-card new-glow">
<div class="card-header">
<span class="icon">🖼️</span>
<h3>Custom Icons</h3>
</div>
<p>
Upload and set your own custom image icons for individual web
shortcuts.
</p>
</div>
<div class="feature-card new-glow">
<div class="card-header">
<span class="icon">💧</span>
<h3>BG Blur Control</h3>
</div>
<p>
Adjust the blur intensity of your custom backgrounds for perfect
UI readability.
</p>
</div>
</div>
<div class="modal-split-bottom">
<div class="info-group">
<div class="section-title">🚀 More Control</div>
<ul class="detail-list modern-list">
<li>
<span class="list-icon">📱</span>
<div>
<strong>Mobile Scaling:</strong>
<span
>Master CSS fluid-scaling adapts perfectly to small
screens.</span
>
</div>
</li>
<li>
<span class="list-icon">↕️</span>
<div>
<strong>Layout Flexibility:</strong>
<span
>Dock your Shortcuts bar to either the Top or Bottom of
the screen.</span
>
</div>
</li>
<li>
<span class="list-icon">🎛️</span>
<div>
<strong>Widget Expansion:</strong>
<span
>More granular combinations (e.g., Search & Quote, Weather
& Quote).</span
>
</div>
</li>
<li>
<span class="list-icon">👁️</span>
<div>
<strong>UI Toggles:</strong>
<span
>Hide greetings and editable text instantly via settings
or shortcut keys.</span
>
</div>
</li>
</ul>
</div>
<div class="info-group">
<div class="section-title">🔧 Core Fixes</div>
<div class="tags-container tight-tags">
<span class="tag alert-tag">IndexedDB Storage</span>
<span class="tag alert-tag">FOUC Eradicated</span>
<span class="tag alert-tag-2">Gradient Clarity</span>
<span class="tag alert-tag-2">Animation Polish</span>
<span class="tag">Color Logic Fix</span>
<span class="tag">Mobile Responsive</span>
<span class="tag">Layout Bugs Fixed</span>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<a
id="release-notes-btn"
href="https://github.com/xtditom/YourDynamicDashboard/blob/main/releasenotes.md"
target="_blank"
>
Read Full Release Notes <span class="arrow">→</span>
</a>
</div>
</div>
</div>
<button id="todo-toggle-button" class="corner-button top-left">
<span class="icon-list">
<svg
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
width="22"
height="22"
viewBox="0 0 16 16"
>
<path
d="M2 2h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm4.655 8.595a.75.75 0 0 1 0 1.06L4.03 14.28a.75.75 0 0 1-1.06 0l-1.5-1.5a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l.97.97 2.095-2.095a.75.75 0 0 1 1.06 0ZM9.75 2.5h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1 0-1.5Zm0 5h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1 0-1.5Zm0 5h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1 0-1.5Zm-7.25-9v3h3v-3Z"
/>
</svg>
</span>
<span class="icon-close">
<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"
>
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</span>
</button>
<button id="ai-tools-toggle-button" class="corner-button bottom-left">
<svg
class="tool-icon ai-icon"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 7L9.48415 8.39405C8.80774 10.222 8.46953 11.136 7.80278 11.8028C7.13603 12.4695 6.22204 12.8077 4.39405 13.4842L3 14L4.39405 14.5158C6.22204 15.1923 7.13603 15.5305 7.80278 16.1972C8.46953 16.864 8.80774 17.778 9.48415 19.6059L10 21L10.5158 19.6059C11.1923 17.778 11.5305 16.864 12.1972 16.1972C12.864 15.5305 13.778 15.1923 15.6059 14.5158L17 14L15.6059 13.4842C13.778 12.8077 12.864 12.4695 12.1972 11.8028C11.5305 11.136 11.1923 10.222 10.5158 8.39405L10 7Z"
stroke="currentColor"
stroke-width="1.5"
stroke-linejoin="round"
/>
<path
d="M18 3L17.7789 3.59745C17.489 4.38087 17.3441 4.77259 17.0583 5.05833C16.7726 5.34408 16.3809 5.48903 15.5975 5.77892L15 6L15.5975 6.22108C16.3809 6.51097 16.7726 6.65592 17.0583 6.94167C17.3441 7.22741 17.489 7.61913 17.7789 8.40255L18 9L18.2211 8.40255C18.511 7.61913 18.6559 7.22741 18.9417 6.94166C19.2274 6.65592 19.6191 6.51097 20.4025 6.22108L21 6L20.4025 5.77892C19.6191 5.48903 19.2274 5.34408 18.9417 5.05833C18.6559 4.77259 18.511 4.38087 18.2211 3.59745L18 3Z"
stroke="currentColor"
stroke-width="1.5"
stroke-linejoin="round"
/>
</svg>
<svg
class="tool-icon social-icon hidden"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 16 16"
>
<path
d="M2 5.5a3.5 3.5 0 1 1 5.898 2.549 5.508 5.508 0 0 1 3.034 4.084.75.75 0 1 1-1.482.235 4 4 0 0 0-7.9 0 .75.75 0 0 1-1.482-.236A5.507 5.507 0 0 1 3.102 8.05 3.493 3.493 0 0 1 2 5.5ZM11 4a3.001 3.001 0 0 1 2.22 5.018 5.01 5.01 0 0 1 2.56 3.012.749.749 0 0 1-.885.954.752.752 0 0 1-.549-.514 3.507 3.507 0 0 0-2.522-2.372.75.75 0 0 1-.574-.73v-.352a.75.75 0 0 1 .416-.672A1.5 1.5 0 0 0 11 5.5.75.75 0 0 1 11 4Zm-5.5-.5a2 2 0 1 0-.001 3.999A2 2 0 0 0 5.5 3.5Z"
/>
</svg>
</button>
<button id="apps-toggle-button" class="corner-button top-right">
<span class="icon-grid">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
>
<rect x="3" y="3" width="4" height="4" rx="1" />
<rect x="10" y="3" width="4" height="4" rx="1" />
<rect x="17" y="3" width="4" height="4" rx="1" />
<rect x="3" y="10" width="4" height="4" rx="1" />
<rect x="10" y="10" width="4" height="4" rx="1" />
<rect x="17" y="10" width="4" height="4" rx="1" />
<rect x="3" y="17" width="4" height="4" rx="1" />
<rect x="10" y="17" width="4" height="4" rx="1" />
<rect x="17" y="17" width="4" height="4" rx="1" />
</svg>
</span>
<span class="icon-square">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
>
<rect x="3" y="3" width="18" height="18" rx="2" />
</svg>
</span>
</button>
<button id="settings-toggle-button" class="corner-button bottom-right">
<svg
stroke="currentColor"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
opacity="0.34"
d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
stroke="currentColor"
stroke-width="1.5"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
/>
<path
d="M2 12.8799V11.1199C2 10.0799 2.85 9.21994 3.9 9.21994C5.71 9.21994 6.45 7.93994 5.54 6.36994C5.02 5.46994 5.33 4.29994 6.24 3.77994L7.97 2.78994C8.76 2.31994 9.78 2.59994 10.25 3.38994L10.36 3.57994C11.26 5.14994 12.74 5.14994 13.65 3.57994L13.76 3.38994C14.23 2.59994 15.25 2.31994 16.04 2.78994L17.77 3.77994C18.68 4.29994 18.99 5.46994 18.47 6.36994C17.56 7.93994 18.3 9.21994 20.11 9.21994C21.15 9.21994 22.01 10.0699 22.01 11.1199V12.8799C22.01 13.9199 21.16 14.7799 20.11 14.7799C18.3 14.7799 17.56 16.0599 18.47 17.6299C18.99 18.5399 18.68 19.6999 17.77 20.2199L16.04 21.2099C15.25 21.6799 14.23 21.3999 13.76 20.6099L13.65 20.4199C12.75 18.8499 11.27 18.8499 10.36 20.4199L10.25 20.6099C9.78 21.3999 8.76 21.6799 7.97 21.2099L6.24 20.2199C5.33 19.6999 5.02 18.5299 5.54 17.6299C6.45 16.0599 5.71 14.7799 3.9 14.7799C2.85 14.7799 2 13.9199 2 12.8799Z"
stroke="currentColor"
stroke-width="1.5"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</button>
<div id="todo-popup" class="popup-container">
<h2>To-Do List</h2>
<div id="todo-list"></div>
<form id="todo-add-form">
<input
type="text"
id="todo-input"
placeholder="Add a new task..."
autocomplete="off"
maxlength="50"
/><button type="submit" id="todo-add-btn">+</button>
</form>
</div>
<div id="ai-tools-popup" class="popup-container">
<div class="tools-header">
<div class="tool-tabs-container">
<button class="tool-tab-button active" data-tab="ai">AI Tools</button>
<div class="tab-divider"></div>
<button class="tool-tab-button" data-tab="social">
Social Media
</button>
</div>
<button id="tool-edit-button" class="tool-edit-button">
<svg
class="icon-pencil"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M21.7312 2.26884C20.706 1.24372 19.044 1.24372 18.0188 2.26884L16.8617 3.42599L20.574 7.1383L21.7312 5.98116C22.7563 4.95603 22.7563 3.29397 21.7312 2.26884Z"
fill="currentColor"
/>
<path
d="M19.5133 8.19896L15.801 4.48665L7.40019 12.8875C6.78341 13.5043 6.33002 14.265 6.081 15.101L5.28122 17.7859C5.2026 18.0498 5.27494 18.3356 5.46967 18.5303C5.6644 18.725 5.95019 18.7974 6.21412 18.7188L8.89901 17.919C9.73498 17.67 10.4957 17.2166 11.1125 16.5998L19.5133 8.19896Z"
fill="currentColor"
/>
<path
d="M5.25 5.24999C3.59315 5.24999 2.25 6.59314 2.25 8.24999V18.75C2.25 20.4068 3.59315 21.75 5.25 21.75H15.75C17.4069 21.75 18.75 20.4068 18.75 18.75V13.5C18.75 13.0858 18.4142 12.75 18 12.75C17.5858 12.75 17.25 13.0858 17.25 13.5V18.75C17.25 19.5784 16.5784 20.25 15.75 20.25H5.25C4.42157 20.25 3.75 19.5784 3.75 18.75V8.24999C3.75 7.42156 4.42157 6.74999 5.25 6.74999H10.5C10.9142 6.74999 11.25 6.41421 11.25 5.99999C11.25 5.58578 10.9142 5.24999 10.5 5.24999H5.25Z"
fill="currentColor"
/>
</svg>
<svg
class="icon-check hidden"
xmlns="http://www.w3.org/2000/svg"
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</button>
</div>
<div id="ai-tools-list" class="tool-list active"></div>
<div id="social-tools-list" class="tool-list"></div>
</div>
<div id="apps-popup" class="popup-container">
<div id="apps-grid"></div>
<div class="apps-footer">Drag and drop to rearrange apps</div>
</div>
<div id="settings-popup" class="popup-container">
<div style="position: relative; text-align: center; margin-bottom: 1rem">
<h2 style="margin: 0; display: inline-block">Tab Settings</h2>
<button
id="info-btn"
title="Tips & Tricks"
style="
position: absolute;
right: 0;
top: 0;
background: none;
border: none;
color: var(--accent-color);
cursor: pointer;
"
>
<svg
height="24"
width="24"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 256 256"
fill="currentColor"
>
<path
d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"
/>
</svg>
</button>
</div>
<div class="settings-tabs">
<button id="functions-tab" class="settings-tab-button active">
Functions
</button>
<button id="appearance-tab" class="settings-tab-button">
Appearance
</button>
<button id="shortcuts-tab" class="settings-tab-button">
Shortcuts
</button>
</div>
<div class="settings-content">
<div id="functions-content" class="settings-pane active">
<div class="setting-row">
<div class="label">
<span>Analog Clock</span><small>Use the analog clock.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="clock-type-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="setting-row">
<div class="label">
<span>Day & Date</span><small>Display the day and date.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="date-visibility-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="setting-row" id="clock-format-row">
<div class="label">
<span>Clock Format</span><small>Toggle for 24-hour format.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="clock-format-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="setting-row">
<div class="label">
<span>Hide Greetings</span
><small>Hide the greeting message.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="hide-greetings-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="api-key-section">
<div class="label">
<span>Weather Location</span>
</div>
<div class="api-key-input-wrapper" style="display: flex; gap: 8px">
<input
type="text"
id="custom-location-input"
placeholder="Enter city name..."
style="flex: 1"
/>
<button id="save-location-btn" class="settings-button">
Save
</button>
<button
id="settings-gps-btn"
class="settings-button"
title="Detect My Location"
style="
padding: 0 12px;
display: flex;
align-items: center;
justify-content: center;
"
>
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18">
<g fill="none" fill-rule="evenodd">
<path
d="M18 0v18H0V0zM9.445 17.443l-.008.002-.053.026-.015.003-.011-.003-.053-.026c-.008-.003-.014-.001-.018.004l-.003.007-.013.321.004.015.008.01.078.056.011.003.009-.003.078-.056.009-.012.003-.013-.013-.32a.016.016 0 0 0-.013-.014m.199-.085-.01.002-.139.07-.007.007-.003.008.014.323.004.009.006.005.15.07c.009.003.017 0 .022-.006l.003-.01-.026-.46c-.002-.009-.007-.015-.015-.016m-.536.001a.017.017 0 0 0-.02.005l-.005.01-.025.46c0 .009.005.015.013.018l.011-.001.151-.07.007-.006.003-.008.013-.322-.002-.009-.008-.008z"
/>
<path
fill="currentColor"
fill-rule="nonzero"
d="M5.04 12.48a.75.75 0 0 1 .42 1.44c-.375.11-.645.225-.818.33.178.107.46.227.852.339C6.36 14.836 7.6 15 9 15s2.64-.164 3.506-.411c.392-.112.674-.232.852-.339-.173-.105-.443-.22-.818-.33a.75.75 0 0 1 .42-1.44c.501.146.96.334 1.313.575.326.224.727.615.727 1.195 0 .587-.411.98-.743 1.205-.358.241-.827.43-1.34.576C11.884 16.327 10.5 16.5 9 16.5s-2.885-.173-3.918-.469c-.512-.146-.981-.335-1.34-.576C3.332 15.23 2.92 14.836 2.92 14.25c0-.58.401-.971.727-1.195.353-.241.812-.428 1.313-.575M9 1.5a5.625 5.625 0 0 1 5.625 5.625c0 1.926-1.05 3.492-2.137 4.605A12.3 12.3 0 0 1 11.098 12.94c-.446.335-1.464.962-1.464.962a1.283 1.283 0 0 1-1.268 0s-1.018-.627-1.464-.962a12.217 12.217 0 0 1-1.39-1.21C4.425 10.617 3.375 9.051 3.375 7.125A5.625 5.625 0 0 1 9 1.5m0 4.125a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"
/>
</g>
</svg>
</button>
</div>
</div>
<div class="setting-row">
<div class="label">
<span>Temperature Unit</span><small>Toggle for Fahrenheit.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="temp-unit-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="setting-row">
<div class="label">
<span>Temperature Display</span
><small>Switch between Min-Max and Feels like.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="temp-display-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="setting-row">
<div class="label">
<span>Shortcut Keys</span
><small>Customize keyboard controls.</small>
</div>
<button id="edit-keys-btn" class="settings-button">Open</button>
</div>
<div class="setting-row">
<div class="label">
<span>Link Direction</span><small>Set where links open.</small>
</div>
<button id="edit-link-direction-btn" class="settings-button">
Open
</button>
</div>
<div class="settings-divider"></div>
<h3 class="settings-header">Element Control</h3>
<div class="setting-row">
<div class="label">
<span>Widget Control</span>
<small>Control widget visibility.</small>
</div>
<select
id="widget-control-select"
class="settings-dropdown"
style="
padding: 5px;
border-radius: 5px;
background: var(--bg-interactive);
color: var(--text-primary);
border: none;
"
>
<option value="all">All Visible</option>
<option value="search-only">Search Only</option>
<option value="weather-only">Weather Only</option>
<option value="quote-only">Quote Only</option>
<option value="search-weather">Search & Weather</option>
<option value="search-quote">Search & Quote</option>
<option value="weather-quote">Weather & Quote</option>
<option value="nothing">Nothing</option>
</select>
</div>
<div class="setting-row">
<div class="label">
<span>Show Editable Text</span
><small>Display custom text under greeting.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="editable-text-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="setting-row">
<div class="label">
<span>Show To-Do List</span
><small>Display the To-Do List button.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="todo-visibility-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="setting-row">
<div class="label">
<span>Show Google Apps</span
><small>Display the Google Apps button.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="apps-visibility-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="setting-row">
<div class="label">
<span>Show AI Tools & Socials</span
><small>Display the AI Tools & Socials button.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="ai-tools-visibility-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="settings-divider"></div>
<h3 class="settings-header">Backup & Restore</h3>
<div class="backup-controls">
<button id="backup-button" class="settings-button">Backup</button>
<button id="restore-button" class="settings-button">Restore</button>
<input
type="file"
id="restore-file-input"
accept=".json"
class="hidden"
/>
<button id="reset-button" class="settings-button danger">
Reset All
</button>
</div>
<div class="settings-divider"></div>
<h3 class="settings-header">Others</h3>
<div class="about-section">
<div class="about-row">
<button id="check-for-updates-btn" class="icon-button">
<svg
stroke="currentColor"
fill="currentColor"
height="24"
width="24"
xmlns="http://www.w3.org/2000/svg"
id="mdi-update"
viewBox="0 0 24 24"
>
<path
d="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z"
/>
</svg>
<span>Check for Updates</span>
</button>
</div>
<div class="about-row">
<button id="github-repo-btn" class="icon-button">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 24 24"
fill="currentColor"
>
<path
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
/>
</svg>
<span>GitHub</span>
</button>
<a
href="privacy-policy.html"
rel="noopener noreferrer"
class="icon-button"
>
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M20.25 5C17.5866 5 14.992 4.05652 12.45 2.15C12.1833 1.95 11.8167 1.95 11.55 2.15C9.00797 4.05652 6.41341 5 3.75 5C3.33579 5 3 5.33579 3 5.75V11C3 16.0012 5.95756 19.6757 11.7251 21.9478C11.9018 22.0174 12.0982 22.0174 12.2749 21.9478C18.0424 19.6757 21 16.0012 21 11V5.75C21 5.33579 20.6642 5 20.25 5ZM16.7568 9.30287L10.7568 14.8029C10.4608 15.0742 10.0036 15.0643 9.71967 14.7803L7.21967 12.2803C6.92678 11.9874 6.92678 11.5126 7.21967 11.2197C7.51256 10.9268 7.98744 10.9268 8.28033 11.2197L10.2726 13.2119L15.7432 8.19714C16.0485 7.91724 16.523 7.93787 16.8029 8.24321C17.0828 8.54855 17.0621 9.02297 16.7568 9.30287Z"
fill="currentColor"
/>
</svg>
<span>Privacy Policy</span>
</a>
</div>
</div>
</div>
<div id="appearance-content" class="settings-pane">
<div id="theme-color-note" class="settings-note">
<p>
Advanced Colors will work when the 'Dark Mode' is off and you are
not using "Gradient Theme".
</p>
</div>
<div id="standard-theme-controls">
<div class="setting-row">
<div class="label">
<span>Dark Mode</span><small>Enable the dark theme</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="dark-mode-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="setting-row">
<div class="label">
<span>Custom BG</span><small>Upload an image</small>
</div>
<div class="background-controls">
<button id="upload-bg-button" class="settings-button">
Upload
</button>
<input
type="file"
id="bg-file-input"
accept="image/*"
class="hidden"
/>
<button id="remove-bg-button" class="settings-button hidden">
Remove
</button>
</div>
</div>
<div class="setting-row">
<div class="label">
<span>Random BG</span
><small>Fetch image from Lorem Picsum.</small>
</div>
<div class="background-controls">
<button
id="random-bg-freeze-btn"
class="settings-button hidden"
>
Freeze
</button>
<button id="random-bg-rnd-btn" class="settings-button">
Random
</button>
</div>
</div>
<div class="setting-row hidden" id="blur-intensity-row">
<div class="label">
<span>Blur Intensity</span
><small>Blur the background image.</small>
</div>
<select
id="bg-blur-select"
class="settings-dropdown"
style="
padding: 5px;
border-radius: 5px;
background: var(--bg-interactive);
color: var(--text-primary);
border: none;
"
>
<option value="0">Off</option>
<option value="10">10%</option>
<option value="20">20%</option>
<option value="30">30%</option>
<option value="40">40%</option>
<option value="50">50%</option>
</select>
</div>
<div class="setting-row">
<div class="label">
<span>Auto Theme</span
><small>Randomize theme on every new tab.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="auto-theme-toggle" /><span
class="slider"
></span
></label>
</div>
<div class="setting-row">
<div class="label">
<span>Glow Effect</span
><small>Toggle clock glow & pulsing.</small>
</div>
<label class="toggle-switch"
><input type="checkbox" id="glow-effect-toggle" /><span
class="slider"
></span
></label>
</div>
</div>
<div class="settings-divider"></div>
<h3 class="settings-header">Theme Presets</h3>
<div id="normal-themes-container"></div>
<div class="settings-divider"></div>
<h3 class="settings-header">Gradient Theme Presets</h3>
<div id="gradient-themes-container"></div>
<div class="settings-divider"></div>
<h3 class="settings-header">Saved Presets</h3>
<div
class="setting-row"
style="background: transparent; padding: 0 0 10px 0"
>
<button id="save-current-theme-btn" class="settings-button">
Save Current Theme
</button>
</div>
<div id="saved-themes-container"></div>
<div id="advanced-color-controls">
<div class="settings-divider"></div>
<h3 class="settings-header">Advanced Colors</h3>
<p
id="advanced-color-warning"
class="settings-note hidden"
style="
color: var(--text-secondary);
font-weight: bold;
margin-top: 7px;
margin-bottom: 15px;
"
>
(Switch to Normal Theme to use Advanced Colors)
</p>
<div class="setting-row">
<div class="label">
<span>Primary Background</span
><small>Set color for the theme</small>
</div>
<input type="color" id="bg-primary-picker" class="color-picker" />
</div>
<div class="setting-row">
<div class="label"><small>Widgets Background</small></div>
<input
type="color"
id="bg-secondary-picker"
class="color-picker"
/>
</div>
<div class="setting-row">
<div class="label"><small>Popups Background</small></div>
<input
type="color"
id="bg-tertiary-picker"
class="color-picker"
/>
</div>
<div class="setting-row">
<div class="label"><small>Accent Color</small></div>
<input
type="color"
id="theme-color-picker"
class="color-picker"
/>
</div>
<div class="setting-row">
<div class="label">
<span>Primary Text</span
><small>Set color for Primary Text</small>
</div>
<input
type="color"
id="text-primary-picker"
class="color-picker"
/>
</div>
<div class="setting-row">
<div class="label"><small>Secondary Text</small></div>
<input
type="color"
id="text-secondary-picker"
class="color-picker"
/>
</div>
<div class="setting-row">
<div class="label"><small>SearchBox Text</small></div>
<input
type="color"
id="text-placeholder-picker"
class="color-picker"
/>
</div>
<div class="setting-row">
<div class="label">
<span>Glow Effect</span
><small>Set Clock's glow effect color</small>
</div>
<input type="color" id="glow-color-picker" class="color-picker" />
</div>
</div>
</div>
<div id="shortcuts-content" class="settings-pane">
<div class="setting-row">
<div class="label">
<span>Shortcuts Position</span>
<small>Position or hide the shortcuts bar.</small>
</div>
<select
id="shortcuts-position-select"
class="settings-dropdown"
style="
padding: 5px;
border-radius: 5px;
background: var(--bg-interactive);
color: var(--text-primary);
border: none;
"
>
<option value="bottom">Bottom</option>
<option value="top">Top</option>
<option value="hide">Hide</option>
</select>
</div>
<div id="shortcuts-editor-list"></div>
<form id="add-shortcut-form">
<h3 class="settings-header">Add New Shortcut</h3>
<div class="add-shortcut-inputs">
<input
type="text"
id="shortcut-name-input"
placeholder="Name (e.g., Google)"
maxlength="35"
required
/>
<input
type="text"
id="shortcut-url-input"
placeholder="URL (e.g., https://google.com)"
required
/>
</div>
<button type="submit" class="settings-button">Add Shortcut</button>
</form>
</div>
</div>
<div class="settings-footer">
<p>© Ditom Baroi Antu <span id="copyright-year">2025</span></p>
<p><strong>YourDynamicDashboard</strong> V2.2.0</p>
<p>
Weather data provided by
<a
href="https://open-meteo.com/"
target="_blank"
style="color: inherit"
>Open-Meteo.com</a
>
</p>
</div>
</div>
<div class="layout-container">
<div class="column-left">
<div class="master-clock-container">
<div id="digital-clock-container" class="clock-container">
<span id="clock-hours">00</span
><span class="clock-separator">:</span
><span id="clock-minutes">00</span
><span class="clock-separator">:</span
><span id="clock-seconds">00</span>
<span id="clock-ampm"></span>
</div>
<div id="clock-date-row" class="clock-container">
<span id="clock-day">Friday</span>
<span id="clock-date">Nov 28</span>
</div>
<div id="analog-clock-container" class="clock-container">
<svg id="analog-clock-svg" viewBox="0 0 200 200">
<defs>
<path
id="scalloped-edge"
d=" M 100, 10 A 90,90 0 0,1 163.64,36.36 90,90 0 0,1 190,100 90,90 0 0,1 163.64,163.64 90,90 0 0,1 100,190 90,90 0 0,1 36.36,163.64 90,90 0 0,1 10,100 90,90 0 0,1 36.36,36.36 90,90 0 0,1 100,10 Z"
/>
</defs>
<use href="#scalloped-edge" class="clock-face" />
<g class="clock-hands">
<line id="hour-hand" x1="100" y1="100" x2="100" y2="65" />
<line id="minute-hand" x1="100" y1="100" x2="100" y2="40" />
<circle id="second-dot" cx="100" cy="25" r="6" />
</g>
</svg>
</div>
</div>
<div class="text-container">
<h1 id="greeting-text"></h1>
<p id="welcome-text" contenteditable="true" title="Click to edit"></p>
</div>
</div>
<div class="column-right">
<div id="pinned-tasks-widget" class="widget-container hidden">
<h3 class="pinned-title">Your Tasks</h3>
<ul id="pinned-tasks-list"></ul>
</div>
<div id="weather-widget" class="widget-container">
<div id="weather-setup-ui" class="hidden">
<h3>Enter your location for Weather Forecast</h3>
<br />
<div
class="weather-setup-controls"
style="display: flex; gap: 0.5rem; width: 100%"
>
<input
type="text"
id="widget-location-input"
placeholder="Enter city name..."
style="flex: 3"
/>
<button
id="widget-save-btn"
class="settings-button"
style="flex: 1"
>
Save
</button>
<button
id="widget-gps-btn"
class="settings-button"
title="Detect Location"
style="
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 0.5rem;
"
>