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
Browse files- README.md +6 -4
- index.html +1181 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: red
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: progress
|
| 3 |
+
emoji: 🐳
|
| 4 |
colorFrom: red
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,1181 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>HOTO Register Portal</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.group-a { --color-primary: #3b82f6; }
|
| 11 |
+
.group-b { --color-primary: #10b981; }
|
| 12 |
+
.group-c { --color-primary: #f59e0b; }
|
| 13 |
+
.group-d { --color-primary: #8b5cf6; }
|
| 14 |
+
|
| 15 |
+
.bg-group-a { background-color: #3b82f6; }
|
| 16 |
+
.bg-group-b { background-color: #10b981; }
|
| 17 |
+
.bg-group-c { background-color: #f59e0b; }
|
| 18 |
+
.bg-group-d { background-color: #8b5cf6; }
|
| 19 |
+
|
| 20 |
+
.text-group-a { color: #3b82f6; }
|
| 21 |
+
.text-group-b { color: #10b981; }
|
| 22 |
+
.text-group-c { color: #f59e0b; }
|
| 23 |
+
.text-group-d { color: #8b5cf6; }
|
| 24 |
+
|
| 25 |
+
.border-group-a { border-color: #3b82f6; }
|
| 26 |
+
.border-group-b { border-color: #10b981; }
|
| 27 |
+
.border-group-c { border-color: #f59e0b; }
|
| 28 |
+
.border-group-d { border-color: #8b5cf6; }
|
| 29 |
+
|
| 30 |
+
.progress-bar {
|
| 31 |
+
height: 10px;
|
| 32 |
+
border-radius: 5px;
|
| 33 |
+
background-color: #e5e7eb;
|
| 34 |
+
overflow: hidden;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.progress-fill {
|
| 38 |
+
height: 100%;
|
| 39 |
+
transition: width 0.5s ease;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.sidebar {
|
| 43 |
+
transition: all 0.3s ease;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
@media (max-width: 768px) {
|
| 47 |
+
.sidebar {
|
| 48 |
+
transform: translateX(-100%);
|
| 49 |
+
position: absolute;
|
| 50 |
+
z-index: 10;
|
| 51 |
+
height: 100vh;
|
| 52 |
+
}
|
| 53 |
+
.sidebar.open {
|
| 54 |
+
transform: translateX(0);
|
| 55 |
+
}
|
| 56 |
+
.content {
|
| 57 |
+
margin-left: 0 !important;
|
| 58 |
+
}
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.fade-in {
|
| 62 |
+
animation: fadeIn 0.3s ease-in-out;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
@keyframes fadeIn {
|
| 66 |
+
from { opacity: 0; transform: translateY(10px); }
|
| 67 |
+
to { opacity: 1; transform: translateY(0); }
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
.highlight {
|
| 71 |
+
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
|
| 72 |
+
}
|
| 73 |
+
</style>
|
| 74 |
+
</head>
|
| 75 |
+
<body class="bg-gray-50 font-sans">
|
| 76 |
+
<!-- Mobile Menu Button -->
|
| 77 |
+
<div class="md:hidden fixed top-4 left-4 z-20">
|
| 78 |
+
<button id="menuToggle" class="p-2 rounded-md bg-white shadow-md">
|
| 79 |
+
<i class="fas fa-bars text-gray-700"></i>
|
| 80 |
+
</button>
|
| 81 |
+
</div>
|
| 82 |
+
|
| 83 |
+
<!-- Sidebar -->
|
| 84 |
+
<div id="sidebar" class="sidebar w-64 bg-white shadow-md fixed h-full flex flex-col">
|
| 85 |
+
<div class="p-4 border-b border-gray-200 flex items-center">
|
| 86 |
+
<div class="w-10 h-10 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold mr-3">HT</div>
|
| 87 |
+
<div>
|
| 88 |
+
<h1 class="font-bold text-lg">HOTO Portal</h1>
|
| 89 |
+
<p class="text-xs text-gray-500">v1.0.0</p>
|
| 90 |
+
</div>
|
| 91 |
+
</div>
|
| 92 |
+
|
| 93 |
+
<div class="p-4 border-b border-gray-200">
|
| 94 |
+
<div class="flex items-center mb-2">
|
| 95 |
+
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-2">
|
| 96 |
+
<i class="fas fa-user text-blue-500 text-sm"></i>
|
| 97 |
+
</div>
|
| 98 |
+
<div>
|
| 99 |
+
<p class="font-medium">John Doe</p>
|
| 100 |
+
<p class="text-xs text-gray-500">Group A Supervisor</p>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
<div class="mt-3">
|
| 104 |
+
<button class="w-full py-1 px-3 bg-gray-100 rounded text-sm text-gray-700 flex items-center justify-between">
|
| 105 |
+
<span>Switch Group</span>
|
| 106 |
+
<i class="fas fa-chevron-down text-xs"></i>
|
| 107 |
+
</button>
|
| 108 |
+
</div>
|
| 109 |
+
</div>
|
| 110 |
+
|
| 111 |
+
<nav class="flex-1 overflow-y-auto p-4">
|
| 112 |
+
<ul>
|
| 113 |
+
<li>
|
| 114 |
+
<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">
|
| 115 |
+
<i class="fas fa-tachometer-alt mr-3 text-blue-500"></i>
|
| 116 |
+
Dashboard
|
| 117 |
+
</a>
|
| 118 |
+
</li>
|
| 119 |
+
<li>
|
| 120 |
+
<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">
|
| 121 |
+
<i class="fas fa-clipboard-check mr-3 text-green-500"></i>
|
| 122 |
+
Daily Entry
|
| 123 |
+
</a>
|
| 124 |
+
</li>
|
| 125 |
+
<li>
|
| 126 |
+
<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">
|
| 127 |
+
<i class="fas fa-history mr-3 text-purple-500"></i>
|
| 128 |
+
History
|
| 129 |
+
</a>
|
| 130 |
+
</li>
|
| 131 |
+
<li>
|
| 132 |
+
<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">
|
| 133 |
+
<i class="fas fa-chart-bar mr-3 text-yellow-500"></i>
|
| 134 |
+
Reports
|
| 135 |
+
</a>
|
| 136 |
+
</li>
|
| 137 |
+
<li class="pt-4 mt-4 border-t border-gray-200">
|
| 138 |
+
<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">
|
| 139 |
+
<i class="fas fa-cog mr-3 text-gray-500"></i>
|
| 140 |
+
Admin
|
| 141 |
+
</a>
|
| 142 |
+
</li>
|
| 143 |
+
</ul>
|
| 144 |
+
</nav>
|
| 145 |
+
|
| 146 |
+
<div class="p-4 border-t border-gray-200">
|
| 147 |
+
<button class="w-full py-2 px-3 bg-gray-100 rounded text-sm text-gray-700 flex items-center justify-center">
|
| 148 |
+
<i class="fas fa-sign-out-alt mr-2"></i>
|
| 149 |
+
Logout
|
| 150 |
+
</button>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
|
| 154 |
+
<!-- Main Content -->
|
| 155 |
+
<div id="content" class="content ml-0 md:ml-64 min-h-screen transition-all duration-300">
|
| 156 |
+
<!-- Page Content -->
|
| 157 |
+
<div class="p-4 md:p-6">
|
| 158 |
+
<!-- Dashboard Page -->
|
| 159 |
+
<div id="dashboard-page" class="page-content fade-in">
|
| 160 |
+
<div class="flex justify-between items-center mb-6">
|
| 161 |
+
<h2 class="text-2xl font-bold text-gray-800">Dashboard Overview</h2>
|
| 162 |
+
<div class="flex items-center">
|
| 163 |
+
<span class="text-sm text-gray-500 mr-2">Today:</span>
|
| 164 |
+
<span class="font-medium" id="current-date">June 15, 2023</span>
|
| 165 |
+
</div>
|
| 166 |
+
</div>
|
| 167 |
+
|
| 168 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
|
| 169 |
+
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-blue-500">
|
| 170 |
+
<div class="flex justify-between items-start">
|
| 171 |
+
<div>
|
| 172 |
+
<p class="text-sm text-gray-500">Group A Completion</p>
|
| 173 |
+
<h3 class="text-2xl font-bold mt-1">85%</h3>
|
| 174 |
+
</div>
|
| 175 |
+
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
|
| 176 |
+
<i class="fas fa-users text-blue-500"></i>
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
<div class="progress-bar mt-3">
|
| 180 |
+
<div class="progress-fill bg-blue-500" style="width: 85%"></div>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
|
| 184 |
+
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-green-500">
|
| 185 |
+
<div class="flex justify-between items-start">
|
| 186 |
+
<div>
|
| 187 |
+
<p class="text-sm text-gray-500">Group B Completion</p>
|
| 188 |
+
<h3 class="text-2xl font-bold mt-1">72%</h3>
|
| 189 |
+
</div>
|
| 190 |
+
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center">
|
| 191 |
+
<i class="fas fa-users text-green-500"></i>
|
| 192 |
+
</div>
|
| 193 |
+
</div>
|
| 194 |
+
<div class="progress-bar mt-3">
|
| 195 |
+
<div class="progress-fill bg-green-500" style="width: 72%"></div>
|
| 196 |
+
</div>
|
| 197 |
+
</div>
|
| 198 |
+
|
| 199 |
+
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-yellow-500">
|
| 200 |
+
<div class="flex justify-between items-start">
|
| 201 |
+
<div>
|
| 202 |
+
<p class="text-sm text-gray-500">Group C Completion</p>
|
| 203 |
+
<h3 class="text-2xl font-bold mt-1">64%</h3>
|
| 204 |
+
</div>
|
| 205 |
+
<div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center">
|
| 206 |
+
<i class="fas fa-users text-yellow-500"></i>
|
| 207 |
+
</div>
|
| 208 |
+
</div>
|
| 209 |
+
<div class="progress-bar mt-3">
|
| 210 |
+
<div class="progress-fill bg-yellow-500" style="width: 64%"></div>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
|
| 214 |
+
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-purple-500">
|
| 215 |
+
<div class="flex justify-between items-start">
|
| 216 |
+
<div>
|
| 217 |
+
<p class="text-sm text-gray-500">Group D Completion</p>
|
| 218 |
+
<h3 class="text-2xl font-bold mt-1">91%</h3>
|
| 219 |
+
</div>
|
| 220 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
|
| 221 |
+
<i class="fas fa-users text-purple-500"></i>
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
<div class="progress-bar mt-3">
|
| 225 |
+
<div class="progress-fill bg-purple-500" style="width: 91%"></div>
|
| 226 |
+
</div>
|
| 227 |
+
</div>
|
| 228 |
+
</div>
|
| 229 |
+
|
| 230 |
+
<div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
|
| 231 |
+
<div class="p-4 border-b border-gray-200 flex justify-between items-center">
|
| 232 |
+
<h3 class="font-medium">Recent Handover/Takeover Activities</h3>
|
| 233 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">View All</button>
|
| 234 |
+
</div>
|
| 235 |
+
<div class="overflow-x-auto">
|
| 236 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 237 |
+
<thead class="bg-gray-50">
|
| 238 |
+
<tr>
|
| 239 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Group</th>
|
| 240 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Shift</th>
|
| 241 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
| 242 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Completed By</th>
|
| 243 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Time</th>
|
| 244 |
+
</tr>
|
| 245 |
+
</thead>
|
| 246 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 247 |
+
<tr>
|
| 248 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 249 |
+
<div class="flex items-center">
|
| 250 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-blue-500"></div>
|
| 251 |
+
<div class="ml-2">
|
| 252 |
+
<div class="text-sm font-medium text-gray-900">Group A</div>
|
| 253 |
+
</div>
|
| 254 |
+
</div>
|
| 255 |
+
</td>
|
| 256 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Morning</td>
|
| 257 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 258 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
|
| 259 |
+
</td>
|
| 260 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Smith</td>
|
| 261 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">08:45 AM</td>
|
| 262 |
+
</tr>
|
| 263 |
+
<tr>
|
| 264 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 265 |
+
<div class="flex items-center">
|
| 266 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-green-500"></div>
|
| 267 |
+
<div class="ml-2">
|
| 268 |
+
<div class="text-sm font-medium text-gray-900">Group B</div>
|
| 269 |
+
</div>
|
| 270 |
+
</div>
|
| 271 |
+
</td>
|
| 272 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Evening</td>
|
| 273 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 274 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
|
| 275 |
+
</td>
|
| 276 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">-</td>
|
| 277 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">-</td>
|
| 278 |
+
</tr>
|
| 279 |
+
<tr>
|
| 280 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 281 |
+
<div class="flex items-center">
|
| 282 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-yellow-500"></div>
|
| 283 |
+
<div class="ml-2">
|
| 284 |
+
<div class="text-sm font-medium text-gray-900">Group C</div>
|
| 285 |
+
</div>
|
| 286 |
+
</div>
|
| 287 |
+
</td>
|
| 288 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Night</td>
|
| 289 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 290 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Overdue</span>
|
| 291 |
+
</td>
|
| 292 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">-</td>
|
| 293 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">-</td>
|
| 294 |
+
</tr>
|
| 295 |
+
<tr>
|
| 296 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 297 |
+
<div class="flex items-center">
|
| 298 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-purple-500"></div>
|
| 299 |
+
<div class="ml-2">
|
| 300 |
+
<div class="text-sm font-medium text-gray-900">Group D</div>
|
| 301 |
+
</div>
|
| 302 |
+
</div>
|
| 303 |
+
</td>
|
| 304 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Morning</td>
|
| 305 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 306 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
|
| 307 |
+
</td>
|
| 308 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Johnson</td>
|
| 309 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">09:15 AM</td>
|
| 310 |
+
</tr>
|
| 311 |
+
</tbody>
|
| 312 |
+
</table>
|
| 313 |
+
</div>
|
| 314 |
+
</div>
|
| 315 |
+
|
| 316 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
|
| 317 |
+
<div class="bg-white p-4 rounded-lg shadow-sm">
|
| 318 |
+
<div class="flex justify-between items-center mb-4">
|
| 319 |
+
<h3 class="font-medium">Completion Status by Group</h3>
|
| 320 |
+
<div class="flex items-center">
|
| 321 |
+
<span class="text-xs text-gray-500 mr-2">This Week</span>
|
| 322 |
+
<i class="fas fa-chevron-down text-xs text-gray-500"></i>
|
| 323 |
+
</div>
|
| 324 |
+
</div>
|
| 325 |
+
<div class="h-64">
|
| 326 |
+
<canvas id="completionChart"></canvas>
|
| 327 |
+
</div>
|
| 328 |
+
</div>
|
| 329 |
+
|
| 330 |
+
<div class="bg-white p-4 rounded-lg shadow-sm">
|
| 331 |
+
<div class="flex justify-between items-center mb-4">
|
| 332 |
+
<h3 class="font-medium">Pending Actions</h3>
|
| 333 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">View All</button>
|
| 334 |
+
</div>
|
| 335 |
+
<div class="space-y-3">
|
| 336 |
+
<div class="flex items-start p-3 border border-gray-200 rounded-lg">
|
| 337 |
+
<div class="flex-shrink-0 mt-1">
|
| 338 |
+
<div class="h-8 w-8 rounded-full bg-red-100 flex items-center justify-center">
|
| 339 |
+
<i class="fas fa-exclamation text-red-500 text-sm"></i>
|
| 340 |
+
</div>
|
| 341 |
+
</div>
|
| 342 |
+
<div class="ml-3 flex-1">
|
| 343 |
+
<p class="text-sm font-medium text-gray-900">Group C Night Shift overdue</p>
|
| 344 |
+
<p class="text-sm text-gray-500">Handover was due at 10:00 PM</p>
|
| 345 |
+
</div>
|
| 346 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">Action</button>
|
| 347 |
+
</div>
|
| 348 |
+
|
| 349 |
+
<div class="flex items-start p-3 border border-gray-200 rounded-lg">
|
| 350 |
+
<div class="flex-shrink-0 mt-1">
|
| 351 |
+
<div class="h-8 w-8 rounded-full bg-yellow-100 flex items-center justify-center">
|
| 352 |
+
<i class="fas fa-clock text-yellow-500 text-sm"></i>
|
| 353 |
+
</div>
|
| 354 |
+
</div>
|
| 355 |
+
<div class="ml-3 flex-1">
|
| 356 |
+
<p class="text-sm font-medium text-gray-900">Group B Evening Shift pending</p>
|
| 357 |
+
<p class="text-sm text-gray-500">Due in 2 hours</p>
|
| 358 |
+
</div>
|
| 359 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">Remind</button>
|
| 360 |
+
</div>
|
| 361 |
+
|
| 362 |
+
<div class="flex items-start p-3 border border-gray-200 rounded-lg">
|
| 363 |
+
<div class="flex-shrink-0 mt-1">
|
| 364 |
+
<div class="h-8 w-8 rounded-full bg-blue-100 flex items-center justify-center">
|
| 365 |
+
<i class="fas fa-check-circle text-blue-500 text-sm"></i>
|
| 366 |
+
</div>
|
| 367 |
+
</div>
|
| 368 |
+
<div class="ml-3 flex-1">
|
| 369 |
+
<p class="text-sm font-medium text-gray-900">Group A Morning Shift completed</p>
|
| 370 |
+
<p class="text-sm text-gray-500">Review and approve</p>
|
| 371 |
+
</div>
|
| 372 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">Review</button>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
</div>
|
| 376 |
+
</div>
|
| 377 |
+
</div>
|
| 378 |
+
|
| 379 |
+
<!-- Entry Form Page -->
|
| 380 |
+
<div id="entry-form-page" class="page-content hidden fade-in">
|
| 381 |
+
<div class="flex justify-between items-center mb-6">
|
| 382 |
+
<h2 class="text-2xl font-bold text-gray-800">Daily Handover/Takeover Entry</h2>
|
| 383 |
+
<div class="flex items-center">
|
| 384 |
+
<span class="text-sm text-gray-500 mr-2">Shift:</span>
|
| 385 |
+
<div class="relative">
|
| 386 |
+
<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">
|
| 387 |
+
<option>Morning (7:00 AM - 3:00 PM)</option>
|
| 388 |
+
<option>Evening (3:00 PM - 11:00 PM)</option>
|
| 389 |
+
<option>Night (11:00 PM - 7:00 AM)</option>
|
| 390 |
+
</select>
|
| 391 |
+
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
|
| 392 |
+
<i class="fas fa-chevron-down text-xs"></i>
|
| 393 |
+
</div>
|
| 394 |
+
</div>
|
| 395 |
+
</div>
|
| 396 |
+
</div>
|
| 397 |
+
|
| 398 |
+
<div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
|
| 399 |
+
<div class="p-4 border-b border-gray-200 bg-blue-50">
|
| 400 |
+
<h3 class="font-medium text-blue-800">Group A - Mechanical Department</h3>
|
| 401 |
+
</div>
|
| 402 |
+
<div class="p-4">
|
| 403 |
+
<form id="hoto-form">
|
| 404 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
|
| 405 |
+
<div>
|
| 406 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Handover From</label>
|
| 407 |
+
<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">
|
| 408 |
+
</div>
|
| 409 |
+
<div>
|
| 410 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Takeover By</label>
|
| 411 |
+
<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">
|
| 412 |
+
</div>
|
| 413 |
+
</div>
|
| 414 |
+
|
| 415 |
+
<div class="mb-6">
|
| 416 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Date & Time</label>
|
| 417 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 418 |
+
<input type="date" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
|
| 419 |
+
<input type="time" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
|
| 420 |
+
</div>
|
| 421 |
+
</div>
|
| 422 |
+
|
| 423 |
+
<div class="mb-6">
|
| 424 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Equipment Status</label>
|
| 425 |
+
<div class="overflow-x-auto">
|
| 426 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 427 |
+
<thead class="bg-gray-50">
|
| 428 |
+
<tr>
|
| 429 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Equipment</th>
|
| 430 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
| 431 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Remarks</th>
|
| 432 |
+
</tr>
|
| 433 |
+
</thead>
|
| 434 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 435 |
+
<tr>
|
| 436 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">Pump #1</td>
|
| 437 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
| 438 |
+
<select class="rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
|
| 439 |
+
<option>Operational</option>
|
| 440 |
+
<option>Under Maintenance</option>
|
| 441 |
+
<option>Faulty</option>
|
| 442 |
+
</select>
|
| 443 |
+
</td>
|
| 444 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
| 445 |
+
<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">
|
| 446 |
+
</td>
|
| 447 |
+
</tr>
|
| 448 |
+
<tr>
|
| 449 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">Compressor #2</td>
|
| 450 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
| 451 |
+
<select class="rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
|
| 452 |
+
<option>Operational</option>
|
| 453 |
+
<option>Under Maintenance</option>
|
| 454 |
+
<option>Faulty</option>
|
| 455 |
+
</select>
|
| 456 |
+
</td>
|
| 457 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
| 458 |
+
<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">
|
| 459 |
+
</td>
|
| 460 |
+
</tr>
|
| 461 |
+
<tr>
|
| 462 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">Conveyor Belt</td>
|
| 463 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
| 464 |
+
<select class="rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
|
| 465 |
+
<option>Operational</option>
|
| 466 |
+
<option>Under Maintenance</option>
|
| 467 |
+
<option>Faulty</option>
|
| 468 |
+
</select>
|
| 469 |
+
</td>
|
| 470 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
| 471 |
+
<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">
|
| 472 |
+
</td>
|
| 473 |
+
</tr>
|
| 474 |
+
</tbody>
|
| 475 |
+
</table>
|
| 476 |
+
</div>
|
| 477 |
+
<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">
|
| 478 |
+
<i class="fas fa-plus mr-1"></i> Add Equipment
|
| 479 |
+
</button>
|
| 480 |
+
</div>
|
| 481 |
+
|
| 482 |
+
<div class="mb-6">
|
| 483 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Work Progress</label>
|
| 484 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
| 485 |
+
<div>
|
| 486 |
+
<label class="block text-xs text-gray-500 mb-1">Completed Tasks</label>
|
| 487 |
+
<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">
|
| 488 |
+
</div>
|
| 489 |
+
<div>
|
| 490 |
+
<label class="block text-xs text-gray-500 mb-1">Ongoing Tasks</label>
|
| 491 |
+
<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">
|
| 492 |
+
</div>
|
| 493 |
+
<div>
|
| 494 |
+
<label class="block text-xs text-gray-500 mb-1">Pending Tasks</label>
|
| 495 |
+
<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">
|
| 496 |
+
</div>
|
| 497 |
+
</div>
|
| 498 |
+
</div>
|
| 499 |
+
|
| 500 |
+
<div class="mb-6">
|
| 501 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Handover Notes</label>
|
| 502 |
+
<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>
|
| 503 |
+
</div>
|
| 504 |
+
|
| 505 |
+
<div class="mb-6">
|
| 506 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Safety Checklist</label>
|
| 507 |
+
<div class="space-y-2">
|
| 508 |
+
<div class="flex items-start">
|
| 509 |
+
<div class="flex items-center h-5">
|
| 510 |
+
<input id="safety1" name="safety1" type="checkbox" class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded">
|
| 511 |
+
</div>
|
| 512 |
+
<div class="ml-3 text-sm">
|
| 513 |
+
<label for="safety1" class="font-medium text-gray-700">All safety equipment checked and functional</label>
|
| 514 |
+
</div>
|
| 515 |
+
</div>
|
| 516 |
+
<div class="flex items-start">
|
| 517 |
+
<div class="flex items-center h-5">
|
| 518 |
+
<input id="safety2" name="safety2" type="checkbox" class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded">
|
| 519 |
+
</div>
|
| 520 |
+
<div class="ml-3 text-sm">
|
| 521 |
+
<label for="safety2" class="font-medium text-gray-700">No hazardous conditions identified</label>
|
| 522 |
+
</div>
|
| 523 |
+
</div>
|
| 524 |
+
<div class="flex items-start">
|
| 525 |
+
<div class="flex items-center h-5">
|
| 526 |
+
<input id="safety3" name="safety3" type="checkbox" class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded">
|
| 527 |
+
</div>
|
| 528 |
+
<div class="ml-3 text-sm">
|
| 529 |
+
<label for="safety3" class="font-medium text-gray-700">Incident report reviewed (if applicable)</label>
|
| 530 |
+
</div>
|
| 531 |
+
</div>
|
| 532 |
+
</div>
|
| 533 |
+
</div>
|
| 534 |
+
|
| 535 |
+
<div class="flex justify-end space-x-3">
|
| 536 |
+
<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">
|
| 537 |
+
Save Draft
|
| 538 |
+
</button>
|
| 539 |
+
<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">
|
| 540 |
+
Submit Handover
|
| 541 |
+
</button>
|
| 542 |
+
</div>
|
| 543 |
+
</form>
|
| 544 |
+
</div>
|
| 545 |
+
</div>
|
| 546 |
+
</div>
|
| 547 |
+
|
| 548 |
+
<!-- History Page -->
|
| 549 |
+
<div id="history-page" class="page-content hidden fade-in">
|
| 550 |
+
<div class="flex justify-between items-center mb-6">
|
| 551 |
+
<h2 class="text-2xl font-bold text-gray-800">Handover/Takeover History</h2>
|
| 552 |
+
<div class="flex items-center space-x-3">
|
| 553 |
+
<div class="relative">
|
| 554 |
+
<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">
|
| 555 |
+
<option>All Groups</option>
|
| 556 |
+
<option>Group A</option>
|
| 557 |
+
<option>Group B</option>
|
| 558 |
+
<option>Group C</option>
|
| 559 |
+
<option>Group D</option>
|
| 560 |
+
</select>
|
| 561 |
+
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
|
| 562 |
+
<i class="fas fa-chevron-down text-xs"></i>
|
| 563 |
+
</div>
|
| 564 |
+
</div>
|
| 565 |
+
<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">
|
| 566 |
+
<i class="fas fa-filter mr-1"></i> Filter
|
| 567 |
+
</button>
|
| 568 |
+
</div>
|
| 569 |
+
</div>
|
| 570 |
+
|
| 571 |
+
<div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
|
| 572 |
+
<div class="p-4 border-b border-gray-200 flex justify-between items-center">
|
| 573 |
+
<h3 class="font-medium">Past Handover/Takeover Records</h3>
|
| 574 |
+
<div class="flex items-center space-x-2">
|
| 575 |
+
<button class="text-sm text-blue-500 hover:text-blue-700 flex items-center">
|
| 576 |
+
<i class="fas fa-file-export mr-1"></i> Export
|
| 577 |
+
</button>
|
| 578 |
+
<button class="text-sm text-blue-500 hover:text-blue-700 flex items-center">
|
| 579 |
+
<i class="fas fa-print mr-1"></i> Print
|
| 580 |
+
</button>
|
| 581 |
+
</div>
|
| 582 |
+
</div>
|
| 583 |
+
<div class="overflow-x-auto">
|
| 584 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 585 |
+
<thead class="bg-gray-50">
|
| 586 |
+
<tr>
|
| 587 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
|
| 588 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Group</th>
|
| 589 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Shift</th>
|
| 590 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Handover From</th>
|
| 591 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Takeover By</th>
|
| 592 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
| 593 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
|
| 594 |
+
</tr>
|
| 595 |
+
</thead>
|
| 596 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 597 |
+
<tr>
|
| 598 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Jun 14, 2023</td>
|
| 599 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 600 |
+
<div class="flex items-center">
|
| 601 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-blue-500"></div>
|
| 602 |
+
<div class="ml-2">
|
| 603 |
+
<div class="text-sm font-medium text-gray-900">Group A</div>
|
| 604 |
+
</div>
|
| 605 |
+
</div>
|
| 606 |
+
</td>
|
| 607 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Morning</td>
|
| 608 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Smith</td>
|
| 609 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Michael Brown</td>
|
| 610 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 611 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
|
| 612 |
+
</td>
|
| 613 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 614 |
+
<button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
|
| 615 |
+
<button class="text-gray-600 hover:text-gray-900">Print</button>
|
| 616 |
+
</td>
|
| 617 |
+
</tr>
|
| 618 |
+
<tr>
|
| 619 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Jun 14, 2023</td>
|
| 620 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 621 |
+
<div class="flex items-center">
|
| 622 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-green-500"></div>
|
| 623 |
+
<div class="ml-2">
|
| 624 |
+
<div class="text-sm font-medium text-gray-900">Group B</div>
|
| 625 |
+
</div>
|
| 626 |
+
</div>
|
| 627 |
+
</td>
|
| 628 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Evening</td>
|
| 629 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Johnson</td>
|
| 630 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">David Wilson</td>
|
| 631 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 632 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
|
| 633 |
+
</td>
|
| 634 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 635 |
+
<button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
|
| 636 |
+
<button class="text-gray-600 hover:text-gray-900">Print</button>
|
| 637 |
+
</td>
|
| 638 |
+
</tr>
|
| 639 |
+
<tr>
|
| 640 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Jun 13, 2023</td>
|
| 641 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 642 |
+
<div class="flex items-center">
|
| 643 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-yellow-500"></div>
|
| 644 |
+
<div class="ml-2">
|
| 645 |
+
<div class="text-sm font-medium text-gray-900">Group C</div>
|
| 646 |
+
</div>
|
| 647 |
+
</div>
|
| 648 |
+
</td>
|
| 649 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Night</td>
|
| 650 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Robert Davis</td>
|
| 651 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Emily White</td>
|
| 652 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 653 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
|
| 654 |
+
</td>
|
| 655 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 656 |
+
<button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
|
| 657 |
+
<button class="text-gray-600 hover:text-gray-900">Print</button>
|
| 658 |
+
</td>
|
| 659 |
+
</tr>
|
| 660 |
+
<tr>
|
| 661 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Jun 13, 2023</td>
|
| 662 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 663 |
+
<div class="flex items-center">
|
| 664 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-purple-500"></div>
|
| 665 |
+
<div class="ml-2">
|
| 666 |
+
<div class="text-sm font-medium text-gray-900">Group D</div>
|
| 667 |
+
</div>
|
| 668 |
+
</div>
|
| 669 |
+
</td>
|
| 670 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Morning</td>
|
| 671 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Lisa Green</td>
|
| 672 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">James Black</td>
|
| 673 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 674 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
|
| 675 |
+
</td>
|
| 676 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 677 |
+
<button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
|
| 678 |
+
<button class="text-gray-600 hover:text-gray-900">Print</button>
|
| 679 |
+
</td>
|
| 680 |
+
</tr>
|
| 681 |
+
</tbody>
|
| 682 |
+
</table>
|
| 683 |
+
</div>
|
| 684 |
+
<div class="px-6 py-4 border-t border-gray-200 flex items-center justify-between">
|
| 685 |
+
<div class="flex-1 flex justify-between sm:hidden">
|
| 686 |
+
<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">
|
| 687 |
+
Previous
|
| 688 |
+
</button>
|
| 689 |
+
<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">
|
| 690 |
+
Next
|
| 691 |
+
</button>
|
| 692 |
+
</div>
|
| 693 |
+
<div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
|
| 694 |
+
<div>
|
| 695 |
+
<p class="text-sm text-gray-700">
|
| 696 |
+
Showing <span class="font-medium">1</span> to <span class="font-medium">4</span> of <span class="font-medium">24</span> results
|
| 697 |
+
</p>
|
| 698 |
+
</div>
|
| 699 |
+
<div>
|
| 700 |
+
<nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
|
| 701 |
+
<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">
|
| 702 |
+
<span class="sr-only">Previous</span>
|
| 703 |
+
<i class="fas fa-chevron-left"></i>
|
| 704 |
+
</button>
|
| 705 |
+
<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">
|
| 706 |
+
1
|
| 707 |
+
</button>
|
| 708 |
+
<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">
|
| 709 |
+
2
|
| 710 |
+
</button>
|
| 711 |
+
<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">
|
| 712 |
+
3
|
| 713 |
+
</button>
|
| 714 |
+
<span class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700">
|
| 715 |
+
...
|
| 716 |
+
</span>
|
| 717 |
+
<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">
|
| 718 |
+
8
|
| 719 |
+
</button>
|
| 720 |
+
<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">
|
| 721 |
+
<span class="sr-only">Next</span>
|
| 722 |
+
<i class="fas fa-chevron-right"></i>
|
| 723 |
+
</button>
|
| 724 |
+
</nav>
|
| 725 |
+
</div>
|
| 726 |
+
</div>
|
| 727 |
+
</div>
|
| 728 |
+
</div>
|
| 729 |
+
</div>
|
| 730 |
+
|
| 731 |
+
<!-- Reports Page -->
|
| 732 |
+
<div id="reports-page" class="page-content hidden fade-in">
|
| 733 |
+
<div class="flex justify-between items-center mb-6">
|
| 734 |
+
<h2 class="text-2xl font-bold text-gray-800">Reports & Analytics</h2>
|
| 735 |
+
<div class="flex items-center space-x-3">
|
| 736 |
+
<div class="relative">
|
| 737 |
+
<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">
|
| 738 |
+
<option>Last 7 Days</option>
|
| 739 |
+
<option>Last 30 Days</option>
|
| 740 |
+
<option>This Month</option>
|
| 741 |
+
<option>Last Month</option>
|
| 742 |
+
<option>Custom Range</option>
|
| 743 |
+
</select>
|
| 744 |
+
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
|
| 745 |
+
<i class="fas fa-chevron-down text-xs"></i>
|
| 746 |
+
</div>
|
| 747 |
+
</div>
|
| 748 |
+
<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">
|
| 749 |
+
<i class="fas fa-download mr-1"></i> Export
|
| 750 |
+
</button>
|
| 751 |
+
</div>
|
| 752 |
+
</div>
|
| 753 |
+
|
| 754 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
|
| 755 |
+
<div class="bg-white p-4 rounded-lg shadow-sm">
|
| 756 |
+
<h3 class="font-medium mb-3">Completion Rate</h3>
|
| 757 |
+
<div class="h-64">
|
| 758 |
+
<canvas id="completionRateChart"></canvas>
|
| 759 |
+
</div>
|
| 760 |
+
</div>
|
| 761 |
+
|
| 762 |
+
<div class="bg-white p-4 rounded-lg shadow-sm">
|
| 763 |
+
<h3 class="font-medium mb-3">Shift Performance</h3>
|
| 764 |
+
<div class="h-64">
|
| 765 |
+
<canvas id="shiftPerformanceChart"></canvas>
|
| 766 |
+
</div>
|
| 767 |
+
</div>
|
| 768 |
+
|
| 769 |
+
<div class="bg-white p-4 rounded-lg shadow-sm">
|
| 770 |
+
<h3 class="font-medium mb-3">Status Distribution</h3>
|
| 771 |
+
<div class="h-64">
|
| 772 |
+
<canvas id="statusDistributionChart"></canvas>
|
| 773 |
+
</div>
|
| 774 |
+
</div>
|
| 775 |
+
</div>
|
| 776 |
+
|
| 777 |
+
<div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
|
| 778 |
+
<div class="p-4 border-b border-gray-200">
|
| 779 |
+
<h3 class="font-medium">Detailed Compliance Report</h3>
|
| 780 |
+
</div>
|
| 781 |
+
<div class="overflow-x-auto">
|
| 782 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 783 |
+
<thead class="bg-gray-50">
|
| 784 |
+
<tr>
|
| 785 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Group</th>
|
| 786 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Total Handovers</th>
|
| 787 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">On Time</th>
|
| 788 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Late</th>
|
| 789 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Missed</th>
|
| 790 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Compliance Rate</th>
|
| 791 |
+
</tr>
|
| 792 |
+
</thead>
|
| 793 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 794 |
+
<tr>
|
| 795 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 796 |
+
<div class="flex items-center">
|
| 797 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-blue-500"></div>
|
| 798 |
+
<div class="ml-2">
|
| 799 |
+
<div class="text-sm font-medium text-gray-900">Group A</div>
|
| 800 |
+
</div>
|
| 801 |
+
</div>
|
| 802 |
+
</td>
|
| 803 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">28</td>
|
| 804 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">25</td>
|
| 805 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">2</td>
|
| 806 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">1</td>
|
| 807 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 808 |
+
<div class="flex items-center">
|
| 809 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
|
| 810 |
+
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 89%"></div>
|
| 811 |
+
</div>
|
| 812 |
+
<span class="text-sm font-medium">89%</span>
|
| 813 |
+
</div>
|
| 814 |
+
</td>
|
| 815 |
+
</tr>
|
| 816 |
+
<tr>
|
| 817 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 818 |
+
<div class="flex items-center">
|
| 819 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-green-500"></div>
|
| 820 |
+
<div class="ml-2">
|
| 821 |
+
<div class="text-sm font-medium text-gray-900">Group B</div>
|
| 822 |
+
</div>
|
| 823 |
+
</div>
|
| 824 |
+
</td>
|
| 825 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">28</td>
|
| 826 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">22</td>
|
| 827 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">4</td>
|
| 828 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">2</td>
|
| 829 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 830 |
+
<div class="flex items-center">
|
| 831 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
|
| 832 |
+
<div class="bg-green-600 h-2.5 rounded-full" style="width: 79%"></div>
|
| 833 |
+
</div>
|
| 834 |
+
<span class="text-sm font-medium">79%</span>
|
| 835 |
+
</div>
|
| 836 |
+
</td>
|
| 837 |
+
</tr>
|
| 838 |
+
<tr>
|
| 839 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 840 |
+
<div class="flex items-center">
|
| 841 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-yellow-500"></div>
|
| 842 |
+
<div class="ml-2">
|
| 843 |
+
<div class="text-sm font-medium text-gray-900">Group C</div>
|
| 844 |
+
</div>
|
| 845 |
+
</div>
|
| 846 |
+
</td>
|
| 847 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">28</td>
|
| 848 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">20</td>
|
| 849 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">5</td>
|
| 850 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">3</td>
|
| 851 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 852 |
+
<div class="flex items-center">
|
| 853 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
|
| 854 |
+
<div class="bg-yellow-600 h-2.5 rounded-full" style="width: 71%"></div>
|
| 855 |
+
</div>
|
| 856 |
+
<span class="text-sm font-medium">71%</span>
|
| 857 |
+
</div>
|
| 858 |
+
</td>
|
| 859 |
+
</tr>
|
| 860 |
+
<tr>
|
| 861 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 862 |
+
<div class="flex items-center">
|
| 863 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-purple-500"></div>
|
| 864 |
+
<div class="ml-2">
|
| 865 |
+
<div class="text-sm font-medium text-gray-900">Group D</div>
|
| 866 |
+
</div>
|
| 867 |
+
</div>
|
| 868 |
+
</td>
|
| 869 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">28</td>
|
| 870 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">26</td>
|
| 871 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">1</td>
|
| 872 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">1</td>
|
| 873 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 874 |
+
<div class="flex items-center">
|
| 875 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
|
| 876 |
+
<div class="bg-purple-600 h-2.5 rounded-full" style="width: 93%"></div>
|
| 877 |
+
</div>
|
| 878 |
+
<span class="text-sm font-medium">93%</span>
|
| 879 |
+
</div>
|
| 880 |
+
</td>
|
| 881 |
+
</tr>
|
| 882 |
+
</tbody>
|
| 883 |
+
</table>
|
| 884 |
+
</div>
|
| 885 |
+
</div>
|
| 886 |
+
</div>
|
| 887 |
+
|
| 888 |
+
<!-- Admin Page -->
|
| 889 |
+
<div id="admin-page" class="page-content hidden fade-in">
|
| 890 |
+
<div class="flex justify-between items-center mb-6">
|
| 891 |
+
<h2 class="text-2xl font-bold text-gray-800">Admin Dashboard</h2>
|
| 892 |
+
<div class="flex items-center">
|
| 893 |
+
<span class="text-sm text-gray-500 mr-2">Admin Mode</span>
|
| 894 |
+
<div class="w-4 h-4 rounded-full bg-green-500"></div>
|
| 895 |
+
</div>
|
| 896 |
+
</div>
|
| 897 |
+
|
| 898 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
|
| 899 |
+
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-blue-500">
|
| 900 |
+
<div class="flex justify-between items-start">
|
| 901 |
+
<div>
|
| 902 |
+
<p class="text-sm text-gray-500">Total Groups</p>
|
| 903 |
+
<h3 class="text-2xl font-bold mt-1">4</h3>
|
| 904 |
+
</div>
|
| 905 |
+
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
|
| 906 |
+
<i class="fas fa-users-cog text-blue-500"></i>
|
| 907 |
+
</div>
|
| 908 |
+
</div>
|
| 909 |
+
<button class="mt-3 w-full py-1 px-3 bg-blue-50 rounded text-sm text-blue-600 flex items-center justify-center">
|
| 910 |
+
<i class="fas fa-plus mr-1"></i> Add Group
|
| 911 |
+
</button>
|
| 912 |
+
</div>
|
| 913 |
+
|
| 914 |
+
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-green-500">
|
| 915 |
+
<div class="flex justify-between items-start">
|
| 916 |
+
<div>
|
| 917 |
+
<p class="text-sm text-gray-500">Active Users</p>
|
| 918 |
+
<h3 class="text-2xl font-bold mt-1">24</h3>
|
| 919 |
+
</div>
|
| 920 |
+
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center">
|
| 921 |
+
<i class="fas fa-user-check text-green-500"></i>
|
| 922 |
+
</div>
|
| 923 |
+
</div>
|
| 924 |
+
<button class="mt-3 w-full py-1 px-3 bg-green-50 rounded text-sm text-green-600 flex items-center justify-center">
|
| 925 |
+
<i class="fas fa-user-plus mr-1"></i> Invite User
|
| 926 |
+
</button>
|
| 927 |
+
</div>
|
| 928 |
+
|
| 929 |
+
<div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-purple-500">
|
| 930 |
+
<div class="flex justify-between items-start">
|
| 931 |
+
<div>
|
| 932 |
+
<p class="text-sm text-gray-500">System Status</p>
|
| 933 |
+
<h3 class="text-2xl font-bold mt-1">Operational</h3>
|
| 934 |
+
</div>
|
| 935 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
|
| 936 |
+
<i class="fas fa-server text-purple-500"></i>
|
| 937 |
+
</div>
|
| 938 |
+
</div>
|
| 939 |
+
<button class="mt-3 w-full py-1 px-3 bg-purple-50 rounded text-sm text-purple-600 flex items-center justify-center">
|
| 940 |
+
<i class="fas fa-cog mr-1"></i> Settings
|
| 941 |
+
</button>
|
| 942 |
+
</div>
|
| 943 |
+
</div>
|
| 944 |
+
|
| 945 |
+
<div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
|
| 946 |
+
<div class="p-4 border-b border-gray-200 flex justify-between items-center">
|
| 947 |
+
<h3 class="font-medium">Manage Groups</h3>
|
| 948 |
+
<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">
|
| 949 |
+
<i class="fas fa-plus mr-1"></i> New Group
|
| 950 |
+
</button>
|
| 951 |
+
</div>
|
| 952 |
+
<div class="overflow-x-auto">
|
| 953 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 954 |
+
<thead class="bg-gray-50">
|
| 955 |
+
<tr>
|
| 956 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Group</th>
|
| 957 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Department</th>
|
| 958 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Members</th>
|
| 959 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Supervisor</th>
|
| 960 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
| 961 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
|
| 962 |
+
</tr>
|
| 963 |
+
</thead>
|
| 964 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 965 |
+
<tr>
|
| 966 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 967 |
+
<div class="flex items-center">
|
| 968 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-blue-500"></div>
|
| 969 |
+
<div class="ml-2">
|
| 970 |
+
<div class="text-sm font-medium text-gray-900">Group A</div>
|
| 971 |
+
</div>
|
| 972 |
+
</div>
|
| 973 |
+
</td>
|
| 974 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Mechanical</td>
|
| 975 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">8</td>
|
| 976 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Smith</td>
|
| 977 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 978 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
|
| 979 |
+
</td>
|
| 980 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 981 |
+
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
|
| 982 |
+
<button class="text-gray-600 hover:text-gray-900">Deactivate</button>
|
| 983 |
+
</td>
|
| 984 |
+
</tr>
|
| 985 |
+
<tr>
|
| 986 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 987 |
+
<div class="flex items-center">
|
| 988 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-green-500"></div>
|
| 989 |
+
<div class="ml-2">
|
| 990 |
+
<div class="text-sm font-medium text-gray-900">Group B</div>
|
| 991 |
+
</div>
|
| 992 |
+
</div>
|
| 993 |
+
</td>
|
| 994 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Electrical</td>
|
| 995 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">6</td>
|
| 996 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Johnson</td>
|
| 997 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 998 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
|
| 999 |
+
</td>
|
| 1000 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 1001 |
+
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
|
| 1002 |
+
<button class="text-gray-600 hover:text-gray-900">Deactivate</button>
|
| 1003 |
+
</td>
|
| 1004 |
+
</tr>
|
| 1005 |
+
<tr>
|
| 1006 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 1007 |
+
<div class="flex items-center">
|
| 1008 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-yellow-500"></div>
|
| 1009 |
+
<div class="ml-2">
|
| 1010 |
+
<div class="text-sm font-medium text-gray-900">Group C</div>
|
| 1011 |
+
</div>
|
| 1012 |
+
</div>
|
| 1013 |
+
</td>
|
| 1014 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Operations</td>
|
| 1015 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">5</td>
|
| 1016 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Robert Davis</td>
|
| 1017 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 1018 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
|
| 1019 |
+
</td>
|
| 1020 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 1021 |
+
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
|
| 1022 |
+
<button class="text-gray-600 hover:text-gray-900">Deactivate</button>
|
| 1023 |
+
</td>
|
| 1024 |
+
</tr>
|
| 1025 |
+
<tr>
|
| 1026 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 1027 |
+
<div class="flex items-center">
|
| 1028 |
+
<div class="flex-shrink-0 h-5 w-5 rounded-full bg-purple-500"></div>
|
| 1029 |
+
<div class="ml-2">
|
| 1030 |
+
<div class="text-sm font-medium text-gray-900">Group D</div>
|
| 1031 |
+
</div>
|
| 1032 |
+
</div>
|
| 1033 |
+
</td>
|
| 1034 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Maintenance</td>
|
| 1035 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">7</td>
|
| 1036 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Lisa Green</td>
|
| 1037 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 1038 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
|
| 1039 |
+
</td>
|
| 1040 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 1041 |
+
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
|
| 1042 |
+
<button class="text-gray-600 hover:text-gray-900">Deactivate</button>
|
| 1043 |
+
</td>
|
| 1044 |
+
</tr>
|
| 1045 |
+
</tbody>
|
| 1046 |
+
</table>
|
| 1047 |
+
</div>
|
| 1048 |
+
</div>
|
| 1049 |
+
|
| 1050 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
|
| 1051 |
+
<div class="bg-white p-4 rounded-lg shadow-sm">
|
| 1052 |
+
<div class="flex justify-between items-center mb-4">
|
| 1053 |
+
<h3 class="font-medium">User Management</h3>
|
| 1054 |
+
<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">
|
| 1055 |
+
<i class="fas fa-user-plus mr-1"></i> Add User
|
| 1056 |
+
</button>
|
| 1057 |
+
</div>
|
| 1058 |
+
<div class="overflow-x-auto">
|
| 1059 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 1060 |
+
<thead class="bg-gray-50">
|
| 1061 |
+
<tr>
|
| 1062 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Name</th>
|
| 1063 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Group</th>
|
| 1064 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Role</th>
|
| 1065 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
|
| 1066 |
+
</tr>
|
| 1067 |
+
</thead>
|
| 1068 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 1069 |
+
<tr>
|
| 1070 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium text-gray-900">John Smith</td>
|
| 1071 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Group A</td>
|
| 1072 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Supervisor</td>
|
| 1073 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium">
|
| 1074 |
+
<button class="text-blue-600 hover:text-blue-900 mr-2">Edit</button>
|
| 1075 |
+
<button class="text-gray-600 hover:text-gray-900">Reset</button>
|
| 1076 |
+
</td>
|
| 1077 |
+
</tr>
|
| 1078 |
+
<tr>
|
| 1079 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium text-gray-900">Sarah Johnson</td>
|
| 1080 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Group B</td>
|
| 1081 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Supervisor</td>
|
| 1082 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium">
|
| 1083 |
+
<button class="text-blue-600 hover:text-blue-900 mr-2">Edit</button>
|
| 1084 |
+
<button class="text-gray-600 hover:text-gray-900">Reset</button>
|
| 1085 |
+
</td>
|
| 1086 |
+
</tr>
|
| 1087 |
+
<tr>
|
| 1088 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium text-gray-900">Michael Brown</td>
|
| 1089 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Group A</td>
|
| 1090 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Member</td>
|
| 1091 |
+
<td class="px-4 py-2 whitespace-nowrap text-sm font-medium">
|
| 1092 |
+
<button class="text-blue-600 hover:text-blue-900 mr-2">Edit</button>
|
| 1093 |
+
<button class="text-gray-600 hover:text-gray-900">Reset</button>
|
| 1094 |
+
</td>
|
| 1095 |
+
</tr>
|
| 1096 |
+
</tbody>
|
| 1097 |
+
</table>
|
| 1098 |
+
</div>
|
| 1099 |
+
</div>
|
| 1100 |
+
|
| 1101 |
+
<div class="bg-white p-4 rounded-lg shadow-sm">
|
| 1102 |
+
<div class="flex justify-between items-center mb-4">
|
| 1103 |
+
<h3 class="font-medium">System Configuration</h3>
|
| 1104 |
+
<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">
|
| 1105 |
+
<i class="fas fa-save mr-1"></i> Save
|
| 1106 |
+
</button>
|
| 1107 |
+
</div>
|
| 1108 |
+
<div class="space-y-4">
|
| 1109 |
+
<div>
|
| 1110 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Shift Times</label>
|
| 1111 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-3">
|
| 1112 |
+
<div>
|
| 1113 |
+
<label class="block text-xs text-gray-500 mb-1">Morning</label>
|
| 1114 |
+
<div class="grid grid-cols-2 gap-2">
|
| 1115 |
+
<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">
|
| 1116 |
+
<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">
|
| 1117 |
+
</div>
|
| 1118 |
+
</div>
|
| 1119 |
+
<div>
|
| 1120 |
+
<label class="block text-xs text-gray-500 mb-1">Evening</label>
|
| 1121 |
+
<div class="grid grid-cols-2 gap-2">
|
| 1122 |
+
<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">
|
| 1123 |
+
<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">
|
| 1124 |
+
</div>
|
| 1125 |
+
</div>
|
| 1126 |
+
<div>
|
| 1127 |
+
<label class="block text-xs text-gray-500 mb-1">Night</label>
|
| 1128 |
+
<div class="grid grid-cols-2 gap-2">
|
| 1129 |
+
<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">
|
| 1130 |
+
<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">
|
| 1131 |
+
</div>
|
| 1132 |
+
</div>
|
| 1133 |
+
</div>
|
| 1134 |
+
</div>
|
| 1135 |
+
|
| 1136 |
+
<div>
|
| 1137 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Reminder Settings</label>
|
| 1138 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-3">
|
| 1139 |
+
<div>
|
| 1140 |
+
<label class="block text-xs text-gray-500 mb-1">First Reminder</label>
|
| 1141 |
+
<select class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
|
| 1142 |
+
<option>30 minutes before deadline</option>
|
| 1143 |
+
<option>1 hour before deadline</option>
|
| 1144 |
+
<option>2 hours before deadline</option>
|
| 1145 |
+
</select>
|
| 1146 |
+
</div>
|
| 1147 |
+
<div>
|
| 1148 |
+
<label class="block text-xs text-gray-500 mb-1">Escalation Time</label>
|
| 1149 |
+
<select class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
|
| 1150 |
+
<option>15 minutes after deadline</option>
|
| 1151 |
+
<option>30 minutes after deadline</option>
|
| 1152 |
+
<option>1 hour after deadline</option>
|
| 1153 |
+
</select>
|
| 1154 |
+
</div>
|
| 1155 |
+
</div>
|
| 1156 |
+
</div>
|
| 1157 |
+
|
| 1158 |
+
<div>
|
| 1159 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Data Retention</label>
|
| 1160 |
+
<div class="flex items-center">
|
| 1161 |
+
<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">
|
| 1162 |
+
<span class="text-sm text-gray-500">days (0 for unlimited)</span>
|
| 1163 |
+
</div>
|
| 1164 |
+
</div>
|
| 1165 |
+
</div>
|
| 1166 |
+
</div>
|
| 1167 |
+
</div>
|
| 1168 |
+
</div>
|
| 1169 |
+
</div>
|
| 1170 |
+
</div>
|
| 1171 |
+
|
| 1172 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 1173 |
+
<script>
|
| 1174 |
+
// Set current date
|
| 1175 |
+
const now = new Date();
|
| 1176 |
+
const options = { year: 'numeric', month: 'long', day: 'numeric' };
|
| 1177 |
+
document.getElementById('current-date').textContent = now.toLocaleDateString('en-US', options);
|
| 1178 |
+
|
| 1179 |
+
// Mobile
|
| 1180 |
+
<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>
|
| 1181 |
+
</html>
|