Download pos.html from bkpos/undefined: direct link, hf CLI and curl.
- Browser
- Download file 10.1 kB
-
https://huggingface.co/spaces/bkpos/undefined/resolve/main/pos.html
- Command line
-
hf download hf://spaces/bkpos/undefined/pos.html
-
curl -L -o pos.html https://huggingface.co/spaces/bkpos/undefined/resolve/main/pos.html
10.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>POS | StockHorse Gallop HUB</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></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; | |
| } | |
| .pos-item:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100"> | |
| <div class="md:flex min-h-screen"> | |
| <!-- Sidebar (hidden on mobile) --> | |
| <div class="sidebar bg-white shadow-sm md:block hidden w-64"> | |
| <div class="p-4 border-b border-gray-200 flex items-center"> | |
| <div class="bg-blue-500 rounded-lg p-2"> | |
| <i data-feather="shopping-cart" class="text-white w-5 h-5"></i> | |
| </div> | |
| <h1 class="text-xl font-bold ml-3 text-gray-800">POS System</h1> | |
| </div> | |
| <div class="p-4"> | |
| <div class="mb-4"> | |
| <button class="w-full flex items-center justify-between p-3 bg-blue-50 text-blue-600 rounded-lg"> | |
| <span class="font-medium">Current Cart</span> | |
| <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">3 items</span> | |
| </button> | |
| </div> | |
| <div class="space-y-2"> | |
| <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg"> | |
| <i data-feather="home" class="w-5 h-5"></i> | |
| <span class="ml-3">Dashboard</span> | |
| </a> | |
| <a href="pos.html" class="flex items-center p-2 text-blue-600 bg-blue-50 rounded-lg"> | |
| <i data-feather="shopping-cart" class="w-5 h-5"></i> | |
| <span class="ml-3">POS</span> | |
| </a> | |
| <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">My Reports</span> | |
| </a> | |
| <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> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1"> | |
| <!-- Mobile Header --> | |
| <header class="bg-white shadow-sm md:hidden"> | |
| <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">POS System</h2> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="relative mr-4"> | |
| <i data-feather="shopping-cart" class="w-5 h-5 text-gray-600"></i> | |
| <span class="absolute -top-1 -right-1 bg-blue-500 text-white text-xs rounded-full h-4 w-4 flex items-center justify-center">3</span> | |
| </div> | |
| <img src="http://static.photos/people/200x200/1" alt="Profile" class="w-8 h-8 rounded-full"> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- POS Content --> | |
| <main class="p-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <!-- Product Grid --> | |
| <div class="md:col-span-2"> | |
| <div class="bg-white rounded-lg shadow-sm p-4 mb-4"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="font-medium text-gray-800">Available Products</h3> | |
| <div class="relative"> | |
| <i data-feather="search" class="absolute left-3 top-2.5 text-gray-400 w-4 h-4"></i> | |
| <input type="text" placeholder="Search products..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg text-sm w-64 focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-3"> | |
| <!-- Product Item --> | |
| <div class="pos-item bg-white border border-gray-200 rounded-lg p-3 cursor-pointer transition-all"> | |
| <div class="bg-gray-100 rounded-lg h-24 flex items-center justify-center mb-2"> | |
| <img src="http://static.photos/food/200x200/1" alt="Product" class="h-16 object-contain"> | |
| </div> | |
| <h4 class="text-sm font-medium text-gray-800 truncate">Premium Coffee Beans</h4> | |
| <p class="text-xs text-gray-500 mb-1">SKU: CB-1001</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm font-bold text-blue-600">$12.99</span> | |
| <span class="text-xs bg-green-100 text-green-800 px-2 py-0.5 rounded">12 in stock</span> | |
| </div> | |
| </div> | |
| <!-- More product items... --> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Cart Section --> | |
| <div class="bg-white rounded-lg shadow-sm p-4"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="font-medium text-gray-800">Current Order</h3> | |
| <button class="text-red-500 text-sm flex items-center"> | |
| <i data-feather="trash-2" class="w-4 h-4 mr-1"></i> | |
| Clear | |
| </button> | |
| </div> | |
| <!-- Order Items --> | |
| <div class="space-y-3 mb-4 max-h-96 overflow-y-auto"> | |
| <!-- Order Item --> | |
| <div class="flex justify-between items-center border-b border-gray-100 pb-3"> | |
| <div> | |
| <h4 class="text-sm font-medium text-gray-800">Premium Coffee Beans</h4> | |
| <div class="flex items-center mt-1"> | |
| <button class="w-6 h-6 flex items-center justify-center border border-gray-300 rounded">-</button> | |
| <span class="mx-2">2</span> | |
| <button class="w-6 h-6 flex items-center justify-center border border-gray-300 rounded">+</button> | |
| <span class="ml-4 text-sm text-gray-600">$12.99</span> | |
| </div> | |
| </div> | |
| <div class="text-right"> | |
| <span class="font-medium">$25.98</span> | |
| <button class="block ml-auto mt-1 text-red-400 hover:text-red-600"> | |
| <i data-feather="x" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- More order items... --> | |
| </div> | |
| <!-- Order Summary --> | |
| <div class="border-t border-gray-200 pt-4"> | |
| <div class="flex justify-between mb-2"> | |
| <span class="text-gray-600">Subtotal</span> | |
| <span class="font-medium">$38.97</span> | |
| </div> | |
| <div class="flex justify-between mb-2"> | |
| <span class="text-gray-600">Tax (10%)</span> | |
| <span class="font-medium">$3.90</span> | |
| </div> | |
| <div class="flex justify-between font-bold text-lg mt-4 pt-2 border-t border-gray-200"> | |
| <span>Total</span> | |
| <span>$42.87</span> | |
| </div> | |
| <!-- Payment Options --> | |
| <div class="mt-6"> | |
| <button class="w-full bg-blue-600 text-white py-2 px-4 rounded-lg hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 mb-2"> | |
| Complete Sale | |
| </button> | |
| <button class="w-full bg-gray-100 text-gray-800 py-2 px-4 rounded-lg hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-gray-500 flex items-center justify-center"> | |
| <i data-feather="rotate-ccw" class="w-4 h-4 mr-2"></i> | |
| Return to Warehouse | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |