Spaces:
Running
Running
File size: 16,659 Bytes
dfd5bc8 |
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 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Track Complaint - Yadgir Water Supply</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Poppins', sans-serif;
}
.status-pending {
border-left: 4px solid #f59e0b;
}
.status-inprogress {
border-left: 4px solid #3b82f6;
}
.status-resolved {
border-left: 4px solid #10b981;
}
.status-rejected {
border-left: 4px solid #ef4444;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Header -->
<header class="bg-blue-600 text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="droplet" class="w-8 h-8"></i>
<h1 class="text-2xl font-bold">Yadgir Water Supply</h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="index.html" class="hover:text-blue-200 font-medium">Home</a>
<a href="complaints.html" class="hover:text-blue-200 font-medium">File Complaint</a>
<a href="#" class="text-blue-200 font-medium">Track Complaint</a>
<a href="about.html" class="hover:text-blue-200 font-medium">About</a>
</nav>
<button class="md:hidden" id="mobile-menu-button">
<i data-feather="menu" class="w-6 h-6"></i>
</button>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<div class="max-w-4xl mx-auto">
<div class="bg-white rounded-xl shadow-md overflow-hidden mb-8" data-aos="fade-up">
<div class="bg-blue-600 text-white p-6">
<h1 class="text-2xl font-bold">Track Your Complaint</h1>
<p class="mt-2">Check the status of your submitted water supply complaint</p>
</div>
<div class="p-6">
<div class="mb-6">
<label for="complaintId" class="block text-gray-700 font-medium mb-2">Complaint ID</label>
<div class="flex">
<input type="text" id="complaintId" placeholder="Enter your complaint ID" class="flex-grow px-4 py-2 border border-gray-300 rounded-l-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<button class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-r-lg transition duration-300">
Track
</button>
</div>
</div>
<div class="text-center">
<p class="text-gray-600">OR</p>
<button class="mt-4 text-blue-600 hover:text-blue-800 font-medium flex items-center justify-center mx-auto">
<i data-feather="smartphone" class="w-5 h-5 mr-2"></i>
Track using registered mobile number
</button>
</div>
</div>
</div>
<!-- Sample Complaint Status (hidden by default) -->
<div id="complaint-status" class="hidden bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up">
<div class="p-6 border-b border-gray-200">
<div class="flex justify-between items-center">
<div>
<h2 class="text-xl font-bold text-gray-800">Complaint #WS2023001234</h2>
<p class="text-gray-600">Submitted on: 15 June 2023, 10:45 AM</p>
</div>
<span class="px-3 py-1 rounded-full text-sm font-medium bg-green-100 text-green-800">Resolved</span>
</div>
</div>
<div class="p-6">
<div class="mb-6">
<h3 class="text-lg font-semibold text-gray-800 mb-3">Complaint Details</h3>
<div class="bg-gray-50 p-4 rounded-lg">
<div class="grid md:grid-cols-2 gap-4">
<div>
<p class="text-gray-600">Complaint Type</p>
<p class="font-medium">No Water Supply</p>
</div>
<div>
<p class="text-gray-600">Location</p>
<p class="font-medium">Ward 5, Yadgir</p>
</div>
<div>
<p class="text-gray-600">Registered By</p>
<p class="font-medium">Ramesh Kumar</p>
</div>
<div>
<p class="text-gray-600">Contact</p>
<p class="font-medium">9876543210</p>
</div>
</div>
<div class="mt-4">
<p class="text-gray-600">Description</p>
<p class="font-medium">No water supply since yesterday morning in our area. The taps are completely dry.</p>
</div>
</div>
</div>
<div>
<h3 class="text-lg font-semibold text-gray-800 mb-3">Status Timeline</h3>
<div class="space-y-4">
<div class="status-resolved bg-white p-4 rounded-lg shadow-sm">
<div class="flex items-start">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 flex items-center justify-center">
<i data-feather="check" class="w-5 h-5 text-green-600"></i>
</div>
<div class="ml-4">
<div class="flex items-center justify-between">
<h4 class="text-md font-medium text-gray-800">Complaint Resolved</h4>
<span class="text-sm text-gray-500">16 June 2023, 11:30 AM</span>
</div>
<p class="mt-1 text-gray-600">The water supply has been restored. The issue was due to a valve malfunction which has been fixed.</p>
</div>
</div>
</div>
<div class="status-inprogress bg-white p-4 rounded-lg shadow-sm">
<div class="flex items-start">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center">
<i data-feather="tool" class="w-5 h-5 text-blue-600"></i>
</div>
<div class="ml-4">
<div class="flex items-center justify-between">
<h4 class="text-md font-medium text-gray-800">Work In Progress</h4>
<span class="text-sm text-gray-500">16 June 2023, 9:15 AM</span>
</div>
<p class="mt-1 text-gray-600">Our team has identified the issue and is working on it. Expected resolution within 2 hours.</p>
</div>
</div>
</div>
<div class="status-pending bg-white p-4 rounded-lg shadow-sm">
<div class="flex items-start">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-yellow-100 flex items-center justify-center">
<i data-feather="clock" class="w-5 h-5 text-yellow-600"></i>
</div>
<div class="ml-4">
<div class="flex items-center justify-between">
<h4 class="text-md font-medium text-gray-800">Complaint Registered</h4>
<span class="text-sm text-gray-500">15 June 2023, 10:45 AM</span>
</div>
<p class="mt-1 text-gray-600">Your complaint has been registered and assigned to our field team. They will inspect the issue shortly.</p>
</div>
</div>
</div>
</div>
</div>
<div class="mt-8">
<h3 class="text-lg font-semibold text-gray-800 mb-3">Attachments</h3>
<div class="flex space-x-4">
<div class="border border-gray-200 rounded-lg p-3 flex items-center">
<i data-feather="image" class="w-6 h-6 text-gray-500 mr-2"></i>
<span class="text-sm">photo_1.jpg</span>
</div>
</div>
</div>
<div class="mt-8 pt-6 border-t border-gray-200">
<h3 class="text-lg font-semibold text-gray-800 mb-3">Rate Your Experience</h3>
<div class="flex items-center space-x-2">
<button class="text-gray-400 hover:text-yellow-400 transition">
<i data-feather="star" class="w-6 h-6"></i>
</button>
<button class="text-gray-400 hover:text-yellow-400 transition">
<i data-feather="star" class="w-6 h-6"></i>
</button>
<button class="text-gray-400 hover:text-yellow-400 transition">
<i data-feather="star" class="w-6 h-6"></i>
</button>
<button class="text-gray-400 hover:text-yellow-400 transition">
<i data-feather="star" class="w-6 h-6"></i>
</button>
<button class="text-gray-400 hover:text-yellow-400 transition">
<i data-feather="star" class="w-6 h-6"></i>
</button>
</div>
<textarea class="mt-3 w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" rows="2" placeholder="Additional feedback (optional)"></textarea>
<button class="mt-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-lg transition duration-300">
Submit Feedback
</button>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8 mt-12">
<div class="container mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">Yadgir Water Supply</h3>
<p class="text-gray-400">A DBOT project for efficient water supply complaint management in Yadgir District, Karnataka.</p>
</div>
<div>
<h4 class="font-bold mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="index.html" class="text-gray-400 hover:text-white transition">Home</a></li>
<li><a href="complaints.html" class="text-gray-400 hover:text-white transition">File Complaint</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Track Complaint</a></li>
<li><a href="about.html" class="text-gray-400 hover:text-white transition">About Us</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Contact</h4>
<ul class="space-y-2 text-gray-400">
<li class="flex items-center"><i data-feather="mail" class="w-4 h-4 mr-2"></i> complaints@yadgirwater.org</li>
<li class="flex items-center"><i data-feather="phone" class="w-4 h-4 mr-2"></i> 080-23456789</li>
<li class="flex items-center"><i data-feather="map-pin" class="w-4 h-4 mr-2"></i> Yadgir, Karnataka</li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Follow Us</h4>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="instagram"></i></a>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
<p>© 2023 Yadgir Water Supply DBOT Project. All rights reserved.</p>
</div>
</div>
</footer>
<!-- Mobile Menu -->
<div id="mobile-menu" class="fixed inset-0 bg-black bg-opacity-75 z-50 hidden">
<div class="absolute right-0 top-0 w-64 h-full bg-white shadow-lg">
<div class="p-4 flex justify-end">
<button id="close-mobile-menu">
<i data-feather="x" class="w-6 h-6"></i>
</button>
</div>
<nav class="flex flex-col p-4 space-y-4">
<a href="index.html" class="text-gray-800 hover:text-blue-600 font-medium py-2">Home</a>
<a href="complaints.html" class="text-gray-800 hover:text-blue-600 font-medium py-2">File Complaint</a>
<a href="#" class="text-blue-600 font-medium py-2">Track Complaint</a>
<a href="about.html" class="text-gray-800 hover:text-blue-600 font-medium py-2">About</a>
</nav>
</div>
</div>
<script>
AOS.init();
feather.replace();
// Mobile menu toggle
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileMenu = document.getElementById('mobile-menu');
const closeMobileMenu = document.getElementById('close-mobile-menu');
mobileMenuButton.addEventListener('click', () => {
mobileMenu.classList.remove('hidden');
});
closeMobileMenu.addEventListener('click', () => {
mobileMenu.classList.add('hidden');
});
// For demo purposes - show complaint status when tracking
document.querySelector('button[type="button"]').addEventListener('click', function() {
document.getElementById('complaint-status').classList.remove('hidden');
});
</script>
</body>
</html>
|