arreglar textos y estilos
This commit is contained in:
parent
52fea9937e
commit
3294422e6a
|
@ -257,7 +257,7 @@ const GuardasSeguridad = () => {
|
|||
title={`${text}`}
|
||||
/>
|
||||
<Button icon="pi pi-trash"
|
||||
className="p-button-rounded p-button-danger mt-2"
|
||||
className="p-button-rounded p-button-danger mt-2 mx-2"
|
||||
onClick={() => confirmDeleteGuarda(rowData)} />
|
||||
</div>
|
||||
);
|
||||
|
@ -300,14 +300,14 @@ const GuardasSeguridad = () => {
|
|||
const deleteAdminSystemDialogFooter = (
|
||||
<>
|
||||
<Button label="No" icon="pi pi-times" className="p-button-text" onClick={hideDeleteGuardasDialog} />
|
||||
<Button label="Yes" icon="pi pi-check" className="p-button-text" onClick={deleteGuarda} />
|
||||
<Button label="Sí" icon="pi pi-check" className="p-button-text" onClick={deleteGuarda} />
|
||||
</>
|
||||
);
|
||||
|
||||
const deleteAdminsSystemDialogFooter = (
|
||||
<>
|
||||
<Button label="No" icon="pi pi-times" className="p-button-text" onClick={hideDeleteGuardasDialog} />
|
||||
<Button label="Yes" icon="pi pi-check" className="p-button-text" onClick={deleteSelectedGuardas} />
|
||||
<Button label="Sí" icon="pi pi-check" className="p-button-text" onClick={deleteSelectedGuardas} />
|
||||
</>
|
||||
);
|
||||
|
||||
|
@ -320,7 +320,7 @@ const GuardasSeguridad = () => {
|
|||
onClick={hideChangeStatusGuardDialog}
|
||||
/>
|
||||
<Button
|
||||
label="Yes"
|
||||
label="Sí"
|
||||
icon="pi pi-check"
|
||||
className="p-button-text"
|
||||
onClick={cambiarStatusUser}
|
||||
|
@ -393,7 +393,7 @@ const GuardasSeguridad = () => {
|
|||
</Column>
|
||||
<Column field="email" sortable header={headerEmail} style={{ flexGrow: 1, flexBasis: '160px', minWidth: '160px', wordBreak: 'break-word' }}></Column>
|
||||
<Column field="phone" header={headerPhone} style={{ flexGrow: 1, flexBasis: '160px', minWidth: '160px', wordBreak: 'break-word' }}></Column>
|
||||
<Column style={{ flexGrow: 1, flexBasis: '130px', minWidth: '130px' }} body={actionsAdmin}></Column>
|
||||
<Column style={{ flexGrow: 1, flexBasis: '80px', minWidth: '80px' }} body={actionsAdmin}></Column>
|
||||
</DataTable>
|
||||
<Dialog visible={deleteGuardaDialog} style={{ width: '450px' }} header="Confirmar" modal footer={deleteAdminSystemDialogFooter} onHide={hideDeleteGuardaDialog}>
|
||||
<div className="flex align-items-center justify-content-center">
|
||||
|
@ -404,7 +404,7 @@ const GuardasSeguridad = () => {
|
|||
<Dialog visible={deleteGuardasDialog} style={{ width: '450px' }} header="Confirmar" modal footer={deleteAdminsSystemDialogFooter} onHide={hideDeleteGuardasDialog}>
|
||||
<div className="flex align-items-center justify-content-center">
|
||||
<i className="pi pi-exclamation-triangle mr-3" style={{ fontSize: '2rem' }} />
|
||||
{selectedGuardas && <span>¿Está seguro eliminar los adminsitradores del sistema seleccionados?</span>}
|
||||
{selectedGuardas && <span>¿Está seguro eliminar los guardas de seguridad seleccionados?</span>}
|
||||
</div>
|
||||
</Dialog>
|
||||
<Dialog
|
||||
|
|
|
@ -331,14 +331,14 @@ const Inquilinos = () => {
|
|||
const deleteTenantDialogFooter = (
|
||||
<>
|
||||
<Button label="No" icon="pi pi-times" className="p-button-text" onClick={hideDeleteTenantDialog} />
|
||||
<Button label="Yes" icon="pi pi-check" className="p-button-text" onClick={deleteTenant} />
|
||||
<Button label="Sí" icon="pi pi-check" className="p-button-text" onClick={deleteTenant} />
|
||||
</>
|
||||
);
|
||||
|
||||
const deleteTenantsDialogFooter = (
|
||||
<>
|
||||
<Button label="No" icon="pi pi-times" className="p-button-text" onClick={hideDeleteTenantsDialog} />
|
||||
<Button label="Yes" icon="pi pi-check" className="p-button-text" onClick={deleteSelectedTenants} />
|
||||
<Button label="Sí" icon="pi pi-check" className="p-button-text" onClick={deleteSelectedTenants} />
|
||||
</>
|
||||
);
|
||||
|
||||
|
@ -352,7 +352,7 @@ const Inquilinos = () => {
|
|||
onClick={hideChangeStatusTenantDialog}
|
||||
/>
|
||||
<Button
|
||||
label="Yes"
|
||||
label="Sí"
|
||||
icon="pi pi-check"
|
||||
className="p-button-text"
|
||||
onClick={cambiarStatusUser}
|
||||
|
@ -457,7 +457,7 @@ const Inquilinos = () => {
|
|||
<Dialog visible={deleteTenantsDialog} style={{ width: '450px' }} header="Confirmar" modal footer={deleteTenantsDialogFooter} onHide={hideDeleteTenantsDialog}>
|
||||
<div className="flex align-items-center justify-content-center">
|
||||
<i className="pi pi-exclamation-triangle mr-3" style={{ fontSize: '2rem' }} />
|
||||
{selectedTentants && <span>¿Está seguro eliminar los Inquilinos seleccionados?</span>}
|
||||
{selectedTentants && <span>¿Está seguro eliminar los inquilinos seleccionados?</span>}
|
||||
</div>
|
||||
</Dialog>
|
||||
<Dialog
|
||||
|
|
Loading…
Reference in New Issue