fix: update section title from Mapa de Camas to Camas
This commit is contained in:
@@ -82,7 +82,18 @@ export function Cultivos({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="space-y-4">
|
<div className="space-y-6 dark:text-white">
|
||||||
|
{/* Header */}
|
||||||
|
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
||||||
|
<div>
|
||||||
|
<h1 className="text-2xl font-bold text-gray-900 dark:text-white flex items-center gap-2.5">
|
||||||
|
<Microscope className="h-7 w-7 text-blue-600 dark:text-blue-400 shrink-0" />
|
||||||
|
Cultivos
|
||||||
|
</h1>
|
||||||
|
<p className="text-gray-500 dark:text-gray-400">Informe y registro de cultivos y muestras</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between">
|
<div className="flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between">
|
||||||
<div className="flex-1 flex gap-2">
|
<div className="flex-1 flex gap-2">
|
||||||
<div className="relative flex-1">
|
<div className="relative flex-1">
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import {
|
import {
|
||||||
|
LayoutDashboard,
|
||||||
Bed,
|
Bed,
|
||||||
Users,
|
Users,
|
||||||
ClipboardList,
|
ClipboardList,
|
||||||
@@ -52,8 +53,11 @@ export function Dashboard({
|
|||||||
{/* Header */}
|
{/* Header */}
|
||||||
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-bold text-gray-900 dark:text-white">Dashboard</h1>
|
<h1 className="text-2xl font-bold text-gray-900 dark:text-white flex items-center gap-2.5">
|
||||||
<p className="text-gray-500 dark:text-gray-400">Resumen del servicio - Clinica Medica</p>
|
<LayoutDashboard className="h-7 w-7 text-blue-600 dark:text-blue-400 shrink-0" />
|
||||||
|
Dashboard
|
||||||
|
</h1>
|
||||||
|
<p className="text-gray-500 dark:text-gray-400">Resumen del servicio - Clínica Médica</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<Badge variant="outline" className="bg-green-50 text-green-700 border-green-200 dark:bg-green-900 dark:text-green-300 dark:border-green-700">
|
<Badge variant="outline" className="bg-green-50 text-green-700 border-green-200 dark:bg-green-900 dark:text-green-300 dark:border-green-700">
|
||||||
|
|||||||
@@ -207,7 +207,10 @@ export function Evoluciones({
|
|||||||
<div className="space-y-6 dark:text-white overflow-x-hidden max-w-screen">
|
<div className="space-y-6 dark:text-white overflow-x-hidden max-w-screen">
|
||||||
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-bold text-gray-900 dark:text-white">Evoluciones Diarias</h1>
|
<h1 className="text-2xl font-bold text-gray-900 dark:text-white flex items-center gap-2.5">
|
||||||
|
<FileText className="h-7 w-7 text-blue-600 dark:text-blue-400 shrink-0" />
|
||||||
|
Evoluciones Diarias
|
||||||
|
</h1>
|
||||||
<p className="text-gray-500 dark:text-gray-400">Registro de evoluciones y signos vitales</p>
|
<p className="text-gray-500 dark:text-gray-400">Registro de evoluciones y signos vitales</p>
|
||||||
</div>
|
</div>
|
||||||
<Dialog open={dialogoAbierto} onOpenChange={setDialogoAbierto}>
|
<Dialog open={dialogoAbierto} onOpenChange={setDialogoAbierto}>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@
|
|||||||
import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog';
|
import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog';
|
||||||
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@/components/ui/table';
|
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@/components/ui/table';
|
||||||
import { Badge } from '@/components/ui/badge';
|
import { Badge } from '@/components/ui/badge';
|
||||||
import { Plus, Pencil, Trash2 } from 'lucide-react';
|
import { Plus, Pencil, Trash2, UserCog } from 'lucide-react';
|
||||||
|
|
||||||
const API_BASE = import.meta.env.VITE_API_URL || '/api';
|
const API_BASE = import.meta.env.VITE_API_URL || '/api';
|
||||||
|
|
||||||
@@ -177,7 +177,10 @@ export function GestionUsuarios() {
|
|||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-3">
|
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-3">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-bold dark:text-white">Gestión de Usuarios</h1>
|
<h1 className="text-2xl font-bold dark:text-white flex items-center gap-2.5">
|
||||||
|
<UserCog className="h-7 w-7 text-blue-600 dark:text-blue-400 shrink-0" />
|
||||||
|
Gestión de Usuarios
|
||||||
|
</h1>
|
||||||
<p className="text-gray-500 dark:text-gray-400">Administrar usuarios del sistema</p>
|
<p className="text-gray-500 dark:text-gray-400">Administrar usuarios del sistema</p>
|
||||||
</div>
|
</div>
|
||||||
<Button className="w-full sm:w-auto" onClick={() => { resetForm(); setDialogOpen(true); }}>
|
<Button className="w-full sm:w-auto" onClick={() => { resetForm(); setDialogOpen(true); }}>
|
||||||
|
|||||||
@@ -270,8 +270,8 @@ export function HistoriaClinica({
|
|||||||
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-bold text-gray-900 dark:text-white">
|
<h1 className="text-2xl font-bold text-gray-900 dark:text-white flex items-center gap-2.5">
|
||||||
<ClipboardList className="h-6 w-6 text-blue-600" />
|
<ClipboardList className="h-7 w-7 text-blue-600 dark:text-blue-400 shrink-0" />
|
||||||
{cama?.numero || 'N/A'} - Historia Clínica
|
{cama?.numero || 'N/A'} - Historia Clínica
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-gray-500 dark:text-gray-400">Módulo de Historia Clínica de Internación</p>
|
<p className="text-gray-500 dark:text-gray-400">Módulo de Historia Clínica de Internación</p>
|
||||||
|
|||||||
@@ -223,7 +223,10 @@ export function Internaciones({
|
|||||||
{/* Header */}
|
{/* Header */}
|
||||||
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-bold text-gray-900 dark:text-white">Internaciones</h1>
|
<h1 className="text-2xl font-bold text-gray-900 dark:text-white flex items-center gap-2.5">
|
||||||
|
<ClipboardList className="h-7 w-7 text-blue-600 dark:text-blue-400 shrink-0" />
|
||||||
|
Internaciones
|
||||||
|
</h1>
|
||||||
<p className="text-gray-500 dark:text-gray-400">Gestión de internaciones en sala</p>
|
<p className="text-gray-500 dark:text-gray-400">Gestión de internaciones en sala</p>
|
||||||
</div>
|
</div>
|
||||||
<Dialog open={dialogoNuevaAbierto} onOpenChange={setDialogoNuevaAbierto}>
|
<Dialog open={dialogoNuevaAbierto} onOpenChange={setDialogoNuevaAbierto}>
|
||||||
|
|||||||
@@ -181,7 +181,10 @@ export function MapaCamas({
|
|||||||
<div className="space-y-6 dark:text-white">
|
<div className="space-y-6 dark:text-white">
|
||||||
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-bold text-gray-900 dark:text-white">Mapa de Camas</h1>
|
<h1 className="text-2xl font-bold text-gray-900 dark:text-white flex items-center gap-2.5">
|
||||||
|
<Bed className="h-7 w-7 text-blue-600 dark:text-blue-400 shrink-0" />
|
||||||
|
Camas
|
||||||
|
</h1>
|
||||||
<p className="text-gray-500 dark:text-gray-400">Gestión de camas del servicio</p>
|
<p className="text-gray-500 dark:text-gray-400">Gestión de camas del servicio</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
|
|||||||
@@ -142,7 +142,10 @@ export function Pacientes({
|
|||||||
{/* Header */}
|
{/* Header */}
|
||||||
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-bold text-gray-900 dark:text-white">Pacientes</h1>
|
<h1 className="text-2xl font-bold text-gray-900 dark:text-white flex items-center gap-2.5">
|
||||||
|
<Users className="h-7 w-7 text-blue-600 dark:text-blue-400 shrink-0" />
|
||||||
|
Pacientes
|
||||||
|
</h1>
|
||||||
<p className="text-gray-500 dark:text-gray-400">Gestión de pacientes del hospital</p>
|
<p className="text-gray-500 dark:text-gray-400">Gestión de pacientes del hospital</p>
|
||||||
</div>
|
</div>
|
||||||
<Dialog open={dialogoAbierto} onOpenChange={setDialogoAbierto}>
|
<Dialog open={dialogoAbierto} onOpenChange={setDialogoAbierto}>
|
||||||
|
|||||||
Reference in New Issue
Block a user