arreglar textos y estilos

This commit is contained in:
Mariela 2022-08-02 23:22:51 -06:00
parent 52fea9937e
commit 3294422e6a
2 changed files with 10 additions and 10 deletions

View File

@ -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="" 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="" icon="pi pi-check" className="p-button-text" onClick={deleteSelectedGuardas} />
</>
);
@ -320,7 +320,7 @@ const GuardasSeguridad = () => {
onClick={hideChangeStatusGuardDialog}
/>
<Button
label="Yes"
label=""
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

View File

@ -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="" 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="" icon="pi pi-check" className="p-button-text" onClick={deleteSelectedTenants} />
</>
);
@ -352,7 +352,7 @@ const Inquilinos = () => {
onClick={hideChangeStatusTenantDialog}
/>
<Button
label="Yes"
label=""
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