Download index.html from LIMATEC/chamados: direct link, hf CLI and curl.
- Browser
- Download file 22.9 kB
-
https://huggingface.co/spaces/LIMATEC/chamados/resolve/main/index.html
- Command line
-
hf download hf://spaces/LIMATEC/chamados/index.html
-
curl -L -o index.html https://huggingface.co/spaces/LIMATEC/chamados/resolve/main/index.html
22.9 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Sistema de Chamados por Tópicos</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .topic-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| .chart-container { | |
| transition: all 0.3s ease; | |
| } | |
| .chart-container:hover { | |
| transform: scale(1.02); | |
| } | |
| .animate-pulse { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { opacity: 1; } | |
| 50% { opacity: 0.5; } | |
| 100% { opacity: 1; } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <!-- Header --> | |
| <header class="mb-10"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h1 class="text-3xl font-bold text-indigo-800">Sistema de Chamados</h1> | |
| <p class="text-gray-600">Selecione o tópico do seu problema</p> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <span class="absolute inset-y-0 left-0 flex items-center pl-3"> | |
| <i class="fas fa-search text-gray-400"></i> | |
| </span> | |
| <input type="text" placeholder="Buscar tópico..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div class="relative"> | |
| <button class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition flex items-center"> | |
| <i class="fas fa-plus mr-2"></i> Novo Chamado | |
| </button> | |
| <span class="absolute -top-2 -right-2 bg-red-500 text-white text-xs font-bold rounded-full h-5 w-5 flex items-center justify-center">3</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-6 bg-indigo-50 p-4 rounded-lg flex items-center"> | |
| <div class="mr-4 text-indigo-700"> | |
| <i class="fas fa-info-circle text-xl"></i> | |
| </div> | |
| <p class="text-indigo-800"> | |
| Antes de abrir um novo chamado, verifique se já existe um tópico relacionado ao seu problema. Isso nos ajuda a responder mais rapidamente! | |
| </p> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main> | |
| <!-- Categories --> | |
| <section class="mb-12"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-2xl font-semibold text-gray-800">Categorias Principais</h2> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 bg-white border border-gray-300 rounded-lg text-sm hover:bg-gray-50">Todos</button> | |
| <button class="px-3 py-1 bg-indigo-600 text-white rounded-lg text-sm hover:bg-indigo-700">Frequentes</button> | |
| <button class="px-3 py-1 bg-white border border-gray-300 rounded-lg text-sm hover:bg-gray-50">Técnicos</button> | |
| <button class="px-3 py-1 bg-white border border-gray-300 rounded-lg text-sm hover:bg-gray-50">Administrativos</button> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Category Card 1 --> | |
| <div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-indigo-500"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-indigo-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-laptop-code text-indigo-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800">Problemas com Hardware</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4">Computadores, impressoras, scanners e outros equipamentos físicos</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">15 chamados abertos</span> | |
| <button class="text-indigo-600 hover:text-indigo-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Category Card 2 --> | |
| <div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-blue-500"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-network-wired text-blue-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800">Rede e Conectividade</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4">Problemas com internet, Wi-Fi, VPN, acesso a servidores</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">22 chamados abertos</span> | |
| <button class="text-blue-600 hover:text-blue-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Category Card 3 --> | |
| <div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-green-500"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-green-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-key text-green-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800">Acesso e Permissões</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4">Solicitação de acesso a sistemas, reset de senha, problemas de login</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">8 chamados abertos</span> | |
| <button class="text-green-600 hover:text-green-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Category Card 4 --> | |
| <div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-purple-500"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-purple-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-envelope text-purple-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800">E-mail e Comunicação</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4">Problemas com e-mail corporativo, Outlook, assinaturas, listas de distribuição</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">12 chamados abertos</span> | |
| <button class="text-purple-600 hover:text-purple-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Category Card 5 --> | |
| <div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-red-500"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-red-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-database text-red-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800">Sistemas Internos</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4">ERP, CRM, sistemas de gestão, relatórios e dashboards</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">18 chamados abertos</span> | |
| <button class="text-red-600 hover:text-red-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Category Card 6 --> | |
| <div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-yellow-500"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-yellow-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-question-circle text-yellow-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800">Outros Assuntos</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4">Qualquer outro problema não listado nas categorias acima</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">5 chamados abertos</span> | |
| <button class="text-yellow-600 hover:text-yellow-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Popular Topics --> | |
| <section class="mb-12"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-6">Tópicos Populares</h2> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 divide-y md:divide-y-0 md:divide-x"> | |
| <!-- Popular Topic 1 --> | |
| <div class="p-6"> | |
| <div class="flex items-start mb-3"> | |
| <div class="bg-indigo-100 p-2 rounded-md mr-3"> | |
| <i class="fas fa-desktop text-indigo-600"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-medium text-gray-800">Tela azul no Windows</h3> | |
| <p class="text-sm text-gray-600">Problemas com a tela azul da morte no Windows 10/11</p> | |
| </div> | |
| </div> | |
| <div class="flex justify-between items-center mt-4"> | |
| <span class="text-xs px-2 py-1 bg-gray-100 text-gray-600 rounded-full">Hardware</span> | |
| <button class="text-xs text-indigo-600 hover:text-indigo-800 font-medium">Abrir chamado</button> | |
| </div> | |
| </div> | |
| <!-- Popular Topic 2 --> | |
| <div class="p-6"> | |
| <div class="flex items-start mb-3"> | |
| <div class="bg-blue-100 p-2 rounded-md mr-3"> | |
| <i class="fas fa-wifi text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-medium text-gray-800">Wi-Fi lento</h3> | |
| <p class="text-sm text-gray-600">Conexão Wi-Fi instável ou com velocidade reduzida</p> | |
| </div> | |
| </div> | |
| <div class="flex justify-between items-center mt-4"> | |
| <span class="text-xs px-2 py-1 bg-gray-100 text-gray-600 rounded-full">Rede</span> | |
| <button class="text-xs text-blue-600 hover:text-blue-800 font-medium">Abrir chamado</button> | |
| </div> | |
| </div> | |
| <!-- Popular Topic 3 --> | |
| <div class="p-6"> | |
| <div class="flex items-start mb-3"> | |
| <div class="bg-green-100 p-2 rounded-md mr-3"> | |
| <i class="fas fa-lock text-green-600"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-medium text-gray-800">Reset de senha</h3> | |
| <p class="text-sm text-gray-600">Esqueci minha senha ou preciso redefini-la</p> | |
| </div> | |
| </div> | |
| <div class="flex justify-between items-center mt-4"> | |
| <span class="text-xs px-2 py-1 bg-gray-100 text-gray-600 rounded-full">Acesso</span> | |
| <button class="text-xs text-green-600 hover:text-green-800 font-medium">Abrir chamado</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Charts Section --> | |
| <section> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-6">Estatísticas de Chamados</h2> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-8"> | |
| <!-- Chart 1 --> | |
| <div class="chart-container bg-white p-6 rounded-xl shadow-md"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-medium text-gray-800">Distribuição por Categoria</h3> | |
| <div class="flex items-center text-sm text-gray-500"> | |
| <span class="mr-2">Últimos 30 dias</span> | |
| <i class="fas fa-calendar-alt"></i> | |
| </div> | |
| </div> | |
| <div class="relative h-64"> | |
| <canvas id="categoryChart"></canvas> | |
| </div> | |
| <div class="mt-4 text-sm text-gray-600"> | |
| <p>Os problemas de rede representam a maior parte dos chamados recentes.</p> | |
| </div> | |
| </div> | |
| <!-- Chart 2 --> | |
| <div class="chart-container bg-white p-6 rounded-xl shadow-md"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-medium text-gray-800">Status dos Chamados</h3> | |
| <div class="flex items-center text-sm text-gray-500"> | |
| <span class="mr-2">Todos os chamados</span> | |
| <i class="fas fa-info-circle"></i> | |
| </div> | |
| </div> | |
| <div class="relative h-64"> | |
| <canvas id="statusChart"></canvas> | |
| </div> | |
| <div class="mt-4 text-sm text-gray-600"> | |
| <p>67% dos chamados são resolvidos dentro de 24 horas.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="mt-16 pt-8 border-t border-gray-200"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <div class="mb-4 md:mb-0"> | |
| <p class="text-gray-600">© 2023 Sistema de Chamados. Todos os direitos reservados.</p> | |
| </div> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-facebook-f"></i></a> | |
| <a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-linkedin-in"></i></a> | |
| <a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-github"></i></a> | |
| </div> | |
| </div> | |
| </footer> | |
| </div> | |
| <script> | |
| // Initialize charts when the page loads | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Category Distribution Chart | |
| const categoryCtx = document.getElementById('categoryChart').getContext('2d'); | |
| const categoryChart = new Chart(categoryCtx, { | |
| type: 'pie', | |
| data: { | |
| labels: ['Hardware', 'Rede', 'Acesso', 'E-mail', 'Sistemas', 'Outros'], | |
| datasets: [{ | |
| data: [15, 22, 8, 12, 18, 5], | |
| backgroundColor: [ | |
| '#6366F1', | |
| '#3B82F6', | |
| '#10B981', | |
| '#8B5CF6', | |
| '#EF4444', | |
| '#F59E0B' | |
| ], | |
| borderWidth: 1 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| plugins: { | |
| legend: { | |
| position: 'right', | |
| }, | |
| tooltip: { | |
| callbacks: { | |
| label: function(context) { | |
| const label = context.label || ''; | |
| const value = context.raw || 0; | |
| const total = context.dataset.data.reduce((a, b) => a + b, 0); | |
| const percentage = Math.round((value / total) * 100); | |
| return `${label}: ${value} (${percentage}%)`; | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }); | |
| // Status Distribution Chart | |
| const statusCtx = document.getElementById('statusChart').getContext('2d'); | |
| const statusChart = new Chart(statusCtx, { | |
| type: 'doughnut', | |
| data: { | |
| labels: ['Resolvido', 'Em Andamento', 'Aguardando', 'Cancelado'], | |
| datasets: [{ | |
| data: [65, 15, 12, 8], | |
| backgroundColor: [ | |
| '#10B981', | |
| '#3B82F6', | |
| '#F59E0B', | |
| '#EF4444' | |
| ], | |
| borderWidth: 1 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| cutout: '70%', | |
| plugins: { | |
| legend: { | |
| position: 'right', | |
| }, | |
| tooltip: { | |
| callbacks: { | |
| label: function(context) { | |
| const label = context.label || ''; | |
| const value = context.raw || 0; | |
| const total = context.dataset.data.reduce((a, b) => a + b, 0); | |
| const percentage = Math.round((value / total) * 100); | |
| return `${label}: ${value} (${percentage}%)`; | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }); | |
| // Add animation to topic cards | |
| const topicCards = document.querySelectorAll('.topic-card'); | |
| topicCards.forEach(card => { | |
| card.addEventListener('mouseenter', function() { | |
| this.style.transition = 'transform 0.3s ease, box-shadow 0.3s ease'; | |
| }); | |
| card.addEventListener('mouseleave', function() { | |
| this.style.transition = 'transform 0.3s ease, box-shadow 0.3s ease'; | |
| }); | |
| }); | |
| }); | |
| </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=LIMATEC/chamados" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |