deepsite-project-2u02q / reports.html
MoShow's picture
Initial DeepSite commit
4fc5d1c verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reports - Staff Safety Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/lucide@latest"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body { font-family: 'Inter', sans-serif; }
.safety-gradient {
background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}
</style>
</head>
<body class="bg-gray-50 text-gray-800">
<!-- Sidebar -->
<aside id="sidebar" class="fixed left-0 top-0 h-full w-64 bg-white shadow-xl transform -translate-x-full md:translate-x-0 transition-transform duration-300 z-40">
<div class="p-6 border-b border-gray-100">
<div class="flex items-center space-x-3">
<div class="w-10 h-10 safety-gradient rounded-lg flex items-center justify-center">
<i data-lucide="shield-check" class="text-white w-6 h-6"></i>
</div>
<div>
<h1 class="font-bold text-lg text-gray-900">SafeTeam</h1>
<p class="text-xs text-gray-500">Safety Management</p>
</div>
</div>
</div>
<nav class="p-4 space-y-2">
<a href="index.html" class="flex items-center space-x-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i>
<span>Dashboard</span>
</a>
<a href="incidents.html" class="flex items-center space-x-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="alert-triangle" class="w-5 h-5"></i>
<span>Incidents</span>
<span class="ml-auto bg-red-500 text-white text-xs px-2 py-0.5 rounded-full">3</span>
</a>
<a href="training.html" class="flex items-center space-x-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="graduation-cap" class="w-5 h-5"></i>
<span>Training</span>
</a>
<a href="live-map.html" class="flex items-center space-x-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="map" class="w-5 h-5"></i>
<span>Live Map</span>
</a>
<a href="equipment.html" class="flex items-center space-x-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="hard-hat" class="w-5 h-5"></i>
<span>Equipment</span>
</a>
<a href="reports.html" class="flex items-center space-x-3 px-4 py-3 bg-blue-50 text-blue-700 rounded-xl font-medium">
<i data-lucide="file-text" class="w-5 h-5"></i>
<span>Reports</span>
</a>
<a href="emergency.html" class="flex items-center space-x-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="phone-call" class="w-5 h-5"></i>
<span>Emergency</span>
</a>
</nav>
<div class="absolute bottom-0 left-0 right-0 p-4 border-t border-gray-100">
<div class="flex items-center space-x-3 px-4 py-3">
<img src="http://static.photos/people/100x100/42" alt="User" class="w-10 h-10 rounded-full object-cover">
<div>
<p class="text-sm font-medium text-gray-900">Safety Manager</p>
<p class="text-xs text-gray-500">Admin</p>
</div>
</div>
</div>
</aside>
<!-- Main Content -->
<main class="md:ml-64 min-h-screen">
<header class="bg-white shadow-sm sticky top-0 z-30">
<div class="flex items-center justify-between px-6 py-4">
<div class="flex items-center space-x-4">
<button id="menu-toggle" class="md:hidden p-2 hover:bg-gray-100 rounded-lg">
<i data-lucide="menu" class="w-6 h-6"></i>
</button>
<div>
<h2 class="text-2xl font-bold text-gray-900">Safety Reports</h2>
<p class="text-sm text-gray-500">Generate and download compliance reports</p>
</div>
</div>
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg font-medium flex items-center space-x-2 transition-colors">
<i data-lucide="download" class="w-5 h-5"></i>
<span>Export All</span>
</button>
</div>
</header>
<div class="p-6 space-y-6">
<!-- Report Templates -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="bg-white rounded-2xl p-6 shadow-sm border border-gray-100 hover:shadow-md transition-shadow cursor-pointer">
<div class="flex items-start justify-between">
<div class="flex items-start space-x-4">
<div class="w-12 h-12 bg-blue-100 rounded-xl flex items-center justify-center">
<i data-lucide="file-bar-chart" class="w-6 h-6 text-blue-600"></i>
</div>
<div>
<h4 class="font-semibold text-gray-900">Monthly Safety Summary</h4>
<p class="text-sm text-gray-500 mt-1">Comprehensive monthly incident and compliance report</p>
<div class="flex items-center space-x-2 mt-3">
<span class="text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded">PDF</span>
<span class="text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded">Auto-generated</span>
</div>
</div>
</div>
<button class="text-blue-600 hover:bg-blue-50 p-2 rounded-lg transition-colors">
<i data-lucide="download" class="w-5 h-5"></i>
</button>
</div>
</div>
<div class="bg-white rounded-2xl p-6 shadow-sm border border-gray-100 hover:shadow-md transition-shadow cursor-pointer">
<div class="flex items-start justify-between">
<div class="flex items-start space-x-4">
<div class="w-12 h-12 bg-green-100 rounded-xl flex items-center justify-center">
<i data-lucide="clipboard-check" class="w-6 h-6 text-green-600"></i>
</div>
<div>
<h4 class="font-semibold text-gray-900">Training Compliance Report</h4>
<p class="text-sm text-gray-500 mt-1">Staff certification status and upcoming renewals</p>
<div class="flex items-center space-x-2 mt-3">
<span class="text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded">Excel</span>
<span class="text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded">Weekly</span>
</div>
</div>
</div>
<button class="text-blue-600 hover:bg-blue-50 p-2 rounded-lg transition-colors">
<i data-lucide="download" class="w-5 h-5"></i>
</button>
</div>
</div>
<div class="bg-white rounded-2xl p-6 shadow-sm border border-gray-100 hover:shadow-md transition-shadow cursor-pointer">
<div class="flex items-start justify-between">
<div class="flex items-start space-x-4">
<div class="w-12 h-12 bg-orange-100 rounded-xl flex items-center justify-center">
<i data-lucide="alert-octagon" class="w-6 h-6 text-orange-600"></i>
</div>
<div>
<h4 class="font-semibold text-gray-900">Incident Analysis</h4>
<p class="text-sm text-gray-500 mt-1">Trends, root cause analysis, and recommendations</p>
<div class="flex items-center space-x-2 mt-3">
<span class="text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded">PDF</span>
<span class="text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded">Quarterly</span>
</div>
</div>
</div>
<button class="text-blue-600 hover:bg-blue-50 p-2 rounded-lg transition-colors">
<i data-lucide="download" class="w-5 h-5"></i>
</button>
</div>
</div>
<div class="bg-white rounded-2xl p-6 shadow-sm border border-gray-100 hover:shadow-md transition-shadow cursor-pointer">
<div class="flex items-start justify-between">
<div class="flex items-start space-x-4">
<div class="w-12 h-12 bg-purple-100 rounded-xl flex items-center justify-center">
<i data-lucide="hard-hat" class="w-6 h-6 text-purple-600"></i>
</div>
<div>
<h4 class="font-semibold text-gray-900">Equipment Audit Report</h4>
<p class="text-sm text-gray-500 mt-1">Inventory status and maintenance schedules</p>
<div class="flex items-center space-x-2 mt-3">
<span class="text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded">PDF</span>
<span class="text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded">Monthly</span>
</div>
</div>
</div>
<button class="text-blue-600 hover:bg-blue-50 p-2 rounded-lg transition-colors">
<i data-lucide="download" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Recent Reports -->
<div class="bg-white rounded-2xl shadow-sm border border-gray-100">
<div class="p-6 border-b border-gray-100">
<h3 class="text-lg font-bold text-gray-900">Recently Generated</h3>
</div>
<div class="divide-y divide-gray-200">
<div class="p-4 flex items-center justify-between hover:bg-gray-50">
<div class="flex items-center space-x-4">
<i data-lucide="file-text" class="w-5 h-5 text-gray-400"></i>
<div>
<p class="font-medium text-gray-900">Safety_Summary_October_2024.pdf</p>
<p class="text-sm text-gray-500">Generated on Oct 24, 2024 • 2.4 MB</p>
</div>
</div>
<button class="text-blue-600 hover:text-blue-700 text-sm font-medium">Download</button>
</div>
<div class="p-4 flex items-center justify-between hover:bg-gray-50">
<div class="flex items-center space-x-4">
<i data-lucide="file-spreadsheet" class="w-5 h-5 text-gray-400"></i>
<div>
<p class="font-medium text-gray-900">Training_Compliance_Week_43.xlsx</p>
<p class="text-sm text-gray-500">Generated on Oct 23, 2024 • 1.8 MB</p>
</div>
</div>
<button class="text-blue-600 hover:text-blue-700 text-sm font-medium">Download</button>
</div>
</div>
</div>
</div>
</main>
<script>
lucide.createIcons();
const sidebar = document.getElementById('sidebar');
const menuToggle = document.getElementById('menu-toggle');
menuToggle.addEventListener('click', () => {
sidebar.classList.toggle('-translate-x-full');
});
</script>
</body>
</html>