Spaces:
Running

File size: 16,824 Bytes
f68b09e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!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>