Spaces:
Running
Running
melhore o dashboard para deixá-lo mais profissional, com cores modernas e design clean - Initial Deployment
12064b7 verified Download index.html from fredamarojr/teste: direct link, hf CLI and curl.
- Browser
- Download file 37.4 kB
-
https://huggingface.co/spaces/fredamarojr/teste/resolve/main/index.html
- Command line
-
hf download hf://spaces/fredamarojr/teste/index.html
-
curl -L -o index.html https://huggingface.co/spaces/fredamarojr/teste/resolve/main/index.html
37.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Taildash - Admin Dashboard</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> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| color: #1A1C1E; | |
| } | |
| .sidebar { | |
| width: 270px; | |
| background-color: white; | |
| } | |
| .sidebar-collapsed .sidebar { | |
| width: 80px; | |
| } | |
| .sidebar-collapsed .logo-text, | |
| .sidebar-collapsed .nav-text { | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| .content-area { | |
| transition: all 0.3s ease; | |
| margin-left: 270px; | |
| } | |
| .sidebar-collapsed .content-area { | |
| margin-left: 80px; | |
| } | |
| #expandSidebar { | |
| transition: all 0.3s ease; | |
| } | |
| #expandSidebar:hover { | |
| background-color: rgba(59, 130, 246, 0.2); | |
| } | |
| .sidebar-collapsed .search-container { | |
| opacity: 0; | |
| pointer-events: none; | |
| height: 0; | |
| overflow: hidden; | |
| } | |
| #expandSidebar { | |
| display: none; | |
| position: absolute; | |
| right: -12px; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| z-index: 10; | |
| width: 24px; | |
| height: 24px; | |
| padding: 0; | |
| border-radius: 50%; | |
| } | |
| .sidebar-collapsed #expandSidebar { | |
| display: flex; | |
| } | |
| @media (max-width: 1024px) { | |
| .sidebar { | |
| width: 270px; | |
| position: fixed; | |
| left: -270px; | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar.active { | |
| left: 0; | |
| } | |
| .content-area { | |
| margin-left: 0; | |
| } | |
| } | |
| .rotate-180 { | |
| transform: rotate(180deg); | |
| } | |
| .chart-container { | |
| height: 340px; | |
| } | |
| .dropdown:hover .dropdown-menu { | |
| display: block; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen"> | |
| <div class="sidebar shadow-md fixed h-full z-50"> | |
| <div class="flex items-center justify-between p-4 border-b border-gray-700"> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 bg-blue-500 rounded-md flex items-center justify-center"> | |
| <i class="fas fa-bolt text-white text-xl"></i> | |
| </div> | |
| <span class="logo-text ml-3 text-xl font-bold text-white opacity-100 transition-opacity duration-200">Taildash</span> | |
| </div> | |
| <button id="toggleSidebar" class="text-gray-300 hover:text-white"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| </div> | |
| <div class="p-4"> | |
| <div class="relative mb-4 search-container transition-all duration-200"> | |
| <input type="text" placeholder="Search..." class="w-full pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| <nav class="mt-6"> | |
| <div class="mb-4"> | |
| <h3 class="uppercase text-xs font-semibold text-gray-500 mb-3 tracking-wider">Main</h3> | |
| <ul> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-4 py-2 bg-blue-100 rounded-lg"> | |
| <i class="fas fa-home text-lg text-blue-600"></i> | |
| <span class="nav-text ml-3 opacity-100 transition-opacity duration-200 text-gray-800 font-medium">Dashboard</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <div class="group"> | |
| <button class="flex items-center justify-between w-full px-4 py-2 text-gray-800 hover:bg-gray-100 rounded-lg"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-chart-line text-lg text-gray-600"></i> | |
| <span class="nav-text ml-3 opacity-100 transition-opacity duration-200 text-gray-800">Analytics</span> | |
| </div> | |
| <i class="fas fa-chevron-down text-xs text-gray-400 group-hover:text-gray-600 transition-transform duration-200"></i> | |
| </button> | |
| <ul class="pl-8 mt-1 hidden group-[.active]:block"> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-3 py-1.5 text-sm text-gray-600 hover:bg-gray-50 rounded-lg"> | |
| <span class="nav-text opacity-100 transition-opacity duration-200">Reports</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-3 py-1.5 text-sm text-gray-600 hover:bg-gray-50 rounded-lg"> | |
| <span class="nav-text opacity-100 transition-opacity duration-200">Statistics</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-4 py-2 text-gray-600 hover:bg-gray-100 rounded-lg"> | |
| <i class="fas fa-shopping-cart text-lg"></i> | |
| <span class="nav-text ml-3 opacity-100 transition-opacity duration-200">E-Commerce</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg"> | |
| <i class="fas fa-envelope text-lg"></i> | |
| <span class="nav-text ml-3 opacity-100 transition-opacity duration-200">Email</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mb-4"> | |
| <h3 class="uppercase text-xs font-semibold text-gray-500 mb-3 tracking-wider">Apps</h3> | |
| <ul> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg"> | |
| <i class="fas fa-calendar-alt text-lg"></i> | |
| <span class="nav-text ml-3 opacity-100 transition-opacity duration-200">Calendar</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg"> | |
| <i class="fas fa-comments text-lg"></i> | |
| <span class="nav-text ml-3 opacity-100 transition-opacity duration-200">Chat</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg"> | |
| <i class="fas fa-tasks text-lg"></i> | |
| <span class="nav-text ml-3 opacity-100 transition-opacity duration-200">Tasks</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mb-4"> | |
| <h3 class="uppercase text-xs font-semibold text-gray-500 mb-3 tracking-wider">Pages</h3> | |
| <ul> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg"> | |
| <i class="fas fa-user text-lg"></i> | |
| <span class="nav-text ml-3 opacity-100 transition-opacity duration-200">Profile</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg"> | |
| <i class="fas fa-lock text-lg"></i> | |
| <span class="nav-text ml-3 opacity-100 transition-opacity duration-200">Authentication</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg"> | |
| <i class="fas fa-exclamation-circle text-lg"></i> | |
| <span class="nav-text ml-3 opacity-100 transition-opacity duration-200">Error 404</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </nav> | |
| </div> | |
| <button id="expandSidebar" class="bg-blue-100 hover:bg-blue-200 text-blue-600 flex items-center justify-center transition-colors duration-200"> | |
| <i class="fas fa-chevron-right text-xs"></i> | |
| </button> | |
| </div> | |
| <div class="content-area flex-1 overflow-auto"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-xs py-3 px-6 flex items-center justify-between sticky top-0 z-40"> | |
| <div class="flex items-center"> | |
| <button id="toggleSidebarMobile" class="lg:hidden text-gray-600 mr-4"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| <h1 class="text-xl font-semibold text-gray-800">Dashboard Overview</h1> | |
| </div> | |
| <div class="flex items-center space-x-6"> | |
| <div class="relative"> | |
| <button class="text-gray-500 hover:text-gray-700 focus:outline-none relative"> | |
| <i class="fas fa-bell text-xl"></i> | |
| <span class="absolute -top-1 -right-1 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">3</span> | |
| </button> | |
| </div> | |
| <div class="relative"> | |
| <button class="text-gray-500 hover:text-gray-700 focus:outline-none relative"> | |
| <i class="fas fa-envelope text-xl"></i> | |
| <span class="absolute -top-1 -right-1 bg-blue-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">5</span> | |
| </button> | |
| </div> | |
| <div class="relative dropdown"> | |
| <button class="flex items-center focus:outline-none"> | |
| <div class="w-9 h-9 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <span class="text-blue-600 font-medium">JD</span> | |
| </div> | |
| <span class="ml-2 text-gray-700 font-medium hidden md:inline">John Doe</span> | |
| <i class="fas fa-chevron-down ml-1 text-gray-500 text-xs hidden md:inline"></i> | |
| </button> | |
| <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50 hidden"> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Profile</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Logout</a> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="p-6"> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-5 mb-8"> | |
| <div class="bg-white rounded-lg shadow-xs p-6 border border-gray-100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500 text-sm font-medium">Total Revenue</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">$45,541</h3> | |
| <p class="text-green-500 text-xs mt-2 font-medium"> | |
| <i class="fas fa-arrow-up mr-1"></i> 12% from last month | |
| </p> | |
| </div> | |
| <div class="bg-blue-100/50 p-3 rounded-lg"> | |
| <i class="fas fa-dollar-sign text-blue-600 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500 text-sm">Total Orders</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">1,254</h3> | |
| <p class="text-green-500 text-sm mt-2"><i class="fas fa-arrow-up mr-1"></i> 8% from last month</p> | |
| </div> | |
| <div class="bg-purple-100 p-3 rounded-full"> | |
| <i class="fas fa-shopping-cart text-purple-600 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500 text-sm">Total Customers</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">2,456</h3> | |
| <p class="text-red-500 text-sm mt-2"><i class="fas fa-arrow-down mr-1"></i> 2% from last month</p> | |
| </div> | |
| <div class="bg-green-100 p-3 rounded-full"> | |
| <i class="fas fa-users text-green-600 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500 text-sm">Total Products</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">1,024</h3> | |
| <p class="text-green-500 text-sm mt-2"><i class="fas fa-arrow-up mr-1"></i> 5% from last month</p> | |
| </div> | |
| <div class="bg-yellow-100 p-3 rounded-full"> | |
| <i class="fas fa-box text-yellow-600 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Charts Row --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6"> | |
| <!-- Revenue Chart --> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="text-lg font-semibold text-gray-800">Revenue Overview</h3> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 text-sm bg-blue-100 text-blue-600 rounded-md">Month</button> | |
| <button class="px-3 py-1 text-sm text-gray-600 hover:bg-gray-100 rounded-md">Week</button> | |
| <button class="px-3 py-1 text-sm text-gray-600 hover:bg-gray-100 rounded-md">Day</button> | |
| </div> | |
| </div> | |
| <div class="chart-container"> | |
| <canvas id="revenueChart" height="300" class="p-2"></canvas> | |
| </div> | |
| </div> | |
| <!-- Sales Chart --> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="text-lg font-semibold text-gray-800">Sales Overview</h3> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 text-sm bg-blue-100 text-blue-600 rounded-md">Year</button> | |
| <button class="px-3 py-1 text-sm text-gray-600 hover:bg-gray-100 rounded-md">Month</button> | |
| <button class="px-3 py-1 text-sm text-gray-600 hover:bg-gray-100 rounded-md">Week</button> | |
| </div> | |
| </div> | |
| <div class="chart-container"> | |
| <canvas id="salesChart" height="300"></canvas> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Orders & Top Products --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6"> | |
| <!-- Recent Orders --> | |
| <div class="bg-white rounded-lg shadow"> | |
| <div class="p-6 border-b"> | |
| <h3 class="text-lg font-semibold text-gray-800">Recent Orders</h3> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-100"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider font-semibold">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">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-0001</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">$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> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-0002</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">$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-yellow-100 text-yellow-800">Pending</span> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-0003</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">$245.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-blue-100 text-blue-800">Processing</span> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-0004</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">$67.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-0005</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Robert Wilson</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$189.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 class="p-4 border-t text-center"> | |
| <a href="#" class="text-blue-600 hover:text-blue-800 text-sm font-medium">View All Orders</a> | |
| </div> | |
| </div> | |
| <!-- Top Products --> | |
| <div class="bg-white rounded-lg shadow"> | |
| <div class="p-6 border-b"> | |
| <h3 class="text-lg font-semibold text-gray-800">Top Products</h3> | |
| </div> | |
| <div class="p-6"> | |
| <div class="space-y-4"> | |
| <div class="flex items-center"> | |
| <div class="w-12 h-12 rounded-md bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-headphones text-blue-600"></i> | |
| </div> | |
| <div class="ml-4 flex-1"> | |
| <h4 class="text-sm font-medium text-gray-900">Wireless Headphones</h4> | |
| <p class="text-xs text-gray-500">Electronics</p> | |
| </div> | |
| <div class="text-right"> | |
| <p class="text-sm font-medium text-gray-900">$99.99</p> | |
| <p class="text-xs text-green-500">+12%</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-12 h-12 rounded-md bg-purple-100 flex items-center justify-center"> | |
| <i class="fas fa-mobile-alt text-purple-600"></i> | |
| </div> | |
| <div class="ml-4 flex-1"> | |
| <h4 class="text-sm font-medium text-gray-900">Smartphone X</h4> | |
| <p class="text-xs text-gray-500">Electronics</p> | |
| </div> | |
| <div class="text-right"> | |
| <p class="text-sm font-medium text-gray-900">$899.99</p> | |
| <p class="text-xs text-green-500">+8%</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-12 h-12 rounded-md bg-yellow-100 flex items-center justify-center"> | |
| <i class="fas fa-tshirt text-yellow-600"></i> | |
| </div> | |
| <div class="ml-4 flex-1"> | |
| <h4 class="text-sm font-medium text-gray-900">Cotton T-Shirt</h4> | |
| <p class="text-xs text-gray-500">Fashion</p> | |
| </div> | |
| <div class="text-right"> | |
| <p class="text-sm font-medium text-gray-900">$24.99</p> | |
| <p class="text-xs text-red-500">-2%</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-12 h-12 rounded-md bg-green-100 flex items-center justify-center"> | |
| <i class="fas fa-book text-green-600"></i> | |
| </div> | |
| <div class="ml-4 flex-1"> | |
| <h4 class="text-sm font-medium text-gray-900">Programming Book</h4> | |
| <p class="text-xs text-gray-500">Books</p> | |
| </div> | |
| <div class="text-right"> | |
| <p class="text-sm font-medium text-gray-900">$39.99</p> | |
| <p class="text-xs text-green-500">+5%</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-12 h-12 rounded-md bg-red-100 flex items-center justify-center"> | |
| <i class="fas fa-shoe-prints text-red-600"></i> | |
| </div> | |
| <div class="ml-4 flex-1"> | |
| <h4 class="text-sm font-medium text-gray-900">Running Shoes</h4> | |
| <p class="text-xs text-gray-500">Sports</p> | |
| </div> | |
| <div class="text-right"> | |
| <p class="text-sm font-medium text-gray-900">$79.99</p> | |
| <p class="text-xs text-green-500">+15%</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 border-t text-center"> | |
| <a href="#" class="text-blue-600 hover:text-blue-800 text-sm font-medium">View All Products</a> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Activity --> | |
| <div class="bg-white rounded-lg shadow mb-6"> | |
| <div class="p-6 border-b"> | |
| <h3 class="text-lg font-semibold text-gray-800">Recent Activity</h3> | |
| </div> | |
| <div class="p-6"> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-shopping-cart text-blue-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-gray-900">New order received</p> | |
| <p class="text-xs text-gray-500">Order #ORD-0006 from John Doe</p> | |
| <p class="text-xs text-gray-400 mt-1">2 minutes ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center"> | |
| <i class="fas fa-check-circle text-green-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-gray-900">Order completed</p> | |
| <p class="text-xs text-gray-500">Order #ORD-0001 has been delivered</p> | |
| <p class="text-xs text-gray-400 mt-1">1 hour ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center"> | |
| <i class="fas fa-user-plus text-purple-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-gray-900">New customer registered</p> | |
| <p class="text-xs text-gray-500">Sarah Johnson joined the platform</p> | |
| <p class="text-xs text-gray-400 mt-1">3 hours ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center"> | |
| <i class="fas fa-exclamation-triangle text-yellow-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-gray-900">Low stock alert</p> | |
| <p class="text-xs text-gray-500">Wireless Headphones is running low</p> | |
| <p class="text-xs text-gray-400 mt-1">5 hours ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <script> | |
| // Toggle sidebar | |
| document.getElementById('toggleSidebar').addEventListener('click', function() { | |
| document.body.classList.toggle('sidebar-collapsed'); | |
| }); | |
| // Expand sidebar | |
| document.getElementById('expandSidebar').addEventListener('click', function() { | |
| document.body.classList.remove('sidebar-collapsed'); | |
| }); | |
| // Toggle sidebar mobile | |
| document.getElementById('toggleSidebarMobile').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.toggle('hidden'); | |
| }); | |
| // Collapsible menu items | |
| document.querySelectorAll('.group > button').forEach(button => { | |
| button.addEventListener('click', function() { | |
| const parent = this.parentElement; | |
| parent.classList.toggle('active'); | |
| const icon = this.querySelector('.fa-chevron-down'); | |
| if (parent.classList.contains('active')) { | |
| icon.classList.add('rotate-180'); | |
| } else { | |
| icon.classList.remove('rotate-180'); | |
| } | |
| }); | |
| }); | |
| // Revenue Chart | |
| const revenueCtx = document.getElementById('revenueChart').getContext('2d'); | |
| const revenueChart = new Chart(revenueCtx, { | |
| type: 'line', | |
| data: { | |
| labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'], | |
| datasets: [{ | |
| label: 'Revenue', | |
| data: [5000, 8000, 12000, 10000, 15000, 18000, 20000], | |
| backgroundColor: 'rgba(59, 130, 246, 0.1)', | |
| borderColor: 'rgba(59, 130, 246, 1)', | |
| borderWidth: 2, | |
| tension: 0.4, | |
| fill: true | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| plugins: { | |
| legend: { | |
| display: false | |
| } | |
| }, | |
| scales: { | |
| y: { | |
| beginAtZero: true, | |
| grid: { | |
| drawBorder: false | |
| } | |
| }, | |
| x: { | |
| grid: { | |
| display: false | |
| } | |
| } | |
| } | |
| } | |
| }); | |
| // Sales Chart | |
| const salesCtx = document.getElementById('salesChart').getContext('2d'); | |
| const salesChart = new Chart(salesCtx, { | |
| type: 'bar', | |
| data: { | |
| labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'], | |
| datasets: [{ | |
| label: 'Sales', | |
| data: [120, 190, 170, 220, 300, 280, 350], | |
| backgroundColor: 'rgba(124, 58, 237, 0.7)', | |
| borderColor: 'rgba(124, 58, 237, 1)', | |
| borderWidth: 1 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| plugins: { | |
| legend: { | |
| display: false | |
| } | |
| }, | |
| scales: { | |
| y: { | |
| beginAtZero: true, | |
| grid: { | |
| drawBorder: false | |
| } | |
| }, | |
| x: { | |
| grid: { | |
| display: false | |
| } | |
| } | |
| } | |
| } | |
| }); | |
| </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=fredamarojr/teste" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |