Download index.html from ekonkati/undefined: direct link, hf CLI and curl.
- Browser
- Download file 19.1 kB
-
https://huggingface.co/spaces/ekonkati/undefined/resolve/main/index.html
- Command line
-
hf download hf://spaces/ekonkati/undefined/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ekonkati/undefined/resolve/main/index.html
19.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Cost Calculator | 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> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <style> | |
| .active-tab { | |
| background-color: #3b82f6; | |
| color: white; | |
| } | |
| .rate-analysis { | |
| transition: all 0.3s ease; | |
| } | |
| .rate-analysis:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | |
| } | |
| </style> | |
| </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-blue-600 font-medium">Calculator</a> | |
| <a href="#" class="text-gray-600 hover:text-blue-600 transition">Projects</a> | |
| <a href="#" class="text-gray-600 hover:text-blue-600 transition">Reports</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">Construction Cost Calculator</h1> | |
| <p class="text-gray-600 mt-2">Enter project details to calculate comprehensive costs including lead, lift, and other charges</p> | |
| </div> | |
| <div class="grid lg:grid-cols-3 gap-8"> | |
| <!-- Calculator Form --> | |
| <div class="lg:col-span-1 bg-white rounded-xl shadow-md border border-gray-200 p-6 h-fit sticky top-8"> | |
| <div class="flex space-x-2 mb-6"> | |
| <button class="px-4 py-2 rounded-md active-tab font-medium">Item</button> | |
| <button class="px-4 py-2 rounded-md bg-gray-100 text-gray-700 font-medium hover:bg-gray-200">Project</button> | |
| </div> | |
| <form> | |
| <div class="space-y-5"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Search Item</label> | |
| <div class="relative"> | |
| <input type="text" placeholder="Item code or description" class="w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <i data-feather="search" class="absolute left-3 top-2.5 w-5 h-5 text-gray-400"></i> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Quantity</label> | |
| <input type="number" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="0"> | |
| </div> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Lead Distance (km)</label> | |
| <input type="number" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="0"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Lift Height (m)</label> | |
| <input type="number" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="0"> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Loading/Unloading</label> | |
| <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Manual</option> | |
| <option>Mechanical</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Overhead %</label> | |
| <input type="number" value="13.615" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <button class="w-full py-3 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition font-medium flex items-center justify-center space-x-2"> | |
| <i data-feather="plus" class="w-5 h-5"></i> | |
| <span>Add to Project</span> | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| <!-- Results Section --> | |
| <div class="lg:col-span-2 space-y-6"> | |
| <!-- Selected Items --> | |
| <div class="bg-white rounded-xl shadow-md border border-gray-200 p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-xl font-semibold text-gray-900">Selected Items (2)</h2> | |
| <button class="text-sm text-blue-600 hover:text-blue-800 flex items-center"> | |
| <i data-feather="plus-circle" class="w-4 h-4 mr-1"></i> | |
| Add More Items | |
| </button> | |
| </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">Item</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Qty</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Unit Rate</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th> | |
| <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Action</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">IRR-CAW-1-6(a)</div> | |
| <div class="text-sm text-gray-500">Excavation in ordinary soil</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">100</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹245.75</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹24,575.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <button class="text-blue-600 hover:text-blue-900 mr-2"><i data-feather="edit-2" class="w-4 h-4"></i></button> | |
| <button class="text-red-600 hover:text-red-900"><i data-feather="trash-2" class="w-4 h-4"></i></button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm font-medium text-gray-900">IRR-CAW-3-2</div> | |
| <div class="text-sm text-gray-500">Cement concrete (1:2:4)</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹3,845.20</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹57,678.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <button class="text-blue-600 hover:text-blue-900 mr-2"><i data-feather="edit-2" class="w-4 h-4"></i></button> | |
| <button class="text-red-600 hover:text-red-900"><i data-feather="trash-2" class="w-4 h-4"></i></button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| <tfoot class="bg-gray-50"> | |
| <tr> | |
| <td colspan="3" class="px-6 py-3 text-right text-sm font-medium text-gray-500 uppercase">Total</td> | |
| <td class="px-6 py-3 whitespace-nowrap text-sm font-bold text-gray-900">₹82,253.00</td> | |
| <td></td> | |
| </tr> | |
| </tfoot> | |
| </table> | |
| </div> | |
| </div> | |
| <!-- Rate Analysis --> | |
| <div class="bg-white rounded-xl shadow-md border border-gray-200 p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-xl font-semibold text-gray-900">Rate Analysis - IRR-CAW-1-6(a)</h2> | |
| <button class="text-sm text-blue-600 hover:text-blue-800 flex items-center"> | |
| <i data-feather="download" class="w-4 h-4 mr-1"></i> | |
| Export | |
| </button> | |
| </div> | |
| <div class="grid md:grid-cols-2 gap-4 mb-6"> | |
| <div class="rate-analysis bg-blue-50 p-4 rounded-lg"> | |
| <h3 class="font-medium text-blue-800 mb-2">Base Rate Components</h3> | |
| <div class="space-y-3"> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-600">Materials Cost</span> | |
| <span class="font-medium">₹45.20</span> | |
| </div> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-600">Labour Cost</span> | |
| <span class="font-medium">₹125.00</span> | |
| </div> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-600">Machinery Cost</span> | |
| <span class="font-medium">₹75.55</span> | |
| </div> | |
| <div class="border-t border-gray-200 pt-2 flex justify-between text-sm font-semibold"> | |
| <span>Subtotal</span> | |
| <span>₹245.75</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="rate-analysis bg-green-50 p-4 rounded-lg"> | |
| <h3 class="font-medium text-green-800 mb-2">Additional Charges</h3> | |
| <div class="space-y-3"> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-600">Lead Charges (5 km)</span> | |
| <span class="font-medium">₹12.50</span> | |
| </div> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-600">Lift Charges (3 m)</span> | |
| <span class="font-medium">₹8.75</span> | |
| </div> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-600">Loading/Unloading</span> | |
| <span class="font-medium">₹5.00</span> | |
| </div> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-600">Seigniorage Fees</span> | |
| <span class="font-medium">₹3.25</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <h3 class="font-medium text-gray-800 mb-1">Final Rate Calculation</h3> | |
| <p class="text-xs text-gray-500">Per unit (cum) including all charges</p> | |
| </div> | |
| <div class="text-right"> | |
| <p class="text-2xl font-bold text-blue-600">₹275.25</p> | |
| <p class="text-xs text-gray-500">incl. 13.615% overhead</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project Actions --> | |
| <div class="flex flex-col sm:flex-row justify-end space-y-3 sm:space-y-0 sm:space-x-4"> | |
| <button class="px-6 py-3 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-100 transition font-medium flex items-center justify-center space-x-2"> | |
| <i data-feather="save" class="w-5 h-5"></i> | |
| <span>Save Project</span> | |
| </button> | |
| <button class="px-6 py-3 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition font-medium flex items-center justify-center space-x-2"> | |
| <i data-feather="file-text" class="w-5 h-5"></i> | |
| <span>Generate BOQ</span> | |
| </button> | |
| </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">© 2023 BuildCost Pro. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |