Download dashboard.html from A7Card/a7-card: direct link, hf CLI and curl.
- Browser
- Download file 22 kB
-
https://huggingface.co/spaces/A7Card/a7-card/resolve/main/dashboard.html
- Command line
-
hf download hf://spaces/A7Card/a7-card/dashboard.html
-
curl -L -o dashboard.html https://huggingface.co/spaces/A7Card/a7-card/resolve/main/dashboard.html
22 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Dashboard - DeepSite</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar.collapsed { | |
| width: 5rem; | |
| } | |
| .sidebar.collapsed .nav-text { | |
| display: none; | |
| } | |
| .sidebar.collapsed .logo-text { | |
| display: none; | |
| } | |
| .main-content { | |
| transition: all 0.3s ease; | |
| } | |
| .main-content.expanded { | |
| margin-left: 5rem; | |
| } | |
| .active-nav { | |
| background-color: #e0e7ff; | |
| color: #4f46e5; | |
| border-left: 4px solid #4f46e5; | |
| } | |
| .active-nav i { | |
| color: #4f46e5; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div class="sidebar bg-white shadow-md fixed inset-y-0 left-0 z-50 w-64"> | |
| <div class="flex items-center justify-between p-4 border-b"> | |
| <div class="flex items-center"> | |
| <i data-feather="cpu" class="h-8 w-8 text-indigo-600"></i> | |
| <span class="logo-text ml-2 text-xl font-bold text-gray-900">DeepSite</span> | |
| </div> | |
| <button id="toggle-sidebar" class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="chevron-left" class="h-5 w-5"></i> | |
| </button> | |
| </div> | |
| <nav class="mt-6"> | |
| <div> | |
| <h3 class="px-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">GERAL</h3> | |
| <div class="mt-2"> | |
| <a href="#" class="group flex items-center px-4 py-3 text-sm font-medium text-gray-700 hover:bg-gray-100 active-nav"> | |
| <i data-feather="home" class="h-5 w-5 text-gray-500"></i> | |
| <span class="nav-text ml-3">Dashboard</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-4 py-3 text-sm font-medium text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="message-square" class="h-5 w-5 text-gray-500"></i> | |
| <span class="nav-text ml-3">Conversas</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-4 py-3 text-sm font-medium text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="phone" class="h-5 w-5 text-gray-500"></i> | |
| <span class="nav-text ml-3">Ligações</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-4 py-3 text-sm font-medium text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="users" class="h-5 w-5 text-gray-500"></i> | |
| <span class="nav-text ml-3">Clientes</span> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <h3 class="px-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">AGENTES</h3> | |
| <div class="mt-2"> | |
| <a href="#" class="group flex items-center px-4 py-3 text-sm font-medium text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="user" class="h-5 w-5 text-gray-500"></i> | |
| <span class="nav-text ml-3">Meus Agentes</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-4 py-3 text-sm font-medium text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="settings" class="h-5 w-5 text-gray-500"></i> | |
| <span class="nav-text ml-3">Configurações</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-4 py-3 text-sm font-medium text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="bar-chart-2" class="h-5 w-5 text-gray-500"></i> | |
| <span class="nav-text ml-3">Relatórios</span> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <h3 class="px-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">CONTA</h3> | |
| <div class="mt-2"> | |
| <a href="#" class="group flex items-center px-4 py-3 text-sm font-medium text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="credit-card" class="h-5 w-5 text-gray-500"></i> | |
| <span class="nav-text ml-3">Assinatura</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-4 py-3 text-sm font-medium text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="user" class="h-5 w-5 text-gray-500"></i> | |
| <span class="nav-text ml-3">Perfil</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-4 py-3 text-sm font-medium text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="log-out" class="h-5 w-5 text-gray-500"></i> | |
| <span class="nav-text ml-3">Sair</span> | |
| </a> | |
| </div> | |
| </div> | |
| </nav> | |
| </div> | |
| <!-- Main content --> | |
| <div class="main-content flex-1 overflow-auto ml-64"> | |
| <!-- Topbar --> | |
| <header class="bg-white shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 flex justify-between items-center"> | |
| <h1 class="text-xl font-semibold text-gray-900">Dashboard</h1> | |
| <div class="flex items-center space-x-4"> | |
| <button class="p-2 text-gray-500 hover:text-gray-700 focus:outline-none"> | |
| <i data-feather="bell" class="h-5 w-5"></i> | |
| </button> | |
| <div class="relative"> | |
| <button id="user-menu" class="flex items-center space-x-2 focus:outline-none"> | |
| <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/1" alt="User profile"> | |
| <span class="hidden md:block text-sm font-medium text-gray-700">John Doe</span> | |
| <i data-feather="chevron-down" class="h-4 w-4 text-gray-500"></i> | |
| </button> | |
| <div id="user-dropdown" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50"> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Seu perfil</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Configurações</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sair</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Page content --> | |
| <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6"> | |
| <!-- Stats --> | |
| <div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4"> | |
| <!-- Stat 1 --> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-indigo-500 rounded-md p-3"> | |
| <i data-feather="message-square" class="h-6 w-6 text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Conversas hoje</dt> | |
| <dd class="flex items-baseline"> | |
| <div class="text-2xl font-semibold text-gray-900">142</div> | |
| <div class="ml-2 flex items-baseline text-sm font-semibold text-green-600"> | |
| <i data-feather="arrow-up" class="h-4 w-4"></i> | |
| <span class="sr-only">Increased by</span> | |
| 12% | |
| </div> | |
| </dd> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Stat 2 --> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-green-500 rounded-md p-3"> | |
| <i data-feather="phone" class="h-6 w-6 text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Ligações hoje</dt> | |
| <dd class="flex items-baseline"> | |
| <div class="text-2xl font-semibold text-gray-900">24</div> | |
| <div class="ml-2 flex items-baseline text-sm font-semibold text-green-600"> | |
| <i data-feather="arrow-up" class="h-4 w-4"></i> | |
| <span class="sr-only">Increased by</span> | |
| 5% | |
| </div> | |
| </dd> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Stat 3 --> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-yellow-500 rounded-md p-3"> | |
| <i data-feather="users" class="h-6 w-6 text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Novos clientes</dt> | |
| <dd class="flex items-baseline"> | |
| <div class="text-2xl font-semibold text-gray-900">8</div> | |
| <div class="ml-2 flex items-baseline text-sm font-semibold text-red-600"> | |
| <i data-feather="arrow-down" class="h-4 w-4"></i> | |
| <span class="sr-only">Decreased by</span> | |
| 3% | |
| </div> | |
| </dd> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Stat 4 --> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-red-500 rounded-md p-3"> | |
| <i data-feather="activity" class="h-6 w-6 text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Resolução</dt> | |
| <dd class="flex items-baseline"> | |
| <div class="text-2xl font-semibold text-gray-900">89%</div> | |
| <div class="ml-2 flex items-baseline text-sm font-semibold text-green-600"> | |
| <i data-feather="arrow-up" class="h-4 w-4"></i> | |
| <span class="sr-only">Increased by</span> | |
| 2% | |
| </div> | |
| </dd> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Charts --> | |
| <div class="mt-8 grid grid-cols-1 gap-6 lg:grid-cols-2"> | |
| <!-- Conversation chart --> | |
| <div class="bg-white shadow rounded-lg p-6"> | |
| <div class="flex items-center justify-between"> | |
| <h2 class="text-lg font-medium text-gray-900">Conversas por canal</h2> | |
| <div class="relative"> | |
| <select class="appearance-none bg-white border border-gray-300 rounded-md pl-3 pr-8 py-1 text-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500"> | |
| <option>Últimos 7 dias</option> | |
| <option>Últimos 30 dias</option> | |
| <option>Últimos 90 dias</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i data-feather="chevron-down" class="h-4 w-4"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <img src="http://static.photos/minimal/640x360/1" alt="Conversation chart" class="w-full h-64 object-cover rounded"> | |
| </div> | |
| </div> | |
| <!-- Performance chart --> | |
| <div class="bg-white shadow rounded-lg p-6"> | |
| <div class="flex items-center justify-between"> | |
| <h2 class="text-lg font-medium text-gray-900">Desempenho dos agentes</h2> | |
| <div class="relative"> | |
| <select class="appearance-none bg-white border border-gray-300 rounded-md pl-3 pr-8 py-1 text-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500"> | |
| <option>Últimos 7 dias</option> | |
| <option>Últimos 30 dias</option> | |
| <option>Últimos 90 dias</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i data-feather="chevron-down" class="h-4 w-4"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <img src="http://static.photos/minimal/640x360/2" alt="Performance chart" class="w-full h-64 object-cover rounded"> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent activity --> | |
| <div class="mt-8"> | |
| <div class="bg-white shadow rounded-lg overflow-hidden"> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <h2 class="text-lg font-medium text-gray-900">Atividade recente</h2> | |
| </div> | |
| <ul class="divide-y divide-gray-200"> | |
| <li class="px-6 py-4"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/2" alt="User avatar"> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Maria Silva</div> | |
| <div class="text-sm text-gray-500">Iniciou conversa via WhatsApp</div> | |
| </div> | |
| <div class="ml-auto text-sm text-gray-500"> | |
| <time datetime="2023-05-01T15:30">15:30</time> | |
| </div> | |
| </div> | |
| </li> | |
| <li class="px-6 py-4"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/3" alt="User avatar"> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">João Santos</div> | |
| <div class="text-sm text-gray-500">Ligação atendida pelo Agente IA</div> | |
| </div> | |
| <div class="ml-auto text-sm text-gray-500"> | |
| <time datetime="2023-05-01T14:45">14:45</time> | |
| </div> | |
| </div> | |
| </li> | |
| <li class="px-6 py-4"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/4" alt="User avatar"> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Ana Oliveira</div> | |
| <div class="text-sm text-gray-500">Mensagem via Instagram Direct</div> | |
| </div> | |
| <div class="ml-auto text-sm text-gray-500"> | |
| <time datetime="2023-05-01T13:20">13:20</time> | |
| </div> | |
| </div> | |
| </li> | |
| <li class="px-6 py-4"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/5" alt="User avatar"> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Carlos Pereira</div> | |
| <div class="text-sm text-gray-500">Conversa finalizada com sucesso</div> | |
| </div> | |
| <div class="ml-auto text-sm text-gray-500"> | |
| <time datetime="2023-05-01T11:10">11:10</time> | |
| </div> | |
| </div> | |
| </li> | |
| </ul> | |
| <div class="px-6 py-4 border-t border-gray-200"> | |
| <a href="#" class="text-sm font-medium text-indigo-600 hover:text-indigo-500">Ver todas as atividades</a> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| // Toggle sidebar | |
| document.getElementById('toggle-sidebar').addEventListener('click', function() { | |
| const sidebar = document.querySelector('.sidebar'); | |
| const mainContent = document.querySelector('.main-content'); | |
| sidebar.classList.toggle('collapsed'); | |
| mainContent.classList.toggle('expanded'); | |
| // Change icon | |
| const icon = this.querySelector('i'); | |
| if (sidebar.classList.contains('collapsed')) { | |
| feather.icons['chevron-right'].replace(icon); | |
| } else { | |
| feather.icons['chevron-left'].replace(icon); | |
| } | |
| }); | |
| // User dropdown | |
| document.getElementById('user-menu').addEventListener('click', function() { | |
| document.getElementById('user-dropdown').classList.toggle('hidden'); | |
| }); | |
| // Close dropdown when clicking outside | |
| document.addEventListener('click', function(event) { | |
| if (!event.target.closest('#user-menu') && !event.target.closest('#user-dropdown')) { | |
| document.getElementById('user-dropdown').classList.add('hidden'); | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> | |