undefined / reports.html
warmanintown's picture
make the buttons workiing
ff220e4 verified
Raw History Blame Contribute Delete
14.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reports | GridGuardian</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i data-feather="zap" class="text-blue-500 h-8 w-8"></i>
<span class="ml-2 text-xl font-bold text-gray-900">GridGuardian</span>
</div>
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
<a href="dashboard.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
Dashboard
</a>
<a href="projects.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
Projects
</a>
<a href="analysis.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
Risk Analysis
</a>
<a href="reports.html" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
Reports
</a>
</div>
</div>
<div class="hidden sm:ml-6 sm:flex sm:items-center">
<button class="bg-blue-500 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
<i data-feather="plus" class="mr-2 h-4 w-4"></i>
Generate Report
</button>
</div>
</div>
</div>
</nav>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-2xl font-bold text-gray-900">Project Reports</h1>
<div class="flex items-center space-x-3">
<div class="relative">
<input type="text" placeholder="Search reports..." class="pl-8 pr-4 py-2 border border-gray-300 rounded-md text-sm">
<i data-feather="search" class="absolute left-2.5 top-2.5 h-4 w-4 text-gray-400"></i>
</div>
<button class="flex items-center px-3 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
<i data-feather="filter" class="mr-2 h-4 w-4"></i>
Filter
</button>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8">
<div class="bg-white p-6 rounded-lg shadow border-l-4 border-blue-500">
<div class="flex justify-between items-start">
<div>
<h3 class="text-lg font-medium text-gray-900">Q2 2023 Risk Summary</h3>
<p class="text-sm text-gray-500 mt-1">Generated: June 30, 2023</p>
</div>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
Published
</span>
</div>
<p class="mt-3 text-sm text-gray-600">
Comprehensive analysis of risk factors across all projects during Q2, including material shortages and monsoon impacts.
</p>
<div class="mt-6 flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i data-feather="file-text" class="mr-2 h-4 w-4"></i>
PDF, 2.4 MB
</div>
<div class="flex space-x-2">
<button class="text-blue-500 hover:text-blue-700">
<i data-feather="download"></i>
</button>
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="share-2"></i>
</button>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow border-l-4 border-yellow-500">
<div class="flex justify-between items-start">
<div>
<h3 class="text-lg font-medium text-gray-900">Maharashtra Coastal Grid</h3>
<p class="text-sm text-gray-500 mt-1">Generated: June 15, 2023</p>
</div>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800">
Draft
</span>
</div>
<p class="mt-3 text-sm text-gray-600">
Special report on monsoon preparedness and risk mitigation strategies for coastal Maharashtra projects.
</p>
<div class="mt-6 flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i data-feather="file-text" class="mr-2 h-4 w-4"></i>
PDF, 1.8 MB
</div>
<div class="flex space-x-2">
<button class="text-blue-500 hover:text-blue-700">
<i data-feather="download"></i>
</button>
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="edit"></i>
</button>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow border-l-4 border-red-500">
<div class="flex justify-between items-start">
<div>
<h3 class="text-lg font-medium text-gray-900">Material Shortage Alert</h3>
<p class="text-sm text-gray-500 mt-1">Generated: May 28, 2023</p>
</div>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-red-100 text-red-800">
Critical
</span>
</div>
<p class="mt-3 text-sm text-gray-600">
Analysis of steel supply chain disruptions and recommended mitigation actions for northern region projects.
</p>
<div class="mt-6 flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i data-feather="file-text" class="mr-2 h-4 w-4"></i>
PDF, 1.2 MB
</div>
<div class="flex space-x-2">
<button class="text-blue-500 hover:text-blue-700">
<i data-feather="download"></i>
</button>
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="share-2"></i>
</button>
</div>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-medium text-gray-900">Report Templates</h3>
<button class="text-sm text-blue-500 font-medium">View All</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="border border-gray-200 rounded-lg p-4 hover:border-blue-500 transition-colors cursor-pointer">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center">
<i data-feather="file-text" class="text-blue-500"></i>
</div>
<div class="ml-4">
<h4 class="text-sm font-medium text-gray-900">Monthly Risk Report</h4>
<p class="text-xs text-gray-500 mt-1">Standard format for monthly updates</p>
</div>
</div>
</div>
<div class="border border-gray-200 rounded-lg p-4 hover:border-blue-500 transition-colors cursor-pointer">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 flex items-center justify-center">
<i data-feather="trending-up" class="text-green-500"></i>
</div>
<div class="ml-4">
<h4 class="text-sm font-medium text-gray-900">Quarterly Trends</h4>
<p class="text-xs text-gray-500 mt-1">Comparative analysis by quarter</p>
</div>
</div>
</div>
<div class="border border-gray-200 rounded-lg p-4 hover:border-blue-500 transition-colors cursor-pointer">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-red-100 flex items-center justify-center">
<i data-feather="alert-triangle" class="text-red-500"></i>
</div>
<div class="ml-4">
<h4 class="text-sm font-medium text-gray-900">Critical Alert</h4>
<p class="text-xs text-gray-500 mt-1">Emergency risk notification</p>
</div>
</div>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow mt-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-medium text-gray-900">Schedule New Report</h3>
</div>
<form class="space-y-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label for="report-type" class="block text-sm font-medium text-gray-700">Report Type</label>
<select id="report-type" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
<option>Monthly Risk Report</option>
<option>Quarterly Trends</option>
<option>Project Health</option>
<option>Material Supply</option>
<option>Custom Report</option>
</select>
</div>
<div>
<label for="frequency" class="block text-sm font-medium text-gray-700">Frequency</label>
<select id="frequency" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
<option>One-time</option>
<option>Daily</option>
<option>Weekly</option>
<option selected>Monthly</option>
<option>Quarterly</option>
</select>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label for="start-date" class="block text-sm font-medium text-gray-700">Start Date</label>
<input type="date" id="start-date" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm">
</div>
<div>
<label for="recipients" class="block text-sm font-medium text-gray-700">Recipients</label>
<input type="text" id="recipients" placeholder="Enter email addresses" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm">
</div>
</div>
<div>
<label for="notes" class="block text-sm font-medium text-gray-700">Notes</label>
<textarea id="notes" rows="3" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"></textarea>
</div>
<div class="flex justify-end">
<button type="button" class="bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Cancel
</button>
<button type="submit" class="ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-blue-500 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Schedule Report
</button>
</div>
</form>
</div>
</div>
<script>
// Initialize feather icons
feather.replace();
</script>
</body>
</html>