Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PortalMEC-React
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PortalMEC
PortalMEC-React
Commits
ee47cd9a
Commit
ee47cd9a
authored
4 years ago
by
Lucas Eduardo Schoenfelder
Browse files
Options
Downloads
Patches
Plain Diff
render ModalExcluirConta added
parent
b9c36bb1
No related branches found
No related tags found
4 merge requests
!57
Merge of develop into master
,
!56
Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...
,
!39
Update admin system
,
!32
Homologa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Components/TabPanels/UserPageTabs/PanelGerenciarConta.js
+6
-2
6 additions, 2 deletions
src/Components/TabPanels/UserPageTabs/PanelGerenciarConta.js
with
6 additions
and
2 deletions
src/Components/TabPanels/UserPageTabs/PanelGerenciarConta.js
+
6
−
2
View file @
ee47cd9a
...
...
@@ -23,6 +23,7 @@ import FormInput from "../../FormInput.js"
import
{
CompletarCadastroButton
}
from
'
./PanelSolicitarContaProfessor.js
'
import
{
ButtonCancelar
}
from
'
./PanelEditarPerfil.js
'
import
ValidateUserInput
from
'
../../FormValidationFunction.js
'
import
ModalExcluirConta
from
'
./ModalExcluirConta.js
'
export
default
function
TabPanelGerenciarConta
(
props
)
{
const
[
senhaAtual
,
setSenhaAtual
]
=
useState
(
...
...
@@ -128,6 +129,8 @@ export default function TabPanelGerenciarConta (props) {
}
const
[
modalExcluir
,
setModalExcluir
]
=
useState
(
false
)
return
(
<>
<
Paper
elevation
=
{
3
}
style
=
{{
width
:
"
100%
"
}}
>
...
...
@@ -210,8 +213,8 @@ export default function TabPanelGerenciarConta (props) {
<
span
style
=
{{
margin
:
"
0
"
,
display
:
"
flex
"
,
justifyContent
:
"
flex-start
"
}}
>
Antes
de
excluir
a
sua
conta
,
saiba
que
ela
será
removida
permanentemente
.
<
/span
>
<
/div
>
<
div
style
=
{{
margin
:
"
0
"
,
display
:
"
flex
"
,
justifyContent
:
"
flex-start
"
}}
>
{
/*//TODO: MODAL DELETAR CONTA*/
}
<
ButtonCancelar
style
=
{{
color
:
'
#eb4034
'
}}
>
EXCLUIR
CONTA
<
/ButtonCancelar
>
<
ModalExcluirConta
open
=
{
modalExcluir
}
handleClose
=
{()
=>
{
setModalExcluir
(
false
)}}
/
>
<
ButtonCancelar
style
=
{{
color
:
'
#eb4034
'
}}
onClick
=
{()
=>
{
setModalExcluir
(
true
)}}
>
EXCLUIR
CONTA
<
/ButtonCancelar
>
<
/div
>
<
/div
>
<
/div
>
...
...
@@ -219,3 +222,4 @@ export default function TabPanelGerenciarConta (props) {
<
/
>
)
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment