diff --git a/web-ui/web-react/src/App.js b/web-ui/web-react/src/App.js index 4f7d2c96..b9b8d48c 100644 --- a/web-ui/web-react/src/App.js +++ b/web-ui/web-react/src/App.js @@ -50,6 +50,7 @@ import './assets/demo/Demos.scss'; import './assets/layout/layout.scss'; import './App.scss'; import LogIn from './components/LogIn'; +import {PrimeIcons} from 'primereact/api'; const App = () => { const [layoutMode, setLayoutMode] = useState('static'); @@ -166,11 +167,11 @@ const App = () => { label: 'Home', items: [ {label: 'Dashboard', icon: 'pi pi-fw pi-home', to: '/'}, - {label: 'Administradores del sistema', icon: 'pi pi-fw pi-id-card', to: '/administradoresSistema'}, - {label: 'Administradores de comunidad', icon: 'pi pi-fw pi-id-card', to: '/administradoresComunidad'}, - {label: 'Guardas de seguridad', icon: 'pi pi-fw pi-id-card', to: '/guardasSeguridad'}, - {label: 'Comunidadades', icon: 'pi pi-fw pi-id-card', to: '/comunidadesViviendas'}, - {label: 'Inquilinos', icon: 'pi pi-fw pi-id-card', to: '/inquilinos'}, + {label: 'Administradores del sistema', icon: PrimeIcons.USERS, to: '/administradoresSistema'}, + {label: 'Administradores de comunidad', icon: PrimeIcons.USERS, to: '/administradoresComunidad'}, + {label: 'Guardas de seguridad', icon: PrimeIcons.LOCK, to: '/guardasSeguridad'}, + {label: 'Comunidadades', icon: PrimeIcons.BUILDING, to: '/comunidadesViviendas'}, + {label: 'Inquilinos', icon: PrimeIcons.USER, to: '/inquilinos'}, {label: 'Log in', icon: 'pi pi-fw pi-id-card', to: '/logIn'} ] }, diff --git a/web-ui/web-react/src/components/AdministradoresSistema.js b/web-ui/web-react/src/components/AdministradoresSistema.js index 8a8ea049..dd02f69d 100644 --- a/web-ui/web-react/src/components/AdministradoresSistema.js +++ b/web-ui/web-react/src/components/AdministradoresSistema.js @@ -184,7 +184,7 @@ const AdministradoresSistema = () => { const header = (
-
Administradores del sistema
+
Administradores del sistema
setGlobalFilter(e.target.value)} placeholder="Buscar..." /> @@ -213,19 +213,16 @@ const AdministradoresSistema = () => {
< Toolbar className="mb-4" left={leftToolbarTemplate} right={rightToolbarTemplate}> - setSelectedAdministrators(e.value)} - scrollable scrollHeight="400px" scrollDirection="both" header={header} - rowsPerPageOptions={[5, 10, 25]} className="datatable-responsive mt-3" - paginatorTemplate="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown" - currentPageReportTemplate="Mostrando {first} a {last} de {totalRecords} administradores del sistema" - globalFilter={globalFilter} emptyMessage="No hay administradores del sistema registrados." + setSelectedAdministrators(e.value)} + emptyMessage="No se encuentran administradores de sistema registrados." > - - - - - + + + + +