oadrianoferrari commited on
Commit
1ffc9d6
·
verified ·
1 Parent(s): 204cda6

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +409 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Kpi
3
- emoji: 📉
4
- colorFrom: blue
5
- colorTo: indigo
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: kpi
3
+ emoji: 🐳
4
+ colorFrom: purple
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,409 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="pt-BR">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=1920, height=1080, initial-scale=1.0">
6
+ <title>BrasilTopo - Painel TV</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background-color: #111827;
15
+ color: white;
16
+ width: 1920px;
17
+ height: 1080px;
18
+ overflow: hidden;
19
+ margin: 0;
20
+ padding: 20px;
21
+ box-sizing: border-box;
22
+ }
23
+
24
+ .blink {
25
+ animation: blink-animation 1.5s infinite;
26
+ }
27
+
28
+ @keyframes blink-animation {
29
+ 0% { opacity: 1; }
30
+ 50% { opacity: 0.5; }
31
+ 100% { opacity: 1; }
32
+ }
33
+
34
+ .card {
35
+ border-radius: 12px;
36
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
37
+ }
38
+
39
+ .critical-item {
40
+ animation: pulse 2s infinite;
41
+ border-left: 4px solid #ef4444;
42
+ }
43
+
44
+ @keyframes pulse {
45
+ 0% { background-color: rgba(239, 68, 68, 0.1); }
46
+ 50% { background-color: rgba(239, 68, 68, 0.3); }
47
+ 100% { background-color: rgba(239, 68, 68, 0.1); }
48
+ }
49
+
50
+ .pending-item {
51
+ border-left: 4px solid #f59e0b;
52
+ }
53
+
54
+ .scroll-container {
55
+ scrollbar-width: none;
56
+ overflow-y: auto;
57
+ scroll-behavior: smooth;
58
+ }
59
+
60
+ .scroll-container::-webkit-scrollbar {
61
+ display: none;
62
+ }
63
+
64
+ /* Tamanhos otimizados para 1920x1080 */
65
+ .tv-header {
66
+ font-size: 1.8rem;
67
+ }
68
+
69
+ .tv-text-sm {
70
+ font-size: 0.9rem;
71
+ }
72
+
73
+ .tv-text-md {
74
+ font-size: 1rem;
75
+ }
76
+
77
+ .tv-text-lg {
78
+ font-size: 1.1rem;
79
+ }
80
+
81
+ .tv-text-xl {
82
+ font-size: 1.3rem;
83
+ }
84
+
85
+ .tv-text-2xl {
86
+ font-size: 1.6rem;
87
+ }
88
+
89
+ .tv-text-3xl {
90
+ font-size: 2rem;
91
+ }
92
+
93
+ .tv-icon {
94
+ font-size: 1.2rem;
95
+ }
96
+
97
+ .tv-padding {
98
+ padding: 0.8rem;
99
+ }
100
+
101
+ .tv-margin-bottom {
102
+ margin-bottom: 1rem;
103
+ }
104
+
105
+ .tv-gap {
106
+ gap: 1rem;
107
+ }
108
+
109
+ /* Layout ajustado para 1920x1080 */
110
+ .tv-main-content {
111
+ height: calc(100% - 100px);
112
+ }
113
+
114
+ .tv-critical-height {
115
+ height: 650px;
116
+ }
117
+
118
+ .tv-pending-height {
119
+ height: 380px; /* Aumentado de 280px para 380px */
120
+ }
121
+
122
+ .tv-clients-height {
123
+ height: 250px; /* Mantido o tamanho original */
124
+ }
125
+
126
+ .tv-grid-cols-3 {
127
+ grid-template-columns: 450px 950px 450px;
128
+ }
129
+
130
+ .tv-grid-cols-2 {
131
+ grid-template-columns: 1fr 1fr;
132
+ }
133
+ </style>
134
+ </head>
135
+ <body class="tv-padding">
136
+ <!-- Cabeçalho -->
137
+ <div class="flex justify-between items-center tv-margin-bottom">
138
+ <div class="flex items-center">
139
+ <div class="bg-blue-600 p-2 rounded-lg mr-3">
140
+ <i class="fas fa-map-marked-alt text-white tv-icon"></i>
141
+ </div>
142
+ <h1 class="tv-text-2xl font-bold">BrasilTopo</h1>
143
+ </div>
144
+ <div class="tv-text-lg bg-gray-700 px-3 py-1 rounded-full">
145
+ <i class="fas fa-sync-alt mr-2 blink tv-icon"></i>
146
+ Atualização automática
147
+ </div>
148
+ </div>
149
+
150
+ <!-- Conteúdo principal -->
151
+ <div class="tv-main-content grid tv-grid-cols-3 tv-gap">
152
+ <!-- Coluna 1 - Status e Líderes -->
153
+ <div class="space-y-4">
154
+ <!-- Status Geral -->
155
+ <div class="bg-gray-800 card">
156
+ <div class="bg-blue-600 px-4 py-2 rounded-t-lg">
157
+ <h2 class="font-semibold tv-text-xl"><i class="fas fa-chart-line mr-2 tv-icon"></i> Status Geral</h2>
158
+ </div>
159
+ <div class="p-3 grid grid-cols-2 gap-3">
160
+ <div class="bg-gray-700 p-2 rounded-lg">
161
+ <div class="text-blue-400 font-medium tv-text-lg">Em Produção</div>
162
+ <div class="tv-text-2xl font-bold">55</div>
163
+ </div>
164
+ <div class="bg-gray-700 p-2 rounded-lg">
165
+ <div class="text-green-400 font-medium tv-text-lg">Finalizados</div>
166
+ <div class="tv-text-2xl font-bold">35</div>
167
+ </div>
168
+ <div class="bg-gray-700 p-2 rounded-lg">
169
+ <div class="text-purple-400 font-medium tv-text-lg">Pendentes</div>
170
+ <div class="tv-text-2xl font-bold">8</div>
171
+ </div>
172
+ <div class="bg-gray-700 p-2 rounded-lg">
173
+ <div class="text-red-400 font-medium tv-text-lg">Críticos</div>
174
+ <div class="tv-text-2xl font-bold">3</div>
175
+ </div>
176
+ </div>
177
+ </div>
178
+
179
+ <!-- Contagem por Líder -->
180
+ <div class="bg-gray-800 card">
181
+ <div class="bg-green-600 px-4 py-2 rounded-t-lg">
182
+ <h2 class="font-semibold tv-text-xl"><i class="fas fa-users mr-2 tv-icon"></i> Contagem por Líder</h2>
183
+ </div>
184
+ <div class="p-3 space-y-2">
185
+ <div class="flex justify-between items-center border-b border-gray-700 pb-1">
186
+ <div class="font-medium tv-text-lg">Mayara Silva</div>
187
+ <div class="bg-green-900 text-green-400 px-2 py-0.5 rounded-full tv-text-md">12 projetos</div>
188
+ </div>
189
+ <div class="flex justify-between items-center border-b border-gray-700 pb-1">
190
+ <div class="font-medium tv-text-lg">Brésser Oliveira</div>
191
+ <div class="bg-green-900 text-green-400 px-2 py-0.5 rounded-full tv-text-md">8 projetos</div>
192
+ </div>
193
+ <div class="flex justify-between items-center border-b border-gray-700 pb-1">
194
+ <div class="font-medium tv-text-lg">Willian Oliveira</div>
195
+ <div class="bg-green-900 text-green-400 px-2 py-0.5 rounded-full tv-text-md">5 projetos</div>
196
+ </div>
197
+ <div class="flex justify-between items-center">
198
+ <div class="font-medium tv-text-lg">Ana Beatriz</div>
199
+ <div class="bg-green-900 text-green-400 px-2 py-0.5 rounded-full tv-text-md">5 projetos</div>
200
+ </div>
201
+ </div>
202
+ </div>
203
+ </div>
204
+
205
+ <!-- Coluna 2 - Pendentes Críticos (Destaque principal) -->
206
+ <div>
207
+ <div class="bg-gray-800 card h-full">
208
+ <div class="bg-red-600 px-4 py-2 rounded-t-lg flex justify-between items-center">
209
+ <h2 class="font-semibold tv-text-xl"><i class="fas fa-exclamation-triangle mr-2 tv-icon"></i> Pendentes Críticos</h2>
210
+ <div class="bg-red-700 px-2 py-0.5 rounded-full tv-text-lg">3 URGENTE</div>
211
+ </div>
212
+ <div class="p-3 tv-critical-height overflow-y-auto scroll-container" id="critical-scroll">
213
+ <div class="space-y-2" id="critical-content">
214
+ <!-- Item crítico com animação de destaque -->
215
+ <div class="critical-item p-3 rounded-lg">
216
+ <div class="flex items-start">
217
+ <div class="bg-red-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-2 mt-1">
218
+ <i class="fas fa-fire tv-icon"></i>
219
+ </div>
220
+ <div>
221
+ <div class="font-bold tv-text-xl">IPIRANGA PRODUTOS DE PETRÓLEO S.A.</div>
222
+ <div class="text-red-300 tv-text-lg">Retificação e Unificação (Ourinhos)</div>
223
+ <div class="tv-text-md text-gray-400 mt-1">
224
+ <span class="mr-3"><i class="fas fa-user mr-1 tv-icon"></i> Willian Oliveira</span>
225
+ <span><i class="fas fa-clock mr-1 tv-icon"></i> 5 dias atrasado</span>
226
+ </div>
227
+ </div>
228
+ </div>
229
+ </div>
230
+
231
+ <div class="critical-item p-3 rounded-lg">
232
+ <div class="flex items-start">
233
+ <div class="bg-red-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-2 mt-1">
234
+ <i class="fas fa-fire tv-icon"></i>
235
+ </div>
236
+ <div>
237
+ <div class="font-bold tv-text-xl">GABIPAR DO BRASIL</div>
238
+ <div class="text-red-300 tv-text-lg">Desmembramento da Matrícula 133.401</div>
239
+ <div class="tv-text-md text-gray-400 mt-1">
240
+ <span><i class="fas fa-clock mr-1 tv-icon"></i> 3 dias atrasado</span>
241
+ </div>
242
+ </div>
243
+ </div>
244
+ </div>
245
+
246
+ <div class="critical-item p-3 rounded-lg">
247
+ <div class="flex items-start">
248
+ <div class="bg-red-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-2 mt-1">
249
+ <i class="fas fa-fire tv-icon"></i>
250
+ </div>
251
+ <div>
252
+ <div class="font-bold tv-text-xl">MARCEL AUGUSTO FARHA CABETE</div>
253
+ <div class="text-red-300 tv-text-lg">Retificação das Matrículas 8.321 e 8.322</div>
254
+ <div class="tv-text-md text-gray-400 mt-1">
255
+ <span><i class="fas fa-clock mr-1 tv-icon"></i> 2 dias atrasado</span>
256
+ </div>
257
+ </div>
258
+ </div>
259
+ </div>
260
+ </div>
261
+ </div>
262
+ </div>
263
+ </div>
264
+
265
+ <!-- Coluna 3 - Pendentes Normais e Clientes Recentes -->
266
+ <div class="space-y-4">
267
+ <!-- Pendentes Normais (aumentado) -->
268
+ <div class="bg-gray-800 card">
269
+ <div class="bg-amber-600 px-4 py-2 rounded-t-lg">
270
+ <h2 class="font-semibold tv-text-xl"><i class="fas fa-clock mr-2 tv-icon"></i> Pendentes</h2>
271
+ </div>
272
+ <div class="p-3 tv-pending-height overflow-y-auto scroll-container" id="pending-scroll">
273
+ <div class="space-y-2" id="pending-content">
274
+ <div class="pending-item bg-gray-700 p-2 rounded-lg">
275
+ <div class="font-medium tv-text-lg">FABIO SHINOMIA</div>
276
+ <div class="text-amber-300 tv-text-md">Geo da Matrícula 2.654 (Chácara)</div>
277
+ </div>
278
+ <div class="pending-item bg-gray-700 p-2 rounded-lg">
279
+ <div class="font-medium tv-text-lg">INSTITUTO DAS APOSTOLAS</div>
280
+ <div class="text-amber-300 tv-text-md">Retificação da Transcrição 4.978</div>
281
+ </div>
282
+ <div class="pending-item bg-gray-700 p-2 rounded-lg">
283
+ <div class="font-medium tv-text-lg">NELSON SAEZ RODRIGUES</div>
284
+ <div class="text-amber-300 tv-text-md">RET MAT 111.444, 111.445, 111.446</div>
285
+ </div>
286
+ <div class="pending-item bg-gray-700 p-2 rounded-lg">
287
+ <div class="font-medium tv-text-lg">MARTA SOLANGE MARINHO</div>
288
+ <div class="text-amber-300 tv-text-md">Sítio Gabiroba</div>
289
+ </div>
290
+ <div class="pending-item bg-gray-700 p-2 rounded-lg">
291
+ <div class="font-medium tv-text-lg">JOSÉ CARLOS DA SILVA</div>
292
+ <div class="text-amber-300 tv-text-md">Retificação de Área - Fazenda Santa Maria</div>
293
+ </div>
294
+ <div class="pending-item bg-gray-700 p-2 rounded-lg">
295
+ <div class="font-medium tv-text-lg">MARIA APARECIDA SANTOS</div>
296
+ <div class="text-amber-300 tv-text-md">Unificação de Matrículas 45.321 e 45.322</div>
297
+ </div>
298
+ </div>
299
+ </div>
300
+ </div>
301
+
302
+ <!-- Clientes Recentes (mantido o tamanho original) -->
303
+ <div class="bg-gray-800 card">
304
+ <div class="bg-blue-600 px-4 py-2 rounded-t-lg">
305
+ <h2 class="font-semibold tv-text-xl"><i class="fas fa-user-plus mr-2 tv-icon"></i> Clientes Recentes</h2>
306
+ </div>
307
+ <div class="p-3 tv-clients-height overflow-y-auto scroll-container" id="clients-scroll">
308
+ <div class="space-y-2" id="clients-content">
309
+ <div class="flex items-center bg-gray-700 p-2 rounded-lg">
310
+ <div class="bg-blue-500 text-white rounded-full w-10 h-10 flex items-center justify-center mr-2">
311
+ <i class="fas fa-building tv-icon"></i>
312
+ </div>
313
+ <div>
314
+ <div class="font-medium tv-text-lg">ECOVITA INCORPORADORA</div>
315
+ <div class="text-blue-300 tv-text-md">11/04/2025</div>
316
+ </div>
317
+ </div>
318
+ <div class="flex items-center bg-gray-700 p-2 rounded-lg">
319
+ <div class="bg-green-500 text-white rounded-full w-10 h-10 flex items-center justify-center mr-2">
320
+ <i class="fas fa-home tv-icon"></i>
321
+ </div>
322
+ <div>
323
+ <div class="font-medium tv-text-lg">YEES INCORPORADORA</div>
324
+ <div class="text-green-300 tv-text-md">07/04/2025</div>
325
+ </div>
326
+ </div>
327
+ <div class="flex items-center bg-gray-700 p-2 rounded-lg">
328
+ <div class="bg-purple-500 text-white rounded-full w-10 h-10 flex items-center justify-center mr-2">
329
+ <i class="fas fa-warehouse tv-icon"></i>
330
+ </div>
331
+ <div>
332
+ <div class="font-medium tv-text-lg">VITTA PARQUE ROOSEVELT</div>
333
+ <div class="text-purple-300 tv-text-md">04/04/2025</div>
334
+ </div>
335
+ </div>
336
+ </div>
337
+ </div>
338
+ </div>
339
+ </div>
340
+ </div>
341
+
342
+ <!-- Rodapé -->
343
+ <div class="mt-4 text-center text-gray-500 tv-text-md">
344
+ <p>Atualizado em 25/04/2025 10:15 | BrasilTopo Gestão</p>
345
+ </div>
346
+
347
+ <script>
348
+ // Atualização automática a cada 5 minutos
349
+ setTimeout(function() {
350
+ location.reload();
351
+ }, 300000);
352
+
353
+ // Configuração do scroll automático suave
354
+ function setupAutoScroll(containerId, contentId, scrollSpeed = 30, pauseTime = 3000) {
355
+ const container = document.getElementById(containerId);
356
+ const content = document.getElementById(contentId);
357
+ let isScrollingDown = true;
358
+ let isPaused = false;
359
+ let scrollPosition = 0;
360
+
361
+ // Verifica se há conteúdo suficiente para rolar
362
+ if (content.scrollHeight <= container.clientHeight) {
363
+ return; // Não faz scroll se não houver conteúdo suficiente
364
+ }
365
+
366
+ function scrollStep() {
367
+ if (isPaused) return;
368
+
369
+ const maxScroll = content.scrollHeight - container.clientHeight;
370
+
371
+ if (isScrollingDown) {
372
+ scrollPosition += 1;
373
+ if (scrollPosition >= maxScroll) {
374
+ scrollPosition = maxScroll;
375
+ isScrollingDown = false;
376
+ isPaused = true;
377
+ setTimeout(() => {
378
+ isPaused = false;
379
+ }, pauseTime);
380
+ }
381
+ } else {
382
+ scrollPosition -= 1;
383
+ if (scrollPosition <= 0) {
384
+ scrollPosition = 0;
385
+ isScrollingDown = true;
386
+ isPaused = true;
387
+ setTimeout(() => {
388
+ isPaused = false;
389
+ }, pauseTime);
390
+ }
391
+ }
392
+
393
+ container.scrollTop = scrollPosition;
394
+ requestAnimationFrame(scrollStep);
395
+ }
396
+
397
+ // Inicia o scroll
398
+ requestAnimationFrame(scrollStep);
399
+ }
400
+
401
+ // Configura o scroll automático para todas as seções
402
+ document.addEventListener('DOMContentLoaded', function() {
403
+ setupAutoScroll('critical-scroll', 'critical-content', 20, 3000);
404
+ setupAutoScroll('pending-scroll', 'pending-content', 25, 2500);
405
+ setupAutoScroll('clients-scroll', 'clients-content', 30, 2000);
406
+ });
407
+ </script>
408
+ <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>
409
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ ótimo, a box a direita de pendentes pode ser maior na altura, já o box Clientes recentes pode ser do tamanho que ja se encontra