Spaces:
Running
Running
Download index.html from oadrianoferrari/kpi: direct link, hf CLI and curl.
- Browser
- Download file 19.3 kB
-
https://huggingface.co/spaces/oadrianoferrari/kpi/resolve/main/index.html
- Command line
-
hf download hf://spaces/oadrianoferrari/kpi/index.html
-
curl -L -o index.html https://huggingface.co/spaces/oadrianoferrari/kpi/resolve/main/index.html
19.3 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=1920, height=1080, initial-scale=1.0"> | |
| <title>BrasilTopo - Painel TV</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=Poppins:wght@300;400;600;700&display=swap'); | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| background-color: #111827; | |
| color: white; | |
| width: 1920px; | |
| height: 1080px; | |
| overflow: hidden; | |
| margin: 0; | |
| padding: 20px; | |
| box-sizing: border-box; | |
| } | |
| .blink { | |
| animation: blink-animation 1.5s infinite; | |
| } | |
| @keyframes blink-animation { | |
| 0% { opacity: 1; } | |
| 50% { opacity: 0.5; } | |
| 100% { opacity: 1; } | |
| } | |
| .card { | |
| border-radius: 12px; | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); | |
| } | |
| .critical-item { | |
| animation: pulse 2s infinite; | |
| border-left: 4px solid #ef4444; | |
| } | |
| @keyframes pulse { | |
| 0% { background-color: rgba(239, 68, 68, 0.1); } | |
| 50% { background-color: rgba(239, 68, 68, 0.3); } | |
| 100% { background-color: rgba(239, 68, 68, 0.1); } | |
| } | |
| .pending-item { | |
| border-left: 4px solid #f59e0b; | |
| } | |
| .scroll-container { | |
| scrollbar-width: none; | |
| overflow-y: auto; | |
| scroll-behavior: smooth; | |
| } | |
| .scroll-container::-webkit-scrollbar { | |
| display: none; | |
| } | |
| /* Tamanhos otimizados para 1920x1080 */ | |
| .tv-header { | |
| font-size: 1.8rem; | |
| } | |
| .tv-text-sm { | |
| font-size: 0.9rem; | |
| } | |
| .tv-text-md { | |
| font-size: 1rem; | |
| } | |
| .tv-text-lg { | |
| font-size: 1.1rem; | |
| } | |
| .tv-text-xl { | |
| font-size: 1.3rem; | |
| } | |
| .tv-text-2xl { | |
| font-size: 1.6rem; | |
| } | |
| .tv-text-3xl { | |
| font-size: 2rem; | |
| } | |
| .tv-icon { | |
| font-size: 1.2rem; | |
| } | |
| .tv-padding { | |
| padding: 0.8rem; | |
| } | |
| .tv-margin-bottom { | |
| margin-bottom: 1rem; | |
| } | |
| .tv-gap { | |
| gap: 1rem; | |
| } | |
| /* Layout ajustado para 1920x1080 */ | |
| .tv-main-content { | |
| height: calc(100% - 100px); | |
| } | |
| .tv-critical-height { | |
| height: 650px; | |
| } | |
| .tv-pending-height { | |
| height: 380px; /* Aumentado de 280px para 380px */ | |
| } | |
| .tv-clients-height { | |
| height: 250px; /* Mantido o tamanho original */ | |
| } | |
| .tv-grid-cols-3 { | |
| grid-template-columns: 450px 950px 450px; | |
| } | |
| .tv-grid-cols-2 { | |
| grid-template-columns: 1fr 1fr; | |
| } | |
| </style> | |
| </head> | |
| <body class="tv-padding"> | |
| <!-- Cabeçalho --> | |
| <div class="flex justify-between items-center tv-margin-bottom"> | |
| <div class="flex items-center"> | |
| <div class="bg-blue-600 p-2 rounded-lg mr-3"> | |
| <i class="fas fa-map-marked-alt text-white tv-icon"></i> | |
| </div> | |
| <h1 class="tv-text-2xl font-bold">BrasilTopo</h1> | |
| </div> | |
| <div class="tv-text-lg bg-gray-700 px-3 py-1 rounded-full"> | |
| <i class="fas fa-sync-alt mr-2 blink tv-icon"></i> | |
| Atualização automática | |
| </div> | |
| </div> | |
| <!-- Conteúdo principal --> | |
| <div class="tv-main-content grid tv-grid-cols-3 tv-gap"> | |
| <!-- Coluna 1 - Status e Líderes --> | |
| <div class="space-y-4"> | |
| <!-- Status Geral --> | |
| <div class="bg-gray-800 card"> | |
| <div class="bg-blue-600 px-4 py-2 rounded-t-lg"> | |
| <h2 class="font-semibold tv-text-xl"><i class="fas fa-chart-line mr-2 tv-icon"></i> Status Geral</h2> | |
| </div> | |
| <div class="p-3 grid grid-cols-2 gap-3"> | |
| <div class="bg-gray-700 p-2 rounded-lg"> | |
| <div class="text-blue-400 font-medium tv-text-lg">Em Produção</div> | |
| <div class="tv-text-2xl font-bold">55</div> | |
| </div> | |
| <div class="bg-gray-700 p-2 rounded-lg"> | |
| <div class="text-green-400 font-medium tv-text-lg">Finalizados</div> | |
| <div class="tv-text-2xl font-bold">35</div> | |
| </div> | |
| <div class="bg-gray-700 p-2 rounded-lg"> | |
| <div class="text-purple-400 font-medium tv-text-lg">Pendentes</div> | |
| <div class="tv-text-2xl font-bold">8</div> | |
| </div> | |
| <div class="bg-gray-700 p-2 rounded-lg"> | |
| <div class="text-red-400 font-medium tv-text-lg">Críticos</div> | |
| <div class="tv-text-2xl font-bold">3</div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Contagem por Líder --> | |
| <div class="bg-gray-800 card"> | |
| <div class="bg-green-600 px-4 py-2 rounded-t-lg"> | |
| <h2 class="font-semibold tv-text-xl"><i class="fas fa-users mr-2 tv-icon"></i> Contagem por Líder</h2> | |
| </div> | |
| <div class="p-3 space-y-2"> | |
| <div class="flex justify-between items-center border-b border-gray-700 pb-1"> | |
| <div class="font-medium tv-text-lg">Mayara Silva</div> | |
| <div class="bg-green-900 text-green-400 px-2 py-0.5 rounded-full tv-text-md">12 projetos</div> | |
| </div> | |
| <div class="flex justify-between items-center border-b border-gray-700 pb-1"> | |
| <div class="font-medium tv-text-lg">Brésser Oliveira</div> | |
| <div class="bg-green-900 text-green-400 px-2 py-0.5 rounded-full tv-text-md">8 projetos</div> | |
| </div> | |
| <div class="flex justify-between items-center border-b border-gray-700 pb-1"> | |
| <div class="font-medium tv-text-lg">Willian Oliveira</div> | |
| <div class="bg-green-900 text-green-400 px-2 py-0.5 rounded-full tv-text-md">5 projetos</div> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div class="font-medium tv-text-lg">Ana Beatriz</div> | |
| <div class="bg-green-900 text-green-400 px-2 py-0.5 rounded-full tv-text-md">5 projetos</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Coluna 2 - Pendentes Críticos (Destaque principal) --> | |
| <div> | |
| <div class="bg-gray-800 card h-full"> | |
| <div class="bg-red-600 px-4 py-2 rounded-t-lg flex justify-between items-center"> | |
| <h2 class="font-semibold tv-text-xl"><i class="fas fa-exclamation-triangle mr-2 tv-icon"></i> Pendentes Críticos</h2> | |
| <div class="bg-red-700 px-2 py-0.5 rounded-full tv-text-lg">3 URGENTE</div> | |
| </div> | |
| <div class="p-3 tv-critical-height overflow-y-auto scroll-container" id="critical-scroll"> | |
| <div class="space-y-2" id="critical-content"> | |
| <!-- Item crítico com animação de destaque --> | |
| <div class="critical-item p-3 rounded-lg"> | |
| <div class="flex items-start"> | |
| <div class="bg-red-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-2 mt-1"> | |
| <i class="fas fa-fire tv-icon"></i> | |
| </div> | |
| <div> | |
| <div class="font-bold tv-text-xl">IPIRANGA PRODUTOS DE PETRÓLEO S.A.</div> | |
| <div class="text-red-300 tv-text-lg">Retificação e Unificação (Ourinhos)</div> | |
| <div class="tv-text-md text-gray-400 mt-1"> | |
| <span class="mr-3"><i class="fas fa-user mr-1 tv-icon"></i> Willian Oliveira</span> | |
| <span><i class="fas fa-clock mr-1 tv-icon"></i> 5 dias atrasado</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="critical-item p-3 rounded-lg"> | |
| <div class="flex items-start"> | |
| <div class="bg-red-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-2 mt-1"> | |
| <i class="fas fa-fire tv-icon"></i> | |
| </div> | |
| <div> | |
| <div class="font-bold tv-text-xl">GABIPAR DO BRASIL</div> | |
| <div class="text-red-300 tv-text-lg">Desmembramento da Matrícula 133.401</div> | |
| <div class="tv-text-md text-gray-400 mt-1"> | |
| <span><i class="fas fa-clock mr-1 tv-icon"></i> 3 dias atrasado</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="critical-item p-3 rounded-lg"> | |
| <div class="flex items-start"> | |
| <div class="bg-red-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-2 mt-1"> | |
| <i class="fas fa-fire tv-icon"></i> | |
| </div> | |
| <div> | |
| <div class="font-bold tv-text-xl">MARCEL AUGUSTO FARHA CABETE</div> | |
| <div class="text-red-300 tv-text-lg">Retificação das Matrículas 8.321 e 8.322</div> | |
| <div class="tv-text-md text-gray-400 mt-1"> | |
| <span><i class="fas fa-clock mr-1 tv-icon"></i> 2 dias atrasado</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Coluna 3 - Pendentes Normais e Clientes Recentes --> | |
| <div class="space-y-4"> | |
| <!-- Pendentes Normais (aumentado) --> | |
| <div class="bg-gray-800 card"> | |
| <div class="bg-amber-600 px-4 py-2 rounded-t-lg"> | |
| <h2 class="font-semibold tv-text-xl"><i class="fas fa-clock mr-2 tv-icon"></i> Pendentes</h2> | |
| </div> | |
| <div class="p-3 tv-pending-height overflow-y-auto scroll-container" id="pending-scroll"> | |
| <div class="space-y-2" id="pending-content"> | |
| <div class="pending-item bg-gray-700 p-2 rounded-lg"> | |
| <div class="font-medium tv-text-lg">FABIO SHINOMIA</div> | |
| <div class="text-amber-300 tv-text-md">Geo da Matrícula 2.654 (Chácara)</div> | |
| </div> | |
| <div class="pending-item bg-gray-700 p-2 rounded-lg"> | |
| <div class="font-medium tv-text-lg">INSTITUTO DAS APOSTOLAS</div> | |
| <div class="text-amber-300 tv-text-md">Retificação da Transcrição 4.978</div> | |
| </div> | |
| <div class="pending-item bg-gray-700 p-2 rounded-lg"> | |
| <div class="font-medium tv-text-lg">NELSON SAEZ RODRIGUES</div> | |
| <div class="text-amber-300 tv-text-md">RET MAT 111.444, 111.445, 111.446</div> | |
| </div> | |
| <div class="pending-item bg-gray-700 p-2 rounded-lg"> | |
| <div class="font-medium tv-text-lg">MARTA SOLANGE MARINHO</div> | |
| <div class="text-amber-300 tv-text-md">Sítio Gabiroba</div> | |
| </div> | |
| <div class="pending-item bg-gray-700 p-2 rounded-lg"> | |
| <div class="font-medium tv-text-lg">JOSÉ CARLOS DA SILVA</div> | |
| <div class="text-amber-300 tv-text-md">Retificação de Área - Fazenda Santa Maria</div> | |
| </div> | |
| <div class="pending-item bg-gray-700 p-2 rounded-lg"> | |
| <div class="font-medium tv-text-lg">MARIA APARECIDA SANTOS</div> | |
| <div class="text-amber-300 tv-text-md">Unificação de Matrículas 45.321 e 45.322</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Clientes Recentes (mantido o tamanho original) --> | |
| <div class="bg-gray-800 card"> | |
| <div class="bg-blue-600 px-4 py-2 rounded-t-lg"> | |
| <h2 class="font-semibold tv-text-xl"><i class="fas fa-user-plus mr-2 tv-icon"></i> Clientes Recentes</h2> | |
| </div> | |
| <div class="p-3 tv-clients-height overflow-y-auto scroll-container" id="clients-scroll"> | |
| <div class="space-y-2" id="clients-content"> | |
| <div class="flex items-center bg-gray-700 p-2 rounded-lg"> | |
| <div class="bg-blue-500 text-white rounded-full w-10 h-10 flex items-center justify-center mr-2"> | |
| <i class="fas fa-building tv-icon"></i> | |
| </div> | |
| <div> | |
| <div class="font-medium tv-text-lg">ECOVITA INCORPORADORA</div> | |
| <div class="text-blue-300 tv-text-md">11/04/2025</div> | |
| </div> | |
| </div> | |
| <div class="flex items-center bg-gray-700 p-2 rounded-lg"> | |
| <div class="bg-green-500 text-white rounded-full w-10 h-10 flex items-center justify-center mr-2"> | |
| <i class="fas fa-home tv-icon"></i> | |
| </div> | |
| <div> | |
| <div class="font-medium tv-text-lg">YEES INCORPORADORA</div> | |
| <div class="text-green-300 tv-text-md">07/04/2025</div> | |
| </div> | |
| </div> | |
| <div class="flex items-center bg-gray-700 p-2 rounded-lg"> | |
| <div class="bg-purple-500 text-white rounded-full w-10 h-10 flex items-center justify-center mr-2"> | |
| <i class="fas fa-warehouse tv-icon"></i> | |
| </div> | |
| <div> | |
| <div class="font-medium tv-text-lg">VITTA PARQUE ROOSEVELT</div> | |
| <div class="text-purple-300 tv-text-md">04/04/2025</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Rodapé --> | |
| <div class="mt-4 text-center text-gray-500 tv-text-md"> | |
| <p>Atualizado em 25/04/2025 10:15 | BrasilTopo Gestão</p> | |
| </div> | |
| <script> | |
| // Atualização automática a cada 5 minutos | |
| setTimeout(function() { | |
| location.reload(); | |
| }, 300000); | |
| // Configuração do scroll automático suave | |
| function setupAutoScroll(containerId, contentId, scrollSpeed = 30, pauseTime = 3000) { | |
| const container = document.getElementById(containerId); | |
| const content = document.getElementById(contentId); | |
| let isScrollingDown = true; | |
| let isPaused = false; | |
| let scrollPosition = 0; | |
| // Verifica se há conteúdo suficiente para rolar | |
| if (content.scrollHeight <= container.clientHeight) { | |
| return; // Não faz scroll se não houver conteúdo suficiente | |
| } | |
| function scrollStep() { | |
| if (isPaused) return; | |
| const maxScroll = content.scrollHeight - container.clientHeight; | |
| if (isScrollingDown) { | |
| scrollPosition += 1; | |
| if (scrollPosition >= maxScroll) { | |
| scrollPosition = maxScroll; | |
| isScrollingDown = false; | |
| isPaused = true; | |
| setTimeout(() => { | |
| isPaused = false; | |
| }, pauseTime); | |
| } | |
| } else { | |
| scrollPosition -= 1; | |
| if (scrollPosition <= 0) { | |
| scrollPosition = 0; | |
| isScrollingDown = true; | |
| isPaused = true; | |
| setTimeout(() => { | |
| isPaused = false; | |
| }, pauseTime); | |
| } | |
| } | |
| container.scrollTop = scrollPosition; | |
| requestAnimationFrame(scrollStep); | |
| } | |
| // Inicia o scroll | |
| requestAnimationFrame(scrollStep); | |
| } | |
| // Configura o scroll automático para todas as seções | |
| document.addEventListener('DOMContentLoaded', function() { | |
| setupAutoScroll('critical-scroll', 'critical-content', 20, 3000); | |
| setupAutoScroll('pending-scroll', 'pending-content', 25, 2500); | |
| setupAutoScroll('clients-scroll', 'clients-content', 30, 2000); | |
| }); | |
| </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=oadrianoferrari/kpi" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |