run2live's picture
CardAdmitted Carlos Aguirre 479623 09:33.0 NOVI-Main Vestibule Entrance
c679470 verified
Raw History Blame Contribute Delete
7.52 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CardAccess Tracker Pro</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold text-gray-800">Card Access Analytics</h1>
<div class="flex space-x-4">
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg flex items-center">
<i data-feather="download" class="mr-2"></i> Export
</button>
<button class="bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-lg flex items-center">
<i data-feather="filter" class="mr-2"></i> Filters
</button>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<!-- Stats Cards -->
<div class="bg-white p-6 rounded-lg shadow">
<div class="flex items-center">
<div class="p-3 rounded-full bg-blue-100 text-blue-600">
<i data-feather="user-check"></i>
</div>
<div class="ml-4">
<p class="text-gray-500">Total Admissions</p>
<h3 class="text-2xl font-bold">1,247</h3>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow">
<div class="flex items-center">
<div class="p-3 rounded-full bg-red-100 text-red-600">
<i data-feather="user-x"></i>
</div>
<div class="ml-4">
<p class="text-gray-500">Rejections</p>
<h3 class="text-2xl font-bold">6</h3>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow">
<div class="flex items-center">
<div class="p-3 rounded-full bg-green-100 text-green-600">
<i data-feather="clock"></i>
</div>
<div class="ml-4">
<p class="text-gray-500">Avg. Time</p>
<h3 class="text-2xl font-bold">28:14</h3>
</div>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow mb-8">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-semibold text-gray-800">Recent Access Logs</h2>
<div class="relative">
<input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border rounded-lg">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i>
</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">Status</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Name</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ID</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Time</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Location</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<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">Admitted</span>
</td>
<td class="px-6 py-4 whitespace-nowrap">Nikhil Aphale</td>
<td class="px-6 py-4 whitespace-nowrap">259339</td>
<td class="px-6 py-4 whitespace-nowrap">09:33.0</td>
<td class="px-6 py-4 whitespace-nowrap">NOVI-Main Vestibule Entrance</td>
</tr>
<tr>
<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">Admitted</span>
</td>
<td class="px-6 py-4 whitespace-nowrap">Kareem Arafat</td>
<td class="px-6 py-4 whitespace-nowrap">456217</td>
<td class="px-6 py-4 whitespace-nowrap">45:55.0</td>
<td class="px-6 py-4 whitespace-nowrap">NOVI-Main Vestibule Entrance</td>
</tr>
<tr>
<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">Rejected</span>
</td>
<td class="px-6 py-4 whitespace-nowrap">Alan Bilbrey</td>
<td class="px-6 py-4 whitespace-nowrap">436507</td>
<td class="px-6 py-4 whitespace-nowrap">08:17.0</td>
<td class="px-6 py-4 whitespace-nowrap">NOVI-Main Vestibule Entrance</td>
</tr>
<!-- More rows would be added dynamically -->
</tbody>
</table>
</div>
<div class="flex justify-between items-center mt-6">
<div class="text-sm text-gray-500">Showing 1 to 10 of 1,247 entries</div>
<div class="flex space-x-2">
<button class="px-3 py-1 border rounded-lg text-gray-700">Previous</button>
<button class="px-3 py-1 border rounded-lg bg-blue-500 text-white">1</button>
<button class="px-3 py-1 border rounded-lg text-gray-700">2</button>
<button class="px-3 py-1 border rounded-lg text-gray-700">3</button>
<button class="px-3 py-1 border rounded-lg text-gray-700">Next</button>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script>
feather.replace();
</script>
<script src="script.js"></script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>