Spaces:
Running

undefined / materials.html
ekonkati's picture
now start linking and make it more interactive with realistic data.
f68b09e verified
Raw History Blame Contribute Delete
16.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Materials | BuildCost Pro</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gray-50">
<div class="min-h-screen flex flex-col">
<!-- 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">
<a href="index.html" class="flex-shrink-0 flex items-center">
<i data-feather="calculator" class="w-8 h-8 text-blue-600"></i>
<span class="ml-2 text-xl font-bold text-blue-600">BuildCost Pro</span>
</a>
</div>
<div class="hidden md:ml-6 md:flex items-center space-x-8">
<a href="index.html" class="text-gray-600 hover:text-blue-600 transition">Home</a>
<a href="calculator.html" class="text-gray-600 hover:text-blue-600 transition">Calculator</a>
<a href="projects.html" class="text-gray-600 hover:text-blue-600 transition">Projects</a>
<a href="reports.html" class="text-gray-600 hover:text-blue-600 transition">Reports</a>
<a href="materials.html" class="text-blue-600 font-medium">Materials</a>
<div class="flex items-center space-x-2">
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center">
<i data-feather="user" class="w-4 h-4 text-blue-600"></i>
</div>
<span class="text-sm font-medium">John D.</span>
</div>
</div>
<div class="-mr-2 flex items-center md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-700 hover:text-blue-600 hover:bg-gray-100">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<main class="flex-grow">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="mb-8">
<h1 class="text-3xl font-bold text-gray-900">Material Rates</h1>
<p class="text-gray-600 mt-2">Current market rates for construction materials</p>
</div>
<div class="bg-white rounded-xl shadow-md border border-gray-200 overflow-hidden mb-8">
<div class="px-6 py-4 border-b border-gray-200 flex justify-between items-center">
<h2 class="text-lg font-semibold text-gray-900">Material Price Index</h2>
<div class="flex items-center space-x-4">
<div class="relative">
<select class="appearance-none bg-gray-100 border border-gray-300 rounded-md px-4 py-2 pr-8 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500">
<option>Bangalore</option>
<option>Mumbai</option>
<option>Delhi</option>
<option>Chennai</option>
<option>Hyderabad</option>
</select>
<i data-feather="chevron-down" class="absolute right-3 top-2.5 w-4 h-4 text-gray-500 pointer-events-none"></i>
</div>
<div class="relative">
<select class="appearance-none bg-gray-100 border border-gray-300 rounded-md px-4 py-2 pr-8 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500">
<option>March 2023</option>
<option>February 2023</option>
<option>January 2023</option>
<option>December 2022</option>
</select>
<i data-feather="chevron-down" class="absolute right-3 top-2.5 w-4 h-4 text-gray-500 pointer-events-none"></i>
</div>
</div>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Material</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Unit</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Current Rate</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Last Month</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">% Change</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Source</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm font-medium text-gray-900">Cement (OPC 53 Grade)</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">50kg bag</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹410</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">₹395</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-red-600 font-medium">+3.8%</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">ACC</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm font-medium text-gray-900">Steel (Fe 500D)</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Quintal</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹5,450</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">₹5,620</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-green-600 font-medium">-3.0%</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">SAIL</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm font-medium text-gray-900">Coarse Sand</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Cum</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹1,200</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">₹1,150</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-red-600 font-medium">+4.3%</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Local</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm font-medium text-gray-900">Bricks (1st Class)</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1000 Nos</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹6,800</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">₹6,500</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-red-600 font-medium">+4.6%</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Local</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm font-medium text-gray-900">Crushed Stone (20mm)</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Cum</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹900</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">₹920</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-green-600 font-medium">-2.2%</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Local</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm font-medium text-gray-900">Ready Mix Concrete (M20)</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Cum</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹4,250</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">₹4,100</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-red-600 font-medium">+3.7%</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">RMC Plant</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm font-medium text-gray-900">Ceramic Tiles (2'x2')</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sqft</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹45</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">₹48</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-green-600 font-medium">-6.3%</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Kajaria</td>
</tr>
</tbody>
</table>
</div>
<div class="px-6 py-4 border-t border-gray-200 bg-gray-50 text-right">
<span class="text-sm text-gray-500">Updated: 15 March 2023</span>
</div>
</div>
<div class="grid md:grid-cols-2 gap-8">
<!-- Price Trend Chart -->
<div class="bg-white rounded-xl shadow-md border border-gray-200 p-6">
<div class="flex justify-between items-center mb-6">
<h2 class="text-lg font-semibold text-gray-900">Price Trends (6 Months)</h2>
<select class="bg-gray-100 border border-gray-300 rounded-md px-3 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500">
<option>Cement (OPC 53)</option>
<option>Steel (Fe 500D)</option>
<option>Bricks</option>
<option>Sand</option>
</select>
</div>
<div class="h-64 bg-gray-50 rounded-md flex items-center justify-center">
<p class="text-gray-500">Price trend chart will appear here</p>
</div>
</div>
<!-- Material Suppliers -->
<div class="bg-white rounded-xl shadow-md border border-gray-200 p-6">
<div class="flex justify-between items-center mb-6">
<h2 class="text-lg font-semibold text-gray-900">Material Suppliers</h2>
<button class="text-blue-600 hover:text-blue-800 text-sm font-medium flex items-center">
<i data-feather="plus" class="w-4 h-4 mr-1"></i> Add Supplier
</button>
</div>
<div class="space-y-4">
<div class="flex items-center p-3 border border-gray-200 rounded-md">
<div class="p-2 rounded-full bg-blue-100 text-blue-600 mr-4">
<i data-feather="truck" class="w-5 h-5"></i>
</div>
<div>
<h3 class="text-sm font-medium text-gray-900">Bangalore Cement Suppliers</h3>
<p class="text-xs text-gray-500">Contact: Ramesh - 9845012345</p>
</div>
</div>
<div class="flex items-center p-3 border border-gray-200 rounded-md">
<div class="p-2 rounded-full bg-green-100 text-green-600 mr-4">
<i data-feather="box" class="w-5 h-5"></i>
</div>
<div>
<h3 class="text-sm font-medium text-gray-900">Steel & Hardware Mart</h3>
<p class="text-xs text-gray-500">Contact: Suresh - 9845023456</p>
</div>
</div>
<div class="flex items-center p-3 border border-gray-200 rounded-md">
<div class="p-2 rounded-full bg-yellow-100 text-yellow-600 mr-4">
<i data-feather="home" class="w-5 h-5"></i>
</div>
<div>
<h3 class="text-sm font-medium text-gray-900">Rajeshwari Bricks</h3>
<p class="text-xs text-gray-500">Contact: Mohan - 9845034567</p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-100 border-t border-gray-200 py-8">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center">
<p class="text-sm text-gray-500">&copy; 2023 BuildCost Pro. All rights reserved.</p>
</div>
</div>
</footer>
</div>
<script>
feather.replace();
</script>
</body>
</html>