Spaces:
Running
Running
"Design a web portal interface for daily tracking of Handover/Takeover register progress, with each group submitting their data. The portal should include a dashboard page summarizing group-wise progress, a daily entry form page with group-specific data fields, a history page for report viewing and export, and an admin section to manage groups and log books. Style it with a clean, modern design (white background, colored accents by group), and include auto-calculated columns and real-time validation." - Initial Deployment
0b757fb verified Download index.html from Kashmir0001/progress: direct link, hf CLI and curl.
- Browser
- Download file 82.7 kB
-
https://huggingface.co/spaces/Kashmir0001/progress/resolve/main/index.html
- Command line
-
hf download hf://spaces/Kashmir0001/progress/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Kashmir0001/progress/resolve/main/index.html
82.7 kB
<!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>
<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 ;
}
}
.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>