x
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
<div data-controller="sidebar"> <aside class="tw-sidebar"> <!-- Logo --> <div class="tw-sidebar-logo"> <a href="#" class="tw-sidebar-logo-link"> <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M37.47 38L29.43 17.99H26.34L18.27 38H21.12L22.89 33.53H32.85L34.62 38H37.47ZM32.13 31.34H23.64L27.87 20.54L32.13 31.34Z" fill="white"/> <path d="M39 18V14H37V18H33V20H37V24H39V20H43V18H39Z" fill="#EC634B"/> </svg> </a> </div> <!-- Navigation --> <nav class="tw-sidebar-nav" role="navigation" aria-label="Main navigation"> <!-- Insights --> <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="insights" data-label="Insights" aria-expanded="false"> <i class="fa-light fa-chart-mixed tw-sidebar-icon"></i> <span class="tw:sr-only">Insights</span> <span class="tw-badge tw-badge-danger tw-badge-sm tw-badge-notification-ceil">New</span> </button> <!-- Parents & Enquiries --> <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="parents" data-label="Parents & Enquiries" aria-expanded="false"> <i class="fa-light fa-user-group tw-sidebar-icon"></i> <span class="tw:sr-only">Parents & Enquiries</span> <span class="tw-badge tw-badge-danger tw-badge-sm tw-badge-notification-ceil">New</span> </button> <!-- Communications & Events --> <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="communications" data-label="Communications & Events" aria-expanded="false"> <i class="fa-light fa-comment-alt-lines tw-sidebar-icon"></i> <span class="tw:sr-only">Communications & Events</span> </button> <!-- Registered Students --> <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="students" data-label="Registered Students" aria-expanded="false"> <i class="fa-light fa-users tw-sidebar-icon"></i> <span class="tw:sr-only">Registered Students</span> </button> <!-- Marketing --> <!-- <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="marketing" data-label="Marketing" aria-expanded="false"> <svg class="tw-sidebar-icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M14.7461 2.38281C13.875 2.13281 12.9531 2 12 2C6.47656 2 2 6.47656 2 12C2 17.5234 6.47656 22 12 22C17.5234 22 22 17.5234 22 12C22 11.0469 21.8672 10.125 21.6172 9.25391L20.7266 10.2461C20.6836 10.293 20.6445 10.3359 20.5977 10.3789C20.6953 10.9062 20.7461 11.4453 20.7461 12C20.7461 16.832 16.8281 20.75 11.9961 20.75C7.16406 20.75 3.25 16.832 3.25 12C3.25 7.16797 7.16797 3.25 12 3.25C12.5547 3.25 13.0977 3.30078 13.6211 3.39844C13.6641 3.35547 13.707 3.3125 13.7539 3.26953L14.7461 2.38281ZM12.7266 5.79297C12.4883 5.76562 12.2461 5.75 12 5.75C8.54687 5.75 5.75 8.54687 5.75 12C5.75 15.4531 8.54687 18.25 12 18.25C15.4531 18.25 18.25 15.4531 18.25 12C18.25 11.7539 18.2344 11.5117 18.207 11.2734C18.1016 11.2656 17.9961 11.2539 17.8906 11.2383L16.9141 11.0742C16.9687 11.375 17 11.6836 17 12C17 14.7617 14.7617 17 12 17C9.23828 17 7 14.7617 7 12C7 9.23828 9.23828 7 12 7C12.3164 7 12.625 7.03125 12.9258 7.08594L12.7617 6.10937C12.7422 6.00391 12.7305 5.89844 12.7266 5.79297ZM15.3398 9.54687L18.0898 10.0039C18.7266 10.1094 19.3711 9.88281 19.8008 9.39844L21.5156 7.46875C21.9727 6.95703 21.7422 6.14453 21.0859 5.94922L18.7539 5.25L18.0508 2.91406C17.8555 2.25781 17.043 2.02734 16.5312 2.48437L14.6016 4.19922C14.1211 4.62891 13.8906 5.27344 13.9961 5.91016L14.4531 8.66016L11.5547 11.5586C11.3125 11.8008 11.3125 12.1992 11.5547 12.4414C11.7969 12.6836 12.1953 12.6836 12.4375 12.4414L15.3359 9.54297L15.3398 9.54687ZM16.4258 8.46094L18.4297 6.45703L20.2578 7.00391L18.8672 8.56641C18.7227 8.72656 18.5078 8.80469 18.2969 8.76953L16.4258 8.45703V8.46094ZM17.543 5.57422L15.5391 7.57813L15.2266 5.70703C15.1914 5.49609 15.2656 5.28125 15.4297 5.13672L16.9922 3.74609L17.5391 5.57422H17.543Z" fill="currentColor" stroke="none"/> </svg> <span class="tw:sr-only">Marketing</span> <span class="tw-badge tw-badge-danger tw-badge-sm tw-badge-notification-ceil">128</span> </button> --> <!-- Enrolments --> <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="enrolments" data-label="Enrolments" aria-expanded="false"> <i class="fa-light fa-file-alt tw-sidebar-icon"></i> <span class="tw:sr-only">Enrolments</span> </button> <!-- Applicaa Futures --> <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="applicaafutures" data-label="Applicaa Futures" aria-expanded="false"> <i class="fa-light fa-graduation-cap tw-sidebar-icon"></i> <span class="tw:sr-only">Applicaa Futures</span> </button> <!-- Data --> <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="data" data-label="Data" aria-expanded="false"> <i class="fa-light fa-cloud-upload tw-sidebar-icon"></i> <span class="tw:sr-only">Data</span> <span class="tw-badge tw-badge-danger tw-badge-sm tw-badge-notification-ceil">160</span> </button> <!-- Manage Users --> <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="manageusers" data-label="Manage Users" aria-expanded="false"> <i class="fa-light fa-users-cog tw-sidebar-icon"></i> <span class="tw:sr-only">Manage Users</span> <span class="tw-badge tw-badge-danger tw-badge-sm tw-badge-notification-ceil">218</span> </button> <!-- Platform Essentials --> <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="essentials" data-label="Platform Essentials" aria-expanded="false"> <i class="fa-light fa-bell tw-sidebar-icon"></i> <span class="tw:sr-only">Platform Essentials</span> <span class="tw-badge tw-badge-danger tw-badge-sm tw-badge-notification-ceil">90</span> </button> </nav> <!-- Bottom Section --> <div class="tw-sidebar-bottom"> <button type="button" class="tw-sidebar-item" data-sidebar-target="item" data-action="click->sidebar#toggleDrawer" data-drawer="settings" data-label="Settings" aria-expanded="false"> <i class="fa-light fa-cogs tw-sidebar-icon"></i> <span class="tw:sr-only">Settings</span> </button> </div> </aside> <!-- Parents & Enquiries Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="parents" aria-label="Parents & Enquiries navigation"> <div class="tw-sidebar-drawer-header">PARENTS & ENQUIRIES</div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item tw-disabled"> <span class="tw-drawer-item-label">Parents</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Enquiries</span> </a> </nav> </div> <!-- Insights Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="insights" aria-label="Insights navigation"> <div class="tw-sidebar-drawer-header">INSIGHTS</div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Summary</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Pipeline</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Map view</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Feeder schools</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Events</span> </a> </nav> </div> <!-- Registered Students Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="students" aria-label="Registered Students navigation"> <div class="tw-sidebar-drawer-header">REGISTERED STUDENTS</div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Incomplete</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label"> Awaiting Reference <span class="tw-tag tw-tag-sm tw-tag-info-subtle tw-tag-interactive" data-controller="demo" data-action="click->demo#show" data-demo-loom-url="https://www.loom.com/embed/57b221906926464089a56d85e8eeefa9?sid=ab3b24a5-9f76-4b64-99ce-a54356ba6d80" data-demo-text="This is the demo for the feature\nThis is the next paragraph of texts" data-demo-learn-more="https://helpdesk.applicaa.com/"> <i class="fa-regular fa-clapperboard-play"></i> Demo </span> </span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label"> Completed <span class="tw-tag tw-tag-sm tw-tag-info-subtle tw-tag-interactive" data-controller="demo" data-action="click->demo#show" data-demo-loom-url="https://www.loom.com/embed/57b221906926464089a56d85e8eeefa9?sid=ab3b24a5-9f76-4b64-99ce-a54356ba6d80" data-demo-text="This is the demo for the feature\nThis is the next paragraph of texts" data-demo-learn-more="https://helpdesk.applicaa.com/"> <i class="fa-regular fa-clapperboard-play"></i> Demo </span> </span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Declined</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Withdrawn</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Deadline Missed</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Skipped Payment</span> </a> </nav> </div> <!-- Enrolments Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="enrolments" aria-label="Enrolments navigation"> <div class="tw-sidebar-drawer-header">BULK ENROLMENT</div> <nav class="tw-drawer-nav"> <a href="/lookbook/preview/projects/enrolment/bulk_enrolment" class="tw-drawer-item"> <span class="tw-drawer-item-label">Bulk Enrolment</span> </a> </nav> <div class="tw-sidebar-drawer-header"> ENROLMENT <span class="tw-tag tw-tag-sm tw-tag-info-subtle tw-tag-interactive tw:normal-case" data-controller="demo" data-action="click->demo#show" data-demo-loom-url="https://www.loom.com/embed/57b221906926464089a56d85e8eeefa9?sid=ab3b24a5-9f76-4b64-99ce-a54356ba6d80" data-demo-text="This is the demo for the feature\nThis is the next paragraph of texts" data-demo-learn-more="https://helpdesk.applicaa.com/"> <i class="fa-regular fa-clapperboard-play"></i> Demo </span> </div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Details to be checked</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Ready to Enrol</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Enrolled</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Enrolment Waiting</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Enrolment Declined</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Enrolment Activities</span> </a> </nav> <div class="tw-sidebar-drawer-header">REPORT</div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Enrolment Report</span> </a> </nav> <div class="tw-sidebar-drawer-header">POST ENROLMENT</div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">CTF/File Request</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Transition Tool</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Sorting Hat</span> </a> </nav> </div> <!-- Applicaa Futures Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="applicaafutures" aria-label="Applicaa Futures navigation"> <div class="tw-sidebar-drawer-header">APPLICAA FUTURES</div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">One Reference</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Destination Tracker</span> </a> </nav> </div> <!-- Data Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="data" aria-label="Data navigation"> <div class="tw-sidebar-drawer-header">DATA</div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Import</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label"> Export <span class="tw-tag tw-tag-sm tw-tag-info-subtle tw-tag-interactive" data-controller="demo" data-action="click->demo#show" data-demo-loom-url="https://www.loom.com/embed/57b221906926464089a56d85e8eeefa9?sid=ab3b24a5-9f76-4b64-99ce-a54356ba6d80" data-demo-text="This is the demo for the feature\nThis is the next paragraph of texts" data-demo-learn-more="https://helpdesk.applicaa.com/"> <i class="fa-regular fa-clapperboard-play"></i> Demo </span> </span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Uploaded Files</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label"> First Media Applications <span class="tw-badge tw-badge-danger tw-badge-sm">182</span> </span> </a> </nav> </div> <!-- Manage Users Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="manageusers" aria-label="Manage Users navigation"> <div class="tw-sidebar-drawer-header">MANAGE USERS</div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Manually Add People</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label"> Duplicate Students <span class="tw-badge tw-badge-danger tw-badge-sm">211</span> <span class="tw-tag tw-tag-sm tw-tag-info-subtle tw-tag-interactive" data-controller="demo" data-action="click->demo#show" data-demo-loom-url="https://www.loom.com/embed/57b221906926464089a56d85e8eeefa9?sid=ab3b24a5-9f76-4b64-99ce-a54356ba6d80" data-demo-text="This is the demo for the feature\nThis is the next paragraph of texts" data-demo-learn-more="https://helpdesk.applicaa.com/"> <i class="fa-regular fa-clapperboard-play"></i> Demo </span> </span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label"> Duplicate Agencies <span class="tw-badge tw-badge-danger tw-badge-sm">7</span> </span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Duplicate Contacts</span> </a> </nav> </div> <!-- Platform Essentials Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="essentials" aria-label="Platform Essentials navigation"> <div class="tw-sidebar-drawer-header">PLATFORM ESSENTIALS</div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label"> Applicaa Journey <span class="tw-badge tw-badge-danger tw-badge-sm">13</span> </span> </a> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label">Product Requests & Updates</span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"> <a href="#" class="tw-drawer-subitem">Feature Requests</a> <a href="#" class="tw-drawer-subitem">Road Map</a> <a href="#" class="tw-drawer-subitem">Vote</a> <a href="#" class="tw-drawer-subitem">Recent Updates</a> </div> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Time Saved With Admissions+</span> </a> </nav> </div> <!-- Communications & Events Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="communications" aria-label="Communications & Events navigation"> <div class="tw-sidebar-drawer-header">COMMUNICATIONS & EVENTS</div> <nav class="tw-drawer-nav"> <!-- Communications Section (expandable) --> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label"> Communications <span class="tw-tag tw-tag-sm tw-tag-info-subtle tw-tag-interactive" data-controller="demo" data-action="click->demo#show" data-demo-loom-url="https://www.loom.com/embed/57b221906926464089a56d85e8eeefa9?sid=ab3b24a5-9f76-4b64-99ce-a54356ba6d80" data-demo-text="This is the demo for the feature\nThis is the next paragraph of texts" data-demo-learn-more="https://helpdesk.applicaa.com/"> <i class="fa-regular fa-clapperboard-play"></i> Demo </span> </span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"> <a href="#" class="tw-drawer-subitem"> <i class="fa-regular fa-circle-info"></i> Manual Messages </a> <a href="#" class="tw-drawer-subitem"> <i class="fa-regular fa-circle-info"></i> Automated Messages </a> <a href="#" class="tw-drawer-subitem"> <i class="fa-regular fa-circle-info"></i> Scheduled Messages </a> <a href="#" class="tw-drawer-subitem">Message Summary</a> </div> <!-- Meetings (single item) --> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label"> Meetings <span class="tw-tag tw-tag-sm tw-tag-info-subtle tw-tag-interactive" data-controller="demo" data-action="click->demo#show" data-demo-loom-url="https://www.loom.com/embed/57b221906926464089a56d85e8eeefa9?sid=ab3b24a5-9f76-4b64-99ce-a54356ba6d80" data-demo-text="This is the demo for the feature\nThis is the next paragraph of texts" data-demo-learn-more="https://helpdesk.applicaa.com/"> <i class="fa-regular fa-clapperboard-play"></i> Demo </span> </span> </a> <!-- Events Section (expandable) --> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label"> Events <span class="tw-tag tw-tag-sm tw-tag-info-subtle tw-tag-interactive" data-controller="demo" data-action="click->demo#show" data-demo-loom-url="https://www.loom.com/embed/57b221906926464089a56d85e8eeefa9?sid=ab3b24a5-9f76-4b64-99ce-a54356ba6d80" data-demo-text="This is the demo for the feature\nThis is the next paragraph of texts" data-demo-learn-more="https://helpdesk.applicaa.com/"> <i class="fa-regular fa-clapperboard-play"></i> Demo </span> </span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"> <a href="#" class="tw-drawer-subitem">Event Calendar</a> <a href="#" class="tw-drawer-subitem">Event Guests</a> <a href="#" class="tw-drawer-subitem">Event Waitlists</a> <a href="#" class="tw-drawer-subitem">Event Forms</a> </div> <!-- Taster Day Section (expandable with secondary color) --> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label"> Taster Day <span class="tw-tag tw-tag-sm tw-tag-info-subtle tw-tag-interactive" data-controller="demo" data-action="click->demo#show" data-demo-loom-url="https://www.loom.com/embed/57b221906926464089a56d85e8eeefa9?sid=ab3b24a5-9f76-4b64-99ce-a54356ba6d80" data-demo-text="This is the demo for the feature\nThis is the next paragraph of texts" data-demo-learn-more="https://helpdesk.applicaa.com/"> <i class="fa-regular fa-clapperboard-play"></i> Demo </span> </span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"> <a href="#" class="tw-drawer-subitem">Taster Day Configuration</a> <a href="#" class="tw-drawer-subitem">Student Submissions & Timetables</a> </div> </nav> </div> <!-- Marketing & Events Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="marketing" aria-label="Marketing & Events navigation"> <div class="tw-sidebar-drawer-header">MARKETING & EVENTS</div> <nav class="tw-drawer-nav"> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label">Marketing Campaigns</span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"> <a href="#" class="tw-drawer-subitem">Campaigns</a> <a href="#" class="tw-drawer-subitem">Reports</a> </div> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Workflows</span> </a> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label">Emails</span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"> <a href="#" class="tw-drawer-subitem">Manual Emails</a> <a href="#" class="tw-drawer-subitem">Automated Emails</a> <a href="#" class="tw-drawer-subitem">Email Templates</a> </div> <a href="#" class="tw-drawer-item tw-disabled"> <span class="tw-drawer-item-label">Notifications</span> </a> <a href="#" class="tw-drawer-item tw-disabled"> <span class="tw-drawer-item-label">SMS</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Meeting</span> </a> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label">Events</span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"> <a href="#" class="tw-drawer-subitem">Calendar</a> <a href="#" class="tw-drawer-subitem">Guests</a> <a href="#" class="tw-drawer-subitem">Waitlists</a> <a href="#" class="tw-drawer-subitem">Forms</a> </div> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label">Taster Day</span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"> <a href="#" class="tw-drawer-subitem">Configurations</a> <a href="#" class="tw-drawer-subitem">Submissions & Timetables</a> </div> </nav> </div> <!-- Settings Drawer --> <div class="tw-sidebar-drawer" data-sidebar-target="drawer" data-drawer-id="settings" aria-label="Settings navigation"> <div class="tw-sidebar-drawer-header">SETTINGS</div> <nav class="tw-drawer-nav"> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Application Form</span> </a> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label">Subject Options</span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"></div> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label">Form Settings</span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"></div> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label">School Settings</span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"></div> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Enrolment Settings</span> </a> <a href="#" class="tw-drawer-item"> <span class="tw-drawer-item-label">Enrolment Navigator</span> </a> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label">Properties</span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"></div> <button type="button" class="tw-drawer-item" data-action="click->sidebar#toggleSubmenu" aria-expanded="false"> <span class="tw-drawer-item-label">Security</span> <svg class="tw-drawer-chevron" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2"> <path d="M6 4l4 4-4 4"></path> </svg> </button> <div class="tw-drawer-submenu" data-sidebar-target="submenu"></div> </nav> </div> <header class="tw-topbar" role="banner"> <div class="tw-topbar-left"> <!-- Context Dropdown --> <div class="tw-dropdown tw-dropdown-borderless" data-controller="dropdown" data-dropdown-auto-highlight-value="true"> <button class="tw-dropdown-trigger tw-topbar-dropdown-trigger" type="button" aria-haspopup="listbox" aria-expanded="false" data-dropdown-target="trigger" data-action="click->dropdown#toggle keydown->dropdown#keydown"> <span class="tw-dropdown-label tw-dropdown-primary" data-dropdown-target="label">2024/2025 - Year 7 Main Entry</span> <svg class="tw-dropdown-chevron" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <path d="m2 5 6 6 6-6"/> </svg> </button> <div class="tw-dropdown-menu tw-dropdown-menu-wide tw-dropdown-menu-scrollable" role="listbox" data-dropdown-target="menu" tabindex="-1"> <button class="tw-dropdown-item tw-active" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2024-y7-main"> <span class="tw-dropdown-item-text">2024/2025 - Year 7 Main Entry</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2024-y7-late"> <span class="tw-dropdown-item-text">2024/2025 - Year 7 Late Entry</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2024-y8"> <span class="tw-dropdown-item-text">2024/2025 - Year 8 Admissions</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2024-y9"> <span class="tw-dropdown-item-text">2024/2025 - Year 9 In-Year</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2025-y7-main"> <span class="tw-dropdown-item-text">2025/2026 - Year 7 Main Entry</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2025-y7-late"> <span class="tw-dropdown-item-text">2025/2026 - Year 7 Late Entry</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2025-y8"> <span class="tw-dropdown-item-text">2025/2026 - Year 8 Admissions</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2025-y9"> <span class="tw-dropdown-item-text">2025/2026 - Year 9 In-Year</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2026-y7-main"> <span class="tw-dropdown-item-text">2026/2027 - Year 7 Main Entry</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2026-y8"> <span class="tw-dropdown-item-text">2026/2027 - Year 8 Admissions</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2023-y12"> <span class="tw-dropdown-item-text">2023/2024 - Year 12 Sixth Form</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> <button class="tw-dropdown-item" role="option" data-dropdown-target="item" data-action="click->dropdown#select" data-value="2024-y12"> <span class="tw-dropdown-item-text">2024/2025 - Year 12 Sixth Form</span> <svg class="tw-dropdown-item-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </button> </div> </div> <!-- Search --> <div class="tw-topbar-search"> <div class="tw-input-group tw-has-icon-start"> <i class="fa-regular fa-magnifying-glass tw-input-group-icon tw-input-group-icon-start"></i> <input type="search" class="tw-form-control" placeholder="Search..."> </div> </div> </div> <div class="tw-topbar-right"> <!-- Action Buttons --> <button type="button" class="tw-btn tw-btn-outline-success tw-btn-multiline" data-controller="tooltip" data-tooltip-content-value="Referral Program" data-tooltip-placement-value="bottom"> <i class="fa-solid fa-gift tw-icon-16"></i> Refer<br> & Save </button> <button type="button" class="tw-btn tw-btn-outline-primary tw-btn-multiline" data-controller="tooltip" data-tooltip-content-value="Discuss Ideas & Submit Feature Requests" data-tooltip-placement-value="bottom"> <i class="fa-solid fa-users tw-icon-16"></i> Applicaa<br> Community </button> <button type="button" class="tw-btn tw-btn-outline-primary tw-btn-multiline" data-controller="tooltip" data-tooltip-content-value="Support & Feature Requests" data-tooltip-placement-value="bottom"> <i class="fa-solid fa-comment-question tw-icon-16"></i> Support<br> & Requests </button> <div class="tw-topbar-action-icons"> <!-- Notification Icon --> <button type="button" class="tw-btn tw-btn-tertiary tw-btn-icon tw-topbar-notification-btn" aria-label="Notifications" data-controller="tooltip" data-tooltip-content-value="Notification" data-tooltip-placement-value="bottom"> <i class="fa-solid fa-bell tw-icon-16"></i> </button> </div> <div class="tw-topbar-divider"></div> <!-- User Avatar Dropdown --> <div class="tw-dropdown tw-dropdown-icon tw-dropdown-borderless" data-controller="dropdown"> <button type="button" class="tw-dropdown-trigger tw-topbar-avatar" aria-label="User menu" aria-haspopup="true" aria-expanded="false" data-dropdown-target="trigger" data-action="click->dropdown#toggle keydown->dropdown#keydown"> <div class="tw-avatar tw-avatar-primary" role="img" aria-label="Jane Doe"> <span>JD</span> </div> </button> <div class="tw-dropdown-menu tw-dropdown-menu-end" role="menu" data-dropdown-target="menu" tabindex="-1"> <div class="tw-dropdown-header">John Doe</div> <div class="tw-dropdown-divider"></div> <button class="tw-dropdown-item" role="menuitem" data-dropdown-target="item" data-action="click->dropdown#select"> <i class="fa-regular fa-circle-sterling tw-dropdown-item-icon"></i> <span class="tw-dropdown-item-text">Referrals & billing</span> </button> <button class="tw-dropdown-item" role="menuitem" data-dropdown-target="item" data-action="click->dropdown#select"> <i class="fa-regular fa-lock tw-dropdown-item-icon"></i> <span class="tw-dropdown-item-text">Password & security</span> </button> <div class="tw-dropdown-divider"></div> <button class="tw-dropdown-item" role="menuitem" data-dropdown-target="item" data-action="click->dropdown#select"> <i class="fa-regular fa-layer-group tw-dropdown-item-icon"></i> <span class="tw-dropdown-item-text">Multiple form</span> </button> <button class="tw-dropdown-item" role="menuitem" data-dropdown-target="item" data-action="click->dropdown#select"> <i class="fa-regular fa-envelope tw-dropdown-item-icon"></i> <span class="tw-dropdown-item-text">Email preferences</span> </button> <button class="tw-dropdown-item" role="menuitem" data-dropdown-target="item" data-action="click->dropdown#select"> <i class="fa-regular fa-right-from-bracket tw-dropdown-item-icon"></i> <span class="tw-dropdown-item-text">Logout</span> </button> </div> </div> </div> </header> <main class="tw-sidebar-topbar-content-offset tw:bg-background tw-h-screen-offset"> <div class="tw:flex tw:h-full tw:items-stretch tw-agent-view" id="tw-agent-view"> <!-- Agent Main Content --> <div id="agent-main-content" class="tw-agent-main-content"> <!-- Agent Content Header --> <div id="agent-content-header" class="tw:w-full tw:bg-white tw:border-b tw:border-transparent tw:px-5 tw:pr-3 tw:py-3 tw:flex tw:items-center tw:gap-2"> <div class="tw:flex-1"></div> <button id="agent-sidebar-toggle" class="tw-btn tw-btn-tertiary tw-btn-icon tw-btn-sm" type="button" aria-label="Show sidebar" data-controller="tooltip" data-tooltip-content-value="Show sidebar"><i class="fa-regular fa-sidebar-flip"></i></button> </div> <!-- Agent Conversation Body --> <div id="agent-conversation-body" class="tw:w-full tw:flex-col tw:overflow-y-auto tw:transition-all tw:duration-200"></div> <!-- Agent Main Input --> <div id="agent-main-input" class="tw:flex tw:w-full tw:flex-col tw:gap-4 tw:max-w-4xl tw:mx-auto tw:pt-[10vh] tw:transition-all tw:duration-200 tw:px-4"> <!-- ── Hero — Avatar + Greeting ──────────────────────────────── --> <div id="agent-hero" class="tw:text-center tw:flex tw:flex-col tw:items-center tw:overflow-hidden tw:transition-all tw:duration-200"> <div class="tw-avatar tw-avatar-primary tw-avatar-xl tw:mb-5" role="img" aria-label="Emma, Online"> <span>E</span> <span class="tw-avatar-status tw-avatar-status-online"><span class="tw:sr-only">Online</span></span> </div> <h1 class="tw-text-display">Good afternoon, James</h1> </div> <!-- ── Composer — Prominent Input Bar ────────────────────────── --> <div class="tw-card tw-card-elevated tw:rounded-2xl tw:overflow-hidden tw:w-full tw:mx-auto tw:cursor-text"> <!-- Input row --> <div class="tw:flex tw:items-center tw-emma-input-container" id="emma-input-container"> <!-- <i class="fa-regular fa-wand-magic-sparkles tw:text-primary tw:text-lg tw:flex-shrink-0"></i> --> <textarea type="text" name="emma-input" class="tw-emma-input tw:transition-[height] tw:duration-200" rows="2" data-old-placeholder="Ask Emma anything or describe what you need..." placeholder="Ask me anything or describe what you need..." aria-label="Ask Emma"></textarea> </div> <!-- Toolbar row --> <div class="tw:flex tw:items-center tw:gap-0 tw:p-2 tw:pt-0.5"> <button class="tw-btn tw-btn-tertiary tw-btn-icon tw-btn-lg" type="button" aria-label="Attach file" data-controller="tooltip" data-tooltip-content-value="Attach file" data-tooltip-placement-value="top"> <i class="fa-regular tw-icon-16 fa-paperclip"></i> </button> <!-- <button class="tw-btn tw-btn-tertiary tw-btn-icon tw-btn-lg" type="button" aria-label="SmartSearch" data-controller="tooltip" data-tooltip-content-value="SmartSearch" data-tooltip-placement-value="top"> <i class="fa-regular tw-icon-16 fa-magnifying-glass"></i> </button> <button class="tw-btn tw-btn-tertiary tw-btn-icon tw-btn-lg" type="button" aria-label="Analyze" data-controller="tooltip" data-tooltip-content-value="Analyze" data-tooltip-placement-value="top"> <i class="fa-regular tw-icon-16 fa-chart-mixed"></i> </button> --> <!-- Right side --> <div class="tw:ml-auto tw:flex tw:items-center tw:gap-2" data-controller="voice-toggle"> <button class="tw-btn tw-btn-tertiary tw-btn-icon tw-btn-lg" type="button" aria-label="Voice mode" data-controller="tooltip" data-tooltip-content-value="Voice mode (Alt)" data-tooltip-placement-value="top" data-action="click->voice-toggle#toggle" data-voice-toggle-target="voiceBtn"> <i class="fa-regular tw-icon-16 fa-microphone"></i> </button> <button id="agent-send-btn" class="tw-btn tw-btn-primary tw-btn-icon tw-btn-lg" type="button" aria-label="Send" data-controller="tooltip" data-tooltip-content-value="Send" data-tooltip-placement-value="top" data-voice-toggle-target="sendBtn"> <i class="fa-regular tw-icon-16 fa-arrow-up"></i> </button> </div> </div> </div> <!-- ── Suggestion Box ──────────────────────────────────────── --> <div id="suggestion-box" class="tw:mx-auto tw:overflow-hidden tw:transition-all tw:duration-200"> <!-- Suggested Areas: Agent extended with specialized capabilities per area --> <div class="tw:flex tw:flex-col tw:justify-center tw:gap-2 tw:px-2.5"> <span class="tw:text-neutral-500 tw:font-medium tw:w-full tw:text-center tw:mb-1">I can help you with</span> <div class="tw:flex tw:gap-2 tw:flex-wrap tw:justify-center"> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="events"> <i class="tw:hidden fa-regular fa-calendar tw:mr-1"></i>Events </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="meetings"> <i class="tw:hidden fa-regular fa-handshake tw:mr-1"></i>Meetings </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="leads"> <i class="tw:hidden fa-regular fa-users tw:mr-1"></i>Leads </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="enrolment"> <i class="tw:hidden fa-regular fa-backpack tw:mr-1"></i>Enrolment </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="communications"> <i class="tw:hidden fa-regular fa-comments tw:mr-1"></i>Communications </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="insights"> <i class="tw:hidden fa-regular fa-chart-line tw:mr-1"></i>Insights </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="migration"> <i class="tw:hidden fa-regular fa-arrows-rotate tw:mr-1"></i>Migration </button> </div> </div> <!-- Suggested prompts: Show different prompts when a specific area selected --> <div id="prompts-container" class="tw:p-2 tw:mt-2 tw:transition-opacity tw:duration-75 tw:opacity-0 tw:hidden"> <ul id="suggested-prompts"></ul> </div> </div> </div> </div> <!-- Agent Activity Sidebar (Recent chats only on homepage) --> <div id="agent-activity-sidebar" class="tw-agent-activity-sidebar" style="width: 0;"> <div class="tw:p-2"> <div class="tw-input-group tw-has-icon-start"> <i class="fa-regular fa-magnifying-glass tw-input-group-icon tw-input-group-icon-start"></i> <input type="search" class="tw-form-control" placeholder="Search your chats..."> </div> </div> <ul class="tw:px-2 tw:space-y-0.5"> <li><button class="tw-btn tw-btn-secondary tw:text-left tw:w-full tw:pointer-events-none" type="button"><span class="tw:truncate">Year 7 open day event setup</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Tour registration numbers</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Enquiry follow-up reminders</span></button></li> <li class="tw-agent-timeline-divider tw:px-3 tw:pt-3"> <span class="tw-agent-timeline-divider-label">Yesterday</span> <div class="tw-agent-timeline-divider-line"></div> </li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Offer letters for approved applicants</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Waitlist management Year 9</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Newsletter delivery report</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Feeder school analysis</span></button></li> <li class="tw-agent-timeline-divider tw:px-3 tw:pt-3"> <span class="tw-agent-timeline-divider-label">23 Mar</span> <div class="tw-agent-timeline-divider-line"></div> </li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Data migration field mapping</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Application deadline comms</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Attendance report Year 8</span></button></li> </ul> </div> </div> </main></div><script> document.addEventListener("DOMContentLoaded", () => { const promptsByArea = { events: [ { label: "Create an open day event for Year 7 on 15th May", detail: "Create an open day event for Year 7 entry on Thursday 15th May, set up online registration with a capacity of 200 families, and send confirmation emails automatically" }, { label: "Show me all upcoming tour dates with availability", detail: "Show me all upcoming school tour dates for this term, including how many spots are still available for each session and which year groups they cover" }, { label: "Set up a virtual Q&A session for international families", detail: "Set up a virtual Q&A session on Zoom for international families applying for Year 9 entry, schedule it for next Wednesday evening at 7pm GMT, and draft an invitation email" }, { label: "How many families registered for Saturday's open morning?", detail: "How many families have registered for this Saturday's open morning so far, and can you break it down by year group and show me the registration trend over the past week?" }, { label: "Clone last term's Year 9 taster day with updated dates", detail: "Clone last term's Year 9 taster day event, update the dates to the second week of June, keep the same venue and session structure, and adjust the registration deadline accordingly" } ], meetings: [ { label: "Set up entrance meetings with multiple interviewers", detail: "Set up Year 7 entrance meetings for the first two weeks of January. 20-minute slots from 9am to 3pm with a 1-hour lunch break at 12. The Headteacher and Deputy are interviewing in separate rooms. Each slot has 1 family." }, { label: "Send meeting invitations with booking reminders", detail: "We want parents to choose their own meeting slot. Send them an email with the meeting invitation. If they don't book within 5 days, send a reminder." }, { label: "Allocate scholarship candidates across interviewers", detail: "Allocate interview slots for the 20 scholarship candidates. Put the first 10 with the Head on Monday and the next 10 with the Director of Studies on Tuesday." }, { label: "Record interview scores and add notes", detail: "The interviews are done. I need to record scores for each student. We assess on: academic potential (1-5), communication skills (1-5), and motivation (1-5). The Head also wants to add free-text notes." }, { label: "How many interview slots are still available?", detail: "How many interview slots are still available for next week? Which days have the most gaps? I need to know if we can fit in 5 more families." } ], leads: [ { label: "Show me all enquiries received this week", detail: "Show me all new enquiries that came in this week, grouped by source channel, and highlight any that haven't been assigned to a staff member yet" }, { label: "Which leads haven't been contacted in over 7 days?", detail: "Which leads haven't been contacted in over 7 days? Sort them by enquiry date so I can prioritise the oldest ones first, and flag any that came from paid advertising" }, { label: "Break down lead sources for the current admissions cycle", detail: "Break down where our leads are coming from for the current admissions cycle — compare website, referrals, open days, and social media, and show how each source converts to applications" }, { label: "What's our enquiry-to-application conversion rate this term?", detail: "What's our enquiry-to-application conversion rate this term compared to the same period last year? Break it down by year group and highlight any significant changes" }, { label: "Import new enquiry contacts from the open day sign-up sheet", detail: "Import the new enquiry contacts from Saturday's open day sign-up sheet, check for duplicates against existing records, and auto-assign them to the Year 7 admissions team" } ], enrolment: [ { label: "Show me all applications awaiting decision", detail: "Show me all submitted applications that still need a decision, sorted by how long they've been waiting, and flag any that are past the 10-day response target" }, { label: "Draft offer letters for the 12 approved Year 7 applicants", detail: "Draft offer letters for the 12 approved Year 7 applicants using our standard template, include the deposit deadline of 30th April, and prepare them for my review before sending" }, { label: "How many students are on the waitlist for Year 9?", detail: "How many students are currently on the waitlist for Year 9 entry, what's their ranked order, and have any families on the list withdrawn their application since last month?" }, { label: "Which applications are missing required documents?", detail: "Which applications are still missing required documents? Group them by document type — references, birth certificates, school reports — and show when we last chased each family" }, { label: "Send a reminder to families with incomplete applications", detail: "Send a reminder email to all families who started an application but haven't submitted it yet, include the upcoming deadline of 28th March, and personalise each email with the missing sections" } ], communications: [ { label: "Draft an email inviting parents to next week's open morning", detail: "Draft a warm, professional email inviting prospective parents to next Wednesday's open morning, include the agenda and parking details, and suggest a subject line that will stand out in their inbox" }, { label: "Send an SMS reminder for tomorrow's Year 7 tour", detail: "Send an SMS reminder to all 34 families booked on tomorrow's Year 7 tour, include the arrival time of 9:15am and the meeting point at the main reception, and note that parking is available on site" }, { label: "Show me delivery stats for last month's newsletter", detail: "Show me the full delivery and engagement stats for last month's parent newsletter — open rate, click rate, bounce rate — and compare performance to the previous three months" }, { label: "Create a follow-up template for post-visit thank you emails", detail: "Create a reusable email template for thanking families after their school visit, include a feedback survey link, mention next steps in the application process, and keep the tone warm and encouraging" }, { label: "Which families haven't responded to their offer letter?", detail: "Which families haven't responded to their offer letter yet and how many days has it been since we sent it? Flag any that are within 5 days of the acceptance deadline so I can follow up personally" } ], insights: [ { label: "Show me the admissions funnel for this cycle", detail: "Show me the full admissions funnel for this cycle from initial enquiry through to enrolled, with conversion rates at each stage, and highlight where we're losing the most candidates compared to last year" }, { label: "Compare this year's applications to the same point last year", detail: "Compare this year's total application numbers to the same date last year, break it down by year group and entry point, and flag any year groups where we're significantly ahead or behind target" }, { label: "What's the demographic breakdown of current applicants?", detail: "What's the demographic breakdown of current applicants by home region, feeder school type, and boarding vs day preference? Include a comparison to last year's cohort to spot any shifts in our applicant profile" }, { label: "Forecast Year 7 intake numbers based on current pipeline", detail: "Forecast the likely Year 7 intake numbers based on our current pipeline — factor in historical offer-to-acceptance rates, current waitlist size, and typical late withdrawals to give me a best and worst case scenario" }, { label: "Which feeder schools are sending the most enquiries?", detail: "Which feeder schools are sending us the most enquiries this year, how does that compare to last year, and are there any new schools appearing in the top 10 that we should build a relationship with?" } ], migration: [ { label: "What's the current status of our data import?", detail: "What's the current status of our data import from the previous system? Show me the overall progress, how many records have been processed, how many are pending, and flag any batches that failed" }, { label: "Show me field mapping issues that need review", detail: "Show me all field mapping issues that still need manual review, grouped by category — student records, parent contacts, application history — and highlight any that are blocking the next import batch" }, { label: "How many duplicate records were detected in the last import?", detail: "How many duplicate student records were found in the last import batch, what matching criteria flagged them, and can you show me a sample of the most likely true duplicates so I can decide how to merge them?" }, { label: "List all validation errors from the student data migration", detail: "List all validation errors from the student data migration, group them by error type — missing required fields, invalid formats, out-of-range dates — and suggest automatic fixes where possible" }, { label: "When is the next scheduled migration batch?", detail: "When is the next scheduled migration batch, which record types does it cover, and are there any unresolved issues from previous batches that could block it from running successfully?" } ] }; const suggestionBox = document.getElementById("suggestion-box"); const container = document.getElementById("prompts-container"); const promptList = document.getElementById("suggested-prompts"); const inputContainer = document.getElementById("emma-input-container"); const textarea = document.querySelector("[name='emma-input']"); const areaTags = document.querySelectorAll("[data-area]"); let activeArea = null; let suggestionBoxHidden = false; // Auto-resize textarea, capped at 8 lines const lineHeight = parseFloat(getComputedStyle(textarea).lineHeight) || 20; const maxHeight = lineHeight * 8; function autoResize() { textarea.style.height = "auto"; textarea.style.height = Math.min(textarea.scrollHeight, maxHeight) + "px"; } function hideSuggestionBox() { suggestionBoxHidden = true; suggestionBox.classList.add("tw:opacity-0"); setTimeout(() => { suggestionBox.classList.add("tw:hidden"); }, 75); } function showSuggestionBox() { suggestionBoxHidden = false; activeArea = null; updateTags(null); container.classList.add("tw:hidden", "tw:opacity-0"); container.classList.remove("tw:opacity-100"); suggestionBox.classList.remove("tw:hidden"); requestAnimationFrame(() => { requestAnimationFrame(() => { suggestionBox.classList.remove("tw:opacity-0"); }); }); } function renderPrompts(area) { promptList.innerHTML = ""; const prompts = promptsByArea[area] || []; prompts.forEach(({ label, detail }) => { const li = document.createElement("li"); const btn = document.createElement("button"); btn.className = "tw-btn tw-btn-tertiary tw:text-left"; btn.type = "button"; btn.textContent = label; btn.addEventListener("mouseenter", () => { inputContainer.dataset.placeholder = detail; }); btn.addEventListener("mouseleave", () => { inputContainer.dataset.placeholder = ""; }); btn.addEventListener("click", () => { textarea.value = detail; inputContainer.dataset.placeholder = ""; autoResize(); textarea.focus(); hideSuggestionBox(); }); li.appendChild(btn); promptList.appendChild(li); }); } function fadeIn() { container.classList.remove("tw:hidden"); requestAnimationFrame(() => { requestAnimationFrame(() => { container.classList.remove("tw:opacity-0"); container.classList.add("tw:opacity-100"); }); }); } function fadeOut() { return new Promise(resolve => { container.classList.remove("tw:opacity-100"); container.classList.add("tw:opacity-0"); setTimeout(() => { container.classList.add("tw:hidden"); resolve(); }, 75); }); } function updateTags(selectedArea) { areaTags.forEach(tag => { if (tag.dataset.area === selectedArea) { tag.classList.remove("tw-tag-secondary-soft"); tag.classList.add("tw-tag-secondary"); } else { tag.classList.remove("tw-tag-secondary"); tag.classList.add("tw-tag-secondary-soft"); } }); } areaTags.forEach(tag => { tag.addEventListener("mouseenter", async () => { const area = tag.dataset.area; if (activeArea === area) return; if (activeArea) { await fadeOut(); } activeArea = area; updateTags(area); renderPrompts(area); inputContainer.dataset.placeholder = ""; fadeIn(); }); }); textarea.addEventListener("input", () => { autoResize(); if (textarea.value.trim() === "" && suggestionBoxHidden) { showSuggestionBox(); } else if (textarea.value.trim() !== "" && activeArea) { activeArea = null; updateTags(null); container.classList.remove("tw:opacity-100"); container.classList.add("tw:opacity-0"); setTimeout(() => { container.classList.add("tw:hidden"); }, 75); } }); // Collapsible activity sidebar const activitySidebar = document.getElementById("agent-activity-sidebar"); const sidebarToggle = document.getElementById("agent-sidebar-toggle"); let sidebarVisible = false; sidebarToggle.addEventListener("click", () => { sidebarVisible = !sidebarVisible; activitySidebar.style.width = sidebarVisible ? "360px" : "0"; sidebarToggle.setAttribute("aria-label", sidebarVisible ? "Hide sidebar" : "Show sidebar"); sidebarToggle.dataset.tooltipContentValue = sidebarVisible ? "Hide sidebar" : "Show sidebar"; }); });</script>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
<div data-controller="sidebar"> <%= render "shared/sidebar", active_item: nil %> <%= render "shared/sidebar_drawers", active_drawer: nil, active_drawer_item: nil %> <%= render "shared/topbar" %> <main class="tw-sidebar-topbar-content-offset tw:bg-background tw-h-screen-offset"> <div class="tw:flex tw:h-full tw:items-stretch tw-agent-view" id="tw-agent-view"> <!-- Agent Main Content --> <div id="agent-main-content" class="tw-agent-main-content"> <!-- Agent Content Header --> <div id="agent-content-header" class="tw:w-full tw:bg-white tw:border-b tw:border-transparent tw:px-5 tw:pr-3 tw:py-3 tw:flex tw:items-center tw:gap-2"> <div class="tw:flex-1"></div> <button id="agent-sidebar-toggle" class="tw-btn tw-btn-tertiary tw-btn-icon tw-btn-sm" type="button" aria-label="Show sidebar" data-controller="tooltip" data-tooltip-content-value="Show sidebar"><i class="fa-regular fa-sidebar-flip"></i></button> </div> <!-- Agent Conversation Body --> <div id="agent-conversation-body" class="tw:w-full tw:flex-col tw:overflow-y-auto tw:transition-all tw:duration-200"></div> <!-- Agent Main Input --> <div id="agent-main-input" class="tw:flex tw:w-full tw:flex-col tw:gap-4 tw:max-w-4xl tw:mx-auto tw:pt-[10vh] tw:transition-all tw:duration-200 tw:px-4"> <!-- ── Hero — Avatar + Greeting ──────────────────────────────── --> <div id="agent-hero" class="tw:text-center tw:flex tw:flex-col tw:items-center tw:overflow-hidden tw:transition-all tw:duration-200"> <div class="tw-avatar tw-avatar-primary tw-avatar-xl tw:mb-5" role="img" aria-label="Emma, Online"> <span>E</span> <span class="tw-avatar-status tw-avatar-status-online"><span class="tw:sr-only">Online</span></span> </div> <h1 class="tw-text-display">Good afternoon, James</h1> </div> <!-- ── Composer — Prominent Input Bar ────────────────────────── --> <div class="tw-card tw-card-elevated tw:rounded-2xl tw:overflow-hidden tw:w-full tw:mx-auto tw:cursor-text"> <!-- Input row --> <div class="tw:flex tw:items-center tw-emma-input-container" id="emma-input-container"> <!-- <i class="fa-regular fa-wand-magic-sparkles tw:text-primary tw:text-lg tw:flex-shrink-0"></i> --> <textarea type="text" name="emma-input" class="tw-emma-input tw:transition-[height] tw:duration-200" rows="2" data-old-placeholder="Ask Emma anything or describe what you need..." placeholder="Ask me anything or describe what you need..." aria-label="Ask Emma"></textarea> </div> <!-- Toolbar row --> <div class="tw:flex tw:items-center tw:gap-0 tw:p-2 tw:pt-0.5"> <button class="tw-btn tw-btn-tertiary tw-btn-icon tw-btn-lg" type="button" aria-label="Attach file" data-controller="tooltip" data-tooltip-content-value="Attach file" data-tooltip-placement-value="top"> <i class="fa-regular tw-icon-16 fa-paperclip"></i> </button> <!-- <button class="tw-btn tw-btn-tertiary tw-btn-icon tw-btn-lg" type="button" aria-label="SmartSearch" data-controller="tooltip" data-tooltip-content-value="SmartSearch" data-tooltip-placement-value="top"> <i class="fa-regular tw-icon-16 fa-magnifying-glass"></i> </button> <button class="tw-btn tw-btn-tertiary tw-btn-icon tw-btn-lg" type="button" aria-label="Analyze" data-controller="tooltip" data-tooltip-content-value="Analyze" data-tooltip-placement-value="top"> <i class="fa-regular tw-icon-16 fa-chart-mixed"></i> </button> --> <!-- Right side --> <div class="tw:ml-auto tw:flex tw:items-center tw:gap-2" data-controller="voice-toggle"> <button class="tw-btn tw-btn-tertiary tw-btn-icon tw-btn-lg" type="button" aria-label="Voice mode" data-controller="tooltip" data-tooltip-content-value="Voice mode (Alt)" data-tooltip-placement-value="top" data-action="click->voice-toggle#toggle" data-voice-toggle-target="voiceBtn"> <i class="fa-regular tw-icon-16 fa-microphone"></i> </button> <button id="agent-send-btn" class="tw-btn tw-btn-primary tw-btn-icon tw-btn-lg" type="button" aria-label="Send" data-controller="tooltip" data-tooltip-content-value="Send" data-tooltip-placement-value="top" data-voice-toggle-target="sendBtn"> <i class="fa-regular tw-icon-16 fa-arrow-up"></i> </button> </div> </div> </div> <!-- ── Suggestion Box ──────────────────────────────────────── --> <div id="suggestion-box" class="tw:mx-auto tw:overflow-hidden tw:transition-all tw:duration-200"> <!-- Suggested Areas: Agent extended with specialized capabilities per area --> <div class="tw:flex tw:flex-col tw:justify-center tw:gap-2 tw:px-2.5"> <span class="tw:text-neutral-500 tw:font-medium tw:w-full tw:text-center tw:mb-1">I can help you with</span> <div class="tw:flex tw:gap-2 tw:flex-wrap tw:justify-center"> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="events"> <i class="tw:hidden fa-regular fa-calendar tw:mr-1"></i>Events </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="meetings"> <i class="tw:hidden fa-regular fa-handshake tw:mr-1"></i>Meetings </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="leads"> <i class="tw:hidden fa-regular fa-users tw:mr-1"></i>Leads </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="enrolment"> <i class="tw:hidden fa-regular fa-backpack tw:mr-1"></i>Enrolment </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="communications"> <i class="tw:hidden fa-regular fa-comments tw:mr-1"></i>Communications </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="insights"> <i class="tw:hidden fa-regular fa-chart-line tw:mr-1"></i>Insights </button> <button class="tw-tag tw:justify-center tw-tag-pill tw-tag-lg tw-tag-secondary-soft tw-tag-interactive" type="button" data-area="migration"> <i class="tw:hidden fa-regular fa-arrows-rotate tw:mr-1"></i>Migration </button> </div> </div> <!-- Suggested prompts: Show different prompts when a specific area selected --> <div id="prompts-container" class="tw:p-2 tw:mt-2 tw:transition-opacity tw:duration-75 tw:opacity-0 tw:hidden"> <ul id="suggested-prompts"></ul> </div> </div> </div> </div> <!-- Agent Activity Sidebar (Recent chats only on homepage) --> <div id="agent-activity-sidebar" class="tw-agent-activity-sidebar" style="width: 0;"> <div class="tw:p-2"> <div class="tw-input-group tw-has-icon-start"> <i class="fa-regular fa-magnifying-glass tw-input-group-icon tw-input-group-icon-start"></i> <input type="search" class="tw-form-control" placeholder="Search your chats..."> </div> </div> <ul class="tw:px-2 tw:space-y-0.5"> <li><button class="tw-btn tw-btn-secondary tw:text-left tw:w-full tw:pointer-events-none" type="button"><span class="tw:truncate">Year 7 open day event setup</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Tour registration numbers</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Enquiry follow-up reminders</span></button></li> <li class="tw-agent-timeline-divider tw:px-3 tw:pt-3"> <span class="tw-agent-timeline-divider-label">Yesterday</span><div class="tw-agent-timeline-divider-line"></div> </li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Offer letters for approved applicants</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Waitlist management Year 9</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Newsletter delivery report</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Feeder school analysis</span></button></li> <li class="tw-agent-timeline-divider tw:px-3 tw:pt-3"> <span class="tw-agent-timeline-divider-label">23 Mar</span><div class="tw-agent-timeline-divider-line"></div> </li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Data migration field mapping</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Application deadline comms</span></button></li> <li><button class="tw-btn tw-btn-tertiary tw:text-left tw:w-full" type="button"><span class="tw:truncate">Attendance report Year 8</span></button></li> </ul> </div> </div> </main></div><script> document.addEventListener("DOMContentLoaded", () => { const promptsByArea = { events: [ { label: "Create an open day event for Year 7 on 15th May", detail: "Create an open day event for Year 7 entry on Thursday 15th May, set up online registration with a capacity of 200 families, and send confirmation emails automatically" }, { label: "Show me all upcoming tour dates with availability", detail: "Show me all upcoming school tour dates for this term, including how many spots are still available for each session and which year groups they cover" }, { label: "Set up a virtual Q&A session for international families", detail: "Set up a virtual Q&A session on Zoom for international families applying for Year 9 entry, schedule it for next Wednesday evening at 7pm GMT, and draft an invitation email" }, { label: "How many families registered for Saturday's open morning?", detail: "How many families have registered for this Saturday's open morning so far, and can you break it down by year group and show me the registration trend over the past week?" }, { label: "Clone last term's Year 9 taster day with updated dates", detail: "Clone last term's Year 9 taster day event, update the dates to the second week of June, keep the same venue and session structure, and adjust the registration deadline accordingly" } ], meetings: [ { label: "Set up entrance meetings with multiple interviewers", detail: "Set up Year 7 entrance meetings for the first two weeks of January. 20-minute slots from 9am to 3pm with a 1-hour lunch break at 12. The Headteacher and Deputy are interviewing in separate rooms. Each slot has 1 family." }, { label: "Send meeting invitations with booking reminders", detail: "We want parents to choose their own meeting slot. Send them an email with the meeting invitation. If they don't book within 5 days, send a reminder." }, { label: "Allocate scholarship candidates across interviewers", detail: "Allocate interview slots for the 20 scholarship candidates. Put the first 10 with the Head on Monday and the next 10 with the Director of Studies on Tuesday." }, { label: "Record interview scores and add notes", detail: "The interviews are done. I need to record scores for each student. We assess on: academic potential (1-5), communication skills (1-5), and motivation (1-5). The Head also wants to add free-text notes." }, { label: "How many interview slots are still available?", detail: "How many interview slots are still available for next week? Which days have the most gaps? I need to know if we can fit in 5 more families." } ], leads: [ { label: "Show me all enquiries received this week", detail: "Show me all new enquiries that came in this week, grouped by source channel, and highlight any that haven't been assigned to a staff member yet" }, { label: "Which leads haven't been contacted in over 7 days?", detail: "Which leads haven't been contacted in over 7 days? Sort them by enquiry date so I can prioritise the oldest ones first, and flag any that came from paid advertising" }, { label: "Break down lead sources for the current admissions cycle", detail: "Break down where our leads are coming from for the current admissions cycle — compare website, referrals, open days, and social media, and show how each source converts to applications" }, { label: "What's our enquiry-to-application conversion rate this term?", detail: "What's our enquiry-to-application conversion rate this term compared to the same period last year? Break it down by year group and highlight any significant changes" }, { label: "Import new enquiry contacts from the open day sign-up sheet", detail: "Import the new enquiry contacts from Saturday's open day sign-up sheet, check for duplicates against existing records, and auto-assign them to the Year 7 admissions team" } ], enrolment: [ { label: "Show me all applications awaiting decision", detail: "Show me all submitted applications that still need a decision, sorted by how long they've been waiting, and flag any that are past the 10-day response target" }, { label: "Draft offer letters for the 12 approved Year 7 applicants", detail: "Draft offer letters for the 12 approved Year 7 applicants using our standard template, include the deposit deadline of 30th April, and prepare them for my review before sending" }, { label: "How many students are on the waitlist for Year 9?", detail: "How many students are currently on the waitlist for Year 9 entry, what's their ranked order, and have any families on the list withdrawn their application since last month?" }, { label: "Which applications are missing required documents?", detail: "Which applications are still missing required documents? Group them by document type — references, birth certificates, school reports — and show when we last chased each family" }, { label: "Send a reminder to families with incomplete applications", detail: "Send a reminder email to all families who started an application but haven't submitted it yet, include the upcoming deadline of 28th March, and personalise each email with the missing sections" } ], communications: [ { label: "Draft an email inviting parents to next week's open morning", detail: "Draft a warm, professional email inviting prospective parents to next Wednesday's open morning, include the agenda and parking details, and suggest a subject line that will stand out in their inbox" }, { label: "Send an SMS reminder for tomorrow's Year 7 tour", detail: "Send an SMS reminder to all 34 families booked on tomorrow's Year 7 tour, include the arrival time of 9:15am and the meeting point at the main reception, and note that parking is available on site" }, { label: "Show me delivery stats for last month's newsletter", detail: "Show me the full delivery and engagement stats for last month's parent newsletter — open rate, click rate, bounce rate — and compare performance to the previous three months" }, { label: "Create a follow-up template for post-visit thank you emails", detail: "Create a reusable email template for thanking families after their school visit, include a feedback survey link, mention next steps in the application process, and keep the tone warm and encouraging" }, { label: "Which families haven't responded to their offer letter?", detail: "Which families haven't responded to their offer letter yet and how many days has it been since we sent it? Flag any that are within 5 days of the acceptance deadline so I can follow up personally" } ], insights: [ { label: "Show me the admissions funnel for this cycle", detail: "Show me the full admissions funnel for this cycle from initial enquiry through to enrolled, with conversion rates at each stage, and highlight where we're losing the most candidates compared to last year" }, { label: "Compare this year's applications to the same point last year", detail: "Compare this year's total application numbers to the same date last year, break it down by year group and entry point, and flag any year groups where we're significantly ahead or behind target" }, { label: "What's the demographic breakdown of current applicants?", detail: "What's the demographic breakdown of current applicants by home region, feeder school type, and boarding vs day preference? Include a comparison to last year's cohort to spot any shifts in our applicant profile" }, { label: "Forecast Year 7 intake numbers based on current pipeline", detail: "Forecast the likely Year 7 intake numbers based on our current pipeline — factor in historical offer-to-acceptance rates, current waitlist size, and typical late withdrawals to give me a best and worst case scenario" }, { label: "Which feeder schools are sending the most enquiries?", detail: "Which feeder schools are sending us the most enquiries this year, how does that compare to last year, and are there any new schools appearing in the top 10 that we should build a relationship with?" } ], migration: [ { label: "What's the current status of our data import?", detail: "What's the current status of our data import from the previous system? Show me the overall progress, how many records have been processed, how many are pending, and flag any batches that failed" }, { label: "Show me field mapping issues that need review", detail: "Show me all field mapping issues that still need manual review, grouped by category — student records, parent contacts, application history — and highlight any that are blocking the next import batch" }, { label: "How many duplicate records were detected in the last import?", detail: "How many duplicate student records were found in the last import batch, what matching criteria flagged them, and can you show me a sample of the most likely true duplicates so I can decide how to merge them?" }, { label: "List all validation errors from the student data migration", detail: "List all validation errors from the student data migration, group them by error type — missing required fields, invalid formats, out-of-range dates — and suggest automatic fixes where possible" }, { label: "When is the next scheduled migration batch?", detail: "When is the next scheduled migration batch, which record types does it cover, and are there any unresolved issues from previous batches that could block it from running successfully?" } ] }; const suggestionBox = document.getElementById("suggestion-box"); const container = document.getElementById("prompts-container"); const promptList = document.getElementById("suggested-prompts"); const inputContainer = document.getElementById("emma-input-container"); const textarea = document.querySelector("[name='emma-input']"); const areaTags = document.querySelectorAll("[data-area]"); let activeArea = null; let suggestionBoxHidden = false; // Auto-resize textarea, capped at 8 lines const lineHeight = parseFloat(getComputedStyle(textarea).lineHeight) || 20; const maxHeight = lineHeight * 8; function autoResize() { textarea.style.height = "auto"; textarea.style.height = Math.min(textarea.scrollHeight, maxHeight) + "px"; } function hideSuggestionBox() { suggestionBoxHidden = true; suggestionBox.classList.add("tw:opacity-0"); setTimeout(() => { suggestionBox.classList.add("tw:hidden"); }, 75); } function showSuggestionBox() { suggestionBoxHidden = false; activeArea = null; updateTags(null); container.classList.add("tw:hidden", "tw:opacity-0"); container.classList.remove("tw:opacity-100"); suggestionBox.classList.remove("tw:hidden"); requestAnimationFrame(() => { requestAnimationFrame(() => { suggestionBox.classList.remove("tw:opacity-0"); }); }); } function renderPrompts(area) { promptList.innerHTML = ""; const prompts = promptsByArea[area] || []; prompts.forEach(({ label, detail }) => { const li = document.createElement("li"); const btn = document.createElement("button"); btn.className = "tw-btn tw-btn-tertiary tw:text-left"; btn.type = "button"; btn.textContent = label; btn.addEventListener("mouseenter", () => { inputContainer.dataset.placeholder = detail; }); btn.addEventListener("mouseleave", () => { inputContainer.dataset.placeholder = ""; }); btn.addEventListener("click", () => { textarea.value = detail; inputContainer.dataset.placeholder = ""; autoResize(); textarea.focus(); hideSuggestionBox(); }); li.appendChild(btn); promptList.appendChild(li); }); } function fadeIn() { container.classList.remove("tw:hidden"); requestAnimationFrame(() => { requestAnimationFrame(() => { container.classList.remove("tw:opacity-0"); container.classList.add("tw:opacity-100"); }); }); } function fadeOut() { return new Promise(resolve => { container.classList.remove("tw:opacity-100"); container.classList.add("tw:opacity-0"); setTimeout(() => { container.classList.add("tw:hidden"); resolve(); }, 75); }); } function updateTags(selectedArea) { areaTags.forEach(tag => { if (tag.dataset.area === selectedArea) { tag.classList.remove("tw-tag-secondary-soft"); tag.classList.add("tw-tag-secondary"); } else { tag.classList.remove("tw-tag-secondary"); tag.classList.add("tw-tag-secondary-soft"); } }); } areaTags.forEach(tag => { tag.addEventListener("mouseenter", async () => { const area = tag.dataset.area; if (activeArea === area) return; if (activeArea) { await fadeOut(); } activeArea = area; updateTags(area); renderPrompts(area); inputContainer.dataset.placeholder = ""; fadeIn(); }); }); textarea.addEventListener("input", () => { autoResize(); if (textarea.value.trim() === "" && suggestionBoxHidden) { showSuggestionBox(); } else if (textarea.value.trim() !== "" && activeArea) { activeArea = null; updateTags(null); container.classList.remove("tw:opacity-100"); container.classList.add("tw:opacity-0"); setTimeout(() => { container.classList.add("tw:hidden"); }, 75); } }); // Collapsible activity sidebar const activitySidebar = document.getElementById("agent-activity-sidebar"); const sidebarToggle = document.getElementById("agent-sidebar-toggle"); let sidebarVisible = false; sidebarToggle.addEventListener("click", () => { sidebarVisible = !sidebarVisible; activitySidebar.style.width = sidebarVisible ? "360px" : "0"; sidebarToggle.setAttribute("aria-label", sidebarVisible ? "Hide sidebar" : "Show sidebar"); sidebarToggle.dataset.tooltipContentValue = sidebarVisible ? "Hide sidebar" : "Show sidebar"; }); });</script>No notes provided.
No params configured.