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
bf6e4e89
Commit
bf6e4e89
authored
Jan 30, 2022
by
Guilherme Silva
Browse files
Ajuste de telas para adequação ao novo parecer interno e avaliador
parent
5839ace1
Changes
4
Show whitespace changes
Inline
Side-by-side
resources/views/administrador/projetos.blade.php
View file @
bf6e4e89
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
<
thead
>
<
thead
>
<
tr
>
<
tr
>
<
th
scope
=
"col"
>
Avaliador
</
th
>
<
th
scope
=
"col"
>
Avaliador
</
th
>
<
th
scope
=
"col"
>
Tipo
</
th
>
<
th
scope
=
"col"
>
E
-
mail
</
th
>
<
th
scope
=
"col"
>
E
-
mail
</
th
>
<
th
scope
=
"col"
>
Data
</
th
>
<
th
scope
=
"col"
>
Data
</
th
>
<
th
scope
=
"col"
>
Recomendação
</
th
>
<
th
scope
=
"col"
>
Recomendação
</
th
>
...
@@ -46,15 +47,50 @@
...
@@ -46,15 +47,50 @@
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
<
tr
>
<
tr
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
tipo
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
{{
--
Data
--
}}
@
if
(
$avaliador
->
tipo
!=
null
&&
$avaliador
->
tipo
==
"Interno"
)
@
php
$parecerInterno
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
@
endphp
<
td
>
@
if
(
$parecerInterno
==
null
)
Indisponível
@
else
{{
date
(
'd/m/Y'
,
strtotime
(
$parecerInterno
->
created_at
))
}}
@
endif
</
td
>
{{
--
Parecer
--
}}
<
td
>
@
if
(
$parecerInterno
==
null
)
Indisponível
@
else
{{
$parecerInterno
->
statusParecer
}}
@
endif
</
td
>
{{
--
Acesso
ao
parecer
interno
--
}}
<
td
>
@
if
(
$parecerInterno
==
null
)
<
a
class
=
"btn btn-danger"
disabled
=
"disabled"
>
Indisponível
</
a
>
@
else
<
a
href
=
"{{ route('admin.visualizarParecerInterno', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
class
=
"btn btn-primary"
>
Visualizar
</
a
>
@
endif
</
td
>
@
else
{{
--
Data
--
}}
<
td
>
<
td
>
@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
Indisponível
Indisponível
@
else
@
else
{{
date
(
'd/m/Y'
,
strtotime
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
created_at
))
}}
{{
date
(
'd/m/Y'
,
strtotime
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
created_at
))
}}
@
endif
@
endif
</
td
>
</
td
>
{{
--
Parecer
--
}}
<
td
>
<
td
>
@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
Indisponível
Indisponível
...
@@ -80,6 +116,7 @@
...
@@ -80,6 +116,7 @@
</
form
>
</
form
>
</
td
>
</
td
>
@
endif
</
tr
>
</
tr
>
@
endforeach
@
endforeach
</
tbody
>
</
tbody
>
...
...
resources/views/administrador/selecionarAvaliadores.blade.php
View file @
bf6e4e89
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
Email
</
th
>
<
th
scope
=
"col"
>
Email
</
th
>
<
th
scope
=
"col"
>
Área
</
th
>
<
th
scope
=
"col"
>
Área
</
th
>
<
th
scope
=
"col"
>
Tipo
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
</
tr
>
</
tr
>
</
thead
>
</
thead
>
...
@@ -60,6 +61,13 @@
...
@@ -60,6 +61,13 @@
@
endif
@
endif
</
td
>
</
td
>
<
td
>
@
if
(
$avaliador
->
tipo
==
null
)
Externo
@
else
{{
$avaliador
->
tipo
}}
@
endif
</
td
>
<
td
style
=
"text-align:center"
>
<
td
style
=
"text-align:center"
>
<
form
action
=
"{{ route('admin.adicionar') }}"
method
=
"POST"
>
<
form
action
=
"{{ route('admin.adicionar') }}"
method
=
"POST"
>
@
csrf
@
csrf
...
@@ -83,6 +91,7 @@
...
@@ -83,6 +91,7 @@
<
thead
>
<
thead
>
<
tr
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
Tipo
</
th
>
<
th
scope
=
"col"
>
Email
</
th
>
<
th
scope
=
"col"
>
Email
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
...
@@ -92,6 +101,7 @@
...
@@ -92,6 +101,7 @@
@
foreach
(
$avalSelecionados
as
$avaliador
)
@
foreach
(
$avalSelecionados
as
$avaliador
)
<
tr
>
<
tr
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
tipo
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
@
if
(
$avaliador
->
eventos
->
where
(
'id'
,
$evento
->
id
)
->
first
()
->
pivot
->
convite
==
true
)
@
if
(
$avaliador
->
eventos
->
where
(
'id'
,
$evento
->
id
)
->
first
()
->
pivot
->
convite
==
true
)
<
td
style
=
"color: rgb(3, 189, 3);"
>
Aceito
</
td
>
<
td
style
=
"color: rgb(3, 189, 3);"
>
Aceito
</
td
>
...
...
resources/views/administrador/selecionarProjetos.blade.php
View file @
bf6e4e89
...
@@ -111,6 +111,7 @@
...
@@ -111,6 +111,7 @@
<
thead
>
<
thead
>
<
tr
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
Tipo
</
th
>
<
th
scope
=
"col"
>
E
-
mail
</
th
>
<
th
scope
=
"col"
>
E
-
mail
</
th
>
<
th
scope
=
"col"
>
Titulo
do
projeto
</
th
>
<
th
scope
=
"col"
>
Titulo
do
projeto
</
th
>
<
th
scope
=
"col"
>
Status
avaliação
</
th
>
<
th
scope
=
"col"
>
Status
avaliação
</
th
>
...
@@ -126,9 +127,11 @@
...
@@ -126,9 +127,11 @@
@
endif
@
endif
<
tr
>
<
tr
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
tipo
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
style
=
"max-width:100px; overflow-x:hidden; text-overflow:ellipsis"
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
style
=
"max-width:100px; overflow-x:hidden; text-overflow:ellipsis"
>
{{
$trabalho
->
titulo
}}
</
td
>
{{
--
<
td
>
{{
$contador
}}
/
{{
$avaliador
->
trabalhos
->
where
(
'evento_id'
,
$evento
->
id
)
->
count
()
}}
</
td
>
--
}}
{{
--
<
td
>
{{
$contador
}}
/
{{
$avaliador
->
trabalhos
->
where
(
'evento_id'
,
$evento
->
id
)
->
count
()
}}
</
td
>
--
}}
@
if
(
$avaliador
->
tipo
==
"Externo"
||
$avaliador
->
tipo
=
null
)
<
td
>@
if
(
$trabalho
->
pivot
->
parecer
==
null
)
Pendente
@
else
Avaliado
@
endif
</
td
>
<
td
>@
if
(
$trabalho
->
pivot
->
parecer
==
null
)
Pendente
@
else
Avaliado
@
endif
</
td
>
<
td
>
<
td
>
<
div
class
=
"btn-group dropright dropdown-options"
>
<
div
class
=
"btn-group dropright dropdown-options"
>
...
@@ -148,6 +151,32 @@
...
@@ -148,6 +151,32 @@
</
div
>
</
div
>
</
div
>
</
div
>
</
td
>
</
td
>
@
else
@
php
$parecer
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
@
endphp
<
td
>
@
if
(
$parecer
==
null
)
Pendente
@
else
Avaliado
@
endif
</
td
>
<
td
>
<
div
class
=
"btn-group dropright dropdown-options"
>
<
a
id
=
"options"
class
=
"dropdown-toggle "
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
</
a
>
<
div
class
=
"dropdown-menu"
>
@
if
(
$parecer
!=
null
)
<
a
href
=
"{{ route('admin.visualizarParecerInterno', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
class
=
"dropdown-item text-center"
>
Vizualizar
Parecer
</
a
>
@
endif
<
a
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
class
=
"dropdown-item text-center"
>
Desatribuir
Avaliador
</
a
>
</
div
>
</
div
>
</
td
>
@
endif
</
tr
>
</
tr
>
@
endforeach
@
endforeach
@
endforeach
@
endforeach
...
...
resources/views/planosTrabalho/selecionarPlanos.blade.php
View file @
bf6e4e89
...
@@ -110,6 +110,7 @@
...
@@ -110,6 +110,7 @@
<
thead
>
<
thead
>
<
tr
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
Tipo
</
th
>
<
th
scope
=
"col"
>
E
-
mail
</
th
>
<
th
scope
=
"col"
>
E
-
mail
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
...
@@ -125,6 +126,7 @@
...
@@ -125,6 +126,7 @@
@
endforeach
@
endforeach
<
tr
>
<
tr
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
tipo
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
{{
$contador
}}
/
{{
$avaliador
->
planoTrabalhos
->
count
()
}}
</
td
>
<
td
>
{{
$contador
}}
/
{{
$avaliador
->
planoTrabalhos
->
count
()
}}
</
td
>
<
td
style
=
"text-align:center"
>
...
</
td
>
<
td
style
=
"text-align:center"
>
...
</
td
>
...
...
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