Add 3 files
Browse files- README.md +7 -5
- index.html +401 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: chamados
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,401 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Sistema de Chamados por Tópicos</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 9 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 10 |
+
<style>
|
| 11 |
+
.topic-card:hover {
|
| 12 |
+
transform: translateY(-5px);
|
| 13 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
| 14 |
+
}
|
| 15 |
+
.chart-container {
|
| 16 |
+
transition: all 0.3s ease;
|
| 17 |
+
}
|
| 18 |
+
.chart-container:hover {
|
| 19 |
+
transform: scale(1.02);
|
| 20 |
+
}
|
| 21 |
+
.animate-pulse {
|
| 22 |
+
animation: pulse 2s infinite;
|
| 23 |
+
}
|
| 24 |
+
@keyframes pulse {
|
| 25 |
+
0% { opacity: 1; }
|
| 26 |
+
50% { opacity: 0.5; }
|
| 27 |
+
100% { opacity: 1; }
|
| 28 |
+
}
|
| 29 |
+
</style>
|
| 30 |
+
</head>
|
| 31 |
+
<body class="bg-gray-50">
|
| 32 |
+
<div class="container mx-auto px-4 py-8">
|
| 33 |
+
<!-- Header -->
|
| 34 |
+
<header class="mb-10">
|
| 35 |
+
<div class="flex justify-between items-center">
|
| 36 |
+
<div>
|
| 37 |
+
<h1 class="text-3xl font-bold text-indigo-800">Sistema de Chamados</h1>
|
| 38 |
+
<p class="text-gray-600">Selecione o tópico do seu problema</p>
|
| 39 |
+
</div>
|
| 40 |
+
<div class="flex items-center space-x-4">
|
| 41 |
+
<div class="relative">
|
| 42 |
+
<span class="absolute inset-y-0 left-0 flex items-center pl-3">
|
| 43 |
+
<i class="fas fa-search text-gray-400"></i>
|
| 44 |
+
</span>
|
| 45 |
+
<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">
|
| 46 |
+
</div>
|
| 47 |
+
<div class="relative">
|
| 48 |
+
<button class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition flex items-center">
|
| 49 |
+
<i class="fas fa-plus mr-2"></i> Novo Chamado
|
| 50 |
+
</button>
|
| 51 |
+
<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>
|
| 52 |
+
</div>
|
| 53 |
+
</div>
|
| 54 |
+
</div>
|
| 55 |
+
|
| 56 |
+
<div class="mt-6 bg-indigo-50 p-4 rounded-lg flex items-center">
|
| 57 |
+
<div class="mr-4 text-indigo-700">
|
| 58 |
+
<i class="fas fa-info-circle text-xl"></i>
|
| 59 |
+
</div>
|
| 60 |
+
<p class="text-indigo-800">
|
| 61 |
+
Antes de abrir um novo chamado, verifique se já existe um tópico relacionado ao seu problema. Isso nos ajuda a responder mais rapidamente!
|
| 62 |
+
</p>
|
| 63 |
+
</div>
|
| 64 |
+
</header>
|
| 65 |
+
|
| 66 |
+
<!-- Main Content -->
|
| 67 |
+
<main>
|
| 68 |
+
<!-- Categories -->
|
| 69 |
+
<section class="mb-12">
|
| 70 |
+
<div class="flex justify-between items-center mb-6">
|
| 71 |
+
<h2 class="text-2xl font-semibold text-gray-800">Categorias Principais</h2>
|
| 72 |
+
<div class="flex space-x-2">
|
| 73 |
+
<button class="px-3 py-1 bg-white border border-gray-300 rounded-lg text-sm hover:bg-gray-50">Todos</button>
|
| 74 |
+
<button class="px-3 py-1 bg-indigo-600 text-white rounded-lg text-sm hover:bg-indigo-700">Frequentes</button>
|
| 75 |
+
<button class="px-3 py-1 bg-white border border-gray-300 rounded-lg text-sm hover:bg-gray-50">Técnicos</button>
|
| 76 |
+
<button class="px-3 py-1 bg-white border border-gray-300 rounded-lg text-sm hover:bg-gray-50">Administrativos</button>
|
| 77 |
+
</div>
|
| 78 |
+
</div>
|
| 79 |
+
|
| 80 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 81 |
+
<!-- Category Card 1 -->
|
| 82 |
+
<div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-indigo-500">
|
| 83 |
+
<div class="p-6">
|
| 84 |
+
<div class="flex items-center mb-4">
|
| 85 |
+
<div class="bg-indigo-100 p-3 rounded-full mr-4">
|
| 86 |
+
<i class="fas fa-laptop-code text-indigo-600 text-xl"></i>
|
| 87 |
+
</div>
|
| 88 |
+
<h3 class="text-lg font-semibold text-gray-800">Problemas com Hardware</h3>
|
| 89 |
+
</div>
|
| 90 |
+
<p class="text-gray-600 mb-4">Computadores, impressoras, scanners e outros equipamentos físicos</p>
|
| 91 |
+
<div class="flex justify-between items-center">
|
| 92 |
+
<span class="text-sm text-gray-500">15 chamados abertos</span>
|
| 93 |
+
<button class="text-indigo-600 hover:text-indigo-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
|
| 98 |
+
<!-- Category Card 2 -->
|
| 99 |
+
<div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-blue-500">
|
| 100 |
+
<div class="p-6">
|
| 101 |
+
<div class="flex items-center mb-4">
|
| 102 |
+
<div class="bg-blue-100 p-3 rounded-full mr-4">
|
| 103 |
+
<i class="fas fa-network-wired text-blue-600 text-xl"></i>
|
| 104 |
+
</div>
|
| 105 |
+
<h3 class="text-lg font-semibold text-gray-800">Rede e Conectividade</h3>
|
| 106 |
+
</div>
|
| 107 |
+
<p class="text-gray-600 mb-4">Problemas com internet, Wi-Fi, VPN, acesso a servidores</p>
|
| 108 |
+
<div class="flex justify-between items-center">
|
| 109 |
+
<span class="text-sm text-gray-500">22 chamados abertos</span>
|
| 110 |
+
<button class="text-blue-600 hover:text-blue-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
|
| 115 |
+
<!-- Category Card 3 -->
|
| 116 |
+
<div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-green-500">
|
| 117 |
+
<div class="p-6">
|
| 118 |
+
<div class="flex items-center mb-4">
|
| 119 |
+
<div class="bg-green-100 p-3 rounded-full mr-4">
|
| 120 |
+
<i class="fas fa-key text-green-600 text-xl"></i>
|
| 121 |
+
</div>
|
| 122 |
+
<h3 class="text-lg font-semibold text-gray-800">Acesso e Permissões</h3>
|
| 123 |
+
</div>
|
| 124 |
+
<p class="text-gray-600 mb-4">Solicitação de acesso a sistemas, reset de senha, problemas de login</p>
|
| 125 |
+
<div class="flex justify-between items-center">
|
| 126 |
+
<span class="text-sm text-gray-500">8 chamados abertos</span>
|
| 127 |
+
<button class="text-green-600 hover:text-green-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button>
|
| 128 |
+
</div>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
+
|
| 132 |
+
<!-- Category Card 4 -->
|
| 133 |
+
<div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-purple-500">
|
| 134 |
+
<div class="p-6">
|
| 135 |
+
<div class="flex items-center mb-4">
|
| 136 |
+
<div class="bg-purple-100 p-3 rounded-full mr-4">
|
| 137 |
+
<i class="fas fa-envelope text-purple-600 text-xl"></i>
|
| 138 |
+
</div>
|
| 139 |
+
<h3 class="text-lg font-semibold text-gray-800">E-mail e Comunicação</h3>
|
| 140 |
+
</div>
|
| 141 |
+
<p class="text-gray-600 mb-4">Problemas com e-mail corporativo, Outlook, assinaturas, listas de distribuição</p>
|
| 142 |
+
<div class="flex justify-between items-center">
|
| 143 |
+
<span class="text-sm text-gray-500">12 chamados abertos</span>
|
| 144 |
+
<button class="text-purple-600 hover:text-purple-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
<!-- Category Card 5 -->
|
| 150 |
+
<div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-red-500">
|
| 151 |
+
<div class="p-6">
|
| 152 |
+
<div class="flex items-center mb-4">
|
| 153 |
+
<div class="bg-red-100 p-3 rounded-full mr-4">
|
| 154 |
+
<i class="fas fa-database text-red-600 text-xl"></i>
|
| 155 |
+
</div>
|
| 156 |
+
<h3 class="text-lg font-semibold text-gray-800">Sistemas Internos</h3>
|
| 157 |
+
</div>
|
| 158 |
+
<p class="text-gray-600 mb-4">ERP, CRM, sistemas de gestão, relatórios e dashboards</p>
|
| 159 |
+
<div class="flex justify-between items-center">
|
| 160 |
+
<span class="text-sm text-gray-500">18 chamados abertos</span>
|
| 161 |
+
<button class="text-red-600 hover:text-red-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button>
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
|
| 166 |
+
<!-- Category Card 6 -->
|
| 167 |
+
<div class="topic-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300 cursor-pointer border-l-4 border-yellow-500">
|
| 168 |
+
<div class="p-6">
|
| 169 |
+
<div class="flex items-center mb-4">
|
| 170 |
+
<div class="bg-yellow-100 p-3 rounded-full mr-4">
|
| 171 |
+
<i class="fas fa-question-circle text-yellow-600 text-xl"></i>
|
| 172 |
+
</div>
|
| 173 |
+
<h3 class="text-lg font-semibold text-gray-800">Outros Assuntos</h3>
|
| 174 |
+
</div>
|
| 175 |
+
<p class="text-gray-600 mb-4">Qualquer outro problema não listado nas categorias acima</p>
|
| 176 |
+
<div class="flex justify-between items-center">
|
| 177 |
+
<span class="text-sm text-gray-500">5 chamados abertos</span>
|
| 178 |
+
<button class="text-yellow-600 hover:text-yellow-800 font-medium">Abrir chamado <i class="fas fa-arrow-right ml-1"></i></button>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
</section>
|
| 184 |
+
|
| 185 |
+
<!-- Popular Topics -->
|
| 186 |
+
<section class="mb-12">
|
| 187 |
+
<h2 class="text-2xl font-semibold text-gray-800 mb-6">Tópicos Populares</h2>
|
| 188 |
+
|
| 189 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden">
|
| 190 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 divide-y md:divide-y-0 md:divide-x">
|
| 191 |
+
<!-- Popular Topic 1 -->
|
| 192 |
+
<div class="p-6">
|
| 193 |
+
<div class="flex items-start mb-3">
|
| 194 |
+
<div class="bg-indigo-100 p-2 rounded-md mr-3">
|
| 195 |
+
<i class="fas fa-desktop text-indigo-600"></i>
|
| 196 |
+
</div>
|
| 197 |
+
<div>
|
| 198 |
+
<h3 class="font-medium text-gray-800">Tela azul no Windows</h3>
|
| 199 |
+
<p class="text-sm text-gray-600">Problemas com a tela azul da morte no Windows 10/11</p>
|
| 200 |
+
</div>
|
| 201 |
+
</div>
|
| 202 |
+
<div class="flex justify-between items-center mt-4">
|
| 203 |
+
<span class="text-xs px-2 py-1 bg-gray-100 text-gray-600 rounded-full">Hardware</span>
|
| 204 |
+
<button class="text-xs text-indigo-600 hover:text-indigo-800 font-medium">Abrir chamado</button>
|
| 205 |
+
</div>
|
| 206 |
+
</div>
|
| 207 |
+
|
| 208 |
+
<!-- Popular Topic 2 -->
|
| 209 |
+
<div class="p-6">
|
| 210 |
+
<div class="flex items-start mb-3">
|
| 211 |
+
<div class="bg-blue-100 p-2 rounded-md mr-3">
|
| 212 |
+
<i class="fas fa-wifi text-blue-600"></i>
|
| 213 |
+
</div>
|
| 214 |
+
<div>
|
| 215 |
+
<h3 class="font-medium text-gray-800">Wi-Fi lento</h3>
|
| 216 |
+
<p class="text-sm text-gray-600">Conexão Wi-Fi instável ou com velocidade reduzida</p>
|
| 217 |
+
</div>
|
| 218 |
+
</div>
|
| 219 |
+
<div class="flex justify-between items-center mt-4">
|
| 220 |
+
<span class="text-xs px-2 py-1 bg-gray-100 text-gray-600 rounded-full">Rede</span>
|
| 221 |
+
<button class="text-xs text-blue-600 hover:text-blue-800 font-medium">Abrir chamado</button>
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
|
| 225 |
+
<!-- Popular Topic 3 -->
|
| 226 |
+
<div class="p-6">
|
| 227 |
+
<div class="flex items-start mb-3">
|
| 228 |
+
<div class="bg-green-100 p-2 rounded-md mr-3">
|
| 229 |
+
<i class="fas fa-lock text-green-600"></i>
|
| 230 |
+
</div>
|
| 231 |
+
<div>
|
| 232 |
+
<h3 class="font-medium text-gray-800">Reset de senha</h3>
|
| 233 |
+
<p class="text-sm text-gray-600">Esqueci minha senha ou preciso redefini-la</p>
|
| 234 |
+
</div>
|
| 235 |
+
</div>
|
| 236 |
+
<div class="flex justify-between items-center mt-4">
|
| 237 |
+
<span class="text-xs px-2 py-1 bg-gray-100 text-gray-600 rounded-full">Acesso</span>
|
| 238 |
+
<button class="text-xs text-green-600 hover:text-green-800 font-medium">Abrir chamado</button>
|
| 239 |
+
</div>
|
| 240 |
+
</div>
|
| 241 |
+
</div>
|
| 242 |
+
</div>
|
| 243 |
+
</section>
|
| 244 |
+
|
| 245 |
+
<!-- Charts Section -->
|
| 246 |
+
<section>
|
| 247 |
+
<h2 class="text-2xl font-semibold text-gray-800 mb-6">Estatísticas de Chamados</h2>
|
| 248 |
+
|
| 249 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
| 250 |
+
<!-- Chart 1 -->
|
| 251 |
+
<div class="chart-container bg-white p-6 rounded-xl shadow-md">
|
| 252 |
+
<div class="flex justify-between items-center mb-4">
|
| 253 |
+
<h3 class="text-lg font-medium text-gray-800">Distribuição por Categoria</h3>
|
| 254 |
+
<div class="flex items-center text-sm text-gray-500">
|
| 255 |
+
<span class="mr-2">Últimos 30 dias</span>
|
| 256 |
+
<i class="fas fa-calendar-alt"></i>
|
| 257 |
+
</div>
|
| 258 |
+
</div>
|
| 259 |
+
<div class="relative h-64">
|
| 260 |
+
<canvas id="categoryChart"></canvas>
|
| 261 |
+
</div>
|
| 262 |
+
<div class="mt-4 text-sm text-gray-600">
|
| 263 |
+
<p>Os problemas de rede representam a maior parte dos chamados recentes.</p>
|
| 264 |
+
</div>
|
| 265 |
+
</div>
|
| 266 |
+
|
| 267 |
+
<!-- Chart 2 -->
|
| 268 |
+
<div class="chart-container bg-white p-6 rounded-xl shadow-md">
|
| 269 |
+
<div class="flex justify-between items-center mb-4">
|
| 270 |
+
<h3 class="text-lg font-medium text-gray-800">Status dos Chamados</h3>
|
| 271 |
+
<div class="flex items-center text-sm text-gray-500">
|
| 272 |
+
<span class="mr-2">Todos os chamados</span>
|
| 273 |
+
<i class="fas fa-info-circle"></i>
|
| 274 |
+
</div>
|
| 275 |
+
</div>
|
| 276 |
+
<div class="relative h-64">
|
| 277 |
+
<canvas id="statusChart"></canvas>
|
| 278 |
+
</div>
|
| 279 |
+
<div class="mt-4 text-sm text-gray-600">
|
| 280 |
+
<p>67% dos chamados são resolvidos dentro de 24 horas.</p>
|
| 281 |
+
</div>
|
| 282 |
+
</div>
|
| 283 |
+
</div>
|
| 284 |
+
</section>
|
| 285 |
+
</main>
|
| 286 |
+
|
| 287 |
+
<!-- Footer -->
|
| 288 |
+
<footer class="mt-16 pt-8 border-t border-gray-200">
|
| 289 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 290 |
+
<div class="mb-4 md:mb-0">
|
| 291 |
+
<p class="text-gray-600">© 2023 Sistema de Chamados. Todos os direitos reservados.</p>
|
| 292 |
+
</div>
|
| 293 |
+
<div class="flex space-x-6">
|
| 294 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-facebook-f"></i></a>
|
| 295 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-twitter"></i></a>
|
| 296 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-linkedin-in"></i></a>
|
| 297 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-github"></i></a>
|
| 298 |
+
</div>
|
| 299 |
+
</div>
|
| 300 |
+
</footer>
|
| 301 |
+
</div>
|
| 302 |
+
|
| 303 |
+
<script>
|
| 304 |
+
// Initialize charts when the page loads
|
| 305 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 306 |
+
// Category Distribution Chart
|
| 307 |
+
const categoryCtx = document.getElementById('categoryChart').getContext('2d');
|
| 308 |
+
const categoryChart = new Chart(categoryCtx, {
|
| 309 |
+
type: 'pie',
|
| 310 |
+
data: {
|
| 311 |
+
labels: ['Hardware', 'Rede', 'Acesso', 'E-mail', 'Sistemas', 'Outros'],
|
| 312 |
+
datasets: [{
|
| 313 |
+
data: [15, 22, 8, 12, 18, 5],
|
| 314 |
+
backgroundColor: [
|
| 315 |
+
'#6366F1',
|
| 316 |
+
'#3B82F6',
|
| 317 |
+
'#10B981',
|
| 318 |
+
'#8B5CF6',
|
| 319 |
+
'#EF4444',
|
| 320 |
+
'#F59E0B'
|
| 321 |
+
],
|
| 322 |
+
borderWidth: 1
|
| 323 |
+
}]
|
| 324 |
+
},
|
| 325 |
+
options: {
|
| 326 |
+
responsive: true,
|
| 327 |
+
maintainAspectRatio: false,
|
| 328 |
+
plugins: {
|
| 329 |
+
legend: {
|
| 330 |
+
position: 'right',
|
| 331 |
+
},
|
| 332 |
+
tooltip: {
|
| 333 |
+
callbacks: {
|
| 334 |
+
label: function(context) {
|
| 335 |
+
const label = context.label || '';
|
| 336 |
+
const value = context.raw || 0;
|
| 337 |
+
const total = context.dataset.data.reduce((a, b) => a + b, 0);
|
| 338 |
+
const percentage = Math.round((value / total) * 100);
|
| 339 |
+
return `${label}: ${value} (${percentage}%)`;
|
| 340 |
+
}
|
| 341 |
+
}
|
| 342 |
+
}
|
| 343 |
+
}
|
| 344 |
+
}
|
| 345 |
+
});
|
| 346 |
+
|
| 347 |
+
// Status Distribution Chart
|
| 348 |
+
const statusCtx = document.getElementById('statusChart').getContext('2d');
|
| 349 |
+
const statusChart = new Chart(statusCtx, {
|
| 350 |
+
type: 'doughnut',
|
| 351 |
+
data: {
|
| 352 |
+
labels: ['Resolvido', 'Em Andamento', 'Aguardando', 'Cancelado'],
|
| 353 |
+
datasets: [{
|
| 354 |
+
data: [65, 15, 12, 8],
|
| 355 |
+
backgroundColor: [
|
| 356 |
+
'#10B981',
|
| 357 |
+
'#3B82F6',
|
| 358 |
+
'#F59E0B',
|
| 359 |
+
'#EF4444'
|
| 360 |
+
],
|
| 361 |
+
borderWidth: 1
|
| 362 |
+
}]
|
| 363 |
+
},
|
| 364 |
+
options: {
|
| 365 |
+
responsive: true,
|
| 366 |
+
maintainAspectRatio: false,
|
| 367 |
+
cutout: '70%',
|
| 368 |
+
plugins: {
|
| 369 |
+
legend: {
|
| 370 |
+
position: 'right',
|
| 371 |
+
},
|
| 372 |
+
tooltip: {
|
| 373 |
+
callbacks: {
|
| 374 |
+
label: function(context) {
|
| 375 |
+
const label = context.label || '';
|
| 376 |
+
const value = context.raw || 0;
|
| 377 |
+
const total = context.dataset.data.reduce((a, b) => a + b, 0);
|
| 378 |
+
const percentage = Math.round((value / total) * 100);
|
| 379 |
+
return `${label}: ${value} (${percentage}%)`;
|
| 380 |
+
}
|
| 381 |
+
}
|
| 382 |
+
}
|
| 383 |
+
}
|
| 384 |
+
}
|
| 385 |
+
});
|
| 386 |
+
|
| 387 |
+
// Add animation to topic cards
|
| 388 |
+
const topicCards = document.querySelectorAll('.topic-card');
|
| 389 |
+
topicCards.forEach(card => {
|
| 390 |
+
card.addEventListener('mouseenter', function() {
|
| 391 |
+
this.style.transition = 'transform 0.3s ease, box-shadow 0.3s ease';
|
| 392 |
+
});
|
| 393 |
+
|
| 394 |
+
card.addEventListener('mouseleave', function() {
|
| 395 |
+
this.style.transition = 'transform 0.3s ease, box-shadow 0.3s ease';
|
| 396 |
+
});
|
| 397 |
+
});
|
| 398 |
+
});
|
| 399 |
+
</script>
|
| 400 |
+
<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>
|
| 401 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
nessa tela vamos colocar as opções de aberturas de chamados por topicos e no final da pagina colocar graficos em formato de pizza
|