-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcitas.html
More file actions
184 lines (177 loc) · 7.74 KB
/
citas.html
File metadata and controls
184 lines (177 loc) · 7.74 KB
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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MedBear: Citas</title>
<link rel="icon" href="images/logo-icon.webp">
<link rel="stylesheet" href="citas.css">
<link rel="stylesheet" href="animations.css">
</head>
<body>
<div class="container">
<!-- Barra mobiles -->
<div class="mobile-header">
<button class="mobile-menu-button">☰</button>
<img src="images/logo-horizontal.webp" alt="MedBear Logo" class="logo-mobile">
<button class="mobile-login-button">Iniciar Sesión</button>
</div>
<div class="overlay"></div>
<!-- Barra Lateral -->
<aside class="sidebar">
<div class="logo-section">
<img src="images/logo-horizontal.webp" alt="MedBear Logo" class="logo">
</div>
<nav class="menu">
<a href="perfiles.html" class="menu-item">
<i class="icon">🐻</i> Principal
</a>
<a href="citas.html" class="menu-item active">
<i class="icon">📅</i> Citas Médicas
</a>
<a href="medicamentos.html" class="menu-item">
<i class="icon">💊</i> Gestión Medicamentos
</a>
<a href="notready.html" class="menu-item">
<i class="icon">⏰</i> Gestión Alarmas
</a>
<a href="notready.html" class="menu-item">
<i class="icon">☰</i> Otras Funciones
</a>
</nav>
<div class="user-profile">
<p1 id="saludo"></p1>
<img id="user-profile-image" alt="Foto de Perfil">
<p2 id="user-email"></p2>
</div>
<button class="login-button">Cerrar Sesión</button>
</aside>
<!-- Contenido Principal -->
<main class="appointments">
<div class="appointments-header">
<h2>Próximas Citas</h2>
<input type="text" placeholder="Buscar citas..." class="search-bar">
</div>
<div class="appointments-actions">
<button class="action-button " onclick="window.location.href = 'notready.html'">Agendar Nueva
Cita</button>
<button class="action-button secondary" onclick="window.location.href = 'notready.html'">Ver
Historial</button>
</div>
<div class="appointments-list">
<div class="appointment-card" onclick="openModal(this)">
<h3>Traumatología</h3>
<p1>Clínica Ortopédica, Consulta 3.</p1>
<p>
<p2>Dolor rodilla izquierda.</p2>
<p>
<p3>Dr. Carlos Parra.</p3>
<p>
<p4>11:30 hrs</p4>
<p5>20/09/2025</p5>
</div>
<div class="appointment-card" onclick="openModal(this)">
<h3>Cardiología</h3>
<p1>Clínica Cardiovascular, Consulta 1.</p1>
<p>
<p2>Control de Presión Arterial.</p2>
<p>
<p3>Dra. María Pérez.</p3>
<p>
<p4>09:00 hrs</p4>
<p5>21/09/2025</p5>
</div>
<div class="appointment-card" onclick="openModal(this)">
<h3>Neurología</h3>
<p1>Clínica Neurológica, Consulta 2.</p1>
<p>
<p2>Control de Epilepsia.</p2>
<p>
<p3>Dr. Juan Soto.</p3>
<p>
<p4>15:00 hrs</p4>
<p5>29/09/2025</p5>
</div>
<div class="appointment-card" onclick="openModal(this)">
<h3>Psiquiatría</h3>
<p1>Clínica Psicológica, Consulta 4.</p1>
<p>
<p2>Control de Depresión.</p2>
<p>
<p3>Dra. Ana López.</p3>
<p>
<p4>10:30 hrs</p4>
<p5>13/10/2025<p5>
</div>
</div>
</main>
<!-- Modal -->
<div id="modal" class="modal hidden">
<div class="modal-body">
<div class="modal-content">
<h3 id="modal-header"> Información de consulta:</h3>
<div class="table-container">
<table class="details-table">
<tbody>
<tr>
<th>ID de Consulta</th>
<td contenteditable="false"></td>
</tr>
<tr>
<th>Fecha</th>
<td contenteditable="true"></td>
</tr>
<tr>
<th>Hora</th>
<td contenteditable="true"></td>
</tr>
<tr>
<th>Lugar</th>
<td contenteditable="true"></td>
</tr>
<tr>
<th>Médico</th>
<td contenteditable="true"></td>
</tr>
<tr>
<th>Especialidad</th>
<td contenteditable="true"></td>
</tr>
<tr>
<th>Tipo de Consulta</th>
<td contenteditable="true"></td>
</tr>
<tr>
<th>Motivo</th>
<td contenteditable="true"></td>
</tr>
<tr>
<th>Diagnóstico</th>
<td contenteditable="true"></td>
</tr>
<tr>
<th>Interconsulta</th>
<td contenteditable="true"></td>
</tr>
<tr>
<th>Anotaciones Personales</th>
<td contenteditable="true"></td>
</tr>
<tr>
<th>Imágenes Adjuntas</th>
<td contenteditable="true"></td>
</tr>
</tbody>
</table>
</div>
<div class="modal-actions">
<button class="action-button secondary" onclick="closeModal()">Cerrar</button>
<button class="action-button" onclick="saveTable()">Guadar Cambios</button>
<button class="action-button" onclick="archiveTable()">Archivar en Historial</button>
</div>
</div>
</div>
</div>
<script src="citas.js"></script>
</body>
</html>