Download index.html from bkpos/undefined: direct link, hf CLI and curl.
- Browser
- Download file 22.9 kB
-
https://huggingface.co/spaces/bkpos/undefined/resolve/main/index.html
- Command line
-
hf download hf://spaces/bkpos/undefined/index.html
-
curl -L -o index.html https://huggingface.co/spaces/bkpos/undefined/resolve/main/index.html
22.9 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>StockRider Express | Warehouse POS System</title> | |
| <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> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 50: '#f0f9ff', | |
| 100: '#e0f2fe', | |
| 200: '#bae6fd', | |
| 300: '#7dd3fc', | |
| 400: '#38bdf8', | |
| 500: '#0ea5e9', | |
| 600: '#0284c7', | |
| 700: '#0369a1', | |
| 800: '#075985', | |
| 900: '#0c4a6e', | |
| }, | |
| secondary: { | |
| 50: '#fff7ed', | |
| 100: '#ffedd5', | |
| 200: '#fed7aa', | |
| 300: '#fdba74', | |
| 400: '#fb923c', | |
| 500: '#f97316', | |
| 600: '#ea580c', | |
| 700: '#c2410c', | |
| 800: '#9a3412', | |
| 900: '#7c2d12', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .dashboard-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| #vanta-bg { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| opacity: 0.1; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <!-- Auth Background Effect --> | |
| <div id="vanta-bg"></div> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script> | |
| <script> | |
| VANTA.GLOBE({ | |
| el: "#vanta-bg", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: "#0ea5e9", | |
| backgroundColor: "#ffffff", | |
| size: 0.80 | |
| }) | |
| </script> | |
| <!-- Main Layout --> | |
| <div class="min-h-screen flex"> | |
| <!-- Sidebar --> | |
| <div class="sidebar w-64 bg-white shadow-md hidden md:block"> | |
| <div class="p-4 border-b border-gray-200 flex items-center"> | |
| <div class="bg-primary-500 rounded-lg p-2"> | |
| <i data-feather="package" class="text-white"></i> | |
| </div> | |
| <h1 class="text-xl font-bold ml-3 text-primary-800">StockRider Express</h1> | |
| </div> | |
| <div class="p-4"> | |
| <div class="mb-8"> | |
| <h3 class="text-xs uppercase font-semibold text-gray-500 mb-3">Main</h3> | |
| <ul> | |
| <li class="mb-2"> | |
| <a href="dashboard.html" class="flex items-center p-2 text-primary-600 bg-primary-50 rounded-lg"> | |
| <i data-feather="home" class="w-5 h-5"></i> | |
| <span class="ml-3">Dashboard</span> | |
| </a> | |
| </li> | |
| <li class="mb-2"> | |
| <a href="products.html" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg"> | |
| <i data-feather="shopping-bag" class="w-5 h-5"></i> | |
| <span class="ml-3">Products</span> | |
| </a> | |
| </li> | |
| <li class="mb-2"> | |
| <a href="warehouse.html" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg"> | |
| <i data-feather="archive" class="w-5 h-5"></i> | |
| <span class="ml-3">Warehouse</span> | |
| </a> | |
| </li> | |
| <li class="mb-2"> | |
| <a href="distribution.html" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg"> | |
| <i data-feather="truck" class="w-5 h-5"></i> | |
| <span class="ml-3">Distribution</span> | |
| </a> | |
| </li> | |
| <li class="mb-2"> | |
| <a href="pos.html" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg"> | |
| <i data-feather="shopping-cart" class="w-5 h-5"></i> | |
| <span class="ml-3">POS</span> | |
| </a> | |
| </li> | |
| <li class="mb-2"> | |
| <a href="reports.html" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg"> | |
| <i data-feather="file-text" class="w-5 h-5"></i> | |
| <span class="ml-3">Reports</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mb-8"> | |
| <h3 class="text-xs uppercase font-semibold text-gray-500 mb-3">Management</h3> | |
| <ul> | |
| <li class="mb-2"> | |
| <a href="users.html" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg"> | |
| <i data-feather="users" class="w-5 h-5"></i> | |
| <span class="ml-3">Users</span> | |
| </a> | |
| </li> | |
| <li class="mb-2"> | |
| <a href="categories.html" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg"> | |
| <i data-feather="tag" class="w-5 h-5"></i> | |
| <span class="ml-3">Categories</span> | |
| </a> | |
| </li> | |
| <li class="mb-2"> | |
| <a href="settings.html" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg"> | |
| <i data-feather="settings" class="w-5 h-5"></i> | |
| <span class="ml-3">Settings</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-sm"> | |
| <div class="flex items-center justify-between p-4"> | |
| <div class="flex items-center"> | |
| <button class="md:hidden mr-2"> | |
| <i data-feather="menu" class="w-6 h-6 text-gray-600"></i> | |
| </button> | |
| <h2 class="text-lg font-semibold text-gray-800">Dashboard</h2> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <i data-feather="bell" class="w-5 h-5 text-gray-600"></i> | |
| <span class="absolute -top-1 -right-1 bg-secondary-500 text-white text-xs rounded-full h-4 w-4 flex items-center justify-center">3</span> | |
| </div> | |
| <div class="relative"> | |
| <img src="http://static.photos/people/200x200/1" alt="Profile" class="w-8 h-8 rounded-full"> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Content --> | |
| <main class="p-6"> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"> | |
| <div class="dashboard-card bg-white p-6 rounded-xl shadow-sm border border-gray-100 transition-all"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-gray-500">Total Revenue</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">$12,345</h3> | |
| <p class="text-sm text-green-500 mt-1 flex items-center"> | |
| <i data-feather="trending-up" class="w-4 h-4 mr-1"></i> | |
| <span>12% from last month</span> | |
| </p> | |
| </div> | |
| <div class="bg-primary-100 p-3 rounded-lg"> | |
| <i data-feather="dollar-sign" class="text-primary-600 w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="dashboard-card bg-white p-6 rounded-xl shadow-sm border border-gray-100 transition-all"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-gray-500">Total Transactions</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">1,234</h3> | |
| <p class="text-sm text-green-500 mt-1 flex items-center"> | |
| <i data-feather="trending-up" class="w-4 h-4 mr-1"></i> | |
| <span>7% from last month</span> | |
| </p> | |
| </div> | |
| <div class="bg-secondary-100 p-3 rounded-lg"> | |
| <i data-feather="shopping-cart" class="text-secondary-600 w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="dashboard-card bg-white p-6 rounded-xl shadow-sm border border-gray-100 transition-all"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-gray-500">Warehouse Stock</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">3,456</h3> | |
| <p class="text-sm text-red-500 mt-1 flex items-center"> | |
| <i data-feather="alert-circle" class="w-4 h-4 mr-1"></i> | |
| <span>5 low stock items</span> | |
| </p> | |
| </div> | |
| <div class="bg-yellow-100 p-3 rounded-lg"> | |
| <i data-feather="box" class="text-yellow-600 w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="dashboard-card bg-white p-6 rounded-xl shadow-sm border border-gray-100 transition-all"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-gray-500">Active Riders</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">24</h3> | |
| <p class="text-sm text-gray-500 mt-1">5 distributing now</p> | |
| </div> | |
| <div class="bg-green-100 p-3 rounded-lg"> | |
| <i data-feather="users" class="text-green-600 w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Charts Section --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8"> | |
| <div class="lg:col-span-2 bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="font-semibold text-gray-800">Sales Overview</h3> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 text-xs bg-primary-100 text-primary-600 rounded-full">Week</button> | |
| <button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded-full">Month</button> | |
| <button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded-full">Year</button> | |
| </div> | |
| </div> | |
| <div class="h-64 bg-gray-50 rounded-lg flex items-center justify-center"> | |
| <p class="text-gray-400">Sales chart will be displayed here</p> | |
| </div> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <h3 class="font-semibold text-gray-800 mb-6">Recent Activities</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="bg-green-100 p-2 rounded-lg mr-3"> | |
| <i data-feather="truck" class="text-green-600 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium text-gray-800">New distribution to Rider #12</p> | |
| <p class="text-xs text-gray-500">5 minutes ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-blue-100 p-2 rounded-lg mr-3"> | |
| <i data-feather="shopping-cart" class="text-blue-600 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium text-gray-800">New sale from Rider #8</p> | |
| <p class="text-xs text-gray-500">22 minutes ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-yellow-100 p-2 rounded-lg mr-3"> | |
| <i data-feather="rotate-ccw" class="text-yellow-600 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium text-gray-800">Product returned to warehouse</p> | |
| <p class="text-xs text-gray-500">1 hour ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-purple-100 p-2 rounded-lg mr-3"> | |
| <i data-feather="package" class="text-purple-600 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium text-gray-800">New product added</p> | |
| <p class="text-xs text-gray-500">2 hours ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-red-100 p-2 rounded-lg mr-3"> | |
| <i data-feather="alert-circle" class="text-red-600 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium text-gray-800">Low stock alert: Product X</p> | |
| <p class="text-xs text-gray-500">5 hours ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Transactions --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="font-semibold text-gray-800">Recent Transactions</h3> | |
| <button class="flex items-center text-primary-600 text-sm"> | |
| <span>View All</span> | |
| <i data-feather="chevron-right" class="w-4 h-4 ml-1"></i> | |
| </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">ID</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Rider</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</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-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</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 text-sm font-medium text-gray-900">#TRX-1001</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Doe</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-11-15 10:30</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$125.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-green-100 text-green-800">Completed</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <a href="#" class="text-primary-600 hover:text-primary-900">View</a> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#TRX-1002</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Jane Smith</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-11-15 09:15</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$89.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-green-100 text-green-800">Completed</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <a href="#" class="text-primary-600 hover:text-primary-900">View</a> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#TRX-1003</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Mike Johnson</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-11-14 16:45</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$156.75</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">Pending</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <a href="#" class="text-primary-600 hover:text-primary-900">View</a> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#TRX-1004</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Williams</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-11-14 14:20</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$210.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-green-100 text-green-800">Completed</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <a href="#" class="text-primary-600 hover:text-primary-900">View</a> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |