Download index.html from wabden/dash: direct link, hf CLI and curl.
- Browser
- Download file 22.2 kB
-
https://huggingface.co/spaces/wabden/dash/resolve/main/index.html
- Command line
-
hf download hf://spaces/wabden/dash/index.html
-
curl -L -o index.html https://huggingface.co/spaces/wabden/dash/resolve/main/index.html
22.2 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Modern Dashboard UI</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| /* Custom CSS for elements that can't be done with Tailwind */ | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(100, 116, 139, 0.2); | |
| } | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| @media (max-width: 768px) { | |
| .sidebar { | |
| transform: translateX(-100%); | |
| position: absolute; | |
| z-index: 10; | |
| } | |
| .sidebar.active { | |
| transform: translateX(0); | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <div class="min-h-screen flex"> | |
| <!-- Sidebar Navigation --> | |
| <div class="sidebar bg-white w-64 space-y-6 py-7 px-2 absolute inset-y-0 left-0 transform md:relative md:translate-x-0 shadow-lg"> | |
| <div class="text-indigo-600 flex items-center space-x-2 px-4"> | |
| <i class="fas fa-rocket text-3xl"></i> | |
| <span class="text-2xl font-bold">DashUI</span> | |
| </div> | |
| <nav> | |
| <a href="#" class="block py-2.5 px-4 rounded transition duration-200 bg-indigo-100 text-indigo-600"> | |
| <i class="fas fa-home mr-2"></i>Dashboard | |
| </a> | |
| <a href="#" class="block py-2.5 px-4 rounded transition duration-200 hover:bg-indigo-100 hover:text-indigo-600 text-gray-500"> | |
| <i class="fas fa-chart-line mr-2"></i>Analytics | |
| </a> | |
| <a href="#" class="block py-2.5 px-4 rounded transition duration-200 hover:bg-indigo-100 hover:text-indigo-600 text-gray-500"> | |
| <i class="fas fa-project-diagram mr-2"></i>Projects | |
| </a> | |
| <a href="#" class="block py-2.5 px-4 rounded transition duration-200 hover:bg-indigo-100 hover:text-indigo-600 text-gray-500"> | |
| <i class="fas fa-tasks mr-2"></i>Tasks | |
| </a> | |
| <a href="#" class="block py-2.5 px-4 rounded transition duration-200 hover:bg-indigo-100 hover:text-indigo-600 text-gray-500"> | |
| <i class="fas fa-users mr-2"></i>Team | |
| </a> | |
| <a href="#" class="block py-2.5 px-4 rounded transition duration-200 hover:bg-indigo-100 hover:text-indigo-600 text-gray-500"> | |
| <i class="fas fa-cog mr-2"></i>Settings | |
| </a> | |
| </nav> | |
| <div class="absolute bottom-0 w-full left-0 px-4 py-3 border-t border-gray-200"> | |
| <div class="flex items-center"> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" class="h-10 w-10 rounded-full object-cover" alt="Profile"> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-gray-700">Jane Cooper</p> | |
| <p class="text-xs text-gray-500">Admin</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1"> | |
| <!-- Mobile header --> | |
| <div class="bg-white shadow-sm md:hidden flex justify-between items-center p-4"> | |
| <button id="menuBtn" class="text-gray-500 focus:outline-none"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| <div class="text-indigo-600 flex items-center space-x-2"> | |
| <i class="fas fa-rocket text-xl"></i> | |
| <span class="text-xl font-bold">DashUI</span> | |
| </div> | |
| <div class="w-8"></div> <!-- Spacer for alignment --> | |
| </div> | |
| <!-- Content Header --> | |
| <header 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 items-center py-4"> | |
| <h1 class="text-2xl font-bold text-gray-900">Dashboard</h1> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| <input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <button class="p-2 rounded-full bg-gray-100 text-gray-500 hover:bg-gray-200"> | |
| <i class="fas fa-bell"></i> | |
| <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content Area --> | |
| <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6"> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover transition duration-300 p-6"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-gray-500">Total Revenue</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-2">$24,780</h3> | |
| <p class="text-green-500 text-sm mt-2"><i class="fas fa-arrow-up mr-1"></i> 12.5% from last month</p> | |
| </div> | |
| <div class="bg-indigo-100 text-indigo-600 p-3 rounded-full h-12 w-12 flex items-center justify-center"> | |
| <i class="fas fa-dollar-sign"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover transition duration-300 p-6"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-gray-500">Active Projects</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-2">18</h3> | |
| <p class="text-green-500 text-sm mt-2"><i class="fas fa-arrow-up mr-1"></i> 2 new this week</p> | |
| </div> | |
| <div class="bg-blue-100 text-blue-600 p-3 rounded-full h-12 w-12 flex items-center justify-center"> | |
| <i class="fas fa-project-diagram"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover transition duration-300 p-6"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-gray-500">Completed Tasks</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-2">156</h3> | |
| <p class="text-red-500 text-sm mt-2"><i class="fas fa-arrow-down mr-1"></i> 3% from last week</p> | |
| </div> | |
| <div class="bg-green-100 text-green-600 p-3 rounded-full h-12 w-12 flex items-center justify-center"> | |
| <i class="fas fa-check-circle"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover transition duration-300 p-6"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-gray-500">Team Members</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-2">24</h3> | |
| <p class="text-green-500 text-sm mt-2"><i class="fas fa-arrow-up mr-1"></i> 1 new hires</p> | |
| </div> | |
| <div class="bg-purple-100 text-purple-600 p-3 rounded-full h-12 w-12 flex items-center justify-center"> | |
| <i class="fas fa-users"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Charts Section --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8"> | |
| <div class="bg-white p-6 rounded-xl shadow-md card-hover transition duration-300"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Revenue Overview</h2> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 text-xs bg-indigo-100 text-indigo-600 rounded-full">Monthly</button> | |
| <button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded-full">Yearly</button> | |
| </div> | |
| </div> | |
| <div class="h-64"> | |
| <canvas id="revenueChart"></canvas> | |
| </div> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-md card-hover transition duration-300"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Project Status</h2> | |
| <div> | |
| <button class="px-3 py-1 text-xs bg-indigo-100 text-indigo-600 rounded-full">View All</button> | |
| </div> | |
| </div> | |
| <div class="h-64"> | |
| <canvas id="projectChart"></canvas> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Tasks and Activity Section --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <div class="lg:col-span-2 bg-white p-6 rounded-xl shadow-md card-hover transition duration-300"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Recent Tasks</h2> | |
| <button class="text-indigo-600 hover:text-indigo-800">View All</button> | |
| </div> | |
| <div class="space-y-4"> | |
| <div class="flex items-center justify-between p-3 border-b border-gray-100"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" class="h-5 w-5 text-indigo-600 rounded border-gray-300"> | |
| <div class="ml-3"> | |
| <p class="text-gray-800 font-medium">Website Redesign</p> | |
| <p class="text-gray-500 text-sm">Due tomorrow</p> | |
| </div> | |
| </div> | |
| <div class="flex space-x-3"> | |
| <span class="px-2 py-1 text-xs bg-indigo-100 text-indigo-600 rounded-full">Design</span> | |
| <div class="h-8 w-8 rounded-full bg-blue-500 text-white flex items-center justify-center">JD</div> | |
| </div> | |
| </div> | |
| <div class="flex items-center justify-between p-3 border-b border-gray-100"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" class="h-5 w-5 text-indigo-600 rounded border-gray-300"> | |
| <div class="ml-3"> | |
| <p class="text-gray-800 font-medium">Mobile App Development</p> | |
| <p class="text-gray-500 text-sm">Due in 3 days</p> | |
| </div> | |
| </div> | |
| <div class="flex space-x-3"> | |
| <span class="px-2 py-1 text-xs bg-green-100 text-green-600 rounded-full">Development</span> | |
| <div class="h-8 w-8 rounded-full bg-purple-500 text-white flex items-center justify-center">SM</div> | |
| </div> | |
| </div> | |
| <div class="flex items-center justify-between p-3 border-b border-gray-100"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" class="h-5 w-5 text-indigo-600 rounded border-gray-300" checked> | |
| <div class="ml-3"> | |
| <p class="text-gray-800 font-medium line-through">SEO Optimization</p> | |
| <p class="text-gray-500 text-sm">Completed</p> | |
| </div> | |
| </div> | |
| <div class="flex space-x-3"> | |
| <span class="px-2 py-1 text-xs bg-yellow-100 text-yellow-600 rounded-full">Marketing</span> | |
| <div class="h-8 w-8 rounded-full bg-pink-500 text-white flex items-center justify-center">AR</div> | |
| </div> | |
| </div> | |
| <div class="flex items-center justify-between p-3"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" class="h-5 w-5 text-indigo-600 rounded border-gray-300"> | |
| <div class="ml-3"> | |
| <p class="text-gray-800 font-medium">Client Meeting</p> | |
| <p class="text-gray-500 text-sm">Due this Friday</p> | |
| </div> | |
| </div> | |
| <div class="flex space-x-3"> | |
| <span class="px-2 py-1 text-xs bg-red-100 text-red-600 rounded-full">Meeting</span> | |
| <div class="h-8 w-8 rounded-full bg-indigo-500 text-white flex items-center justify-center">BD</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-md card-hover transition duration-300"> | |
| <div class="mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Recent Activity</h2> | |
| </div> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="bg-indigo-100 text-indigo-600 p-2 rounded-full mr-3"> | |
| <i class="fas fa-check-circle"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-800">Task <span class="font-semibold">"Website Redesign"</span> was completed</p> | |
| <p class="text-gray-500 text-sm">2 hours ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-green-100 text-green-600 p-2 rounded-full mr-3"> | |
| <i class="fas fa-user-plus"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-800">New team member <span class="font-semibold">"Alex Morgan"</span> was added</p> | |
| <p class="text-gray-500 text-sm">5 hours ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-blue-100 text-blue-600 p-2 rounded-full mr-3"> | |
| <i class="fas fa-file-alt"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-800">New project <span class="font-semibold">"Mobile App"</span> was created</p> | |
| <p class="text-gray-500 text-sm">Yesterday</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-yellow-100 text-yellow-600 p-2 rounded-full mr-3"> | |
| <i class="fas fa-money-bill-wave"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-800">Invoice <span class="font-semibold">#INV-2021-06</span> was paid</p> | |
| <p class="text-gray-500 text-sm">2 days ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-purple-100 text-purple-600 p-2 rounded-full mr-3"> | |
| <i class="fas fa-comment"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-800">New comment on <span class="font-semibold">"Dashboard Design"</span></p> | |
| <p class="text-gray-500 text-sm">3 days ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| // Mobile menu toggle | |
| document.getElementById('menuBtn').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.toggle('active'); | |
| }); | |
| // Charts - using Chart.js (would need to include the library in a real implementation) | |
| // This is just a placeholder - in a real implementation you would include Chart.js | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // This would be replaced with actual Chart.js initialization | |
| console.log('Charts would be initialized here with Chart.js'); | |
| // For demo purposes, we'll just show that we would initialize charts here | |
| if (typeof Chart !== 'undefined') { | |
| // Revenue chart | |
| const revenueCtx = document.getElementById('revenueChart').getContext('2d'); | |
| new Chart(revenueCtx, { | |
| type: 'line', | |
| data: { | |
| labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'], | |
| datasets: [{ | |
| label: 'Revenue', | |
| data: [12000, 19000, 15000, 18000, 21000, 24780], | |
| borderColor: '#667eea', | |
| backgroundColor: 'rgba(102, 126, 234, 0.1)', | |
| tension: 0.3, | |
| fill: true | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| plugins: { | |
| legend: { | |
| display: false | |
| } | |
| }, | |
| scales: { | |
| y: { | |
| beginAtZero: true | |
| } | |
| } | |
| } | |
| }); | |
| // Project chart | |
| const projectCtx = document.getElementById('projectChart').getContext('2d'); | |
| new Chart(projectCtx, { | |
| type: 'doughnut', | |
| data: { | |
| labels: ['Completed', 'In Progress', 'Not Started'], | |
| datasets: [{ | |
| data: [12, 3, 3], | |
| backgroundColor: [ | |
| '#10B981', | |
| '#3B82F6', | |
| '#F59E0B' | |
| ] | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| plugins: { | |
| legend: { | |
| position: 'bottom' | |
| } | |
| } | |
| } | |
| }); | |
| } | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=wabden/dash" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |