Spaces:
Running
Running
File size: 14,494 Bytes
ff220e4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | <!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> |