Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +580 -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: medispot
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: purple
|
5 |
+
colorTo: pink
|
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,580 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="es">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Medispot - Gestión Médica Integral</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 |
+
.sidebar {
|
11 |
+
transition: all 0.3s ease;
|
12 |
+
}
|
13 |
+
.sidebar.collapsed {
|
14 |
+
width: 70px;
|
15 |
+
}
|
16 |
+
.sidebar.collapsed .sidebar-text {
|
17 |
+
display: none;
|
18 |
+
}
|
19 |
+
.sidebar.collapsed .logo-text {
|
20 |
+
display: none;
|
21 |
+
}
|
22 |
+
.sidebar.collapsed .logo-icon {
|
23 |
+
margin-right: 0;
|
24 |
+
}
|
25 |
+
.main-content {
|
26 |
+
transition: margin-left 0.3s ease;
|
27 |
+
}
|
28 |
+
.active-menu {
|
29 |
+
background-color: #3b82f6;
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.active-menu:hover {
|
33 |
+
background-color: #2563eb !important;
|
34 |
+
}
|
35 |
+
.dropdown-content {
|
36 |
+
display: none;
|
37 |
+
position: absolute;
|
38 |
+
background-color: white;
|
39 |
+
min-width: 200px;
|
40 |
+
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
41 |
+
z-index: 1;
|
42 |
+
border-radius: 0.5rem;
|
43 |
+
}
|
44 |
+
.dropdown:hover .dropdown-content {
|
45 |
+
display: block;
|
46 |
+
}
|
47 |
+
.patient-card:hover {
|
48 |
+
transform: translateY(-5px);
|
49 |
+
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
|
50 |
+
}
|
51 |
+
.calendar-day:hover {
|
52 |
+
background-color: #e0f2fe;
|
53 |
+
}
|
54 |
+
.calendar-day.today {
|
55 |
+
background-color: #3b82f6;
|
56 |
+
color: white;
|
57 |
+
}
|
58 |
+
.calendar-day.appointment {
|
59 |
+
background-color: #f0fdf4;
|
60 |
+
border: 1px solid #86efac;
|
61 |
+
}
|
62 |
+
</style>
|
63 |
+
</head>
|
64 |
+
<body class="bg-gray-50 font-sans">
|
65 |
+
<div class="flex h-screen overflow-hidden">
|
66 |
+
<!-- Sidebar -->
|
67 |
+
<div class="sidebar bg-white text-gray-800 shadow-lg w-64 flex flex-col">
|
68 |
+
<div class="p-4 flex items-center border-b border-gray-200">
|
69 |
+
<div class="logo-icon mr-3 text-blue-500">
|
70 |
+
<i class="fas fa-heartbeat text-2xl"></i>
|
71 |
+
</div>
|
72 |
+
<div class="logo-text font-bold text-xl text-blue-600">Medispot</div>
|
73 |
+
</div>
|
74 |
+
|
75 |
+
<div class="p-4 border-b border-gray-200 flex items-center">
|
76 |
+
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3">
|
77 |
+
<i class="fas fa-user-md text-blue-500"></i>
|
78 |
+
</div>
|
79 |
+
<div class="sidebar-text">
|
80 |
+
<div class="font-medium">Dr. Juan Pérez</div>
|
81 |
+
<div class="text-xs text-gray-500">Cardiólogo</div>
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
|
85 |
+
<div class="flex-1 overflow-y-auto py-4">
|
86 |
+
<div class="px-4 mb-6">
|
87 |
+
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-lg flex items-center justify-center">
|
88 |
+
<i class="fas fa-plus mr-2"></i>
|
89 |
+
<span class="sidebar-text">Nueva Consulta</span>
|
90 |
+
</button>
|
91 |
+
</div>
|
92 |
+
|
93 |
+
<ul class="space-y-1 px-2">
|
94 |
+
<li>
|
95 |
+
<a href="#" class="flex items-center py-2 px-4 rounded-lg hover:bg-blue-50 text-gray-700 active-menu">
|
96 |
+
<i class="fas fa-home mr-3 text-gray-500"></i>
|
97 |
+
<span class="sidebar-text">Inicio</span>
|
98 |
+
</a>
|
99 |
+
</li>
|
100 |
+
<li>
|
101 |
+
<a href="#" class="flex items-center py-2 px-4 rounded-lg hover:bg-blue-50 text-gray-700">
|
102 |
+
<i class="fas fa-calendar-alt mr-3 text-gray-500"></i>
|
103 |
+
<span class="sidebar-text">Agenda</span>
|
104 |
+
</a>
|
105 |
+
</li>
|
106 |
+
<li>
|
107 |
+
<a href="#" class="flex items-center py-2 px-4 rounded-lg hover:bg-blue-50 text-gray-700">
|
108 |
+
<i class="fas fa-users mr-3 text-gray-500"></i>
|
109 |
+
<span class="sidebar-text">Pacientes</span>
|
110 |
+
</a>
|
111 |
+
</li>
|
112 |
+
<li>
|
113 |
+
<a href="#" class="flex items-center py-2 px-4 rounded-lg hover:bg-blue-50 text-gray-700">
|
114 |
+
<i class="fas fa-file-prescription mr-3 text-gray-500"></i>
|
115 |
+
<span class="sidebar-text">Recetas</span>
|
116 |
+
</a>
|
117 |
+
</li>
|
118 |
+
<li>
|
119 |
+
<a href="#" class="flex items-center py-2 px-4 rounded-lg hover:bg-blue-50 text-gray-700">
|
120 |
+
<i class="fas fa-flask mr-3 text-gray-500"></i>
|
121 |
+
<span class="sidebar-text">Exámenes</span>
|
122 |
+
</a>
|
123 |
+
</li>
|
124 |
+
<li>
|
125 |
+
<a href="#" class="flex items-center py-2 px-4 rounded-lg hover:bg-blue-50 text-gray-700">
|
126 |
+
<i class="fas fa-procedures mr-3 text-gray-500"></i>
|
127 |
+
<span class="sidebar-text">Imágenes</span>
|
128 |
+
</a>
|
129 |
+
</li>
|
130 |
+
<li>
|
131 |
+
<a href="#" class="flex items-center py-2 px-4 rounded-lg hover:bg-blue-50 text-gray-700">
|
132 |
+
<i class="fas fa-chart-line mr-3 text-gray-500"></i>
|
133 |
+
<span class="sidebar-text">Reportes</span>
|
134 |
+
</a>
|
135 |
+
</li>
|
136 |
+
</ul>
|
137 |
+
|
138 |
+
<div class="px-4 mt-8">
|
139 |
+
<div class="text-xs uppercase text-gray-500 mb-2 sidebar-text">Configuración</div>
|
140 |
+
<ul class="space-y-1">
|
141 |
+
<li>
|
142 |
+
<a href="#" class="flex items-center py-2 px-4 rounded-lg hover:bg-blue-50 text-gray-700">
|
143 |
+
<i class="fas fa-cog mr-3 text-gray-500"></i>
|
144 |
+
<span class="sidebar-text">Ajustes</span>
|
145 |
+
</a>
|
146 |
+
</li>
|
147 |
+
<li>
|
148 |
+
<a href="#" class="flex items-center py-2 px-4 rounded-lg hover:bg-blue-50 text-gray-700">
|
149 |
+
<i class="fas fa-user-shield mr-3 text-gray-500"></i>
|
150 |
+
<span class="sidebar-text">Perfil</span>
|
151 |
+
</a>
|
152 |
+
</li>
|
153 |
+
<li>
|
154 |
+
<a href="#" class="flex items-center py-2 px-4 rounded-lg hover:bg-blue-50 text-gray-700">
|
155 |
+
<i class="fas fa-sign-out-alt mr-3 text-gray-500"></i>
|
156 |
+
<span class="sidebar-text">Cerrar Sesión</span>
|
157 |
+
</a>
|
158 |
+
</li>
|
159 |
+
</ul>
|
160 |
+
</div>
|
161 |
+
</div>
|
162 |
+
|
163 |
+
<div class="p-4 border-t border-gray-200 flex items-center justify-between">
|
164 |
+
<div class="flex items-center">
|
165 |
+
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-2">
|
166 |
+
<i class="fas fa-moon text-blue-500"></i>
|
167 |
+
</div>
|
168 |
+
<span class="sidebar-text text-sm">Modo Oscuro</span>
|
169 |
+
</div>
|
170 |
+
<label class="relative inline-flex items-center cursor-pointer">
|
171 |
+
<input type="checkbox" value="" class="sr-only peer">
|
172 |
+
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-blue-600"></div>
|
173 |
+
</label>
|
174 |
+
</div>
|
175 |
+
</div>
|
176 |
+
|
177 |
+
<!-- Main Content -->
|
178 |
+
<div class="main-content flex-1 overflow-auto">
|
179 |
+
<!-- Top Navigation -->
|
180 |
+
<header class="bg-white shadow-sm py-4 px-6 flex items-center justify-between">
|
181 |
+
<div class="flex items-center">
|
182 |
+
<button id="sidebar-toggle" class="mr-4 text-gray-600 hover:text-gray-900">
|
183 |
+
<i class="fas fa-bars text-xl"></i>
|
184 |
+
</button>
|
185 |
+
<h1 class="text-xl font-semibold text-gray-800">Panel Principal</h1>
|
186 |
+
</div>
|
187 |
+
|
188 |
+
<div class="flex items-center space-x-4">
|
189 |
+
<div class="relative">
|
190 |
+
<button class="p-2 rounded-full hover:bg-gray-100 text-gray-600">
|
191 |
+
<i class="fas fa-bell text-xl"></i>
|
192 |
+
<span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
|
193 |
+
</button>
|
194 |
+
</div>
|
195 |
+
|
196 |
+
<div class="relative dropdown">
|
197 |
+
<button class="flex items-center space-x-2">
|
198 |
+
<div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white">
|
199 |
+
JP
|
200 |
+
</div>
|
201 |
+
<span class="hidden md:inline-block">Dr. Juan Pérez</span>
|
202 |
+
<i class="fas fa-chevron-down text-xs"></i>
|
203 |
+
</button>
|
204 |
+
<div class="dropdown-content right-0 mt-2">
|
205 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-user mr-2"></i>Perfil</a>
|
206 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-cog mr-2"></i>Ajustes</a>
|
207 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-sign-out-alt mr-2"></i>Cerrar Sesión</a>
|
208 |
+
</div>
|
209 |
+
</div>
|
210 |
+
</div>
|
211 |
+
</header>
|
212 |
+
|
213 |
+
<!-- Dashboard Content -->
|
214 |
+
<main class="p-6">
|
215 |
+
<!-- Stats Cards -->
|
216 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
|
217 |
+
<div class="bg-white rounded-lg shadow p-6 flex items-center">
|
218 |
+
<div class="p-3 rounded-full bg-blue-100 text-blue-500 mr-4">
|
219 |
+
<i class="fas fa-users text-xl"></i>
|
220 |
+
</div>
|
221 |
+
<div>
|
222 |
+
<p class="text-gray-500 text-sm">Pacientes</p>
|
223 |
+
<h3 class="text-2xl font-bold">1,248</h3>
|
224 |
+
<p class="text-green-500 text-xs">+12 este mes</p>
|
225 |
+
</div>
|
226 |
+
</div>
|
227 |
+
|
228 |
+
<div class="bg-white rounded-lg shadow p-6 flex items-center">
|
229 |
+
<div class="p-3 rounded-full bg-green-100 text-green-500 mr-4">
|
230 |
+
<i class="fas fa-calendar-check text-xl"></i>
|
231 |
+
</div>
|
232 |
+
<div>
|
233 |
+
<p class="text-gray-500 text-sm">Consultas Hoy</p>
|
234 |
+
<h3 class="text-2xl font-bold">8</h3>
|
235 |
+
<p class="text-green-500 text-xs">+2 pendientes</p>
|
236 |
+
</div>
|
237 |
+
</div>
|
238 |
+
|
239 |
+
<div class="bg-white rounded-lg shadow p-6 flex items-center">
|
240 |
+
<div class="p-3 rounded-full bg-purple-100 text-purple-500 mr-4">
|
241 |
+
<i class="fas fa-file-prescription text-xl"></i>
|
242 |
+
</div>
|
243 |
+
<div>
|
244 |
+
<p class="text-gray-500 text-sm">Recetas Mes</p>
|
245 |
+
<h3 class="text-2xl font-bold">42</h3>
|
246 |
+
<p class="text-green-500 text-xs">+5 esta semana</p>
|
247 |
+
</div>
|
248 |
+
</div>
|
249 |
+
|
250 |
+
<div class="bg-white rounded-lg shadow p-6 flex items-center">
|
251 |
+
<div class="p-3 rounded-full bg-yellow-100 text-yellow-500 mr-4">
|
252 |
+
<i class="fas fa-flask text-xl"></i>
|
253 |
+
</div>
|
254 |
+
<div>
|
255 |
+
<p class="text-gray-500 text-sm">Exámenes Pend.</p>
|
256 |
+
<h3 class="text-2xl font-bold">15</h3>
|
257 |
+
<p class="text-red-500 text-xs">3 urgentes</p>
|
258 |
+
</div>
|
259 |
+
</div>
|
260 |
+
</div>
|
261 |
+
|
262 |
+
<!-- Recent Patients and Calendar -->
|
263 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
|
264 |
+
<!-- Recent Patients -->
|
265 |
+
<div class="lg:col-span-2 bg-white rounded-lg shadow overflow-hidden">
|
266 |
+
<div class="p-4 border-b border-gray-200 flex justify-between items-center">
|
267 |
+
<h2 class="text-lg font-semibold text-gray-800">Pacientes Recientes</h2>
|
268 |
+
<button class="text-blue-500 hover:text-blue-700 text-sm font-medium">Ver todos</button>
|
269 |
+
</div>
|
270 |
+
<div class="overflow-x-auto">
|
271 |
+
<table class="min-w-full divide-y divide-gray-200">
|
272 |
+
<thead class="bg-gray-50">
|
273 |
+
<tr>
|
274 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Paciente</th>
|
275 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Última Visita</th>
|
276 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Estado</th>
|
277 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Acciones</th>
|
278 |
+
</tr>
|
279 |
+
</thead>
|
280 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
281 |
+
<tr class="hover:bg-gray-50">
|
282 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
283 |
+
<div class="flex items-center">
|
284 |
+
<div class="flex-shrink-0 h-10 w-10">
|
285 |
+
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/12.jpg" alt="">
|
286 |
+
</div>
|
287 |
+
<div class="ml-4">
|
288 |
+
<div class="text-sm font-medium text-gray-900">María Rodríguez</div>
|
289 |
+
<div class="text-sm text-gray-500">C.I. 12.345.678</div>
|
290 |
+
</div>
|
291 |
+
</div>
|
292 |
+
</td>
|
293 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
294 |
+
<div class="text-sm text-gray-900">15/06/2023</div>
|
295 |
+
<div class="text-sm text-gray-500">10:30 AM</div>
|
296 |
+
</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-green-100 text-green-800">Activo</span>
|
299 |
+
</td>
|
300 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
|
301 |
+
<button class="text-blue-500 hover:text-blue-700 mr-2"><i class="fas fa-eye"></i></button>
|
302 |
+
<button class="text-green-500 hover:text-green-700"><i class="fas fa-edit"></i></button>
|
303 |
+
</td>
|
304 |
+
</tr>
|
305 |
+
<tr class="hover:bg-gray-50">
|
306 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
307 |
+
<div class="flex items-center">
|
308 |
+
<div class="flex-shrink-0 h-10 w-10">
|
309 |
+
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
|
310 |
+
</div>
|
311 |
+
<div class="ml-4">
|
312 |
+
<div class="text-sm font-medium text-gray-900">Carlos González</div>
|
313 |
+
<div class="text-sm text-gray-500">C.I. 19.876.543</div>
|
314 |
+
</div>
|
315 |
+
</div>
|
316 |
+
</td>
|
317 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
318 |
+
<div class="text-sm text-gray-900">14/06/2023</div>
|
319 |
+
<div class="text-sm text-gray-500">04:15 PM</div>
|
320 |
+
</td>
|
321 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
322 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pendiente</span>
|
323 |
+
</td>
|
324 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
|
325 |
+
<button class="text-blue-500 hover:text-blue-700 mr-2"><i class="fas fa-eye"></i></button>
|
326 |
+
<button class="text-green-500 hover:text-green-700"><i class="fas fa-edit"></i></button>
|
327 |
+
</td>
|
328 |
+
</tr>
|
329 |
+
<tr class="hover:bg-gray-50">
|
330 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
331 |
+
<div class="flex items-center">
|
332 |
+
<div class="flex-shrink-0 h-10 w-10">
|
333 |
+
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/45.jpg" alt="">
|
334 |
+
</div>
|
335 |
+
<div class="ml-4">
|
336 |
+
<div class="text-sm font-medium text-gray-900">Ana López</div>
|
337 |
+
<div class="text-sm text-gray-500">C.I. 15.678.234</div>
|
338 |
+
</div>
|
339 |
+
</div>
|
340 |
+
</td>
|
341 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
342 |
+
<div class="text-sm text-gray-900">12/06/2023</div>
|
343 |
+
<div class="text-sm text-gray-500">09:00 AM</div>
|
344 |
+
</td>
|
345 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
346 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Inactivo</span>
|
347 |
+
</td>
|
348 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
|
349 |
+
<button class="text-blue-500 hover:text-blue-700 mr-2"><i class="fas fa-eye"></i></button>
|
350 |
+
<button class="text-green-500 hover:text-green-700"><i class="fas fa-edit"></i></button>
|
351 |
+
</td>
|
352 |
+
</tr>
|
353 |
+
</tbody>
|
354 |
+
</table>
|
355 |
+
</div>
|
356 |
+
</div>
|
357 |
+
|
358 |
+
<!-- Calendar -->
|
359 |
+
<div class="bg-white rounded-lg shadow overflow-hidden">
|
360 |
+
<div class="p-4 border-b border-gray-200">
|
361 |
+
<h2 class="text-lg font-semibold text-gray-800">Agenda</h2>
|
362 |
+
</div>
|
363 |
+
<div class="p-4">
|
364 |
+
<div class="flex justify-between items-center mb-4">
|
365 |
+
<h3 class="text-lg font-medium">Junio 2023</h3>
|
366 |
+
<div class="flex space-x-2">
|
367 |
+
<button class="p-1 rounded-full hover:bg-gray-100"><i class="fas fa-chevron-left"></i></button>
|
368 |
+
<button class="p-1 rounded-full hover:bg-gray-100"><i class="fas fa-chevron-right"></i></button>
|
369 |
+
</div>
|
370 |
+
</div>
|
371 |
+
|
372 |
+
<div class="grid grid-cols-7 gap-1 mb-2">
|
373 |
+
<div class="text-center text-xs font-medium text-gray-500">L</div>
|
374 |
+
<div class="text-center text-xs font-medium text-gray-500">M</div>
|
375 |
+
<div class="text-center text-xs font-medium text-gray-500">M</div>
|
376 |
+
<div class="text-center text-xs font-medium text-gray-500">J</div>
|
377 |
+
<div class="text-center text-xs font-medium text-gray-500">V</div>
|
378 |
+
<div class="text-center text-xs font-medium text-gray-500">S</div>
|
379 |
+
<div class="text-center text-xs font-medium text-gray-500">D</div>
|
380 |
+
</div>
|
381 |
+
|
382 |
+
<div class="grid grid-cols-7 gap-1">
|
383 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">29</div>
|
384 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">30</div>
|
385 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">31</div>
|
386 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">1</div>
|
387 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">2</div>
|
388 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">3</div>
|
389 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">4</div>
|
390 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">5</div>
|
391 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">6</div>
|
392 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">7</div>
|
393 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">8</div>
|
394 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">9</div>
|
395 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">10</div>
|
396 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">11</div>
|
397 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">12</div>
|
398 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">13</div>
|
399 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">14</div>
|
400 |
+
<div class="calendar-day appointment h-10 flex items-center justify-center text-sm rounded cursor-pointer">15</div>
|
401 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">16</div>
|
402 |
+
<div class="calendar-day today h-10 flex items-center justify-center text-sm rounded cursor-pointer font-bold">17</div>
|
403 |
+
<div class="calendar-day appointment h-10 flex items-center justify-center text-sm rounded cursor-pointer">18</div>
|
404 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">19</div>
|
405 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">20</div>
|
406 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">21</div>
|
407 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">22</div>
|
408 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">23</div>
|
409 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">24</div>
|
410 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">25</div>
|
411 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">26</div>
|
412 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">27</div>
|
413 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">28</div>
|
414 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">29</div>
|
415 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">30</div>
|
416 |
+
<div class="calendar-day h-10 flex items-center justify-center text-sm rounded cursor-pointer">1</div>
|
417 |
+
</div>
|
418 |
+
</div>
|
419 |
+
|
420 |
+
<div class="p-4 border-t border-gray-200">
|
421 |
+
<h3 class="text-sm font-medium mb-2">Consultas de Hoy</h3>
|
422 |
+
<div class="space-y-3">
|
423 |
+
<div class="flex items-start">
|
424 |
+
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-500 mt-1">
|
425 |
+
<i class="fas fa-user"></i>
|
426 |
+
</div>
|
427 |
+
<div class="ml-3">
|
428 |
+
<p class="text-sm font-medium">María Rodríguez</p>
|
429 |
+
<p class="text-xs text-gray-500">10:30 AM - Cardiología</p>
|
430 |
+
</div>
|
431 |
+
</div>
|
432 |
+
<div class="flex items-start">
|
433 |
+
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 flex items-center justify-center text-green-500 mt-1">
|
434 |
+
<i class="fas fa-user"></i>
|
435 |
+
</div>
|
436 |
+
<div class="ml-3">
|
437 |
+
<p class="text-sm font-medium">Pedro Gómez</p>
|
438 |
+
<p class="text-xs text-gray-500">11:45 AM - General</p>
|
439 |
+
</div>
|
440 |
+
</div>
|
441 |
+
<div class="flex items-start">
|
442 |
+
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-500 mt-1">
|
443 |
+
<i class="fas fa-user"></i>
|
444 |
+
</div>
|
445 |
+
<div class="ml-3">
|
446 |
+
<p class="text-sm font-medium">Luisa Fernández</p>
|
447 |
+
<p class="text-xs text-gray-500">03:15 PM - Control</p>
|
448 |
+
</div>
|
449 |
+
</div>
|
450 |
+
</div>
|
451 |
+
</div>
|
452 |
+
</div>
|
453 |
+
</div>
|
454 |
+
|
455 |
+
<!-- Prescriptions and Exams -->
|
456 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
|
457 |
+
<!-- Recent Prescriptions -->
|
458 |
+
<div class="bg-white rounded-lg shadow overflow-hidden">
|
459 |
+
<div class="p-4 border-b border-gray-200 flex justify-between items-center">
|
460 |
+
<h2 class="text-lg font-semibold text-gray-800">Recetas Recientes</h2>
|
461 |
+
<button class="text-blue-500 hover:text-blue-700 text-sm font-medium">Ver todas</button>
|
462 |
+
</div>
|
463 |
+
<div class="divide-y divide-gray-200">
|
464 |
+
<div class="p-4 hover:bg-gray-50">
|
465 |
+
<div class="flex justify-between">
|
466 |
+
<div>
|
467 |
+
<p class="text-sm font-medium">María Rodríguez</p>
|
468 |
+
<p class="text-xs text-gray-500">15/06/2023</p>
|
469 |
+
</div>
|
470 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Activa</span>
|
471 |
+
</div>
|
472 |
+
<p class="text-sm mt-2 text-gray-600">Atorvastatina 20mg, 1 tableta al día</p>
|
473 |
+
</div>
|
474 |
+
<div class="p-4 hover:bg-gray-50">
|
475 |
+
<div class="flex justify-between">
|
476 |
+
<div>
|
477 |
+
<p class="text-sm font-medium">Carlos González</p>
|
478 |
+
<p class="text-xs text-gray-500">14/06/2023</p>
|
479 |
+
</div>
|
480 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Entregada</span>
|
481 |
+
</div>
|
482 |
+
<p class="text-sm mt-2 text-gray-600">Omeprazol 40mg, 1 tableta al día</p>
|
483 |
+
</div>
|
484 |
+
<div class="p-4 hover:bg-gray-50">
|
485 |
+
<div class="flex justify-between">
|
486 |
+
<div>
|
487 |
+
<p class="text-sm font-medium">Ana López</p>
|
488 |
+
<p class="text-xs text-gray-500">12/06/2023</p>
|
489 |
+
</div>
|
490 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pendiente</span>
|
491 |
+
</div>
|
492 |
+
<p class="text-sm mt-2 text-gray-600">Paracetamol 500mg, cada 8 horas</p>
|
493 |
+
</div>
|
494 |
+
</div>
|
495 |
+
</div>
|
496 |
+
|
497 |
+
<!-- Pending Exams -->
|
498 |
+
<div class="bg-white rounded-lg shadow overflow-hidden">
|
499 |
+
<div class="p-4 border-b border-gray-200 flex justify-between items-center">
|
500 |
+
<h2 class="text-lg font-semibold text-gray-800">Exámenes Pendientes</h2>
|
501 |
+
<button class="text-blue-500 hover:text-blue-700 text-sm font-medium">Ver todos</button>
|
502 |
+
</div>
|
503 |
+
<div class="divide-y divide-gray-200">
|
504 |
+
<div class="p-4 hover:bg-gray-50">
|
505 |
+
<div class="flex justify-between">
|
506 |
+
<div>
|
507 |
+
<p class="text-sm font-medium">Carlos González</p>
|
508 |
+
<p class="text-xs text-gray-500">14/06/2023</p>
|
509 |
+
</div>
|
510 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Urgente</span>
|
511 |
+
</div>
|
512 |
+
<p class="text-sm mt-2 text-gray-600">Hemograma completo y perfil lipídico</p>
|
513 |
+
</div>
|
514 |
+
<div class="p-4 hover:bg-gray-50">
|
515 |
+
<div class="flex justify-between">
|
516 |
+
<div>
|
517 |
+
<p class="text-sm font-medium">María Rodríguez</p>
|
518 |
+
<p class="text-xs text-gray-500">15/06/2023</p>
|
519 |
+
</div>
|
520 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Rutina</span>
|
521 |
+
</div>
|
522 |
+
<p class="text-sm mt-2 text-gray-600">Ecocardiograma y prueba de esfuerzo</p>
|
523 |
+
</div>
|
524 |
+
<div class="p-4 hover:bg-gray-50">
|
525 |
+
<div class="flex justify-between">
|
526 |
+
<div>
|
527 |
+
<p class="text-sm font-medium">Pedro Gómez</p>
|
528 |
+
<p class="text-xs text-gray-500">11/06/2023</p>
|
529 |
+
</div>
|
530 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pendiente</span>
|
531 |
+
</div>
|
532 |
+
<p class="text-sm mt-2 text-gray-600">Radiografía de tórax y ultrasonido abdominal</p>
|
533 |
+
</div>
|
534 |
+
</div>
|
535 |
+
</div>
|
536 |
+
</div>
|
537 |
+
</main>
|
538 |
+
</div>
|
539 |
+
</div>
|
540 |
+
|
541 |
+
<script>
|
542 |
+
// Toggle sidebar
|
543 |
+
document.getElementById('sidebar-toggle').addEventListener('click', function() {
|
544 |
+
document.querySelector('.sidebar').classList.toggle('collapsed');
|
545 |
+
document.querySelector('.main-content').classList.toggle('ml-64');
|
546 |
+
document.querySelector('.main-content').classList.toggle('ml-20');
|
547 |
+
});
|
548 |
+
|
549 |
+
// Active menu item
|
550 |
+
const menuItems = document.querySelectorAll('ul li a');
|
551 |
+
menuItems.forEach(item => {
|
552 |
+
item.addEventListener('click', function() {
|
553 |
+
menuItems.forEach(i => i.classList.remove('active-menu'));
|
554 |
+
this.classList.add('active-menu');
|
555 |
+
});
|
556 |
+
});
|
557 |
+
|
558 |
+
// Today's date in calendar
|
559 |
+
const today = new Date();
|
560 |
+
const currentDay = today.getDate();
|
561 |
+
const calendarDays = document.querySelectorAll('.calendar-day');
|
562 |
+
|
563 |
+
calendarDays.forEach(day => {
|
564 |
+
if (parseInt(day.textContent) === currentDay) {
|
565 |
+
day.classList.add('today');
|
566 |
+
}
|
567 |
+
});
|
568 |
+
|
569 |
+
// Sample data for appointments (would come from backend in real app)
|
570 |
+
const appointments = [15, 18];
|
571 |
+
appointments.forEach(day => {
|
572 |
+
calendarDays.forEach(calendarDay => {
|
573 |
+
if (parseInt(calendarDay.textContent) === day) {
|
574 |
+
calendarDay.classList.add('appointment');
|
575 |
+
}
|
576 |
+
});
|
577 |
+
});
|
578 |
+
</script>
|
579 |
+
<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=amcreativex/medispot" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
580 |
+
</html>
|
prompts.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
quiero crear un app web tipo asas services para ofrecer suscripción en Venezuela, la intención de este app es que los médicos y profesionales de la salud en general puedan crear su base de datos de pacientes donde puedan administrar consultas, generar recetas, ordenes de exámenes médicos e imágenes, poder dar seguimiento a su agenda de consultas, quiero que sea simple, profesional de fácil uso, el nombre sería medispot.
|