Download index.html from Enquzer/erp: direct link, hf CLI and curl.
- Browser
- Download file 18.6 kB
-
https://huggingface.co/spaces/Enquzer/erp/resolve/main/index.html
- Command line
-
hf download hf://spaces/Enquzer/erp/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Enquzer/erp/resolve/main/index.html
18.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ShopSphere - Dashboard</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> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script> | |
| <style> | |
| #vanta-bg { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100vh; | |
| z-index: -1; | |
| } | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar-collapsed { | |
| width: 80px; | |
| } | |
| .sidebar-collapsed .nav-text { | |
| display: none; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div id="vanta-bg"></div> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div class="sidebar bg-white shadow-lg w-64 flex flex-col"> | |
| <div class="p-4 flex items-center justify-between border-b"> | |
| <div class="flex items-center"> | |
| <i data-feather="shopping-bag" class="text-indigo-600 w-6 h-6"></i> | |
| <span class="ml-2 font-bold text-xl text-indigo-600">ShopSphere</span> | |
| </div> | |
| <button id="sidebar-toggle" class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="chevron-left"></i> | |
| </button> | |
| </div> | |
| <div class="flex-grow overflow-y-auto py-4"> | |
| <nav> | |
| <div class="px-4 mb-2"> | |
| <p class="text-xs font-semibold text-gray-500 uppercase tracking-wider">Main</p> | |
| </div> | |
| <a href="index.html" class="flex items-center px-4 py-3 text-indigo-600 bg-indigo-50"> | |
| <i data-feather="home" class="w-5 h-5"></i> | |
| <span class="nav-text ml-3">Dashboard</span> | |
| </a> | |
| <a href="products.html" class="flex items-center px-4 py-3 text-gray-600 hover:text-indigo-600 hover:bg-indigo-50"> | |
| <i data-feather="package" class="w-5 h-5"></i> | |
| <span class="nav-text ml-3">Products</span> | |
| </a> | |
| <a href="orders.html" class="flex items-center px-4 py-3 text-gray-600 hover:text-indigo-600 hover:bg-indigo-50"> | |
| <i data-feather="shopping-cart" class="w-5 h-5"></i> | |
| <span class="nav-text ml-3">Orders</span> | |
| </a> | |
| <a href="factory.html" class="flex items-center px-4 py-3 text-gray-600 hover:text-indigo-600 hover:bg-indigo-50"> | |
| <i data-feather="factory" class="w-5 h-5"></i> | |
| <span class="nav-text ml-3">Factory</span> | |
| </a> | |
| <a href="reports.html" class="flex items-center px-4 py-3 text-gray-600 hover:text-indigo-600 hover:bg-indigo-50"> | |
| <i data-feather="bar-chart-2" class="w-5 h-5"></i> | |
| <span class="nav-text ml-3">Reports</span> | |
| </a> | |
| <div class="px-4 mt-4 mb-2"> | |
| <p class="text-xs font-semibold text-gray-500 uppercase tracking-wider">Settings</p> | |
| </div> | |
| <a href="profile.html" class="flex items-center px-4 py-3 text-gray-600 hover:text-indigo-600 hover:bg-indigo-50"> | |
| <i data-feather="user" class="w-5 h-5"></i> | |
| <span class="nav-text ml-3">Profile</span> | |
| </a> | |
| <a href="settings.html" class="flex items-center px-4 py-3 text-gray-600 hover:text-indigo-600 hover:bg-indigo-50"> | |
| <i data-feather="settings" class="w-5 h-5"></i> | |
| <span class="nav-text ml-3">Settings</span> | |
| </a> | |
| </nav> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1 overflow-auto"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-sm"> | |
| <div class="flex items-center justify-between px-6 py-4"> | |
| <h1 class="text-2xl font-semibold text-gray-800">Dashboard</h1> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <i data-feather="bell" class="text-gray-500 hover:text-indigo-600 cursor-pointer"></i> | |
| <span class="absolute -top-1 -right-1 bg-red-500 text-white text-xs rounded-full w-4 h-4 flex items-center justify-center">3</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/people/200x200/1" class="w-8 h-8 rounded-full" alt="Profile"> | |
| <span class="ml-2 text-sm font-medium text-gray-700">Admin</span> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Dashboard Content --> | |
| <main class="p-6"> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Total Products</p> | |
| <p class="mt-1 text-2xl font-semibold text-gray-900">1,254</p> | |
| <p class="mt-1 text-xs text-green-600">+12% from last month</p> | |
| </div> | |
| <div class="p-3 rounded-full bg-indigo-100 text-indigo-600"> | |
| <i data-feather="package" class="w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Total Orders</p> | |
| <p class="mt-1 text-2xl font-semibold text-gray-900">356</p> | |
| <p class="mt-1 text-xs text-green-600">+8% from last month</p> | |
| </div> | |
| <div class="p-3 rounded-full bg-blue-100 text-blue-600"> | |
| <i data-feather="shopping-cart" class="w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="200"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Pending Orders</p> | |
| <p class="mt-1 text-2xl font-semibold text-gray-900">24</p> | |
| <p class="mt-1 text-xs text-red-600">-3% from last month</p> | |
| </div> | |
| <div class="p-3 rounded-full bg-yellow-100 text-yellow-600"> | |
| <i data-feather="clock" class="w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="300"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Revenue</p> | |
| <p class="mt-1 text-2xl font-semibold text-gray-900">$12,489</p> | |
| <p class="mt-1 text-xs text-green-600">+15% from last month</p> | |
| </div> | |
| <div class="p-3 rounded-full bg-green-100 text-green-600"> | |
| <i data-feather="dollar-sign" class="w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Orders --> | |
| <div class="bg-white rounded-lg shadow p-6 mb-6" data-aos="fade-up"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Recent Orders</h2> | |
| <a href="orders.html" class="text-sm text-indigo-600 hover:text-indigo-800">View All</a> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Order ID</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Customer</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-7689</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Smith</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 15, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$129.99</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-7688</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Johnson</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 15, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$89.99</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Processing</span> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-7687</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Michael Brown</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 14, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$156.50</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Shipped</span> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-7686</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Emily Davis</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 14, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$245.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Cancelled</span> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| <!-- Charts Row --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6"> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Sales Overview</h2> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 text-xs bg-indigo-100 text-indigo-600 rounded">Week</button> | |
| <button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded">Month</button> | |
| <button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded">Year</button> | |
| </div> | |
| </div> | |
| <div class="h-64 bg-gray-50 rounded flex items-center justify-center"> | |
| <p class="text-gray-400">Sales chart will appear here</p> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Top Products</h2> | |
| <a href="products.html" class="text-sm text-indigo-600 hover:text-indigo-800">View All</a> | |
| </div> | |
| <div class="space-y-4"> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Wireless Headphones</span> | |
| <span>45%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-indigo-600 h-2 rounded-full" style="width: 45%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Smart Watch</span> | |
| <span>32%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-blue-500 h-2 rounded-full" style="width: 32%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Bluetooth Speaker</span> | |
| <span>15%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-green-500 h-2 rounded-full" style="width: 15%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Fitness Tracker</span> | |
| <span>8%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-yellow-500 h-2 rounded-full" style="width: 8%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| AOS.init(); | |
| feather.replace(); | |
| // Vanta.js background | |
| VANTA.GLOBE({ | |
| el: "#vanta-bg", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x3f83f8, | |
| backgroundColor: 0xf8fafc, | |
| size: 0.8 | |
| }); | |
| // Sidebar toggle | |
| document.getElementById('sidebar-toggle').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.toggle('sidebar-collapsed'); | |
| const icon = this.querySelector('i'); | |
| if (document.querySelector('.sidebar').classList.contains('sidebar-collapsed')) { | |
| feather.icons['chevron-right'].toSvg().then(svg => { | |
| icon.outerHTML = svg; | |
| }); | |
| } else { | |
| feather.icons['chevron-left'].toSvg().then(svg => { | |
| icon.outerHTML = svg; | |
| }); | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> | |