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
4ef77fa1
Commit
4ef77fa1
authored
Jan 27, 2023
by
Lucas Henrique
Browse files
Adiciona campo de recomendação na tela de parecerBarema
parent
6e373149
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/avaliador/parecerBarema.blade.php
View file @
4ef77fa1
...
...
@@ -96,15 +96,16 @@
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"
{
{$trabalho->id}
}
"
>
<
input
type
=
"hidden"
name
=
"evento_id"
value
=
"
{
{$evento->id}
}
"
>
<
div
class
=
"col-sm-12"
>
<
div
class
=
"form-group"
>
<
p
>
Preencha
os
valores
da
notas
a
partir
de
cada
critério
.
</
p
>
<
div
class
=
"justify-content-center"
id
=
"displayCampos"
>
<
table
class
=
"table table-bordered col-sm-12"
id
=
"dynamicAddRemove"
>
<
tr
>
<
th
>
Nome
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
><
/
th
>
<
th
>
Nome
</
th
>
<
th
>
Descrição
</
th
>
<
th
>
Nota
Máxima
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
><
/
th
>
<
th
>
Prioridade
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
><
/
th
>
<
th
>
Nota
da
avaliação
</
th
>
<
th
>
Nota
Máxima
</
th
>
<
th
>
Prioridade
</
th
>
<
th
>
Nota
da
avaliação
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
><
/
th
>
</
tr
>
@
foreach
(
$camposAvaliacao
as
$campoAvaliacao
)
<
tr
>
...
...
@@ -113,7 +114,7 @@
</
td
>
<
td
><
input
type
=
"number"
name
=
"inputField[
{
{$i}
}
][nota_maxima]"
class
=
"form-control nota_maxima"
value
=
"{{
$campoAvaliacao->nota_maxima
}}"
disabled
/></
td
>
<
td
><
input
type
=
"number"
name
=
"inputField[
{
{$i}
}
][nota_prioridade]"
class
=
"form-control nota_maxima"
value
=
"{{
$campoAvaliacao->prioridade
}}"
disabled
/></
td
>
<
td
><
input
type
=
"number"
min
=
"
1
"
max
=
"{{
$campoAvaliacao->nota_maxima
}}"
step
=
"1"
name
=
"inputField[
{
{$i}
}
][nota]"
class
=
"form-control nota"
required
/>
<
td
><
input
type
=
"number"
min
=
"
0
"
max
=
"{{
$campoAvaliacao->nota_maxima
}}"
step
=
"1"
name
=
"inputField[
{
{$i}
}
][nota]"
class
=
"form-control nota"
required
/>
</
tr
>
<
input
type
=
"checkbox"
id
=
"checkB[
{
{$i}
}
]"
checked
name
=
"campos[]"
value
=
"
{
{$i}
}
"
hidden
>
@
php
++
$i
;
++
$numCampos
;
@
endphp
...
...
@@ -122,6 +123,15 @@
</
div
>
</
div
>
<
p
>
Por
fim
,
informe
a
sua
recomendação
.
</
p
>
<
div
class
=
"form-group"
>
<
label
style
=
"font-weight: bold"
>
Recomendação
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
></
label
>
<
select
class
=
"custom-select"
name
=
"recomendacao"
required
>
<
option
@
if
(
$trabalho
->
pivot
->
recomendacao
==
'RECOMENDADO'
)
selected
@
endif
value
=
"RECOMENDADO"
>
RECOMENDADO
</
option
>
<
option
@
if
(
$trabalho
->
pivot
->
recomendacao
==
'NAO-RECOMENDADO'
)
selected
@
endif
value
=
"NAO-RECOMENDADO"
>
NAO
-
RECOMENDADO
</
option
>
</
select
>
</
div
>
<
hr
style
=
"border-top: 1px solid#1492E6"
>
<
div
class
=
"d-flex justify-content-end"
>
<
div
style
=
"margin-right: 15px"
><
a
href
=
"{{ route('avaliador.visualizarTrabalho', ['evento_id' =>
$evento->id
])}}"
class
=
"btn btn-light"
style
=
"color: red;"
>
Cancelar
</
a
></
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