Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
4651d0fb
Commit
4651d0fb
authored
Mar 28, 2022
by
Guilherme Silva
Browse files
Atualização das telas de pareceres, utilizando novo padrão ao apresentar informações do projeto
parent
60714558
Changes
2
Show whitespace changes
Inline
Side-by-side
resources/views/avaliador/parecer.blade.php
View file @
4651d0fb
...
@@ -5,75 +5,39 @@
...
@@ -5,75 +5,39 @@
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"row justify-content-center"
>
<!--
Proponente
Dados
-->
<!--
Proponente
Dados
-->
<
div
class
=
"col-md-10"
style
=
"margin-top:4rem"
>
<
div
class
=
"col-md-10"
style
=
"margin-top:4rem;padding: 0px"
>
<
div
class
=
"card"
style
=
"border-radius: 12px"
>
@
component
(
'projeto.formularioVisualizar.proponente2'
,
[
'projeto'
=>
$trabalho
])
<
div
class
=
"card-body"
>
@
endcomponent
<
div
class
=
"container"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-12"
><
h5
style
=
"color: #1492E6; margin-bottom:-0.4rem"
>
Informações
do
proponente
</
h5
></
div
>
<
div
class
=
"col-md-12"
style
=
"margin-bottom: -0.8rem;"
><
hr
style
=
"border-top: 1px solid#1492E6"
></
div
>
<
div
class
=
"form-group col-md-12"
style
=
"margin-top: 15px"
>
<
label
for
=
"nomeCompletoProponente1"
>
Proponente
</
label
>
<
input
class
=
"form-control"
type
=
"text"
id
=
"nomeCompletoProponente1"
name
=
"nomeCoordenador"
disabled
=
"disabled"
value
=
"{{
$trabalho->proponente
->user->name }}"
>
</
div
>
<
div
class
=
"form-group col-md-6"
>
<
label
for
=
"linkLattesEstudante"
>
Link
do
currículo
Lattes
</
label
>
<
input
class
=
"form-control @error('linkLattesEstudante') is-invalid @enderror"
type
=
"text"
name
=
"linkLattesEstudante"
value
=
"
{
{$trabalho->linkLattesEstudante}
}
"
disabled
>
@
error
(
'linkLattesEstudante'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"form-group col-md-6"
>
<
label
for
=
"linkGrupo"
>
Link
do
grupo
de
pesquisa
</
label
>
<
input
class
=
"form-control @error('linkGrupo') is-invalid @enderror"
type
=
"url"
name
=
"linkGrupo"
value
=
"{{
$trabalho->linkGrupoPesquisa
}}"
disabled
>
@
error
(
'linkGrupo'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<!--
Anecos
do
Projeto
-->
<!--
Anecos
do
Projeto
-->
<
div
class
=
"col-md-10"
style
=
"margin-top:
4rem
"
>
<
div
class
=
"col-md-10"
style
=
"margin-top:
20px
"
>
<
div
class
=
"card"
style
=
"border-radius:
12
px"
>
<
div
class
=
"card"
style
=
"border-radius:
5
px"
>
<
div
class
=
"card-body"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"container"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-12"
><
h5
style
=
"color: #1492E6; margin-bottom:-0.4rem"
>
Anexos
</
h5
></
div
>
<
div
class
=
"col-md-12"
><
h5
style
=
"color: #234B8B; font-weight: bold"
>
Anexos
</
h5
></
div
>
<
div
class
=
"col-md-12"
style
=
"margin-bottom: -0.8rem;"
><
hr
style
=
"border-top: 1px solid#1492E6"
></
div
>
{{
--
Anexo
do
Projeto
--
}}
<
div
class
=
"form-group col-md-6"
style
=
"margin-top: 10px"
>
<
div
class
=
"row justify-content-start"
>
<
div
class
=
"col-9"
>
@
component
(
'componentes.input'
,
[
'label'
=>
'Projeto (.pdf)'
])
@
endcomponent
</
div
>
@
if
(
$trabalho
->
anexoProjeto
)
<
div
class
=
"col-3 "
>
<
a
href
=
"{{ route('baixar.anexo.projeto', ['id' =>
$trabalho->id
])}}"
><
i
class
=
"fas fa-file-pdf fa-2x"
></
i
></
a
>
</
div
>
</
div
>
<
hr
style
=
"border-top: 1px solid#1492E6"
>
{{
--
Anexo
do
Projeto
--
}}
<
div
class
=
"row justify-content-left"
>
{{
--
Arquivo
--
}}
<
div
class
=
"col-sm-4"
>
<
label
for
=
"anexoProjeto"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'Projeto: '
)
}}
</
label
>
<
a
href
=
"{{ route('baixar.anexo.projeto', ['id' =>
$trabalho->id
])}}"
><
img
class
=
""
src
=
"
{
{asset('img/icons/pdf.ico')}
}
"
style
=
"width:40px"
alt
=
""
></
a
>
</
div
>
{{
--
Autorização
Especial
--
}}
<
div
class
=
"col-sm-4"
>
<
label
for
=
"nomeTrabalho"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'Autorização Especial: '
)
}}
</
label
>
@
if
(
$trabalho
->
anexoAutorizacaoComiteEtica
!=
null
)
<
a
href
=
"{{ route('baixar.anexo.comite', ['id' =>
$trabalho->id
]) }}"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/pdf.ico')}
}
"
style
=
"width:40px"
alt
=
""
></
a
>
@
else
@
else
<
div
class
=
"col-3 text-danger"
>
-
<
p
><
i
class
=
"fas fa-times-circle fa-2x"
></
i
></
p
>
</
div
>
@
endif
@
endif
</
div
>
</
div
>
</
div
>
{{
--
Anexo
(
s
)
do
Plano
(
s
)
de
Trabalho
--
}}
<!--
Planos
de
Trabalho
-->
@
foreach
(
$trabalho
->
participantes
as
$participante
)
@
foreach
(
$trabalho
->
participantes
as
$participante
)
@
php
@
php
if
(
App\Arquivo
::
where
(
'participanteId'
,
$participante
->
id
)
->
first
()
!=
null
){
if
(
App\Arquivo
::
where
(
'participanteId'
,
$participante
->
id
)
->
first
()
!=
null
){
...
@@ -82,103 +46,22 @@
...
@@ -82,103 +46,22 @@
$planoTrabalhoTemp
=
null
;
$planoTrabalhoTemp
=
null
;
}
}
@
endphp
@
endphp
<
div
class
=
"form-group col-md-6"
style
=
"margin-top: 10px"
>
<
div
class
=
"col-sm-4"
>
<
div
class
=
"row justify-content-start"
>
<
label
for
=
"anexoProjeto"
class
=
"col-form-label font-tam limit"
style
=
"font-weight: bold"
<
div
class
=
"col-9"
>
title
=
"
{
{$participante->planoTrabalho->titulo}
}
"
>
{{
__
(
'Projeto: '
)
}}{{
$participante
->
planoTrabalho
->
titulo
}}
</
label
>
<
label
for
=
"nomePlano"
class
=
"col-form-label"
>
Plano
:
{{
$participante
->
planoTrabalho
->
titulo
}}
</
label
>
</
div
>
@
if
(
$planoTrabalhoTemp
!=
null
)
@
if
(
$planoTrabalhoTemp
!=
null
)
<
div
class
=
"col-3 "
>
<
a
href
=
"{{route('download', ['file' =>
$planoTrabalhoTemp
])}}"
><
img
src
=
"
{
{asset('img/icons/pdf.ico')}
}
"
style
=
"width:40px;margin-bottom: 35px"
alt
=
""
></
a
>
<
a
href
=
"{{route('download', ['file' =>
$planoTrabalhoTemp
])}}"
><
i
class
=
"fas fa-file-pdf fa-2x"
></
i
></
a
>
</
div
>
@
else
<
div
class
=
"col-3 text-danger"
>
<
p
><
i
class
=
"fas fa-times-circle fa-2x"
></
i
></
p
>
</
div
>
@
endif
@
endif
</
div
>
</
div
>
</
div
>
@
endforeach
@
endforeach
<!--
Anexo
da
autorizações
especiais
-->
<
div
class
=
"form-group col-md-6"
>
<
div
class
=
"row justify-content-start"
>
<
div
class
=
"col-10 "
>
<
div
class
=
"row"
>
<
div
class
=
"col-12"
>
<
label
for
=
"botao"
class
=
"col-form-label @error('botao') is-invalid @enderror"
data
-
toggle
=
"tooltip"
data
-
placement
=
"bottom"
title
=
"Se possuir, coloque todas em único arquivo pdf."
style
=
"margin-right: 15px;"
>
{{
__
(
'Possui autorizações especiais?'
)
}}
<
span
style
=
"color: red; font-weight:bold"
>*</
span
></
label
>
</
div
>
<
div
class
=
"col-12"
>
<
input
type
=
"radio"
@
if
(
$trabalho
->
anexoAutorizacaoComiteEtica
)
checked
@
endif
id
=
"radioSim"
onchange
=
"displayAutorizacoesEspeciais('sim')"
disabled
>
<
label
for
=
"radioSim"
style
=
"margin-right: 5px"
>
Sim
</
label
>
<
input
type
=
"radio"
id
=
"radioNao"
@
if
(
$trabalho
->
justificativaAutorizacaoEtica
)
checked
@
endif
onchange
=
"displayAutorizacoesEspeciais('nao')"
disabled
>
<
label
for
=
"radioNao"
style
=
"margin-right: 5px"
>
Não
</
label
><
br
>
</
div
>
</
div
>
<
span
id
=
"idAvisoAutorizacaoEspecial"
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:none"
>
<
strong
>
Selecione
a
autorização
e
envie
o
arquivo
!</
strong
>
</
span
>
<
div
class
=
"form-group"
id
=
"displaySim"
style
=
"display: block; margin-top:-1rem"
>
@
component
(
'componentes.input'
,
[
'label'
=>
'Sim, declaro que necessito de autorizações especiais (.pdf)'
])
<
div
class
=
"row justify-content-center"
>
@
if
(
$trabalho
->
anexoAutorizacaoComiteEtica
)
<
div
class
=
"col-3 mt-2"
>
<
a
href
=
"{{ route('baixar.anexo.comite', ['id' =>
$trabalho->id
]) }}"
><
i
class
=
"fas fa-file-pdf fa-2x"
></
i
></
a
>
</
div
>
</
div
>
@
else
<
div
class
=
"col-3 text-danger"
>
<
p
><
i
class
=
"fas fa-times-circle fa-2x"
></
i
></
p
>
</
div
>
</
div
>
@
endif
</
div
>
</
div
>
@
error
(
'anexoAutorizacaoComiteEtica'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
@
endcomponent
</
div
>
</
div
>
<
div
class
=
"form-group"
id
=
"displayNao"
style
=
"display: none; margin-top:-1rem"
>
@
component
(
'componentes.input'
,
[
'label'
=>
'Declaração de que não necessito de autorização especiais (.pdf)'
])
@
if
(
$trabalho
->
justificativaAutorizacaoEtica
)
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-3 mt-2"
>
<
a
href
=
"{{ route('baixar.anexo.justificativa', ['id' =>
$trabalho->id
]) }}"
><
i
class
=
"fas fa-file-pdf fa-2x"
></
i
></
a
>
</
div
>
</
div
>
</
div
>
@
else
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-3 text-danger"
>
<
p
><
i
class
=
"fas fa-times-circle fa-2x"
></
i
></
p
>
</
div
>
</
div
>
@
endif
@
error
(
'justificativaAutorizacaoEtica'
)
<
div
class
=
"col-md-10"
style
=
"margin-bottom: -3rem;margin-top:20px"
>
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
@
endcomponent
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"container"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 3rem;"
>
<
div
class
=
"col-md-12"
style
=
"margin-bottom: -3rem"
>
<
div
class
=
"card card_conteudo shadow bg-white"
style
=
"border-radius:12px; border-width:0px; overflow:auto"
>
<
div
class
=
"card card_conteudo shadow bg-white"
style
=
"border-radius:12px; border-width:0px; overflow:auto"
>
<
div
class
=
"card-header"
style
=
"border-top-left-radius: 12px; border-top-right-radius: 12px; background-color: #fff"
>
<
div
class
=
"card-header"
style
=
"border-top-left-radius: 12px; border-top-right-radius: 12px; background-color: #fff"
>
<
div
class
=
"d-flex justify-content-between align-items-center"
style
=
"margin-top: 9px; margin-bottom:-1rem"
>
<
div
class
=
"d-flex justify-content-between align-items-center"
style
=
"margin-top: 9px; margin-bottom:-1rem"
>
...
@@ -214,6 +97,10 @@
...
@@ -214,6 +97,10 @@
<
option
@
if
(
$trabalho
->
pivot
->
recomendacao
==
'NAO-RECOMENDADO'
)
selected
@
endif
value
=
"NAO-RECOMENDADO"
>
NAO
-
RECOMENDADO
</
option
>
<
option
@
if
(
$trabalho
->
pivot
->
recomendacao
==
'NAO-RECOMENDADO'
)
selected
@
endif
value
=
"NAO-RECOMENDADO"
>
NAO
-
RECOMENDADO
</
option
>
</
select
>
</
select
>
<
div
class
=
"form-group mt-3 md-3"
>
<
div
class
=
"form-group mt-3 md-3"
>
<
label
>
Formulário
do
Parecer
:
</
label
>
<
a
href
=
"{{route('download', ['file' =>
$trabalho->evento
->formAvaliacaoExterno])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
>
@
if
(
$trabalho
->
pivot
->
AnexoParecer
==
null
)
@
if
(
$trabalho
->
pivot
->
AnexoParecer
==
null
)
@
component
(
'componentes.input'
,
[
'label'
=>
'Anexo do Parecer'
])
@
component
(
'componentes.input'
,
[
'label'
=>
'Anexo do Parecer'
])
<
input
type
=
"file"
class
=
"form-control-file"
id
=
"exampleFormControlFile1"
name
=
"anexoParecer"
required
>
<
input
type
=
"file"
class
=
"form-control-file"
id
=
"exampleFormControlFile1"
name
=
"anexoParecer"
required
>
...
@@ -256,8 +143,16 @@
...
@@ -256,8 +143,16 @@
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endsection
@
endsection
<
style
>
.
limit
{
max
-
width
:
35
ch
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
white
-
space
:
nowrap
;
}
</
style
>
@
section
(
'javascript'
)
@
section
(
'javascript'
)
<
script
type
=
"text/javascript"
>
<
script
type
=
"text/javascript"
>
...
...
resources/views/avaliador/parecerInterno.blade.php
View file @
4651d0fb
...
@@ -2,26 +2,71 @@
...
@@ -2,26 +2,71 @@
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"container col-md-12"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 4rem;"
>
@
component
(
'projeto.formularioVisualizar.projeto'
,
<
div
class
=
"col-md-10"
style
=
"padding: 0px"
[
'grandeAreas'
=>
$grandeAreas
,
'projeto'
=>
$trabalho
,
@
component
(
'projeto.formularioVisualizar.projeto2'
,
'areas'
=>
$areas
,
'subareas'
=>
$subAreas
])
[
'edital'
=>
$trabalho
->
evento
,
'projeto'
=>
$trabalho
,])
@
endcomponent
@
component
(
'projeto.formularioVisualizar.proponente'
,
[
'projeto'
=>
$trabalho
])
@
endcomponent
@
endcomponent
</
div
>
@
component
(
'projeto.formularioVisualizar.anexos'
,
[
'projeto'
=>
$trabalho
])
<
div
class
=
"col-md-10"
style
=
"padding: 0px"
@
component
(
'projeto.formularioVisualizar.proponente2'
,
[
'projeto'
=>
$trabalho
])
@
endcomponent
@
endcomponent
</
div
>
@
component
(
'projeto.formularioVisualizar.participantes'
,
[
'estados'
=>
$estados
,
'enum_turno'
=>
$enum_turno
,
'projeto'
=>
$trabalho
,
'participantes'
=>
$participantes
,
'arquivos'
=>
$arquivos
])
<
div
class
=
"col-md-10"
style
=
"padding: 0px"
@
component
(
'projeto.formularioVisualizar.anexos2'
,
[
'edital'
=>
$trabalho
->
evento
,
'projeto'
=>
$trabalho
])
@
endcomponent
@
endcomponent
</
div
>
<!--
Participantes
-->
<
div
class
=
"col-sm-10"
style
=
"margin-top: 20px"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-sm-9"
><
h5
style
=
"color: #234B8B; font-weight: bold"
>
Discentes
</
h5
></
div
>
</
div
>
<
hr
style
=
"border-top: 1px solid#1492E6"
>
{{
--
@
component
(
'projeto.formularioVisualizar.finalizar'
,
[
'projeto'
=>
$projeto
])
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
@
endcomponent
--
}}
@
foreach
(
$trabalho
->
participantes
as
$participante
)
<
div
class
=
"col-sm-1"
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
</
div
>
<
div
class
=
"col-sm-5"
>
<
h5
>
{{
$participante
->
user
->
name
}}
</
h5
>
<
h9
>
<
a
href
=
""
data
-
toggle
=
"modal"
data
-
target
=
"#modalVizuParticipante
{
{$participante->id}
}
"
class
=
"button"
>
Informações
</
a
>
</
h9
>
</
div
>
<!--
Modal
visualizar
informações
participante
-->
<
div
class
=
"modal fade"
id
=
"modalVizuParticipante
{
{$participante->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
style
=
"overflow-x:auto; padding-left: 31px"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
style
=
"color:#1492E6"
>
Informações
Participante
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
style
=
"padding-top: 8px; color:#1492E6"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
style
=
"padding-right: 32px;padding-left: 32px;padding-top: 20px;padding-bottom: 32px;"
>
@
include
(
'administrador.substituirParticipanteForm'
,
[
'visualizarOnly'
=>
1
])
</
div
>
</
div
>
</
div
>
</
div
>
@
endforeach
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
{{
--
Parecer
Interno
--
}}
<
div
class
=
"container col-md-11"
>
<
div
class
=
"container col-md-11"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 3rem;"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 3rem;"
>
<
div
class
=
"col-md-11"
style
=
"margin-bottom: -3rem"
>
<
div
class
=
"col-md-11"
style
=
"margin-bottom: -3rem"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment