Spaces:
Running
Running
File size: 82,704 Bytes
0b757fb | 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 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HOTO Register Portal</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.group-a { --color-primary: #3b82f6; }
.group-b { --color-primary: #10b981; }
.group-c { --color-primary: #f59e0b; }
.group-d { --color-primary: #8b5cf6; }
.bg-group-a { background-color: #3b82f6; }
.bg-group-b { background-color: #10b981; }
.bg-group-c { background-color: #f59e0b; }
.bg-group-d { background-color: #8b5cf6; }
.text-group-a { color: #3b82f6; }
.text-group-b { color: #10b981; }
.text-group-c { color: #f59e0b; }
.text-group-d { color: #8b5cf6; }
.border-group-a { border-color: #3b82f6; }
.border-group-b { border-color: #10b981; }
.border-group-c { border-color: #f59e0b; }
.border-group-d { border-color: #8b5cf6; }
.progress-bar {
height: 10px;
border-radius: 5px;
background-color: #e5e7eb;
overflow: hidden;
}
.progress-fill {
height: 100%;
transition: width 0.5s ease;
}
.sidebar {
transition: all 0.3s ease;
}
@media (max-width: 768px) {
.sidebar {
transform: translateX(-100%);
position: absolute;
z-index: 10;
height: 100vh;
}
.sidebar.open {
transform: translateX(0);
}
.content {
margin-left: 0 !important;
}
}
.fade-in {
animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.highlight {
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Mobile Menu Button -->
<div class="md:hidden fixed top-4 left-4 z-20">
<button id="menuToggle" class="p-2 rounded-md bg-white shadow-md">
<i class="fas fa-bars text-gray-700"></i>
</button>
</div>
<!-- Sidebar -->
<div id="sidebar" class="sidebar w-64 bg-white shadow-md fixed h-full flex flex-col">
<div class="p-4 border-b border-gray-200 flex items-center">
<div class="w-10 h-10 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold mr-3">HT</div>
<div>
<h1 class="font-bold text-lg">HOTO Portal</h1>
<p class="text-xs text-gray-500">v1.0.0</p>
</div>
</div>
<div class="p-4 border-b border-gray-200">
<div class="flex items-center mb-2">
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-2">
<i class="fas fa-user text-blue-500 text-sm"></i>
</div>
<div>
<p class="font-medium">John Doe</p>
<p class="text-xs text-gray-500">Group A Supervisor</p>
</div>
</div>
<div class="mt-3">
<button class="w-full py-1 px-3 bg-gray-100 rounded text-sm text-gray-700 flex items-center justify-between">
<span>Switch Group</span>
<i class="fas fa-chevron-down text-xs"></i>
</button>
</div>
</div>
<nav class="flex-1 overflow-y-auto p-4">
<ul>
<li>
<a href="#" data-page="dashboard" class="nav-link active flex items-center py-2 px-3 rounded-md mb-1 bg-blue-50 text-blue-600">
<i class="fas fa-tachometer-alt mr-3 text-blue-500"></i>
Dashboard
</a>
</li>
<li>
<a href="#" data-page="entry-form" class="nav-link flex items-center py-2 px-3 rounded-md mb-1 hover:bg-gray-100 text-gray-700">
<i class="fas fa-clipboard-check mr-3 text-green-500"></i>
Daily Entry
</a>
</li>
<li>
<a href="#" data-page="history" class="nav-link flex items-center py-2 px-3 rounded-md mb-1 hover:bg-gray-100 text-gray-700">
<i class="fas fa-history mr-3 text-purple-500"></i>
History
</a>
</li>
<li>
<a href="#" data-page="reports" class="nav-link flex items-center py-2 px-3 rounded-md mb-1 hover:bg-gray-100 text-gray-700">
<i class="fas fa-chart-bar mr-3 text-yellow-500"></i>
Reports
</a>
</li>
<li class="pt-4 mt-4 border-t border-gray-200">
<a href="#" data-page="admin" class="nav-link flex items-center py-2 px-3 rounded-md mb-1 hover:bg-gray-100 text-gray-700">
<i class="fas fa-cog mr-3 text-gray-500"></i>
Admin
</a>
</li>
</ul>
</nav>
<div class="p-4 border-t border-gray-200">
<button class="w-full py-2 px-3 bg-gray-100 rounded text-sm text-gray-700 flex items-center justify-center">
<i class="fas fa-sign-out-alt mr-2"></i>
Logout
</button>
</div>
</div>
<!-- Main Content -->
<div id="content" class="content ml-0 md:ml-64 min-h-screen transition-all duration-300">
<!-- Page Content -->
<div class="p-4 md:p-6">
<!-- Dashboard Page -->
<div id="dashboard-page" class="page-content fade-in">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold text-gray-800">Dashboard Overview</h2>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">Today:</span>
<span class="font-medium" id="current-date">June 15, 2023</span>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-blue-500">
<div class="flex justify-between items-start">
<div>
<p class="text-sm text-gray-500">Group A Completion</p>
<h3 class="text-2xl font-bold mt-1">85%</h3>
</div>
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
<i class="fas fa-users text-blue-500"></i>
</div>
</div>
<div class="progress-bar mt-3">
<div class="progress-fill bg-blue-500" style="width: 85%"></div>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-green-500">
<div class="flex justify-between items-start">
<div>
<p class="text-sm text-gray-500">Group B Completion</p>
<h3 class="text-2xl font-bold mt-1">72%</h3>
</div>
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center">
<i class="fas fa-users text-green-500"></i>
</div>
</div>
<div class="progress-bar mt-3">
<div class="progress-fill bg-green-500" style="width: 72%"></div>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-yellow-500">
<div class="flex justify-between items-start">
<div>
<p class="text-sm text-gray-500">Group C Completion</p>
<h3 class="text-2xl font-bold mt-1">64%</h3>
</div>
<div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center">
<i class="fas fa-users text-yellow-500"></i>
</div>
</div>
<div class="progress-bar mt-3">
<div class="progress-fill bg-yellow-500" style="width: 64%"></div>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-purple-500">
<div class="flex justify-between items-start">
<div>
<p class="text-sm text-gray-500">Group D Completion</p>
<h3 class="text-2xl font-bold mt-1">91%</h3>
</div>
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
<i class="fas fa-users text-purple-500"></i>
</div>
</div>
<div class="progress-bar mt-3">
<div class="progress-fill bg-purple-500" style="width: 91%"></div>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
<div class="p-4 border-b border-gray-200 flex justify-between items-center">
<h3 class="font-medium">Recent Handover/Takeover Activities</h3>
<button class="text-sm text-blue-500 hover:text-blue-700">View All</button>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Group</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Shift</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Completed By</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Time</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-blue-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group A</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Morning</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Smith</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">08:45 AM</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-green-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group B</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Evening</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">-</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">-</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-yellow-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group C</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Night</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Overdue</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">-</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">-</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-purple-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group D</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Morning</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Johnson</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">09:15 AM</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<div class="bg-white p-4 rounded-lg shadow-sm">
<div class="flex justify-between items-center mb-4">
<h3 class="font-medium">Completion Status by Group</h3>
<div class="flex items-center">
<span class="text-xs text-gray-500 mr-2">This Week</span>
<i class="fas fa-chevron-down text-xs text-gray-500"></i>
</div>
</div>
<div class="h-64">
<canvas id="completionChart"></canvas>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm">
<div class="flex justify-between items-center mb-4">
<h3 class="font-medium">Pending Actions</h3>
<button class="text-sm text-blue-500 hover:text-blue-700">View All</button>
</div>
<div class="space-y-3">
<div class="flex items-start p-3 border border-gray-200 rounded-lg">
<div class="flex-shrink-0 mt-1">
<div class="h-8 w-8 rounded-full bg-red-100 flex items-center justify-center">
<i class="fas fa-exclamation text-red-500 text-sm"></i>
</div>
</div>
<div class="ml-3 flex-1">
<p class="text-sm font-medium text-gray-900">Group C Night Shift overdue</p>
<p class="text-sm text-gray-500">Handover was due at 10:00 PM</p>
</div>
<button class="text-sm text-blue-500 hover:text-blue-700">Action</button>
</div>
<div class="flex items-start p-3 border border-gray-200 rounded-lg">
<div class="flex-shrink-0 mt-1">
<div class="h-8 w-8 rounded-full bg-yellow-100 flex items-center justify-center">
<i class="fas fa-clock text-yellow-500 text-sm"></i>
</div>
</div>
<div class="ml-3 flex-1">
<p class="text-sm font-medium text-gray-900">Group B Evening Shift pending</p>
<p class="text-sm text-gray-500">Due in 2 hours</p>
</div>
<button class="text-sm text-blue-500 hover:text-blue-700">Remind</button>
</div>
<div class="flex items-start p-3 border border-gray-200 rounded-lg">
<div class="flex-shrink-0 mt-1">
<div class="h-8 w-8 rounded-full bg-blue-100 flex items-center justify-center">
<i class="fas fa-check-circle text-blue-500 text-sm"></i>
</div>
</div>
<div class="ml-3 flex-1">
<p class="text-sm font-medium text-gray-900">Group A Morning Shift completed</p>
<p class="text-sm text-gray-500">Review and approve</p>
</div>
<button class="text-sm text-blue-500 hover:text-blue-700">Review</button>
</div>
</div>
</div>
</div>
</div>
<!-- Entry Form Page -->
<div id="entry-form-page" class="page-content hidden fade-in">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold text-gray-800">Daily Handover/Takeover Entry</h2>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">Shift:</span>
<div class="relative">
<select class="appearance-none bg-white border border-gray-300 rounded-md py-1 px-3 pr-8 text-sm focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500">
<option>Morning (7:00 AM - 3:00 PM)</option>
<option>Evening (3:00 PM - 11:00 PM)</option>
<option>Night (11:00 PM - 7:00 AM)</option>
</select>
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
<i class="fas fa-chevron-down text-xs"></i>
</div>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
<div class="p-4 border-b border-gray-200 bg-blue-50">
<h3 class="font-medium text-blue-800">Group A - Mechanical Department</h3>
</div>
<div class="p-4">
<form id="hoto-form">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Handover From</label>
<input type="text" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" placeholder="Enter name">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Takeover By</label>
<input type="text" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" placeholder="Enter name">
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-1">Date & Time</label>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<input type="date" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
<input type="time" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-1">Equipment Status</label>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Equipment</th>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Remarks</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">Pump #1</td>
<td class="px-4 py-2 whitespace-nowrap">
<select class="rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
<option>Operational</option>
<option>Under Maintenance</option>
<option>Faulty</option>
</select>
</td>
<td class="px-4 py-2 whitespace-nowrap">
<input type="text" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" placeholder="Remarks">
</td>
</tr>
<tr>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">Compressor #2</td>
<td class="px-4 py-2 whitespace-nowrap">
<select class="rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
<option>Operational</option>
<option>Under Maintenance</option>
<option>Faulty</option>
</select>
</td>
<td class="px-4 py-2 whitespace-nowrap">
<input type="text" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" placeholder="Remarks">
</td>
</tr>
<tr>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">Conveyor Belt</td>
<td class="px-4 py-2 whitespace-nowrap">
<select class="rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
<option>Operational</option>
<option>Under Maintenance</option>
<option>Faulty</option>
</select>
</td>
<td class="px-4 py-2 whitespace-nowrap">
<input type="text" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" placeholder="Remarks">
</td>
</tr>
</tbody>
</table>
</div>
<button type="button" class="mt-2 inline-flex items-center px-3 py-1 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i class="fas fa-plus mr-1"></i> Add Equipment
</button>
</div>
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-1">Work Progress</label>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div>
<label class="block text-xs text-gray-500 mb-1">Completed Tasks</label>
<input type="number" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" placeholder="0">
</div>
<div>
<label class="block text-xs text-gray-500 mb-1">Ongoing Tasks</label>
<input type="number" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" placeholder="0">
</div>
<div>
<label class="block text-xs text-gray-500 mb-1">Pending Tasks</label>
<input type="number" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" placeholder="0">
</div>
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-1">Handover Notes</label>
<textarea rows="3" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" placeholder="Enter any important notes for the next shift"></textarea>
</div>
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-1">Safety Checklist</label>
<div class="space-y-2">
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="safety1" name="safety1" type="checkbox" class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded">
</div>
<div class="ml-3 text-sm">
<label for="safety1" class="font-medium text-gray-700">All safety equipment checked and functional</label>
</div>
</div>
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="safety2" name="safety2" type="checkbox" class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded">
</div>
<div class="ml-3 text-sm">
<label for="safety2" class="font-medium text-gray-700">No hazardous conditions identified</label>
</div>
</div>
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="safety3" name="safety3" type="checkbox" class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded">
</div>
<div class="ml-3 text-sm">
<label for="safety3" class="font-medium text-gray-700">Incident report reviewed (if applicable)</label>
</div>
</div>
</div>
</div>
<div class="flex justify-end space-x-3">
<button type="button" class="inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Save Draft
</button>
<button type="submit" class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Submit Handover
</button>
</div>
</form>
</div>
</div>
</div>
<!-- History Page -->
<div id="history-page" class="page-content hidden fade-in">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold text-gray-800">Handover/Takeover History</h2>
<div class="flex items-center space-x-3">
<div class="relative">
<select class="appearance-none bg-white border border-gray-300 rounded-md py-1 px-3 pr-8 text-sm focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500">
<option>All Groups</option>
<option>Group A</option>
<option>Group B</option>
<option>Group C</option>
<option>Group D</option>
</select>
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
<i class="fas fa-chevron-down text-xs"></i>
</div>
</div>
<button class="inline-flex items-center px-3 py-1 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i class="fas fa-filter mr-1"></i> Filter
</button>
</div>
</div>
<div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
<div class="p-4 border-b border-gray-200 flex justify-between items-center">
<h3 class="font-medium">Past Handover/Takeover Records</h3>
<div class="flex items-center space-x-2">
<button class="text-sm text-blue-500 hover:text-blue-700 flex items-center">
<i class="fas fa-file-export mr-1"></i> Export
</button>
<button class="text-sm text-blue-500 hover:text-blue-700 flex items-center">
<i class="fas fa-print mr-1"></i> Print
</button>
</div>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Group</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Shift</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Handover From</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Takeover By</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Jun 14, 2023</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-blue-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group A</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Morning</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Smith</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Michael Brown</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
<button class="text-gray-600 hover:text-gray-900">Print</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Jun 14, 2023</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-green-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group B</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Evening</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Johnson</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">David Wilson</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
<button class="text-gray-600 hover:text-gray-900">Print</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Jun 13, 2023</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-yellow-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group C</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Night</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Robert Davis</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Emily White</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
<button class="text-gray-600 hover:text-gray-900">Print</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Jun 13, 2023</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-purple-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group D</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Morning</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Lisa Green</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">James Black</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
<button class="text-gray-600 hover:text-gray-900">Print</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="px-6 py-4 border-t border-gray-200 flex items-center justify-between">
<div class="flex-1 flex justify-between sm:hidden">
<button class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
Previous
</button>
<button class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
Next
</button>
</div>
<div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
<div>
<p class="text-sm text-gray-700">
Showing <span class="font-medium">1</span> to <span class="font-medium">4</span> of <span class="font-medium">24</span> results
</p>
</div>
<div>
<nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
<button class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
<span class="sr-only">Previous</span>
<i class="fas fa-chevron-left"></i>
</button>
<button aria-current="page" class="z-10 bg-blue-50 border-blue-500 text-blue-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
1
</button>
<button class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
2
</button>
<button class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
3
</button>
<span class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700">
...
</span>
<button class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
8
</button>
<button class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
<span class="sr-only">Next</span>
<i class="fas fa-chevron-right"></i>
</button>
</nav>
</div>
</div>
</div>
</div>
</div>
<!-- Reports Page -->
<div id="reports-page" class="page-content hidden fade-in">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold text-gray-800">Reports & Analytics</h2>
<div class="flex items-center space-x-3">
<div class="relative">
<select class="appearance-none bg-white border border-gray-300 rounded-md py-1 px-3 pr-8 text-sm focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500">
<option>Last 7 Days</option>
<option>Last 30 Days</option>
<option>This Month</option>
<option>Last Month</option>
<option>Custom Range</option>
</select>
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
<i class="fas fa-chevron-down text-xs"></i>
</div>
</div>
<button class="inline-flex items-center px-3 py-1 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i class="fas fa-download mr-1"></i> Export
</button>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
<div class="bg-white p-4 rounded-lg shadow-sm">
<h3 class="font-medium mb-3">Completion Rate</h3>
<div class="h-64">
<canvas id="completionRateChart"></canvas>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm">
<h3 class="font-medium mb-3">Shift Performance</h3>
<div class="h-64">
<canvas id="shiftPerformanceChart"></canvas>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm">
<h3 class="font-medium mb-3">Status Distribution</h3>
<div class="h-64">
<canvas id="statusDistributionChart"></canvas>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
<div class="p-4 border-b border-gray-200">
<h3 class="font-medium">Detailed Compliance Report</h3>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Group</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Total Handovers</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">On Time</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Late</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Missed</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Compliance Rate</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-blue-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group A</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">28</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">25</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">2</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">1</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 89%"></div>
</div>
<span class="text-sm font-medium">89%</span>
</div>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-green-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group B</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">28</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">22</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">4</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">2</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 79%"></div>
</div>
<span class="text-sm font-medium">79%</span>
</div>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-yellow-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group C</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">28</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">20</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">5</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">3</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
<div class="bg-yellow-600 h-2.5 rounded-full" style="width: 71%"></div>
</div>
<span class="text-sm font-medium">71%</span>
</div>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-purple-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group D</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">28</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">26</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">1</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">1</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
<div class="bg-purple-600 h-2.5 rounded-full" style="width: 93%"></div>
</div>
<span class="text-sm font-medium">93%</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- Admin Page -->
<div id="admin-page" class="page-content hidden fade-in">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold text-gray-800">Admin Dashboard</h2>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">Admin Mode</span>
<div class="w-4 h-4 rounded-full bg-green-500"></div>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-blue-500">
<div class="flex justify-between items-start">
<div>
<p class="text-sm text-gray-500">Total Groups</p>
<h3 class="text-2xl font-bold mt-1">4</h3>
</div>
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
<i class="fas fa-users-cog text-blue-500"></i>
</div>
</div>
<button class="mt-3 w-full py-1 px-3 bg-blue-50 rounded text-sm text-blue-600 flex items-center justify-center">
<i class="fas fa-plus mr-1"></i> Add Group
</button>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-green-500">
<div class="flex justify-between items-start">
<div>
<p class="text-sm text-gray-500">Active Users</p>
<h3 class="text-2xl font-bold mt-1">24</h3>
</div>
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center">
<i class="fas fa-user-check text-green-500"></i>
</div>
</div>
<button class="mt-3 w-full py-1 px-3 bg-green-50 rounded text-sm text-green-600 flex items-center justify-center">
<i class="fas fa-user-plus mr-1"></i> Invite User
</button>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-purple-500">
<div class="flex justify-between items-start">
<div>
<p class="text-sm text-gray-500">System Status</p>
<h3 class="text-2xl font-bold mt-1">Operational</h3>
</div>
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
<i class="fas fa-server text-purple-500"></i>
</div>
</div>
<button class="mt-3 w-full py-1 px-3 bg-purple-50 rounded text-sm text-purple-600 flex items-center justify-center">
<i class="fas fa-cog mr-1"></i> Settings
</button>
</div>
</div>
<div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
<div class="p-4 border-b border-gray-200 flex justify-between items-center">
<h3 class="font-medium">Manage Groups</h3>
<button class="inline-flex items-center px-3 py-1 border border-transparent text-sm font-medium rounded shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i class="fas fa-plus mr-1"></i> New Group
</button>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Group</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Department</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Members</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Supervisor</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-blue-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group A</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Mechanical</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">8</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Smith</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
<button class="text-gray-600 hover:text-gray-900">Deactivate</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-green-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group B</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Electrical</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">6</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Johnson</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
<button class="text-gray-600 hover:text-gray-900">Deactivate</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-yellow-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group C</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Operations</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">5</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Robert Davis</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
<button class="text-gray-600 hover:text-gray-900">Deactivate</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-purple-500"></div>
<div class="ml-2">
<div class="text-sm font-medium text-gray-900">Group D</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Maintenance</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">7</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Lisa Green</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
<button class="text-gray-600 hover:text-gray-900">Deactivate</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<div class="bg-white p-4 rounded-lg shadow-sm">
<div class="flex justify-between items-center mb-4">
<h3 class="font-medium">User Management</h3>
<button class="inline-flex items-center px-3 py-1 border border-transparent text-sm font-medium rounded shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i class="fas fa-user-plus mr-1"></i> Add User
</button>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Name</th>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Group</th>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Role</th>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium text-gray-900">John Smith</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Group A</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Supervisor</td>
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-2">Edit</button>
<button class="text-gray-600 hover:text-gray-900">Reset</button>
</td>
</tr>
<tr>
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium text-gray-900">Sarah Johnson</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Group B</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Supervisor</td>
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-2">Edit</button>
<button class="text-gray-600 hover:text-gray-900">Reset</button>
</td>
</tr>
<tr>
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium text-gray-900">Michael Brown</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Group A</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Member</td>
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium">
<button class="text-blue-600 hover:text-blue-900 mr-2">Edit</button>
<button class="text-gray-600 hover:text-gray-900">Reset</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm">
<div class="flex justify-between items-center mb-4">
<h3 class="font-medium">System Configuration</h3>
<button class="inline-flex items-center px-3 py-1 border border-transparent text-sm font-medium rounded shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i class="fas fa-save mr-1"></i> Save
</button>
</div>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Shift Times</label>
<div class="grid grid-cols-1 md:grid-cols-3 gap-3">
<div>
<label class="block text-xs text-gray-500 mb-1">Morning</label>
<div class="grid grid-cols-2 gap-2">
<input type="time" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" value="07:00">
<input type="time" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" value="15:00">
</div>
</div>
<div>
<label class="block text-xs text-gray-500 mb-1">Evening</label>
<div class="grid grid-cols-2 gap-2">
<input type="time" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" value="15:00">
<input type="time" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" value="23:00">
</div>
</div>
<div>
<label class="block text-xs text-gray-500 mb-1">Night</label>
<div class="grid grid-cols-2 gap-2">
<input type="time" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" value="23:00">
<input type="time" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm" value="07:00">
</div>
</div>
</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Reminder Settings</label>
<div class="grid grid-cols-1 md:grid-cols-2 gap-3">
<div>
<label class="block text-xs text-gray-500 mb-1">First Reminder</label>
<select class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
<option>30 minutes before deadline</option>
<option>1 hour before deadline</option>
<option>2 hours before deadline</option>
</select>
</div>
<div>
<label class="block text-xs text-gray-500 mb-1">Escalation Time</label>
<select class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
<option>15 minutes after deadline</option>
<option>30 minutes after deadline</option>
<option>1 hour after deadline</option>
</select>
</div>
</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Data Retention</label>
<div class="flex items-center">
<input type="number" class="w-20 rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm mr-2" value="90">
<span class="text-sm text-gray-500">days (0 for unlimited)</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script>
// Set current date
const now = new Date();
const options = { year: 'numeric', month: 'long', day: 'numeric' };
document.getElementById('current-date').textContent = now.toLocaleDateString('en-US', options);
// Mobile
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Kashmir0001/progress" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |