-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2406 from prefeiturasp/merge-feats-120418-120457-…
…em-homolog Merge feats 120418 120457 em homolog
- Loading branch information
Showing
4 changed files
with
109 additions
and
26 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
src/componentes/Globais/CentralDeDownloads/ModalConfirmarExclusaoArquivo.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import React from 'react'; | ||
import '../ModalAntDesign/modal-antdesign.scss'; | ||
import { Modal } from 'antd'; | ||
import IconeAvisoVermelho from "../../../assets/img/icone-modal-aviso-vermelho.svg" | ||
|
||
export const ModalConfirmarExclusaoArquivo = (props) => { | ||
return ( | ||
<div className="modal-ant-design"> | ||
<Modal | ||
open={props.open} | ||
onOk={props.onOk} | ||
okText={props.okText} | ||
okButtonProps={{className: "btn-base-vermelho"}} | ||
onCancel={props.onCancel} | ||
cancelText={props.cancelText} | ||
cancelButtonProps={{className: "btn-base-verde-outline"}} | ||
wrapClassName={'modal-ant-design'} | ||
> | ||
<div className="row"> | ||
<div className="col-md-auto col-lg-12"> | ||
<div className="text-center"> | ||
<img src={IconeAvisoVermelho} alt="" className="img-fluid"/> | ||
</div> | ||
</div> | ||
|
||
<div className="col-md-auto col-lg-12 mt-3"> | ||
<div className="text-center"> | ||
<p className="title-modal-antdesign-aviso">{props.titulo}</p> | ||
</div> | ||
<div className="text-center mt-2"> | ||
<p className="body-text-modal-antdesign-aviso">{props.bodyText}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</Modal> | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 29 additions & 11 deletions
40
src/componentes/escolas/Receitas/CancelarModalReceitas.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,35 @@ | ||
import React from "react"; | ||
import {ModalBootstrap} from "../../Globais/ModalBootstrap"; | ||
import { Modal } from 'antd'; | ||
import IconeAvisoVermelho from "../../../assets/img/icone-modal-aviso-vermelho.svg" | ||
|
||
export const CancelarModalReceitas = (propriedades) =>{ | ||
return ( | ||
<ModalBootstrap | ||
show={propriedades.show} | ||
onHide={propriedades.handleClose} | ||
titulo={propriedades.titulo} | ||
bodyText="" | ||
primeiroBotaoOnclick={propriedades.onCancelarTrue} | ||
primeiroBotaoTexto="OK" | ||
segundoBotaoOnclick={propriedades.handleClose} | ||
segundoBotaoTexto="Fechar" | ||
/> | ||
<Modal | ||
open={propriedades.show} | ||
onOk={propriedades.onCancelarTrue} | ||
okText="OK" | ||
okButtonProps={{className: "btn-base-vermelho"}} | ||
onCancel={propriedades.handleClose} | ||
cancelText="Fechar" | ||
cancelButtonProps={{className: "btn-base-verde-outline"}} | ||
wrapClassName={'modal-ant-design'} | ||
> | ||
<div className="row"> | ||
<div className="col-md-auto col-lg-12"> | ||
<div className="text-center"> | ||
<img src={IconeAvisoVermelho} alt="" className="img-fluid"/> | ||
</div> | ||
</div> | ||
|
||
<div className="col-md-auto col-lg-12 mt-3"> | ||
<div className="text-center"> | ||
<p className="title-modal-antdesign-aviso">{propriedades.titulo}</p> | ||
</div> | ||
<div className="text-center mt-2"> | ||
<p className="body-text-modal-antdesign-aviso">{propriedades.bodyText}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</Modal> | ||
) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters