Download index.html from porfeeman/undefined: direct link, hf CLI and curl.
- Browser
- Download file 22.9 kB
-
https://huggingface.co/spaces/porfeeman/undefined/resolve/main/index.html
- Command line
-
hf download hf://spaces/porfeeman/undefined/index.html
-
curl -L -o index.html https://huggingface.co/spaces/porfeeman/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>GrapeFlow | Partner Dashboard</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> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#6C3483', | |
| secondary: '#F39C12', | |
| grape: { | |
| 100: '#F5EEF8', | |
| 500: '#6C3483', | |
| 900: '#4A235A' | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .dashboard-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .sidebar-link.active { | |
| border-left: 4px solid #F39C12; | |
| background-color: rgba(108, 52, 131, 0.1); | |
| } | |
| #vanta-bg { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| opacity: 0.15; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans antialiased"> | |
| <div id="vanta-bg"></div> | |
| <!-- Sidebar --> | |
| <div class="fixed inset-y-0 left-0 w-64 bg-gradient-to-b from-grape-900 to-grape-500 text-white transform -translate-x-full md:translate-x-0 transition-transform duration-300 z-50" id="sidebar"> | |
| <div class="flex items-center justify-center h-16 px-4 border-b border-grape-700"> | |
| <div class="flex items-center"> | |
| <i data-feather="droplet" class="text-secondary mr-2"></i> | |
| <span class="text-xl font-bold">GrapeFlow</span> | |
| <span class="ml-1 text-secondary">Partner</span> | |
| </div> | |
| </div> | |
| <div class="px-4 py-6"> | |
| <div class="flex items-center space-x-4 p-3 bg-grape-700 rounded-lg mb-6"> | |
| <img src="http://static.photos/food/200x200/1" class="w-12 h-12 rounded-full border-2 border-secondary" alt="Partner"> | |
| <div> | |
| <h4 class="font-semibold">Partner Name</h4> | |
| <p class="text-grape-200 text-sm">Premium Partner</p> | |
| </div> | |
| </div> | |
| <nav> | |
| <a href="#" class="sidebar-link active flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition"> | |
| <i data-feather="home"></i> | |
| <span>Dashboard</span> | |
| </a> | |
| <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition"> | |
| <i data-feather="shopping-bag"></i> | |
| <span>Sales Control</span> | |
| </a> | |
| <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition"> | |
| <i data-feather="users"></i> | |
| <span>CRM System</span> | |
| </a> | |
| <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition"> | |
| <i data-feather="truck"></i> | |
| <span>Shipment Tracking</span> | |
| </a> | |
| <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition"> | |
| <i data-feather="bar-chart-2"></i> | |
| <span>Аналитика</span> | |
| </a> | |
| <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition"> | |
| <i data-feather="box"></i> | |
| <span>Складской учет</span> | |
| </a> | |
| <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition"> | |
| <i data-feather="book-open"></i> | |
| <span>Обучение</span> | |
| </a> | |
| <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition"> | |
| <i data-feather="settings"></i> | |
| <span>Настройки</span> | |
| </a> | |
| </nav> | |
| </div> | |
| <div class="absolute bottom-0 w-full px-4 py-3 border-t border-grape-700"> | |
| <a href="#" class="flex items-center space-x-3 px-4 py-2 text-white hover:bg-grape-700 rounded-lg transition"> | |
| <i data-feather="log-out"></i> | |
| <span>Logout</span> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Mobile header --> | |
| <header class="md:hidden fixed top-0 left-0 right-0 bg-white shadow-sm z-40"> | |
| <div class="flex items-center justify-between px-4 py-3"> | |
| <button id="menu-toggle" class="text-grape-500 focus:outline-none"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| <div class="flex items-center"> | |
| <i data-feather="droplet" class="text-primary mr-2"></i> | |
| <span class="font-bold">GrapeFlow</span> | |
| </div> | |
| <div class="w-8"></div> | |
| </div> | |
| </header> | |
| <!-- Main content --> | |
| <main class="md:ml-64 pt-16 md:pt-0"> | |
| <div class="px-4 py-6 md:px-8"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h1 class="text-2xl md:text-3xl font-bold text-gray-800">Панель партнера ЭМИЗ</h1> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <i data-feather="bell" class="text-gray-500"></i> | |
| <span class="absolute top-0 right-0 w-2 h-2 bg-secondary rounded-full"></span> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-2"> | |
| <img src="http://static.photos/food/200x200/1" class="w-8 h-8 rounded-full" alt="User"> | |
| <span class="text-gray-700">Partner</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 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 rounded-xl shadow-md p-6 transition duration-300"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500 text-sm">Месячные продажи</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-2">1 245 000 ₽</h3> | |
| </div> | |
| <div class="bg-primary bg-opacity-10 p-3 rounded-full"> | |
| <i data-feather="shopping-bag" class="text-primary"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <span class="text-green-500 text-sm flex items-center"> | |
| <i data-feather="trending-up" class="w-4 h-4 mr-1"></i> | |
| 12% from last month | |
| </span> | |
| </div> | |
| </div> | |
| <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500 text-sm">Активные клиенты</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-2">42</h3> | |
| </div> | |
| <div class="bg-secondary bg-opacity-10 p-3 rounded-full"> | |
| <i data-feather="users" class="text-secondary"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <span class="text-green-500 text-sm flex items-center"> | |
| <i data-feather="trending-up" class="w-4 h-4 mr-1"></i> | |
| 5 new this month | |
| </span> | |
| </div> | |
| </div> | |
| <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500 text-sm">Ожидают отгрузки</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-2">8</h3> | |
| </div> | |
| <div class="bg-green-500 bg-opacity-10 p-3 rounded-full"> | |
| <i data-feather="truck" class="text-green-500"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <span class="text-red-500 text-sm flex items-center"> | |
| <i data-feather="alert-circle" class="w-4 h-4 mr-1"></i> | |
| 2 delayed | |
| </span> | |
| </div> | |
| </div> | |
| <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500 text-sm">Уровень запасов</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-2">78%</h3> | |
| </div> | |
| <div class="bg-yellow-500 bg-opacity-10 p-3 rounded-full"> | |
| <i data-feather="database" class="text-yellow-500"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <span class="text-yellow-500 text-sm flex items-center"> | |
| <i data-feather="alert-triangle" class="w-4 h-4 mr-1"></i> | |
| Consider restocking | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Charts and Tables --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8"> | |
| <!-- Sales Chart --> | |
| <div class="lg:col-span-2 bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-semibold text-gray-800">Продажи</h3> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 text-xs bg-primary bg-opacity-10 text-primary rounded-full">Monthly</button> | |
| <button class="px-3 py-1 text-xs bg-gray-100 text-gray-500 rounded-full">Quarterly</button> | |
| <button class="px-3 py-1 text-xs bg-gray-100 text-gray-500 rounded-full">Yearly</button> | |
| </div> | |
| </div> | |
| <div class="h-64"> | |
| <!-- Chart placeholder - would be replaced with actual chart in production --> | |
| <div class="flex items-center justify-center h-full bg-gray-50 rounded-lg"> | |
| <i data-feather="bar-chart-2" class="w-12 h-12 text-gray-300"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Activities --> | |
| <div class="bg-white rounded-xl shadow-md p-6"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Recent Activities</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="bg-secondary bg-opacity-10 p-2 rounded-full mr-3"> | |
| <i data-feather="user-plus" class="text-secondary w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-800">New client added: "Cafe Grapevine"</p> | |
| <p class="text-xs text-gray-500">2 hours ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-primary bg-opacity-10 p-2 rounded-full mr-3"> | |
| <i data-feather="shopping-cart" class="text-primary w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-800">New order #EMZ-5421 confirmed</p> | |
| <p class="text-xs text-gray-500">5 hours ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-green-500 bg-opacity-10 p-2 rounded-full mr-3"> | |
| <i data-feather="truck" class="text-green-500 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-800">Shipment #EMZ-2081 delivered</p> | |
| <p class="text-xs text-gray-500">Yesterday</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-yellow-500 bg-opacity-10 p-2 rounded-full mr-3"> | |
| <i data-feather="alert-circle" class="text-yellow-500 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-800">Low inventory alert: Classic Grape</p> | |
| <p class="text-xs text-gray-500">Yesterday</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-purple-500 bg-opacity-10 p-2 rounded-full mr-3"> | |
| <i data-feather="dollar-sign" class="text-purple-500 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-800">Payment received: ₽245,000</p> | |
| <p class="text-xs text-gray-500">2 days ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Orders --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden mb-8"> | |
| <div class="px-6 py-4 border-b border-gray-100"> | |
| <h3 class="text-lg font-semibold text-gray-800">Последние заказы</h3> | |
| </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">Order ID</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</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-left 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-primary">#EMZ-5421</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Cafe Grapevine</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Today, 10:42</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">₽84,500</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">Confirmed</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-primary hover:text-primary-dark">View</button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-5389</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Fresh Market Chain</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Yesterday, 15:22</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">₽152,300</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">Processing</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-primary hover:text-primary-dark">View</button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-5312</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Beverage Distributors</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2 days ago, 09:15</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">₽245,000</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Shipped</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-primary hover:text-primary-dark">Track</button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-5287</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Gourmet Restaurants</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3 days ago, 14:30</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">₽98,750</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-sm text-gray-500"> | |
| <button class="text-primary hover:text-primary-dark">View</button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-5243</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Hotel Continental</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">4 days ago, 11:05</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">₽187,600</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">Delivered</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-primary hover:text-primary-dark">Invoice</button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="px-6 py-4 border-t border-gray-100 flex justify-end"> | |
| <button class="px-4 py-2 bg-primary bg-opacity-10 text-primary rounded-lg text-sm font-medium hover:bg-opacity-20 transition">View All Orders</button> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <script> | |
| // Vanta.js background | |
| VANTA.WAVES({ | |
| el: "#vanta-bg", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x6c3483, | |
| shininess: 35.00, | |
| waveHeight: 15.00, | |
| waveSpeed: 0.80, | |
| zoom: 0.85 | |
| }); | |
| // Mobile menu toggle | |
| document.getElementById('menu-toggle').addEventListener('click', function() { | |
| const sidebar = document.getElementById('sidebar'); | |
| sidebar.classList.toggle('-translate-x-full'); | |
| }); | |
| // Feather icons | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |