-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
980 lines (897 loc) · 78.1 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
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>PlanCraft</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/flowbite.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/flowbite.min.js"></script>
<script src="https://rawcdn.githack.com/DHTMLX/gantt/v8.0.11/codebase/dhtmlxgantt.js"></script>
<link href="https://rawcdn.githack.com/DHTMLX/gantt/v8.0.11/codebase/dhtmlxgantt.css" rel="stylesheet">
<link href="https://unpkg.com/[email protected]/dist/css/tabulator.min.css" rel="stylesheet">
<link href="https://unpkg.com/[email protected]/dist/css/tabulator_midnight.min.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/dist/js/tabulator.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.4.0/jspdf.umd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf-autotable/3.5.20/jspdf.plugin.autotable.min.js"></script>
<script src="https://cdn.sheetjs.com/xlsx-0.20.3/package/dist/xlsx.full.min.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-F0ZTC6GDXG"></script>
<script src="PlanCraft.js"></script>
</head>
<body class="bg-slate-300 dark:bg-gray-700">
<div class="min-h-screen flex flex-col">
<!-- Navigation content goes here -->
<nav class="bg-white border-gray-200 dark:bg-gray-900">
<div class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4">
<a href="https://www.hasielhassan.com/PlanCraft/" class="flex items-center space-x-3 rtl:space-x-reverse">
<img src="resources/icon_256.png" class="h-8" alt="PlanCraft Logo" />
<span class="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">PlanCraft</span>
</a>
<button data-collapse-toggle="navbar-default" type="button" class="inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600" aria-controls="navbar-default" aria-expanded="false">
<span class="sr-only">Open main menu</span>
<svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 17 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h15M1 7h15M1 13h15"/>
</svg>
</button>
<div class="hidden w-full md:block md:w-auto" id="navbar-default">
<ul class="font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700">
<li>
<a href="#about"
class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent outline-none"
aria-current="page"
>About</a>
</li>
<li>
<a href="#generator"
class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent outline-none"
>Generator</a>
</li>
<li>
<a href="#gantt"
class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent outline-none"
>Gantt</a>
</li>
<li>
<a href="#budget"
class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent outline-none"
>Budget</a>
</li>
<li>
<a href="#privacypolicy"
class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent outline-none"
>Privacy Policy</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Main content -->
<main class="flex-grow">
<!-- Your page content goes here -->
<!-- Views (Sections) -->
<div class="container mx-auto mt-8 p-4">
<section id="about" class="view-section">
<div id="gantt-info" class="flex">
<!-- Left Column -->
<div class="w-1/2 p-4">
<h1 class="text-2xl font-bold dark:text-white">
<b>About this Tool</b>
</h1>
<br>
<p class="mb-3 text-gray-500 dark:text-gray-300">
<b>PlanCraft</b> is an asumptions based schedule generator that helps you create and
Open Schedule Format (OSF) JSON file for your projects.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Simply input the project details, task information, and optional calendar settings, and the tool
will generate a downloadable OSF file that you can use for scheduling and planning.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
You can then use the OSF file to create a schedule in Flow Generative Scheduling.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
You can also use the PlanCraft Gantt Chart to visualize your schedule,
edit it further and export it to PDF or Excel.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
And finally you can also use the PlanCraft Budget Spreadsheet to import your schedule,
and draft a basic budget for your project.
</p>
</div>
<!-- Right Column -->
<div class="w-1/2 p-4">
<div id="default-carousel" class="relative w-full" data-carousel="slide">
<!-- Carousel wrapper -->
<div class="relative h-56 overflow-hidden rounded-lg md:h-96">
<!-- Item 1 -->
<div class="hidden duration-800 ease-in-out" data-carousel-item>
<img src="resources/screenshots/generator.png" class="absolute block h-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
</div>
<!-- Item 2 -->
<div class="hidden duration-800 ease-in-out" data-carousel-item>
<img src="resources/screenshots/gantt.png" class="absolute block h-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
</div>
<!-- Item 3 -->
<div class="hidden duration-800 ease-in-out" data-carousel-item>
<img src="resources/screenshots/budget.png" class="absolute block h-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
</div>
</div>
<!-- Slider indicators -->
<div class="absolute z-30 flex -translate-x-1/2 bottom-5 left-1/2 space-x-3 rtl:space-x-reverse">
<button type="button" class="w-3 h-3 rounded-full" aria-current="true" aria-label="Slide 1" data-carousel-slide-to="0"></button>
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 2" data-carousel-slide-to="1"></button>
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 3" data-carousel-slide-to="2"></button>
</div>
<!-- Slider controls -->
<button type="button" class="absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-prev>
<span class="inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none">
<svg class="w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 6 10">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 1 1 5l4 4"/>
</svg>
<span class="sr-only">Previous</span>
</span>
</button>
<button type="button" class="absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-next>
<span class="inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none">
<svg class="w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 6 10">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 9 4-4-4-4"/>
</svg>
<span class="sr-only">Next</span>
</span>
</button>
</div>
</div>
</div>
<hr>
<br>
<div id="gantt-info" class="flex">
<!-- Left Column -->
<div class="w-1/2 p-4">
<p class="mb-3 text-gray-500 dark:text-gray-300">
<b>What is Open Schedule Format?</b><br>
Open Schedule Format (OSF) is a simple schema for a JSON representation of a schedule data
and information model.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
It is intended for use in interchanging or archiving a schedule model
and is therefore a descriptive rather than a prescriptive format.<br>
<a href="https://help.autodesk.com/view/GENSCHD/ENU/?guid=gs-osf" class="text-sm text-blue-700 hover:underline dark:text-blue-500">
Open Schedule Format Documentation
</a>
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Its part of Autodesk Flow Generative Scheduling application
Flow Generative Scheduling allows you to generate scenarios of a schedule that has been imported
into Flow Generative Scheduling. This means that you first create a schedule elsewhere and do not
create or edit a schedule directly in Flow Generative Scheduling.<br>
<a href="https://help.autodesk.com/view/GENSCHD/ENU/?guid=gs-intro" class="text-sm text-blue-700 hover:underline dark:text-blue-500">
Autodesk Flow Generative Scheduling Documentation
</a>
</p>
</div>
<!-- Right Column -->
<div class="w-1/2 p-4">
<p class="mb-3 text-gray-500 dark:text-gray-300">
<b>Why will I use OSF Generator?</b><br>
You can prepare an hipotetical schedule scenario, only based on some asumptions of your project.
And play around with as much options as needed without the need to create entities in Flow Production Tracking
</p>
<br>
<p class="mb-3 text-gray-500 dark:text-gray-300">
<b>Do you have an issue or request?</b><br><br>
Please open an issue at
<a href="https://github.com/hasielhassan/PlanCraft/issues">
<button type="button" class="text-white bg-[#24292F] hover:bg-[#24292F]/90 focus:ring-4 focus:outline-none focus:ring-[#24292F]/50 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-gray-500 dark:hover:bg-[#050708]/30 me-2 mb-2">
<svg class="w-4 h-4 me-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 .333A9.911 9.911 0 0 0 6.866 19.65c.5.092.678-.215.678-.477 0-.237-.01-1.017-.014-1.845-2.757.6-3.338-1.169-3.338-1.169a2.627 2.627 0 0 0-1.1-1.451c-.9-.615.07-.6.07-.6a2.084 2.084 0 0 1 1.518 1.021 2.11 2.11 0 0 0 2.884.823c.044-.503.268-.973.63-1.325-2.2-.25-4.516-1.1-4.516-4.9A3.832 3.832 0 0 1 4.7 7.068a3.56 3.56 0 0 1 .095-2.623s.832-.266 2.726 1.016a9.409 9.409 0 0 1 4.962 0c1.89-1.282 2.717-1.016 2.717-1.016.366.83.402 1.768.1 2.623a3.827 3.827 0 0 1 1.02 2.659c0 3.807-2.319 4.644-4.525 4.889a2.366 2.366 0 0 1 .673 1.834c0 1.326-.012 2.394-.012 2.72 0 .263.18.572.681.475A9.911 9.911 0 0 0 10 .333Z" clip-rule="evenodd"/>
</svg>
Github PlanCraft Issues
</button>
</a>
with your suggestions.
</p>
</div>
</div>
<hr>
</section>
<section id="generator" class="view-section hidden">
<h1 class="text-2xl font-bold dark:text-white">OSF Generator</h1>
<!-- Container with two columns -->
<div class="flex">
<!-- Left Column -->
<div class="w-1/2 p-4">
<h2 class="text-lg font-bold dark:text-white mb-4">Calendar and Tasks</h2>
<div id="accordion-collapse" data-accordion="collapse">
<h2 id="accordion-collapse-calendar-settings-heading">
<button
type="button" class="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3"
data-accordion-target="#accordion-collapse-calendar-settings-body" aria-expanded="false" aria-controls="accordion-collapse-calendar-settings-body"
>
<span>Customize Calendar</span>
<svg data-accordion-icon class="w-3 h-3 rotate-180 shrink-0" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5 5 1 1 5"/>
</svg>
</button>
</h2>
<div id="accordion-collapse-calendar-settings-body"
class="hidden" aria-labelledby="accordion-collapse-calendar-settings-heading"
>
<div class="p-5 border border-b-0 border-gray-200 dark:border-gray-600 dark:bg-gray-900">
<p class="mb-3 text-gray-500 dark:text-gray-300">
Configure the working hours for each day of the week.
</p>
<label for="monday" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Monday:</label>
<input type="number" id="monday" value="8" min="0" max="24"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
<label for="tuesday" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Tuesday:</label>
<input type="number" id="tuesday" value="8" min="0" max="24"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
<label for="wednesday" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Wednesday:</label>
<input type="number" id="wednesday" value="8" min="0" max="24"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
<label for="thursday" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Thursday:</label>
<input type="number" id="thursday" value="8" min="0" max="24"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
<label for="friday" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Friday:</label>
<input type="number" id="friday" value="8" min="0" max="24"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
<label for="saturday" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Saturday:</label>
<input type="number" id="saturday" value="0" min="0" max="24"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
<label for="sunday" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Sunday:</label>
<input type="number" id="sunday" value="0" min="0" max="24"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
</div>
</div>
<h2 id="accordion-collapse-env-asset-tasks-heading">
<button
type="button" class="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3"
data-accordion-target="#accordion-collapse-env-asset-tasks-body" aria-expanded="false" aria-controls="accordion-collapse-env-asset-tasks-body"
>
<span>Customize Environment Asset Tasks</span>
<svg data-accordion-icon class="w-3 h-3 rotate-180 shrink-0" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5 5 1 1 5"/>
</svg>
</button>
</h2>
<div id="accordion-collapse-env-asset-tasks-body"
class="hidden" aria-labelledby="accordion-collapse-env-asset-tasks-heading"
>
<div class="p-5 border border-b-0 border-gray-200 dark:border-gray-600 dark:bg-gray-900">
<p class="mb-3 text-gray-500 dark:text-gray-300">
Add a task for each asset.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Duration is the number of days it takes to complete the task.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Dependencies are comma-separated task names that must be completed before this task can be completed.
</p>
<table id="envAssetTasksTable" class="assets-tasks-table w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400" data-entity-type="env">
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
<tr>
<th scope="col" class="px-6 py-3" style="width: 150px;">Task Name</th>
<th scope="col" class="px-6 py-3" style="width: 80px;">Duration</th>
<th scope="col" class="px-6 py-3">Dependencies (comma-separated)</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<br>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="addAssetTask('env')">Add Task
</button>
</div>
</div>
<h2 id="accordion-collapse-char-asset-tasks-heading">
<button
type="button" class="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3"
data-accordion-target="#accordion-collapse-char-asset-tasks-body" aria-expanded="false" aria-controls="accordion-collapse-char-asset-tasks-body"
>
<span>Customize Character Asset Tasks</span>
<svg data-accordion-icon class="w-3 h-3 rotate-180 shrink-0" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5 5 1 1 5"/>
</svg>
</button>
</h2>
<div id="accordion-collapse-char-asset-tasks-body"
class="hidden" aria-labelledby="accordion-collapse-char-asset-tasks-heading"
>
<div class="p-5 border border-b-0 border-gray-200 dark:border-gray-600 dark:bg-gray-900">
<p class="mb-3 text-gray-500 dark:text-gray-300">
Add a task for each asset.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Duration is the number of days it takes to complete the task.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Dependencies are comma-separated task names that must be completed before this task can be completed.
</p>
<table id="charAssetTasksTable" class="assets-tasks-table w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400" data-entity-type="char">
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
<tr>
<th scope="col" class="px-6 py-3" style="width: 150px;">Task Name</th>
<th scope="col" class="px-6 py-3" style="width: 80px;">Duration</th>
<th scope="col" class="px-6 py-3" >Dependencies (comma-separated)</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<br>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="addAssetTask('char')">Add Task
</button>
</div>
</div>
<h2 id="accordion-collapse-prop-asset-tasks-heading">
<button
type="button" class="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3"
data-accordion-target="#accordion-collapse-prop-asset-tasks-body" aria-expanded="false" aria-controls="accordion-collapse-prop-asset-tasks-body"
>
<span>Customize Prop Asset Tasks</span>
<svg data-accordion-icon class="w-3 h-3 rotate-180 shrink-0" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5 5 1 1 5"/>
</svg>
</button>
</h2>
<div id="accordion-collapse-prop-asset-tasks-body"
class="hidden" aria-labelledby="accordion-collapse-prop-asset-tasks-heading"
>
<div class="p-5 border border-b-0 border-gray-200 dark:border-gray-600 dark:bg-gray-900">
<p class="mb-3 text-gray-500 dark:text-gray-300">
Add a task for each asset.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Duration is the number of days it takes to complete the task.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Dependencies are comma-separated task names that must be completed before this task can be completed.
</p>
<table id="propAssetTasksTable" class="assets-tasks-table w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400" data-entity-type="prop">
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
<tr>
<th scope="col" class="px-6 py-3" style="width: 150px;">Task Name</th>
<th scope="col" class="px-6 py-3" style="width: 80px;">Duration</th>
<th scope="col" class="px-6 py-3" >Dependencies (comma-separated)</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<br>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="addAssetTask('prop')">Add Task
</button>
</div>
</div>
<h2 id="accordion-collapse-sequence-tasks-heading">
<button
type="button" class="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3"
data-accordion-target="#accordion-collapse-sequence-tasks-body" aria-expanded="false" aria-controls="accordion-collapse-sequence-tasks-body"
>
<span>Customize Sequence Tasks</span>
<svg data-accordion-icon class="w-3 h-3 rotate-180 shrink-0" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5 5 1 1 5"/>
</svg>
</button>
</h2>
<div id="accordion-collapse-sequence-tasks-body"
class="hidden" aria-labelledby="accordion-collapse-sequence-tasks-heading"
>
<div class="p-5 border border-b-0 border-gray-200 dark:border-gray-600 dark:bg-gray-900">
<p class="mb-3 text-gray-500 dark:text-gray-300">
Add a task for each Sequence.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Duration is the number of days it takes to complete the task.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Dependencies are comma-separated task names that must be completed before this task can be completed.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Sequence ones are the ones present in the same Sequence
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Asset ones are the ones present in assets linked to the Sequence
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
We randomly link some assets to sequences and set proper dependencies
</p>
<table id="sequenceTasksTable" class="sequence-tasks-table w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400" data-entity-type="simple-sequence">
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
<tr>
<th scope="col" class="px-6 py-3" style="width: 150px;">Task Name</th>
<th scope="col" class="px-6 py-3" style="width: 80px;">Duration</th>
<th scope="col" class="px-6 py-3" >Sequence Dependencies</th>
<th scope="col" class="px-6 py-3" >Asset Dependencies</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<br>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="addSequenceTask()">Add Task
</button>
</div>
</div>
<h2 id="accordion-collapse-shot-tasks-heading">
<button
type="button" class="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3"
data-accordion-target="#accordion-collapse-shot-tasks-body" aria-expanded="false" aria-controls="accordion-collapse-shot-tasks-body"
>
<span>Customize Simple Shot Tasks</span>
<svg data-accordion-icon class="w-3 h-3 rotate-180 shrink-0" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5 5 1 1 5"/>
</svg>
</button>
</h2>
<div id="accordion-collapse-shot-tasks-body"
class="hidden" aria-labelledby="accordion-collapse-shot-tasks-heading"
>
<div class="p-5 border border-b-0 border-gray-200 dark:border-gray-600 dark:bg-gray-900">
<p class="mb-3 text-gray-500 dark:text-gray-300">
Add a task for each shot.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Duration is the number of days it takes to complete the task.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Dependencies are comma-separated task names that must be completed before this task can be completed.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Shot ones are the ones present in the same shot
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Asset ones are the ones present in assets linked to the shot
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
We randomly link some assets to shots and set proper dependencies
</p>
<table id="simpleShotTasksTable" class="shots-tasks-table w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400" data-entity-type="simple-shot">
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
<tr>
<th scope="col" class="px-6 py-3" style="width: 150px;">Task Name</th>
<th scope="col" class="px-6 py-3" style="width: 80px;">Duration</th>
<th scope="col" class="px-6 py-3" >Shot Dependencies</th>
<th scope="col" class="px-6 py-3" >Asset Dependencies</th>
<th scope="col" class="px-6 py-3" >Sequence Dependencies</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<br>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="addShotTask('simple')">Add Task
</button>
</div>
</div>
<h2 id="accordion-collapse-complex-tasks-heading">
<button
type="button" class="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3"
data-accordion-target="#accordion-collapse-complex-tasks-body" aria-expanded="false" aria-controls="accordion-collapse-complex-tasks-body"
>
<span>Customize Complex Shot Tasks</span>
<svg data-accordion-icon class="w-3 h-3 rotate-180 shrink-0" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5 5 1 1 5"/>
</svg>
</button>
</h2>
<div id="accordion-collapse-complex-tasks-body"
class="hidden" aria-labelledby="accordion-collapse-complex-tasks-heading"
>
<div class="p-5 border border-b-0 border-gray-200 dark:border-gray-600 dark:bg-gray-900">
<p class="mb-3 text-gray-500 dark:text-gray-300">
Add a task for each shot.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Duration is the number of days it takes to complete the task.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Dependencies are comma-separated task names that must be completed before this task can be completed.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Shot ones are the ones present in the same shot
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Asset ones are the ones present in assets linked to the shot
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
We randomly link some assets to shots and set proper dependencies
</p>
<table id="complexShotTasksTable" class="shots-tasks-table" data-entity-type="complex-shot">
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
<tr>
<th scope="col" class="px-6 py-3" style="width: 150px;">Task Name</th>
<th scope="col" class="px-6 py-3" style="width: 80px;">Duration</th>
<th scope="col" class="px-6 py-3" >Shot Dependencies</th>
<th scope="col" class="px-6 py-3" >Asset Dependencies</th>
<th scope="col" class="px-6 py-3" >Sequence Dependencies</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<br>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="addShotTask('complex')">Add Task
</button>
</div>
</div>
</div>
</div>
<!-- Right Column -->
<div class="w-1/2 p-4">
<h2 class="text-lg font-bold dark:text-white mb-4">Project Estimates</h2>
<div class="grid gap-6 mb-6 md:grid-cols-1">
<div>
<label for="numEpisodes" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Number of Episodes:
</label>
<input type="number" id="numEpisodes" value="1"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
</div>
<div>
<label for="sequencesPerEpisode" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Number of Sequences per Episode:</label>
<input type="number" id="sequencesPerEpisode" value="10"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
</div>
<div>
<label for="shotsPerEpisode" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Shots per Episode:</label>
<input type="number" id="shotsPerEpisode" value="200"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
</div>
<div>
<label for="complexShotsPerEpisode" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Percentage Complex Shots per Episode:</label>
<input type="number" id="complexShotsPerEpisode" value="20" min="1" max="100" step="1"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
</div>
<div>
<label for="numEnvAssets" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Number of Environment Assets:</label>
<input type="number" id="numEnvAssets" value="5"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
</div>
<div>
<label for="numCharAssets" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Number of Character Assets:</label>
<input type="number" id="numCharAssets" value="10"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
</div>
<div>
<label for="numPropAssets" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
Number of Prop Assets:</label>
<input type="number" id="numPropAssets" value="20"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
>
</div>
</div>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="generateOSF()">Generate OSF
</button>
</div>
</div>
</section>
<section id="gantt" class="view-section hidden">
<div id="gantt-info" class="flex">
<!-- Left Column -->
<div class="w-1/2 p-4">
<h1 class="text-2xl font-bold dark:text-white">Gantt Viewer</h1>
<p class="mb-3 text-gray-500 dark:text-gray-300">
This is a minimal Gantt Viewer to allow for quick and easy modification and export.
</p>
</div>
<!-- Right Column -->
<div id="gantt_toolbar" class="w-1/2 p-4">
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
id="importOSF">Import OSF
</button>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
id="autoSchedule">Auto Schedule
</button>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
id="showHideLinks">Hide Links
</button>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
id="collapseExpandAll">Collapse All
</button>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
id="exportPDF">Export PDF
</button>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
id="exportXLS">Export Excel
</button>
</div>
</div>
<div id="gantt_here" style='width:100%; height:68vh;'></div>
</section>
<section id="budget" class="view-section hidden">
<div id="budget-info" class="flex">
<!-- Left Column -->
<div class="w-1/2 p-4">
<h1 class="text-2xl font-bold dark:text-white">Budget Spreadsheet</h1>
<p class="mb-3 text-gray-500 dark:text-gray-300">
This is a minimal Budget Spreadsheet to allow for quick and easy modification and export.
</p>
</div>
<!-- Right Column -->
<div id="budget_toolbar" class="w-1/2 p-4">
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
id="budget-importOSF">Import OSF
</button>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
id="budget-exportCSV">Export CSV
</button>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
id="budget-exportXLS">Export XLS
</button>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
id="budget-exportPDF">Export PDF
</button>
</div>
</div>
<div id="budget-table"></div>
</section>
<section id="privacypolicy" class="view-section hidden">
<h1 class="text-2xl font-bold dark:text-white">
Privacy Policy
</h1>
<br>
<p class="mb-3 text-gray-500 dark:text-gray-300">
This website uses Google Analytics, a web analytics service provided by Google, Inc. ("Google").
<br>
Google Analytics uses "cookies", which are text files placed on your computer, to help the website analyze how users use the site.
<br>
The information generated by the cookie about your use of the website (including your IP address) will be transmitted to and stored by Google on servers in the United States.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
Google will use this information for the purpose of evaluating your use of the website, compiling reports on website activity for website operators and providing other services relating to website activity and internet usage.
<br>
Google may also transfer this information to third parties where required to do so by law, or where such third parties process the information on Google's behalf.
<br>
Google will not associate your IP address with any other data held by Google.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
As the developer, I use this data to gain insights into how you interact with the app.
<br>
This helps me understand which features are most popular, where users spend the most time, and how I can improve your overall experience.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
You may refuse the use of Google Analytics cookies by selecting the settings bellow, you will still be able to use the full functionality of this website.
<br>
By using this website and allowing Google Analytics cookies, you consent to the processing of data about you by Google in the manner and for the purposes set out above.
</p>
<p class="mb-3 text-gray-500 dark:text-gray-300">
You can opt out of Google Analytics tracking by clicking on the "Reject" button below.
</p>
<br>
<hr>
<br>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="acceptCookies()">
Accept
</button>
<button
type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="gaOptout()">
Reject
</button>
</section>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white p-4">
<!-- Footer content goes here -->
<footer class="bg-white rounded-lg shadow m-4 dark:bg-gray-800">
<div class="w-full mx-auto max-w-screen-xl p-4 md:flex md:items-center md:justify-between">
<span class="text-sm text-gray-500 sm:text-center dark:text-gray-400">© 2024 <a href="https://www.hasielhassan.com/" class="hover:underline">Hasiel Alvarez</a>. All Rights Reserved.
</span>
<div class="flex mt-4 sm:justify-center sm:mt-0">
<a href="https://github.com/HasielHassan/PlanCraft" class="text-gray-500 hover:text-gray-900 dark:hover:text-white ms-5">
<svg class="w-4 h-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 .333A9.911 9.911 0 0 0 6.866 19.65c.5.092.678-.215.678-.477 0-.237-.01-1.017-.014-1.845-2.757.6-3.338-1.169-3.338-1.169a2.627 2.627 0 0 0-1.1-1.451c-.9-.615.07-.6.07-.6a2.084 2.084 0 0 1 1.518 1.021 2.11 2.11 0 0 0 2.884.823c.044-.503.268-.973.63-1.325-2.2-.25-4.516-1.1-4.516-4.9A3.832 3.832 0 0 1 4.7 7.068a3.56 3.56 0 0 1 .095-2.623s.832-.266 2.726 1.016a9.409 9.409 0 0 1 4.962 0c1.89-1.282 2.717-1.016 2.717-1.016.366.83.402 1.768.1 2.623a3.827 3.827 0 0 1 1.02 2.659c0 3.807-2.319 4.644-4.525 4.889a2.366 2.366 0 0 1 .673 1.834c0 1.326-.012 2.394-.012 2.72 0 .263.18.572.681.475A9.911 9.911 0 0 0 10 .333Z" clip-rule="evenodd"/>
</svg>
<span class="sr-only">GitHub account</span>
</a>
</div>
</div>
</footer>
</footer>
</div>
<!-- Modal Structure -->
<!-- Google Analytics Cookie Consent modal -->
<!-- Google Analytics Modal toggle -->
<button id="cookieConsentToogle" data-modal-target="cookieConsent" data-modal-toggle="cookieConsent" class="hidden block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800" type="button">
Google Analytics Toggle modal
</button>
<div id="cookieConsent" data-modal-placement="center" data-modal-backdrop="static" tabindex="-1" class="fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full">
<div class="relative w-full max-w-2xl max-h-full">
<!-- Modal content -->
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
<!-- Modal header -->
<div class="flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600">
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">
Google Analytics Cookie Consent
</h3>
<button type="button" class="text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white" data-modal-hide="cookieConsent">
<svg class="w-3 h-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
</svg>
<span class="sr-only">Close modal</span>
</button>
</div>
<!-- Modal body -->
<div class="p-4 md:p-5 space-y-4">
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400">
This website uses Google Analytics to understand the use of the tool
and improve your experience and future development.
</p>
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400">
As the developer, I use this data to gain insights into how you interact with the app.
This helps me understand which features are most popular, where users spend the most time,
and how I can improve your overall experience.
</p>
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400">
By accepting and continuing to browse, you consent to the use of these cookies.
You can also decline and learn more in the <a href="#privacypolicy" class="text-sm text-blue-700 hover:underline dark:text-blue-500">Privacy Policy</a>.
You will still be able to use the full functionality of this website.
</p>
</div>
<!-- Modal footer -->
<div class="flex items-center p-4 md:p-5 border-t border-gray-200 rounded-b dark:border-gray-600">
<button data-modal-hide="cookieConsent" type="button" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="acceptCookies()">I accept</button>
<button data-modal-hide="cookieConsent" type="button" class="py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700"
onclick="gaOptout()">Decline</button>
</div>
</div>
</div>
</div>
<!-- GanttEndDate Modal toggle -->
<button id="ganttEndDateToogle" data-modal-target="ganttEndDateModal" data-modal-toggle="ganttEndDateModal" class="hidden block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800" type="button">
GanttEndDate Toggle modal
</button>
<!-- Date Modal -->
<div id="ganttEndDateModal" data-modal-placement="center" data-modal-backdrop="static" tabindex="-1" class="fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full">
<div class="relative w-full max-w-2xl max-h-full">
<!-- Modal content -->
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
<!-- Modal header -->
<div class="flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600">
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">
Select and End Date for the last Task
</h3>
<button type="button" class="text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white" data-modal-hide="ganttEndDateModal">
<svg class="w-3 h-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
</svg>
<span class="sr-only">Close modal</span>
</button>
</div>
<!-- Modal body -->
<div class="p-4 md:p-5 space-y-4">
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400">
The AuSchedule is a minimalistic tool to help you batch schedule tasks.
It considers task dependencies and calculates start and endates using duration and does it from the end to the begining.
It does not considers resources at the moment, so it's not perfect.
</p>
<div class="relative max-w-sm">
<div class="absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none">
<svg class="w-4 h-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
<path d="M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z"/>
</svg>
</div>
<input datepicker id="endDateInput" type="text" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Select date">
</div>
</div>
<!-- Modal footer -->
<div class="flex items-center p-4 md:p-5 border-t border-gray-200 rounded-b dark:border-gray-600">
<button data-modal-hide="ganttEndDateModal" type="button" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
onclick="confirmDate()">Confirm</button>
<button data-modal-hide="ganttEndDateModal" type="button" class="py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700"
onclick="closeDateModal()">Cancel</button>
</div>
</div>
</div>
</div>
<!-- Loading Modal toggle -->
<button id="loadingToogle" data-modal-target="loadingModal" data-modal-toggle="loadingModal" class="hidden block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800" type="button">
Loading Toggle modal
</button>
<!-- Loading Modal -->
<div id="loadingModal" data-modal-placement="center" data-modal-backdrop="static" tabindex="-1" class="fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full">
<div class="relative w-full max-w-2xl max-h-full">
<!-- Modal content -->
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
<!-- Modal header -->
<div class="flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600">
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">
Loading, please wait...
</h3>
<button type="button" class="text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white" data-modal-hide="loadingModal">
<svg class="w-3 h-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
</svg>
<span class="sr-only">Close modal</span>
</button>
</div>
<!-- Modal body -->
<div class="p-4 md:p-5 space-y-4">
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400">
This process might take a while. The Dialog will close automatically.
</p>
<div role="status">
<svg aria-hidden="true" class="inline w-10 h-10 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"/>
<path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"/>
</svg>
<span class="sr-only">Loading...</span>
</div>
</div>
</div>
</div>
</div>
</body>
</html>