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
787c5389
Commit
787c5389
authored
Mar 16, 2022
by
Guilherme Silva
Browse files
Reajuste visual nas telas dos pareceres
parent
2a9cdbba
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/views/avaliador/parecer.blade.php
View file @
787c5389
...
...
@@ -3,10 +3,182 @@
@
section
(
'content'
)
<
div
class
=
"row justify-content-center"
>
<!--
Proponente
Dados
-->
<
div
class
=
"col-md-10"
style
=
"margin-top:4rem"
>
<
div
class
=
"card"
style
=
"border-radius: 12px"
>
<
div
class
=
"card-body"
>
<
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
>
<!--
Anecos
do
Projeto
-->
<
div
class
=
"col-md-10"
style
=
"margin-top:4rem"
>
<
div
class
=
"card"
style
=
"border-radius: 12px"
>
<
div
class
=
"card-body"
>
<
div
class
=
"container"
>
<
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"
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
>
@
else
<
div
class
=
"col-3 text-danger"
>
<
p
><
i
class
=
"fas fa-times-circle fa-2x"
></
i
></
p
>
</
div
>
@
endif
</
div
>
</
div
>
<!--
Planos
de
Trabalho
-->
@
foreach
(
$trabalho
->
participantes
as
$participante
)
@
php
if
(
App\Arquivo
::
where
(
'participanteId'
,
$participante
->
id
)
->
first
()
!=
null
){
$planoTrabalhoTemp
=
App\Arquivo
::
where
(
'participanteId'
,
$participante
->
id
)
->
first
()
->
nome
;
}
else
{
$planoTrabalhoTemp
=
null
;
}
@
endphp
<
div
class
=
"form-group col-md-6"
style
=
"margin-top: 10px"
>
<
div
class
=
"row justify-content-start"
>
<
div
class
=
"col-9"
>
<
label
for
=
"nomePlano"
class
=
"col-form-label"
>
Plano
:
{{
$participante
->
planoTrabalho
->
titulo
}}
</
label
>
</
div
>
@
if
(
$planoTrabalhoTemp
!=
null
)
<
div
class
=
"col-3 "
>
<
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
</
div
>
</
div
>
@
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
>
@
else
<
div
class
=
"col-3 text-danger"
>
<
p
><
i
class
=
"fas fa-times-circle fa-2x"
></
i
></
p
>
</
div
>
@
endif
</
div
>
@
error
(
'anexoAutorizacaoComiteEtica'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
@
endcomponent
</
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
>
@
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'
)
<
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-1
1
"
style
=
"margin-bottom: -3rem"
>
<
div
class
=
"col-md-1
2
"
style
=
"margin-bottom: -3rem"
>
<
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
=
"d-flex justify-content-between align-items-center"
style
=
"margin-top: 9px; margin-bottom:-1rem"
>
...
...
@@ -26,7 +198,7 @@
</
div
>
</
div
>
</
div
>
<
div
class
=
"card-body"
>
<
form
method
=
"POST"
action
=
"
{
{route('avaliador.enviarParecer')}
}
"
enctype
=
"multipart/form-data"
>
@
csrf
...
...
resources/views/avaliador/parecerInterno.blade.php
View file @
787c5389
...
...
@@ -118,7 +118,7 @@
<
label
for
=
"anexoPlanilha"
class
=
"col-form-label"
>
{{
__
(
'Pontuação calculada: '
)
}}
</
label
>
</
div
>
<
div
class
=
"col-sm-3"
style
=
"top: 5px; text-align: right"
>
<
input
type
=
"number"
min
=
"0"
step
=
".01"
name
=
"anexoPlanilha"
<
input
type
=
"number"
min
=
"0"
step
=
".01"
name
=
"anexoPlanilha"
style
=
"width: 60px"
@
if
(
$parecer
!=
null
&&
$parecer
->
statusAnexoPlanilhaPontuacao
!=
null
)
@
if
(
is_numeric
(
$parecer
->
statusAnexoPlanilhaPontuacao
))
value
=
"
{
{$parecer->statusAnexoPlanilhaPontuacao}
}
"
@
else
value
=
"0"
...
...
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