marcelamps commited on
Commit
cc0f38c
·
verified ·
1 Parent(s): ef248bb

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +552 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Dev Dev
3
- emoji: 📚
4
- colorFrom: purple
5
- colorTo: blue
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: dev-dev
3
+ emoji: 🐳
4
+ colorFrom: gray
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,552 @@
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=device-width, initial-scale=1.0">
6
+ <title>LegalData Manager - Gestão de Processos Jurídicos</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
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
10
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.3.0/papaparse.min.js"></script>
11
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.18.5/xlsx.full.min.js"></script>
12
+ <style>
13
+ .sidebar {
14
+ transition: all 0.3s ease;
15
+ }
16
+ .data-card:hover {
17
+ transform: translateY(-5px);
18
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
19
+ }
20
+ .process-detail {
21
+ max-height: 0;
22
+ overflow: hidden;
23
+ transition: max-height 0.5s ease-out;
24
+ }
25
+ .process-detail.active {
26
+ max-height: 1000px;
27
+ }
28
+ .tab-content {
29
+ display: none;
30
+ }
31
+ .tab-content.active {
32
+ display: block;
33
+ animation: fadeIn 0.5s;
34
+ }
35
+ @keyframes fadeIn {
36
+ from { opacity: 0; }
37
+ to { opacity: 1; }
38
+ }
39
+ </style>
40
+ </head>
41
+ <body class="bg-gray-50 font-sans">
42
+ <div class="flex h-screen overflow-hidden">
43
+ <!-- Sidebar -->
44
+ <div class="sidebar bg-indigo-900 text-white w-64 flex-shrink-0">
45
+ <div class="p-4 flex items-center space-x-3 border-b border-indigo-800">
46
+ <i class="fas fa-balance-scale text-2xl text-indigo-300"></i>
47
+ <h1 class="text-xl font-bold">LegalData Manager</h1>
48
+ </div>
49
+ <nav class="p-4">
50
+ <div class="mb-6">
51
+ <h3 class="text-xs uppercase text-indigo-400 font-semibold mb-3">Menu Principal</h3>
52
+ <ul>
53
+ <li class="mb-2">
54
+ <a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800 transition" onclick="showTab('dashboard')">
55
+ <i class="fas fa-tachometer-alt mr-3"></i>
56
+ Dashboard
57
+ </a>
58
+ </li>
59
+ <li class="mb-2">
60
+ <a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800 transition" onclick="showTab('processos')">
61
+ <i class="fas fa-folder-open mr-3"></i>
62
+ Processos
63
+ </a>
64
+ </li>
65
+ <li class="mb-2">
66
+ <a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800 transition" onclick="showTab('clientes')">
67
+ <i class="fas fa-users mr-3"></i>
68
+ Clientes
69
+ </a>
70
+ </li>
71
+ <li class="mb-2">
72
+ <a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800 transition" onclick="showTab('import')">
73
+ <i class="fas fa-file-import mr-3"></i>
74
+ Importar Dados
75
+ </a>
76
+ </li>
77
+ </ul>
78
+ </div>
79
+ <div class="mb-6">
80
+ <h3 class="text-xs uppercase text-indigo-400 font-semibold mb-3">Administração</h3>
81
+ <ul>
82
+ <li class="mb-2">
83
+ <a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800 transition" onclick="showTab('config')">
84
+ <i class="fas fa-cog mr-3"></i>
85
+ Configurações
86
+ </a>
87
+ </li>
88
+ <li class="mb-2">
89
+ <a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800 transition" onclick="showTab('sanitize')">
90
+ <i class="fas fa-broom mr-3"></i>
91
+ Sanitização
92
+ </a>
93
+ </li>
94
+ <li class="mb-2">
95
+ <a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800 transition" onclick="showTab('integrations')">
96
+ <i class="fas fa-plug mr-3"></i>
97
+ Integrações
98
+ </a>
99
+ </li>
100
+ </ul>
101
+ </div>
102
+ <div class="mt-8 pt-4 border-t border-indigo-800">
103
+ <div class="flex items-center space-x-3">
104
+ <div class="w-10 h-10 rounded-full bg-indigo-700 flex items-center justify-center">
105
+ <i class="fas fa-user"></i>
106
+ </div>
107
+ <div>
108
+ <p class="font-medium">Admin</p>
109
+ <p class="text-xs text-indigo-300">admin@legaldata.com</p>
110
+ </div>
111
+ </div>
112
+ </div>
113
+ </nav>
114
+ </div>
115
+
116
+ <!-- Main Content -->
117
+ <div class="flex-1 overflow-auto">
118
+ <!-- Top Navigation -->
119
+ <header class="bg-white shadow-sm">
120
+ <div class="flex justify-between items-center p-4">
121
+ <div class="flex items-center space-x-4">
122
+ <button class="text-gray-500 md:hidden">
123
+ <i class="fas fa-bars"></i>
124
+ </button>
125
+ <h2 class="text-xl font-semibold text-gray-800" id="current-tab-title">Dashboard</h2>
126
+ </div>
127
+ <div class="flex items-center space-x-4">
128
+ <div class="relative">
129
+ <input type="text" placeholder="Buscar..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent">
130
+ <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
131
+ </div>
132
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
133
+ <i class="fas fa-bell"></i>
134
+ </button>
135
+ </div>
136
+ </div>
137
+ </header>
138
+
139
+ <!-- Tab Contents -->
140
+ <main class="p-6">
141
+ <!-- Dashboard Tab -->
142
+ <div id="dashboard" class="tab-content active">
143
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
144
+ <div class="data-card bg-white p-6 rounded-xl shadow">
145
+ <div class="flex justify-between items-start">
146
+ <div>
147
+ <p class="text-gray-500">Processos Ativos</p>
148
+ <h3 class="text-3xl font-bold mt-2">124</h3>
149
+ </div>
150
+ <div class="p-3 rounded-lg bg-indigo-100 text-indigo-600">
151
+ <i class="fas fa-folder-open text-xl"></i>
152
+ </div>
153
+ </div>
154
+ <div class="mt-4 pt-4 border-t border-gray-100">
155
+ <p class="text-sm text-green-500 flex items-center">
156
+ <i class="fas fa-arrow-up mr-1"></i> 12% desde o último mês
157
+ </p>
158
+ </div>
159
+ </div>
160
+ <div class="data-card bg-white p-6 rounded-xl shadow">
161
+ <div class="flex justify-between items-start">
162
+ <div>
163
+ <p class="text-gray-500">Clientes Ativos</p>
164
+ <h3 class="text-3xl font-bold mt-2">42</h3>
165
+ </div>
166
+ <div class="p-3 rounded-lg bg-green-100 text-green-600">
167
+ <i class="fas fa-users text-xl"></i>
168
+ </div>
169
+ </div>
170
+ <div class="mt-4 pt-4 border-t border-gray-100">
171
+ <p class="text-sm text-green-500 flex items-center">
172
+ <i class="fas fa-arrow-up mr-1"></i> 5% desde o último mês
173
+ </p>
174
+ </div>
175
+ </div>
176
+ <div class="data-card bg-white p-6 rounded-xl shadow">
177
+ <div class="flex justify-between items-start">
178
+ <div>
179
+ <p class="text-gray-500">Intimações Pendentes</p>
180
+ <h3 class="text-3xl font-bold mt-2">18</h3>
181
+ </div>
182
+ <div class="p-3 rounded-lg bg-red-100 text-red-600">
183
+ <i class="fas fa-exclamation-triangle text-xl"></i>
184
+ </div>
185
+ </div>
186
+ <div class="mt-4 pt-4 border-t border-gray-100">
187
+ <p class="text-sm text-red-500 flex items-center">
188
+ <i class="fas fa-arrow-up mr-1"></i> 3 novas hoje
189
+ </p>
190
+ </div>
191
+ </div>
192
+ </div>
193
+
194
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
195
+ <div class="bg-white p-6 rounded-xl shadow">
196
+ <div class="flex justify-between items-center mb-4">
197
+ <h3 class="font-semibold text-lg">Distribuição de Processos</h3>
198
+ <select class="border border-gray-300 rounded px-3 py-1 text-sm">
199
+ <option>Últimos 30 dias</option>
200
+ <option>Últimos 90 dias</option>
201
+ <option>Este ano</option>
202
+ </select>
203
+ </div>
204
+ <div class="h-64">
205
+ <canvas id="processChart"></canvas>
206
+ </div>
207
+ </div>
208
+ <div class="bg-white p-6 rounded-xl shadow">
209
+ <div class="flex justify-between items-center mb-4">
210
+ <h3 class="font-semibold text-lg">Atividades Recentes</h3>
211
+ <button class="text-indigo-600 text-sm font-medium">Ver todas</button>
212
+ </div>
213
+ <div class="space-y-4">
214
+ <div class="flex items-start">
215
+ <div class="p-2 bg-indigo-100 rounded-lg mr-3 text-indigo-600">
216
+ <i class="fas fa-file-alt"></i>
217
+ </div>
218
+ <div>
219
+ <p class="font-medium">Novo processo cadastrado</p>
220
+ <p class="text-sm text-gray-500">Processo #2023-0456 para João Silva</p>
221
+ <p class="text-xs text-gray-400">há 15 minutos</p>
222
+ </div>
223
+ </div>
224
+ <div class="flex items-start">
225
+ <div class="p-2 bg-green-100 rounded-lg mr-3 text-green-600">
226
+ <i class="fas fa-check-circle"></i>
227
+ </div>
228
+ <div>
229
+ <p class="font-medium">Intimação respondida</p>
230
+ <p class="text-sm text-gray-500">Processo #2023-0321 - TRF1</p>
231
+ <p class="text-xs text-gray-400">há 2 horas</p>
232
+ </div>
233
+ </div>
234
+ <div class="flex items-start">
235
+ <div class="p-2 bg-blue-100 rounded-lg mr-3 text-blue-600">
236
+ <i class="fas fa-sync-alt"></i>
237
+ </div>
238
+ <div>
239
+ <p class="font-medium">Dados atualizados via APS</p>
240
+ <p class="text-sm text-gray-500">5 processos atualizados do TJSP</p>
241
+ <p class="text-xs text-gray-400">hoje às 08:45</p>
242
+ </div>
243
+ </div>
244
+ </div>
245
+ </div>
246
+ </div>
247
+
248
+ <div class="bg-white p-6 rounded-xl shadow">
249
+ <div class="flex justify-between items-center mb-4">
250
+ <h3 class="font-semibold text-lg">Processos com Prazos Próximos</h3>
251
+ <button class="text-indigo-600 text-sm font-medium">Ver todos</button>
252
+ </div>
253
+ <div class="overflow-x-auto">
254
+ <table class="min-w-full divide-y divide-gray-200">
255
+ <thead class="bg-gray-50">
256
+ <tr>
257
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Processo</th>
258
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Cliente</th>
259
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tribunal</th>
260
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Prazo</th>
261
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
262
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Ações</th>
263
+ </tr>
264
+ </thead>
265
+ <tbody class="bg-white divide-y divide-gray-200">
266
+ <tr>
267
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#2023-0456</td>
268
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">João Silva</td>
269
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">TJSP</td>
270
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15/07/2023</td>
271
+ <td class="px-6 py-4 whitespace-nowrap">
272
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pendente</span>
273
+ </td>
274
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
275
+ <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
276
+ <button class="text-green-600 hover:text-green-900"><i class="fas fa-edit"></i></button>
277
+ </td>
278
+ </tr>
279
+ <tr>
280
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#2023-0389</td>
281
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Maria Souza</td>
282
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">TRF4</td>
283
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">18/07/2023</td>
284
+ <td class="px-6 py-4 whitespace-nowrap">
285
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Urgente</span>
286
+ </td>
287
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
288
+ <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
289
+ <button class="text-green-600 hover:text-green-900"><i class="fas fa-edit"></i></button>
290
+ </td>
291
+ </tr>
292
+ <tr>
293
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#2023-0412</td>
294
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Empresa XYZ Ltda</td>
295
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">TJMG</td>
296
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">20/07/2023</td>
297
+ <td class="px-6 py-4 whitespace-nowrap">
298
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pendente</span>
299
+ </td>
300
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
301
+ <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
302
+ <button class="text-green-600 hover:text-green-900"><i class="fas fa-edit"></i></button>
303
+ </td>
304
+ </tr>
305
+ </tbody>
306
+ </table>
307
+ </div>
308
+ </div>
309
+ </div>
310
+
311
+ <!-- Processos Tab -->
312
+ <div id="processos" class="tab-content">
313
+ <div class="flex justify-between items-center mb-6">
314
+ <h2 class="text-2xl font-bold text-gray-800">Gestão de Processos</h2>
315
+ <button onclick="showModal('new-process')" class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition flex items-center">
316
+ <i class="fas fa-plus mr-2"></i> Novo Processo
317
+ </button>
318
+ </div>
319
+
320
+ <div class="bg-white rounded-xl shadow overflow-hidden mb-6">
321
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center">
322
+ <div class="flex items-center space-x-4">
323
+ <div class="relative">
324
+ <input type="text" placeholder="Filtrar processos..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent">
325
+ <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
326
+ </div>
327
+ <select class="border border-gray-300 rounded px-3 py-2 text-sm">
328
+ <option>Todos os tribunais</option>
329
+ <option>TJSP</option>
330
+ <option>TJMG</option>
331
+ <option>TRF1</option>
332
+ <option>TRF2</option>
333
+ <option>TRF3</option>
334
+ <option>TRF4</option>
335
+ <option>TRF5</option>
336
+ </select>
337
+ </div>
338
+ <div class="flex items-center space-x-2">
339
+ <button class="p-2 rounded-lg border border-gray-300 hover:bg-gray-50">
340
+ <i class="fas fa-download text-gray-600"></i>
341
+ </button>
342
+ <button class="p-2 rounded-lg border border-gray-300 hover:bg-gray-50">
343
+ <i class="fas fa-print text-gray-600"></i>
344
+ </button>
345
+ </div>
346
+ </div>
347
+ <div class="overflow-x-auto">
348
+ <table class="min-w-full divide-y divide-gray-200">
349
+ <thead class="bg-gray-50">
350
+ <tr>
351
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Número</th>
352
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Cliente</th>
353
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tribunal</th>
354
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Data Abertura</th>
355
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
356
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Ações</th>
357
+ </tr>
358
+ </thead>
359
+ <tbody class="bg-white divide-y divide-gray-200" id="processos-table-body">
360
+ <!-- Process rows will be added here by JavaScript -->
361
+ </tbody>
362
+ </table>
363
+ </div>
364
+ <div class="p-4 border-t border-gray-200 flex justify-between items-center">
365
+ <div class="text-sm text-gray-500">
366
+ Mostrando <span class="font-medium">1</span> a <span class="font-medium">10</span> de <span class="font-medium">124</span> resultados
367
+ </div>
368
+ <div class="flex space-x-1">
369
+ <button class="px-3 py-1 rounded border border-gray-300 bg-gray-50 text-gray-700">
370
+ <i class="fas fa-angle-left"></i>
371
+ </button>
372
+ <button class="px-3 py-1 rounded border border-indigo-500 bg-indigo-50 text-indigo-600">1</button>
373
+ <button class="px-3 py-1 rounded border border-gray-300 hover:bg-gray-50">2</button>
374
+ <button class="px-3 py-1 rounded border border-gray-300 hover:bg-gray-50">3</button>
375
+ <button class="px-3 py-1 rounded border border-gray-300 hover:bg-gray-50">4</button>
376
+ <button class="px-3 py-1 rounded border border-gray-300 hover:bg-gray-50">5</button>
377
+ <button class="px-3 py-1 rounded border border-gray-300 hover:bg-gray-50">
378
+ <i class="fas fa-angle-right"></i>
379
+ </button>
380
+ </div>
381
+ </div>
382
+ </div>
383
+ </div>
384
+
385
+ <!-- Clientes Tab -->
386
+ <div id="clientes" class="tab-content">
387
+ <div class="flex justify-between items-center mb-6">
388
+ <h2 class="text-2xl font-bold text-gray-800">Gestão de Clientes</h2>
389
+ <button onclick="showModal('new-client')" class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition flex items-center">
390
+ <i class="fas fa-plus mr-2"></i> Novo Cliente
391
+ </button>
392
+ </div>
393
+
394
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
395
+ <div class="bg-white p-6 rounded-xl shadow">
396
+ <div class="flex items-center space-x-4">
397
+ <div class="p-3 bg-indigo-100 rounded-lg text-indigo-600">
398
+ <i class="fas fa-user-tie text-2xl"></i>
399
+ </div>
400
+ <div>
401
+ <p class="text-gray-500">Clientes Ativos</p>
402
+ <h3 class="text-2xl font-bold">42</h3>
403
+ </div>
404
+ </div>
405
+ </div>
406
+ <div class="bg-white p-6 rounded-xl shadow">
407
+ <div class="flex items-center space-x-4">
408
+ <div class="p-3 bg-green-100 rounded-lg text-green-600">
409
+ <i class="fas fa-briefcase text-2xl"></i>
410
+ </div>
411
+ <div>
412
+ <p class="text-gray-500">Pessoa Jurídica</p>
413
+ <h3 class="text-2xl font-bold">18</h3>
414
+ </div>
415
+ </div>
416
+ </div>
417
+ <div class="bg-white p-6 rounded-xl shadow">
418
+ <div class="flex items-center space-x-4">
419
+ <div class="p-3 bg-blue-100 rounded-lg text-blue-600">
420
+ <i class="fas fa-user text-2xl"></i>
421
+ </div>
422
+ <div>
423
+ <p class="text-gray-500">Pessoa Física</p>
424
+ <h3 class="text-2xl font-bold">24</h3>
425
+ </div>
426
+ </div>
427
+ </div>
428
+ </div>
429
+
430
+ <div class="bg-white rounded-xl shadow overflow-hidden">
431
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center">
432
+ <div class="relative w-64">
433
+ <input type="text" placeholder="Buscar cliente..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent w-full">
434
+ <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
435
+ </div>
436
+ <div class="flex items-center space-x-2">
437
+ <button class="p-2 rounded-lg border border-gray-300 hover:bg-gray-50">
438
+ <i class="fas fa-filter text-gray-600"></i>
439
+ </button>
440
+ <button class="p-2 rounded-lg border border-gray-300 hover:bg-gray-50">
441
+ <i class="fas fa-download text-gray-600"></i>
442
+ </button>
443
+ </div>
444
+ </div>
445
+ <div class="overflow-x-auto">
446
+ <table class="min-w-full divide-y divide-gray-200">
447
+ <thead class="bg-gray-50">
448
+ <tr>
449
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Nome</th>
450
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">CPF/CNPJ</th>
451
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">E-mail</th>
452
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Telefone</th>
453
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Processos</th>
454
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Ações</th>
455
+ </tr>
456
+ </thead>
457
+ <tbody class="bg-white divide-y divide-gray-200" id="clientes-table-body">
458
+ <!-- Client rows will be added here by JavaScript -->
459
+ </tbody>
460
+ </table>
461
+ </div>
462
+ <div class="p-4 border-t border-gray-200 flex justify-between items-center">
463
+ <div class="text-sm text-gray-500">
464
+ Mostrando <span class="font-medium">1</span> a <span class="font-medium">10</span> de <span class="font-medium">42</span> resultados
465
+ </div>
466
+ <div class="flex space-x-1">
467
+ <button class="px-3 py-1 rounded border border-gray-300 bg-gray-50 text-gray-700">
468
+ <i class="fas fa-angle-left"></i>
469
+ </button>
470
+ <button class="px-3 py-1 rounded border border-indigo-500 bg-indigo-50 text-indigo-600">1</button>
471
+ <button class="px-3 py-1 rounded border border-gray-300 hover:bg-gray-50">2</button>
472
+ <button class="px-3 py-1 rounded border border-gray-300 hover:bg-gray-50">3</button>
473
+ <button class="px-3 py-1 rounded border border-gray-300 hover:bg-gray-50">4</button>
474
+ <button class="px-3 py-1 rounded border border-gray-300 hover:bg-gray-50">5</button>
475
+ <button class="px-3 py-1 rounded border border-gray-300 hover:bg-gray-50">
476
+ <i class="fas fa-angle-right"></i>
477
+ </button>
478
+ </div>
479
+ </div>
480
+ </div>
481
+ </div>
482
+
483
+ <!-- Import Data Tab -->
484
+ <div id="import" class="tab-content">
485
+ <div class="mb-6">
486
+ <h2 class="text-2xl font-bold text-gray-800">Importar Dados</h2>
487
+ <p class="text-gray-600">Conecte-se a planilhas externas ou importe arquivos para atualizar sua base de dados</p>
488
+ </div>
489
+
490
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
491
+ <div class="bg-white p-6 rounded-xl shadow">
492
+ <div class="flex items-center justify-between mb-4">
493
+ <h3 class="font-semibold text-lg">Google Sheets</h3>
494
+ <div class="p-2 bg-blue-100 rounded-lg text-blue-600">
495
+ <i class="fab fa-google"></i>
496
+ </div>
497
+ </div>
498
+ <p class="text-gray-600 mb-4">Conecte-se diretamente ao Google Sheets para sincronizar seus dados</p>
499
+ <button class="w-full bg-blue-600 text-white py-2 rounded-lg hover:bg-blue-700 transition flex items-center justify-center">
500
+ <i class="fab fa-google mr-2"></i> Conectar ao Google
501
+ </button>
502
+ </div>
503
+ <div class="bg-white p-6 rounded-xl shadow">
504
+ <div class="flex items-center justify-between mb-4">
505
+ <h3 class="font-semibold text-lg">Excel/CSV</h3>
506
+ <div class="p-2 bg-green-100 rounded-lg text-green-600">
507
+ <i class="fas fa-file-excel"></i>
508
+ </div>
509
+ </div>
510
+ <p class="text-gray-600 mb-4">Importe arquivos Excel (.xlsx, .xls) ou CSV para atualizar seus dados</p>
511
+ <div class="flex space-x-2">
512
+ <button onclick="document.getElementById('file-input').click()" class="flex-1 bg-green-600 text-white py-2 rounded-lg hover:bg-green-700 transition flex items-center justify-center">
513
+ <i class="fas fa-upload mr-2"></i> Selecionar Arquivo
514
+ </button>
515
+ <input type="file" id="file-input" class="hidden" accept=".xlsx,.xls,.csv">
516
+ <button class="px-3 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200">
517
+ <i class="fas fa-question"></i>
518
+ </button>
519
+ </div>
520
+ </div>
521
+ <div class="bg-white p-6 rounded-xl shadow">
522
+ <div class="flex items-center justify-between mb-4">
523
+ <h3 class="font-semibold text-lg">JSON/API</h3>
524
+ <div class="p-2 bg-purple-100 rounded-lg text-purple-600">
525
+ <i class="fas fa-code"></i>
526
+ </div>
527
+ </div>
528
+ <p class="text-gray-600 mb-4">Importe dados em formato JSON ou conecte-se a APIs externas</p>
529
+ <button class="w-full bg-purple-600 text-white py-2 rounded-lg hover:bg-purple-700 transition flex items-center justify-center">
530
+ <i class="fas fa-plug mr-2"></i> Configurar API
531
+ </button>
532
+ </div>
533
+ </div>
534
+
535
+ <div class="bg-white rounded-xl shadow overflow-hidden">
536
+ <div class="p-4 border-b border-gray-200">
537
+ <h3 class="font-semibold text-lg">Mapeamento de Campos</h3>
538
+ <p class="text-gray-600">Defina como os campos do arquivo importado serão mapeados para o sistema</p>
539
+ </div>
540
+ <div class="p-4">
541
+ <div class="overflow-x-auto">
542
+ <table class="min-w-full divide-y divide-gray-200">
543
+ <thead class="bg-gray-50">
544
+ <tr>
545
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Campo no Arquivo</th>
546
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Mapear para</th>
547
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tipo de Dado</th>
548
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Ações</th>
549
+ </tr>
550
+ </thead>
551
+ <
552
+ </html>
prompts.txt ADDED
File without changes