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
1933f6ed
Commit
1933f6ed
authored
Mar 29, 2023
by
Yuri Resende
Browse files
Atualizando o fork com os commits do repositório principal
parent
4e61e3b6
Changes
5
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
1933f6ed
...
@@ -404,24 +404,28 @@ class TrabalhoController extends Controller
...
@@ -404,24 +404,28 @@ class TrabalhoController extends Controller
$trabalhos_user
=
TrabalhoUser
::
where
(
'trabalho_id'
,
$projeto
->
id
)
->
get
();
$trabalhos_user
=
TrabalhoUser
::
where
(
'trabalho_id'
,
$projeto
->
id
)
->
get
();
$avals_projeto
=
[];
$AvalRelatParcial
=
[];
$AvalRelatParcial
=
[];
$AvalRelatFinal
=
[];
$AvalRelatFinal
=
[];
foreach
(
$participantes
as
$participante
)
{
if
(
isset
(
$arquivos
))
{
if
(
isset
(
$participante
->
planoTrabalho
))
{
foreach
(
$arquivos
as
$arquivo
)
{
$avals
=
AvaliacaoRelatorio
::
where
(
'arquivo_id'
,
$participante
->
planoTrabalho
->
id
)
->
get
();
array_push
(
$avals_projeto
,
AvaliacaoRelatorio
::
where
(
'arquivo_id'
,
$arquivo
->
id
)
->
get
());
}
else
{
$avals
=
[];
}
}
foreach
(
$avals
as
$aval
)
{
}
foreach
(
$avals_projeto
as
$avals
)
{
foreach
(
$avals
as
$aval
){
if
(
$aval
->
tipo
==
'Parcial'
)
{
if
(
$aval
->
tipo
==
'Parcial'
)
{
array_push
(
$AvalRelatParcial
,
$aval
);
array_push
(
$AvalRelatParcial
,
$aval
);
}
else
{
}
else
{
array_push
(
$AvalRelatFinal
,
$aval
);
array_push
(
$AvalRelatFinal
,
$aval
);
}
}
}
}
}
}
return
view
(
'projeto.visualizar'
)
->
with
([
'projeto'
=>
$projeto
,
return
view
(
'projeto.visualizar'
)
->
with
([
'projeto'
=>
$projeto
,
'grandeAreas'
=>
$grandeAreas
,
'grandeAreas'
=>
$grandeAreas
,
'areas'
=>
$areas
,
'areas'
=>
$areas
,
...
...
resources/views/administrador/analisarProposta.blade.php
View file @
1933f6ed
...
@@ -739,82 +739,85 @@
...
@@ -739,82 +739,85 @@
<
hr
style
=
"border-top: 1px solid#1492E6"
>
<
hr
style
=
"border-top: 1px solid#1492E6"
>
@
if
(
count
(
$arquivos
)
>
0
)
@
if
(
count
(
$arquivos
)
>
0
)
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
div
class
=
"col-md-11"
><
h6
style
=
"color: #234B8B; font-weight: bold"
>
Avaliações
de
Relatórios
Parciais
</
h6
></
div
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
</
div
>
<
div
class
=
"col-md-11"
><
h6
style
=
"color: #234B8B; font-weight: bold"
>
Avaliações
de
Relatórios
Parciais
</
h6
></
div
>
@
for
(
$i
=
0
;
$i
<
count
(
$arquivos
);
$i
++
)
</
div
>
<
div
class
=
'row justify-content-start'
style
=
'margin-top:40px;'
>
@
for
(
$i
=
0
;
$i
<
count
(
$arquivos
);
$i
++
)
<
div
class
=
'row justify-content-start'
style
=
'margin-top:40px;'
>
<
h6
class
=
'col-4'
style
=
"color: black; font-weight: bold"
>
Título
:<
span
style
=
"font-weight: normal"
>
{{
$arquivos
[
$i
]
->
titulo
}}
</
span
><
h6
>
<
h6
class
=
'col-4'
style
=
"color: black; font-weight: bold"
>
Título
:<
span
style
=
"font-weight: normal"
>
{{
$arquivos
[
$i
]
->
titulo
}}
</
span
><
h6
>
<
h6
class
=
'col-9'
style
=
"color: black; font-weight: bold"
>
Média
das
avaliações
:<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'relatorio_parcial'
]}}
</
span
><
h6
>
</
div
>
<
h6
class
=
'col-4'
style
=
"color: black; font-weight: bold"
>
Média
da
apresentação
:<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'apresentacao_parcial'
]}}
</
span
><
h6
>
<
div
class
=
'row justify-content-start'
>
<
h6
class
=
'col-3'
style
=
"color: black; font-weight: bold"
>
Avaliações
pendentes
:
<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'pendentes_parcial'
]}}
</
span
><
h6
>
<
h6
class
=
'col-4'
style
=
"color: black; font-weight: bold"
>
Média
das
avaliações
:<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'relatorio_parcial'
]}}
</
span
><
h6
>
<
br
><
br
>
<
h6
class
=
'col-4'
style
=
"color: black; font-weight: bold"
>
Média
da
apresentação
:<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'apresentacao_parcial'
]}}
</
span
><
h6
>
</
div
>
<
h6
class
=
'col-3'
style
=
"color: black; font-weight: bold"
>
Avaliações
pendentes
:
<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'pendentes_parcial'
]}}
</
span
><
h6
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
br
><
br
>
@
foreach
(
$mediaAval
[
$i
][
'avaliacoes_parciais'
]
as
$aval
)
</
div
>
<
div
class
=
"col-sm-1"
style
=
"margin-bottom: 7px"
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
</
div
>
@
foreach
(
$mediaAval
[
$i
][
'avaliacoes_parciais'
]
as
$aval
)
<
div
class
=
"col-sm-3"
>
<
div
class
=
"col-sm-1"
style
=
"margin-bottom: 7px"
>
<
h5
>
{{
\
App\User
::
find
(
$aval
->
user_id
)
->
name
}}
</
h5
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
<
h6
><
a
href
=
""
data
-
toggle
=
"modal"
</
div
>
data
-
target
=
"#modalVizuRelatParcial
{
{$aval->id}
}
"
class
=
"button"
>
<
div
class
=
"col-sm-3"
>
@
if
(
$aval
->
nota
==
null
)
Pendente
</
a
>@
else
Avaliação
</
a
>
@
endif
</
h6
>
<
h5
>
{{
\
App\User
::
find
(
$aval
->
user_id
)
->
name
}}
</
h5
>
@
if
(
$aval
->
nota
==
null
)
<
h6
><
a
href
=
""
data
-
toggle
=
"modal"
<
h6
><
a
href
=
""
data
-
toggle
=
"modal"
data
-
target
=
"#modalVizuRelatParcial
{
{$aval->id}
}
"
class
=
"button"
>
data
-
target
=
"#removerAvaliadorReltorioParcial
{
{$aval->id}
}
"
class
=
"button"
><
b
style
=
"color: red"
>
Remover
</
b
></
a
></
h6
>
@
if
(
$aval
->
nota
==
null
)
Pendente
</
a
>@
else
Avaliação
</
a
>
@
endif
</
h6
>
@
endif
@
if
(
$aval
->
nota
==
null
)
</
div
>
<
h6
><
a
href
=
""
data
-
toggle
=
"modal"
data
-
target
=
"#removerAvaliadorReltorioParcial
{
{$aval->id}
}
"
class
=
"button"
><
b
style
=
"color: red"
>
Remover
</
b
></
a
></
h6
>
@
endif
</
div
>
<!--
Modal
Remover
-->
<!--
Modal
Remover
-->
<
div
class
=
"modal fade"
id
=
"removerAvaliadorReltorioParcial{{
$aval->id
}}"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal fade"
id
=
"removerAvaliadorReltorioParcial{{
$aval->id
}}"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-lg"
>
<
div
class
=
"modal-dialog modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
>
Remover
Avaliador
Do
Relatório
Parcial
</
h5
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
>
Remover
Avaliador
Do
Relatório
Parcial
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
button
>
</
div
>
</
div
>
<
div
class
=
"modal-body"
>
<
div
class
=
"modal-body"
>
<
p
>
Você
tem
certeza
que
deseja
remover
o
avaliador
:
{{
$aval
->
user
->
name
}}
?</
p
>
<
p
>
Você
tem
certeza
que
deseja
remover
o
avaliador
:
{{
$aval
->
user
->
name
}}
?</
p
>
</
div
>
</
div
>
<
div
class
=
"modal-footer"
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
data
-
dismiss
=
"modal"
>
Cancelar
</
button
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
data
-
dismiss
=
"modal"
>
Cancelar
</
button
>
<
a
type
=
"button"
class
=
"btn btn-danger"
href
=
"
{
{route('avaliacaoRelatorio.remover.avaliador',$aval->id)}
}
"
>
Remover
</
a
>
<
a
type
=
"button"
class
=
"btn btn-danger"
href
=
"
{
{route('avaliacaoRelatorio.remover.avaliador',$aval->id)}
}
"
>
Remover
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<!--
Modal
visualizar
informações
participante
-->
<!--
Modal
visualizar
informações
participante
-->
<
div
class
=
"modal fade"
id
=
"modalVizuRelatParcial
{
{$aval->id}
}
"
tabindex
=
"-1"
<
div
class
=
"modal fade"
id
=
"modalVizuRelatParcial
{
{$aval->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered modal-lg"
>
<
div
class
=
"modal-dialog modal-dialog-centered modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
style
=
"overflow-x:auto; padding-left: 31px"
>
<
div
class
=
"modal-header"
style
=
"overflow-x:auto; padding-left: 31px"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
style
=
"color:#1492E6"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
style
=
"color:#1492E6"
>
Avaliação
do
relatório
parcial
@
if
(
$aval
->
nota
==
null
)
<
b
style
=
"color: red"
>
Pendente
</
b
>@
endif
</
h5
>
Avaliação
do
relatório
parcial
@
if
(
$aval
->
nota
==
null
)
<
b
style
=
"color: red"
>
Pendente
</
b
>@
endif
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
style
=
"padding-top: 8px; color:#1492E6"
>
aria
-
label
=
"Close"
style
=
"padding-top: 8px; color:#1492E6"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
button
>
</
div
>
</
div
>
<
div
class
=
"modal-body"
<
div
class
=
"modal-body"
style
=
"padding-right: 32px;padding-left: 32px;padding-top: 20px;padding-bottom: 32px;"
>
style
=
"padding-right: 32px;padding-left: 32px;padding-top: 20px;padding-bottom: 32px;"
>
@
include
(
'avaliacaoRelatorio.avaliacao'
,
[
'avaliacao'
=>
$aval
])
@
include
(
'avaliacaoRelatorio.avaliacao'
,
[
'avaliacao'
=>
$aval
])
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endforeach
@
endforeach
</
div
>
</
div
>
@
endforeach
@
endfor
</
div
>
@
endfor
@
endif
@
endif
@
if
(
count
(
$arquivos
)
>
0
)
@
if
(
count
(
$arquivos
)
>
0
)
...
@@ -824,7 +827,7 @@
...
@@ -824,7 +827,7 @@
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
div
class
=
"col-md-11"
><
h6
style
=
"color: #234B8B; font-weight: bold"
>
Avaliações
de
Relatórios
Finais
</
h6
></
div
>
<
div
class
=
"col-md-11"
><
h6
style
=
"color: #234B8B; font-weight: bold"
>
Avaliações
de
Relatórios
Finais
</
h6
></
div
>
</
div
>
</
div
>
@
for
(
$i
=
0
;
$i
<
count
(
$arquivos
);
$i
++
)
@
for
(
$i
=
0
;
$i
<
count
(
$arquivos
);
$i
++
)
<
div
class
=
'row justify-content-start'
style
=
'margin-top:40px;'
>
<
div
class
=
'row justify-content-start'
style
=
'margin-top:40px;'
>
...
...
resources/views/administrador/listaProjetos.blade.php
View file @
1933f6ed
...
@@ -310,10 +310,6 @@
...
@@ -310,10 +310,6 @@
@endforeach
@endforeach
</tbody>
</tbody>
</table>
</table>
</div>
</div>
</div>
</div>
...
...
resources/views/avaliacaoRelatorio/avaliacao.blade.php
View file @
1933f6ed
@
php
$arquivo
=
\
App\Arquivo
::
find
(
$aval
->
arquivo_id
);
@
endphp
@
php
$arquivo
=
\
App\Arquivo
::
find
(
$aval
->
arquivo_id
);
@
endphp
<
div
class
=
"container-fluid"
>
<
div
class
=
"container-fluid"
>
<
div
class
=
"row"
>
<
div
class
=
"row"
>
@
if
(
$arquivo
->
trabalho
->
evento
->
numParticipante
!=
0
)
@
if
(
$arquivo
->
trabalho
->
evento
->
numParticipante
s
!=
0
)
<
h5
><
b
>
Discente
:</
b
>
<
h5
><
b
>
Discente
:</
b
>
{{
\
App\Participante
::
find
(
$arquivo
->
participanteId
)
->
user
->
name
}}
</
h5
>
{{
\
App\Participante
::
find
(
$arquivo
->
participanteId
)
->
user
->
name
}}
</
h5
>
@
else
@
else
...
@@ -20,10 +20,19 @@
...
@@ -20,10 +20,19 @@
<
label
for
=
"lattes"
class
=
"col-form-label font-tam"
<
label
for
=
"lattes"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'Nota: '
)
}}
</
label
>
style
=
"font-weight: bold"
>
{{
__
(
'Nota: '
)
}}
</
label
>
</
div
>
</
div
>
<
div
class
=
"col-sm-
6
text-center padEsquerda"
>
<
div
class
=
"col-sm-
5
text-center padEsquerda"
>
<
input
class
=
"form-control"
name
=
"nota"
type
=
"number"
<
input
class
=
"form-control"
name
=
"nota"
type
=
"number"
style
=
"width: 60px"
@
if
(
isset
(
$aval
))
value
=
"
{
{$aval->nota}
}
"
@
endif
disabled
>
style
=
"width: 60px"
@
if
(
isset
(
$aval
))
value
=
"
{
{$aval->nota}
}
"
@
endif
disabled
>
</
div
>
</
div
>
<
div
class
=
"col-sm-2 padEsquerda"
>
<
label
for
=
"lattes"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'Apresentação: '
)
}}
</
label
>
</
div
>
<
div
class
=
"col-sm-4 text-center padEsquerda"
>
<
input
class
=
"form-control"
name
=
"nota"
type
=
"number"
style
=
"width: 60px"
@
if
(
isset
(
$aval
))
value
=
"
{
{$aval->nota_apresentacao}
}
"
@
endif
disabled
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"row"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-12 padEsquerda"
>
<
div
class
=
"col-sm-12 padEsquerda"
>
...
...
resources/views/projeto/formularioVisualizar/relatorio.blade.php
View file @
1933f6ed
...
@@ -45,7 +45,6 @@
...
@@ -45,7 +45,6 @@
</div>
</div>
</div>
</div>
@if($edital->numParticipantes > 0)
<br>
<br>
<div
class=
"row justify-content-start"
>
<div
class=
"row justify-content-start"
>
<div
class=
"col-md-3"
><h6
style=
"color: #234B8B; font-weight: bold"
>
Avaliações dos Relatórios
</h6></div>
<div
class=
"col-md-3"
><h6
style=
"color: #234B8B; font-weight: bold"
>
Avaliações dos Relatórios
</h6></div>
...
@@ -63,7 +62,7 @@
...
@@ -63,7 +62,7 @@
</thead>
</thead>
<tbody>
<tbody>
@foreach($AvalRelatParcial as $aval)
@foreach($AvalRelatParcial as $aval)
@php $arquivo = \App\Arquivo::find($aval->arquivo_id);@endphp
@php $arquivo = \App\Arquivo::find($aval->arquivo_id);@endphp
<tr>
<tr>
<th
style=
"color: black;"
>
{{$cont += 1}}
</th>
<th
style=
"color: black;"
>
{{$cont += 1}}
</th>
<td>
<td>
...
@@ -96,7 +95,7 @@
...
@@ -96,7 +95,7 @@
</div>
</div>
@endforeach
@endforeach
@foreach($AvalRelatFinal as $aval)
@foreach($AvalRelatFinal as $aval)
@php $arquivo = \App\Arquivo::find($aval->arquivo_id);@endphp
@php $arquivo = \App\Arquivo::find($aval->arquivo_id);@endphp
<tr>
<tr>
<th
style=
"color: black;"
>
{{$cont += 1}}
</th>
<th
style=
"color: black;"
>
{{$cont += 1}}
</th>
<td>
<td>
...
@@ -131,7 +130,6 @@
...
@@ -131,7 +130,6 @@
@endforeach
@endforeach
</tbody>
</tbody>
</table>
</table>
@endif
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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