Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend-MECRED
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
MECRED
Frontend-MECRED
Commits
43af500f
Commit
43af500f
authored
1 month ago
by
Richard Fernando Heise Ferreira
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue-351/FIX-rm-invisible-button-resources-report' into 'develop'
Issue
#351
: FIX change color button and sintax correction See merge request
!326
parents
98ae49b8
5bd1bcb7
No related branches found
No related tags found
1 merge request
!326
Issue #351: FIX change color button and sintax correction
Pipeline
#42737
failed
1 month ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/components/ShareButton.js
+1
-1
1 addition, 1 deletion
src/app/components/ShareButton.js
src/app/recurso/[id]/components/complaintsModal.js
+37
-35
37 additions, 35 deletions
src/app/recurso/[id]/components/complaintsModal.js
with
38 additions
and
36 deletions
src/app/components/ShareButton.js
+
1
−
1
View file @
43af500f
...
@@ -44,7 +44,7 @@ export default function ShareButton({ type, id }) {
...
@@ -44,7 +44,7 @@ export default function ShareButton({ type, id }) {
<
ShareModal
<
ShareModal
open
=
{
shareOpen
}
open
=
{
shareOpen
}
onClose
=
{()
=>
setShareOpen
(
false
)}
onClose
=
{()
=>
setShareOpen
(
false
)}
title
=
{
`Compartilhando
${
type
}
`
}
title
=
{
`Compartilhando
${
type
===
"
colecao
"
?
"
coleção
"
:
type
}
`
}
type
=
{
type
}
type
=
{
type
}
id
=
{
id
}
id
=
{
id
}
/
>
/
>
...
...
This diff is collapsed.
Click to expand it.
src/app/recurso/[id]/components/complaintsModal.js
+
37
−
35
View file @
43af500f
...
@@ -172,17 +172,19 @@ export default function ComplaintModal({ open, onClose, name, id, setSubmitted }
...
@@ -172,17 +172,19 @@ export default function ComplaintModal({ open, onClose, name, id, setSubmitted }
}}
}}
>
>
<
div
className
=
"
flex flex-col bg-ice-HC-dark p-5 rounded-lg
"
>
<
div
className
=
"
flex flex-col bg-ice-HC-dark p-5 rounded-lg
"
>
<
div
className
=
"
flex gap-12 justify-center items-center pb-2
"
>
<
div
className
=
"
flex w-full justify-center items-center pb-2
"
>
<
p
className
=
"
flex justify-center text-2xl text-darkGray-HC-white-underline font-bold
"
>
{
`Você está avaliando a denúncia
${
name
}
`
}
<
/p
>
<
p
className
=
"
flex text-2xl justify-center w-full text-darkGray-HC-white font-bold
"
>
{
`Você está avaliando a denúncia
${
name
}
`
}
<
/p
>
<
div
className
=
"
flex cursor-pointer justify-end
"
>
<
CloseIcon
onClick
=
{
onClose
}
sx
=
{{
color
:
"
#6c8080
"
,
fontSize
:
"
2s5px
"
}}
/
>
<
CloseIcon
onClick
=
{
onClose
}
sx
=
{{
color
:
"
#6c8080
"
,
fontSize
:
"
2s5px
"
}}
/
>
<
/div
>
<
/div
>
<
/div
>
{
message
===
"
voted
"
?
<
Alert
severity
=
"
info
"
>
Você
já
votou
nesse
recurso
!<
/Alert> : message === "ok"
?
{
message
===
"
voted
"
?
<
Alert
severity
=
"
info
"
>
Você
já
votou
nesse
recurso
!<
/Alert> : message === "ok"
?
<
Alert
severity
=
"
success
"
>
Seu
voto
foi
computado
com
sucesso
!<
/Alert
>
<
Alert
severity
=
"
success
"
>
Seu
voto
foi
computado
com
sucesso
!<
/Alert
>
:
message
===
"
error
"
?
<
Alert
severity
=
"
error
"
>
Erro
ao
computar
voto
,
tente
novamente
<
/Alert> : null
}
:
message
===
"
error
"
?
<
Alert
severity
=
"
error
"
>
Erro
ao
computar
voto
,
tente
novamente
<
/Alert> : null
}
<
p
className
=
"
text-darkGray-HC-white
-underline
pb-4 pt-4 text-lg font-semibold
"
>
Verifique
as
seguintes
denúncias
sobre
o
recurso
<
/p
>
<
p
className
=
"
text-darkGray-HC-white pb-4 pt-4 text-lg font-semibold
"
>
Verifique
as
seguintes
denúncias
sobre
o
recurso
<
/p
>
<
ul
className
=
"
list-disc list-inside
"
>
<
ul
className
=
"
list-disc list-inside
"
>
{
questions
.
map
((
item
,
i
)
=>
(
{
questions
.
map
((
item
,
i
)
=>
(
<
li
key
=
{
i
}
className
=
"
text-darkGray-HC-white
-underline
text-lg font-normal
"
>
<
li
key
=
{
i
}
className
=
"
text-darkGray-HC-white text-lg font-normal
"
>
{
item
.
reason
}:
{
item
.
description
}
{
item
.
reason
}:
{
item
.
description
}
<
/li
>
<
/li
>
))}
))}
...
@@ -190,14 +192,14 @@ export default function ComplaintModal({ open, onClose, name, id, setSubmitted }
...
@@ -190,14 +192,14 @@ export default function ComplaintModal({ open, onClose, name, id, setSubmitted }
<
div
className
=
"
flex justify-end mt-7
"
>
<
div
className
=
"
flex justify-end mt-7
"
>
<
button
<
button
onClick
=
{()
=>
handleOpen
(
1
,
0
)}
onClick
=
{()
=>
handleOpen
(
1
,
0
)}
className
=
"
bg-turquoise px-3 py-2 mr-1 rounded-lg text-white-HC-dark-underline hover:
bg
-ice-HC-
dark-hover
font-semibold
"
className
=
"
bg-turquoise
-HC-white hover:bg-darkTurquoise-HC-dark
px-3 py-2 mr-1 rounded-lg text-white-HC-dark-underline hover:
text
-ice-HC-
white
font-semibold
outline outline-1 outline-ice-HC-white
"
>
>
Votar
para
reativar
Votar
para
reativar
<
/button
>
<
/button
>
<
button
<
button
onClick
=
{()
=>
handleOpen
(
0
,
1
)}
onClick
=
{()
=>
handleOpen
(
0
,
1
)}
className
=
"
bg-red px-3 py-2 ml-1 rounded-lg text-white-HC-dark-underline font-semibold
hover:bg-turquoise-hover
"
className
=
"
bg-red
-HC-white
px-3 py-2 ml-1 rounded-lg text-white-HC-dark-underline font-semibold
outline outline-1 outline-ice-HC-white
"
>
>
Votar
para
remover
Votar
para
remover
<
/button
>
<
/button
>
...
...
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