File size: 22,949 Bytes
ec53acb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 | <!DOCTYPE html>
<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> |