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
3391f7ba
Unverified
Commit
3391f7ba
authored
May 27, 2022
by
GuilhermeGz
Committed by
GitHub
May 27, 2022
Browse files
Merge pull request #213 from antonioDurval/master
Atualizações da semana(27/05)
parents
f763a30f
a50ee9e7
Changes
12
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AvaliadorController.php
View file @
3391f7ba
...
@@ -61,8 +61,9 @@ class AvaliadorController extends Controller
...
@@ -61,8 +61,9 @@ class AvaliadorController extends Controller
$user
=
User
::
find
(
Auth
::
user
()
->
id
);
$user
=
User
::
find
(
Auth
::
user
()
->
id
);
$eventos
=
$user
->
avaliadors
->
where
(
'user_id'
,
$user
->
id
)
->
first
()
->
eventos
;
$eventos
=
$user
->
avaliadors
->
where
(
'user_id'
,
$user
->
id
)
->
first
()
->
eventos
;
$hoje
=
Carbon
::
today
(
'America/Recife'
);
return
view
(
'avaliador.editais'
,
[
"eventos"
=>
$eventos
]);
$hoje
=
$hoje
->
toDateString
();
return
view
(
'avaliador.editais'
,
[
"eventos"
=>
$eventos
,
"hoje"
=>
$hoje
]);
}
}
...
...
app/Http/Controllers/EventoController.php
View file @
3391f7ba
...
@@ -376,6 +376,8 @@ class EventoController extends Controller
...
@@ -376,6 +376,8 @@ class EventoController extends Controller
public
function
update
(
Request
$request
,
$id
)
public
function
update
(
Request
$request
,
$id
)
{
{
//dd($request);
//dd($request);
$tipo_usuario
=
Auth
()
->
user
()
->
tipo
;
//dd($tipo_usuario);
$evento
=
Evento
::
find
(
$id
);
$evento
=
Evento
::
find
(
$id
);
$yesterday
=
Carbon
::
yesterday
(
'America/Recife'
);
$yesterday
=
Carbon
::
yesterday
(
'America/Recife'
);
$yesterday
=
$yesterday
->
toDateString
();
$yesterday
=
$yesterday
->
toDateString
();
...
@@ -491,8 +493,14 @@ class EventoController extends Controller
...
@@ -491,8 +493,14 @@ class EventoController extends Controller
$evento
->
update
();
$evento
->
update
();
$eventos
=
Evento
::
orderBy
(
'nome'
)
->
get
();
$eventos
=
Evento
::
orderBy
(
'nome'
)
->
get
();
if
(
$tipo_usuario
==
'coordenador'
){
return
redirect
(
route
(
'coordenador.editais'
)
)
->
with
([
'mensagem'
=>
'Edital salvo com sucesso!'
,
'eventos'
=>
$eventos
]);
}
return
redirect
(
route
(
'admin.editais'
)
)
->
with
([
'mensagem'
=>
'Edital salvo com sucesso!'
,
'eventos'
=>
$eventos
]);
return
redirect
(
route
(
'admin.editais'
)
)
->
with
([
'mensagem'
=>
'Edital salvo com sucesso!'
,
'eventos'
=>
$eventos
]);
}
}
/**
/**
...
...
resources/views/administrador/analisarProposta.blade.php
View file @
3391f7ba
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
$hoje
=
\
Carbon\Carbon
::
today
(
'America/Recife'
);
$hoje
=
\
Carbon\Carbon
::
today
(
'America/Recife'
);
$hoje
=
$hoje
->
toDateString
();
$hoje
=
$hoje
->
toDateString
();
@
endphp
@
endphp
<
div
class
=
"container"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top:
100px
;"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top:
4rem
;"
>
<!--
Titulos
-->
<!--
Titulos
-->
<
div
class
=
"col-md-1
0
"
>
<
div
class
=
"col-md-1
2
"
>
@
if
(
session
(
'sucesso'
))
@
if
(
session
(
'sucesso'
))
<
div
class
=
"alert alert-success"
>
<
div
class
=
"alert alert-success"
>
<
strong
>
{{
session
(
'sucesso'
)
}}
</
strong
>
<
strong
>
{{
session
(
'sucesso'
)
}}
</
strong
>
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</
div
>
</
div
>
</
div
>
</
div
>
<!--
Areas
-->
<!--
Areas
-->
<
div
class
=
"col-md-1
0
"
>
<
div
class
=
"col-md-1
2
"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"container"
>
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
<!--
Informações
Proponente
-->
<!--
Informações
Proponente
-->
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
br
>
<
br
>
<
div
class
=
"col-md-1
0
"
>
<
div
class
=
"col-md-1
2
"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"container"
>
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
</
div
>
</
div
>
<!--
Discentes
-->
<!--
Discentes
-->
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"col-md-1
0
"
>
<
div
class
=
"col-md-1
2
"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"container"
>
...
@@ -340,7 +340,7 @@
...
@@ -340,7 +340,7 @@
<!--
Anexos
-->
<!--
Anexos
-->
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"col-md-1
0
"
>
<
div
class
=
"col-md-1
2
"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"container"
>
...
@@ -434,7 +434,7 @@
...
@@ -434,7 +434,7 @@
<!--
Relatórios
-->
<!--
Relatórios
-->
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"col-md-1
0
"
>
<
div
class
=
"col-md-1
2
"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"container"
>
...
@@ -693,7 +693,7 @@
...
@@ -693,7 +693,7 @@
<!--
Avaliadores
-->
<!--
Avaliadores
-->
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"col-md-1
0
"
>
<
div
class
=
"col-md-1
2
"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"container"
>
...
@@ -780,18 +780,17 @@
...
@@ -780,18 +780,17 @@
</div>
</div>
</div>
</div>
<div class="
col
-
md
-
6
">
<div class="
col
-
md
-
6
">
<label style="
font
-
weight
:
bold
;
font
-
size
:
18
px
">
Ex
ternos</label>
<label style="
font
-
weight
:
bold
;
font
-
size
:
18
px
">
In
ternos</label>
</div>
</div>
<input type="
hidden
" id="
oldAvalInterno
"
<input type="
hidden
" id="
trab
" value="
{{
$trabalho
->
id
}}
">
value="
{{
old
(
'exampleFormControlSelect2'
)
}}
">
<input type="
hidden
" id="
oldAvalExterno
"
<select name="
avaliadores_internos_id
[]
" multiple
value="
{{
old
(
'exampleFormControlSelect3'
)
}}
">
class="
form
-
control
" id="
exampleFormControlSelect2
"
<select name="
avaliadores_externos_id
[]
" multiple
style="
height
:
200
px
;
font
-
size
:
15
px
">
class="
form
-
control
" id="
exampleFormControlSelect3
"
style="
height
:
200
px
;
font
-
size
:
15
px
">
@foreach (
$trabalho->aval
as
$avaliador
)
@foreach (
$trabalho->aval
as
$avaliador
)
@if(
$avaliador->tipo
== "
Ex
terno
")
@if(
$avaliador->tipo
== "
In
terno
")
<option value="
{{
$avaliador
->
id
}}
"> {{
$avaliador->user
->name }}
<option value="
{{
$avaliador
->
id
}}
"> {{
$avaliador->user
->name }}
> {{$avaliador->user->instituicao ?? 'Instituição Indefinida'}}
> {{$avaliador->user->instituicao ?? 'Instituição Indefinida'}}
> {{$avaliador->area->nome ?? 'Indefinida'}}
> {{$avaliador->area->nome ?? 'Indefinida'}}
...
@@ -799,16 +798,20 @@
...
@@ -799,16 +798,20 @@
@endif
@endif
@endforeach
@endforeach
</select>
</select>
<div class="
col
-
md
-
6
">
<div class="
col
-
md
-
6
">
<label style="
font
-
weight
:
bold
;
font
-
size
:
18
px
">
In
ternos</label>
<label style="
font
-
weight
:
bold
;
font
-
size
:
18
px
">
Ex
ternos</label>
</div>
</div>
<input type="
hidden
" id="
oldAvalInterno
"
value="
{{
old
(
'exampleFormControlSelect2'
)
}}
">
<input type="
hidden
" id="
trab
" value="
{{
$trabalho
->
id
}}
">
<select name="
avaliadores_internos_id
[]
" multiple
<input type="
hidden
" id="
oldAvalExterno
"
class="
form
-
control
" id="
exampleFormControlSelect2
"
value="
{{
old
(
'exampleFormControlSelect3'
)
}}
">
style="
height
:
200
px
;
font
-
size
:
15
px
">
<select name="
avaliadores_externos_id
[]
" multiple
class="
form
-
control
" id="
exampleFormControlSelect3
"
style="
height
:
200
px
;
font
-
size
:
15
px
">
@foreach (
$trabalho->aval
as
$avaliador
)
@foreach (
$trabalho->aval
as
$avaliador
)
@if(
$avaliador->tipo
== "
In
terno
")
@if(
$avaliador->tipo
== "
Ex
terno
")
<option value="
{{
$avaliador
->
id
}}
"> {{
$avaliador->user
->name }}
<option value="
{{
$avaliador
->
id
}}
"> {{
$avaliador->user
->name }}
> {{$avaliador->user->instituicao ?? 'Instituição Indefinida'}}
> {{$avaliador->user->instituicao ?? 'Instituição Indefinida'}}
> {{$avaliador->area->nome ?? 'Indefinida'}}
> {{$avaliador->area->nome ?? 'Indefinida'}}
...
@@ -816,6 +819,7 @@
...
@@ -816,6 +819,7 @@
@endif
@endif
@endforeach
@endforeach
</select>
</select>
<small id="
emailHelp
" class="
form
-
text
text
-
muted
">Segure SHIFT do
<small id="
emailHelp
" class="
form
-
text
text
-
muted
">Segure SHIFT do
teclado para selecionar mais de um.</small>
teclado para selecionar mais de um.</small>
</div>
</div>
...
@@ -835,37 +839,30 @@
...
@@ -835,37 +839,30 @@
</div>
</div>
<hr style="
border
-
top
:
1
px
solid
#1492E6">
<hr style="
border
-
top
:
1
px
solid
#1492E6">
<!--
Comissão
Externa
-->
<!--
Comissão
Interna
-->
<
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"
>
Avaliadores
-
<
div
class
=
"col-md-11"
><
h6
style
=
"color: #234B8B; font-weight: bold"
>
Avaliadores
-
Ex
ternos
</
h6
></
div
>
In
ternos
</
h6
></
div
>
</
div
>
</
div
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
$avaliador
->
tipo
==
'
Ex
terno'
||
$avaliador
->
tipo
==
null
)
@
if
(
$avaliador
->
tipo
==
'
In
terno'
)
<
div
class
=
"col-sm-1"
>
<
div
class
=
"col-sm-1"
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
</
div
>
</
div
>
<
div
class
=
"col-sm-5"
>
<
div
class
=
"col-sm-5"
>
<
h5
>
{{
$avaliador
->
user
->
name
}}
</
h5
>
<
h5
>
{{
$avaliador
->
user
->
name
}}
</
h5
>
@
if
(
$avaliador
->
tipo
==
'Externo'
||
$avaliador
->
tipo
==
null
)
@
php
<
h9
>@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
$parecerInterno
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
Pendente
@
else
<
a
@
endphp
href
=
"{{ route('admin.visualizarParecer', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
Avaliado
</
a
>
@
endif
<
h9
>@
if
(
$parecerInterno
==
null
)
Pendente
@
else
<
a
</
h9
>
href
=
"{{ route('admin.visualizarParecerInterno', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
Avaliado
</
a
>
@
endif
@
else
</
h9
>
@
php
<
br
>
$parecerInterno
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
{{
--
<
a
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
@
endphp
<
h9
>@
if
(
$parecerInterno
==
null
)
Pendente
@
else
<
a
href
=
"{{ route('admin.visualizarParecerInterno', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
Avaliado
</
a
>
@
endif
</
h9
>
@
endif
{{
--
<
br
>
<
a
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
Remover
Remover
</
a
>--
}}
</
a
>--
}}
<
br
>
<
a
href
=
"{{ route('admin.reenviar.atribuicao.projeto', ['evento_id' =>
$evento->id
, 'avaliador_id'=>
$avaliador->id
, 'trabalho_id' =>
$trabalho->id
]) }}"
>
<
a
href
=
"{{ route('admin.reenviar.atribuicao.projeto', ['evento_id' =>
$evento->id
, 'avaliador_id'=>
$avaliador->id
, 'trabalho_id' =>
$trabalho->id
]) }}"
>
Reenviar
convite
Reenviar
convite
</
a
>
</
a
>
...
@@ -874,29 +871,37 @@
...
@@ -874,29 +871,37 @@
@
endforeach
@
endforeach
</
div
>
</
div
>
<
br
>
<
br
>
<!--
Comissão
In
terna
-->
<!--
Comissão
Ex
terna
-->
<
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"
>
Avaliadores
-
<
div
class
=
"col-md-11"
><
h6
style
=
"color: #234B8B; font-weight: bold"
>
Avaliadores
-
In
ternos
</
h6
></
div
>
Ex
ternos
</
h6
></
div
>
</
div
>
</
div
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
$avaliador
->
tipo
==
'
In
terno'
)
@
if
(
$avaliador
->
tipo
==
'
Ex
terno'
||
$avaliador
->
tipo
==
null
)
<
div
class
=
"col-sm-1"
>
<
div
class
=
"col-sm-1"
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
</
div
>
</
div
>
<
div
class
=
"col-sm-5"
>
<
div
class
=
"col-sm-5"
>
<
h5
>
{{
$avaliador
->
user
->
name
}}
</
h5
>
<
h5
>
{{
$avaliador
->
user
->
name
}}
</
h5
>
@
php
@
if
(
$avaliador
->
tipo
==
'Externo'
||
$avaliador
->
tipo
==
null
)
$parecerInterno
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
<
h9
>@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
@
endphp
Pendente
@
else
<
a
<
h9
>@
if
(
$parecerInterno
==
null
)
Pendente
@
else
<
a
href
=
"{{ route('admin.visualizarParecer', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
Avaliado
</
a
>
@
endif
href
=
"{{ route('admin.visualizarParecerInterno', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
Avaliado
</
a
>
@
endif
</
h9
>
</
h9
>
@
else
<
br
>
@
php
{{
--
<
a
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
$parecerInterno
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
@
endphp
<
h9
>@
if
(
$parecerInterno
==
null
)
Pendente
@
else
<
a
href
=
"{{ route('admin.visualizarParecerInterno', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
Avaliado
</
a
>
@
endif
</
h9
>
@
endif
{{
--
<
br
>
<
a
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
Remover
Remover
</
a
>--
}}
</
a
>--
}}
<
br
>
<
a
href
=
"{{ route('admin.reenviar.atribuicao.projeto', ['evento_id' =>
$evento->id
, 'avaliador_id'=>
$avaliador->id
, 'trabalho_id' =>
$trabalho->id
]) }}"
>
<
a
href
=
"{{ route('admin.reenviar.atribuicao.projeto', ['evento_id' =>
$evento->id
, 'avaliador_id'=>
$avaliador->id
, 'trabalho_id' =>
$trabalho->id
]) }}"
>
Reenviar
convite
Reenviar
convite
</
a
>
</
a
>
...
@@ -912,7 +917,7 @@
...
@@ -912,7 +917,7 @@
<!--
Aprovar
ou
Negar
Proposta
-->
<!--
Aprovar
ou
Negar
Proposta
-->
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 20px;"
>
<
div
class
=
"col-md-1
0
"
>
<
div
class
=
"col-md-1
2
"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"container"
>
...
@@ -1418,6 +1423,7 @@
...
@@ -1418,6 +1423,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<style>
<style>
body {
body {
...
@@ -1571,7 +1577,7 @@
...
@@ -1571,7 +1577,7 @@
<
style
>
<
style
>
h6
,
a
,
b
,
p
,
.
font
-
tam
{
h6
,
a
,
b
,
p
,
.
font
-
tam
{
font
-
size
:
1
6
.4
px
;
font
-
size
:
1
8
.4
px
;
}
}
h5
{
h5
{
...
...
resources/views/administrador/resultadosProjetos.blade.php
View file @
3391f7ba
...
@@ -39,6 +39,10 @@
...
@@ -39,6 +39,10 @@
</
div
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"col-sm-12"
>
<
h4
class
=
"titulo-table"
style
=
"text-align: center"
>
Projetos
Recomendados
</
h4
>
</
div
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-md-12"
>
<
div
class
=
"col-md-12"
>
<
table
class
=
"table table-bordered"
style
=
"display: block; white-space: nowrap; border-radius:10px; margin-bottom:0px"
>
<
table
class
=
"table table-bordered"
style
=
"display: block; white-space: nowrap; border-radius:10px; margin-bottom:0px"
>
...
@@ -111,6 +115,161 @@
...
@@ -111,6 +115,161 @@
</
table
>
</
table
>
</
div
>
</
div
>
</
div
>
</
div
>
<
br
>
<
div
class
=
"col-sm-12"
>
<
h4
class
=
"titulo-table"
style
=
"text-align: center"
>
Projetos
não
recomendados
</
h4
>
</
div
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-md-12"
>
<
table
class
=
"table table-bordered"
style
=
"display: block; white-space: nowrap; border-radius:10px; margin-bottom:0px"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Posição
</
th
>
<
th
scope
=
"col"
>
Pontuação
</
th
>
<
th
scope
=
"col"
style
=
"width: 100%;"
>
Nome
do
projeto
</
th
>
<
th
scope
=
"col"
>
Proponente
</
th
>
<
th
scope
=
"col"
>
Área
</
th
>
<
th
scope
=
"col"
>
N
.
Planos
</
th
>
<
th
scope
=
"col"
>
Avaliador
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Bolsas
</
th
>
</
tr
>
</
thead
>
<
tbody
id
=
"projetos"
>
@
php
$cont
=
1
;
@
endphp
@
foreach
(
$trabalhos
as
$trabalho
)
@
if
(
$trabalho
->
status
==
'reprovado'
)
<
tr
>
<
td
>
{{
$cont
}}
</
td
>
<
td
>
{{
$trabalho
->
pontuacao
}}
</
td
>
<
td
style
=
"max-width:100px; overflow-x:hidden; text-overflow:ellipsis"
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
proponente
->
user
->
name
}}
</
td
>
<
td
>
{{
$trabalho
->
area
->
nome
}}
</
td
>
<
td
>
{{
$trabalho
->
participantes
->
count
()}}
</
td
>
<
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
{{
$avaliador
->
user
->
name
}}
<
br
>
@
endforeach
@
else
Sem
Atribuição
@
endif
</
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
<
td
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
$avaliador
->
tipo
==
"Externo"
)
{{
$avaliador
->
pivot
->
recomendacao
}}
<
br
>
@
php
$parecer
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
@
endphp
@
if
(
$parecer
!=
null
&&
$parecer
->
statusParecer
!=
null
){{
$parecer
->
statusParecer
}}
@
else
Pendente
@
endif
@
endif
@
endforeach
</
td
>
@
else
<
td
>
Pendente
</
td
>
@
endif
<
td
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
toggle
=
"modal"
data
-
target
=
"#modalConfirmTrab
{
{$trabalho->id}
}
"
>
Definir
</
button
>
</
td
>
</
tr
>
@
php
$cont
+=
1
;
@
endphp
@
endif
@
endforeach
</
tbody
>
</
table
>
</
div
>
</
div
>
<!--
TODOS
OS
PROJETOS
SUBMETIDOS
-->
<
br
>
<
div
class
=
"col-sm-12"
>
<
h4
class
=
"titulo-table"
style
=
"text-align: center"
>
Projetos
Submetidos
</
h4
>
</
div
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-md-12"
>
<
table
class
=
"table table-bordered"
style
=
"display: block; white-space: nowrap; border-radius:10px; margin-bottom:0px"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Posição
</
th
>
<
th
scope
=
"col"
>
Pontuação
</
th
>
<
th
scope
=
"col"
style
=
"width: 100%;"
>
Nome
do
projeto
</
th
>
<
th
scope
=
"col"
>
Proponente
</
th
>
<
th
scope
=
"col"
>
Área
</
th
>
<
th
scope
=
"col"
>
N
.
Planos
</
th
>
<
th
scope
=
"col"
>
Avaliador
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Bolsas
</
th
>
</
tr
>
</
thead
>
<
tbody
id
=
"projetos"
>
@
php
$cont
=
1
;
@
endphp
@
foreach
(
$trabalhos
as
$trabalho
)
@
if
(
$trabalho
->
status
==
'submetido'
)
<
tr
>
<
td
>
{{
$cont
}}
</
td
>
<
td
>
{{
$trabalho
->
pontuacao
}}
</
td
>
<
td
style
=
"max-width:100px; overflow-x:hidden; text-overflow:ellipsis"
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
proponente
->
user
->
name
}}
</
td
>
<
td
>
{{
$trabalho
->
area
->
nome
}}
</
td
>
<
td
>
{{
$trabalho
->
participantes
->
count
()}}
</
td
>
<
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
{{
$avaliador
->
user
->
name
}}
<
br
>
@
endforeach
@
else
Sem
Atribuição
@
endif
</
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
<
td
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
$avaliador
->
tipo
==
"Externo"
)
{{
$avaliador
->
pivot
->
recomendacao
}}
<
br
>
@
php
$parecer
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
@
endphp
@
if
(
$parecer
!=
null
&&
$parecer
->
statusParecer
!=
null
){{
$parecer
->
statusParecer
}}
@
else
Pendente
@
endif
@
endif
@
endforeach
</
td
>
@
else
<
td
>
Pendente
</
td
>
@
endif
<
td
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
toggle
=
"modal"
data
-
target
=
"#modalConfirmTrab
{
{$trabalho->id}
}
"
>
Definir
</
button
>
</
td
>
</
tr
>
@
php
$cont
+=
1
;
@
endphp
@
endif
@
endforeach
</
tbody
>
</
table
>
</
div
>
</
div
>
</
div
>
</
div
>
{{
--
Janelas
--
}}
{{
--
Janelas
--
}}
@
foreach
(
$trabalhos
as
$trabalho
)
@
foreach
(
$trabalhos
as
$trabalho
)
...
...
resources/views/administrador/resultadosProjetosCotas.blade.php
View file @
3391f7ba
...
@@ -68,6 +68,7 @@
...
@@ -68,6 +68,7 @@
</
thead
>
</
thead
>
<
tbody
id
=
"projetos"
>
<
tbody
id
=
"projetos"
>
@
php
$cont
=
1
;
@
endphp
@
php
$cont
=
1
;
@
endphp
@
foreach
(
$trabalhosDoutor
as
$trabalho
)
@
foreach
(
$trabalhosDoutor
as
$trabalho
)
@
if
(
$trabalho
->
status
==
'aprovado'
)
@
if
(
$trabalho
->
status
==
'aprovado'
)
<
tr
>
<
tr
>
...
@@ -204,6 +205,275 @@
...
@@ -204,6 +205,275 @@
</
table
>
</
table
>
</
div
>
</
div
>
</
div
>
</
div
>
<!--
AKI
-->
<
br
>
<
div
class
=
"col-sm-12"
>
<
h4
class
=
"titulo-table"
style
=
"text-align: center"
>
Projetos
não
recomendados
</
h4
>
</
div
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-md-12"
>
<
table
class
=
"table table-bordered"
style
=
"display: block; white-space: nowrap; border-radius:10px; margin-bottom:0px"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Posição
</
th
>
<
th
scope
=
"col"
>
Pontuação
</
th
>
<
th
scope
=
"col"
style
=
"width: 100%;"
>
Nome
do
projeto
</
th
>
<
th
scope
=
"col"
>
Proponente
</
th
>
<
th
scope
=
"col"
>
Área
</
th
>
<
th
scope
=
"col"
>
N
.
Planos
</
th
>
<
th
scope
=
"col"
>
Avaliador
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Bolsas
</
th
>
</
tr
>
</
thead
>
<
tbody
id
=
"projetos"
>
@
php
$cont
=
1
;
@
endphp
@
foreach
(
$trabalhosAmpla
as
$trabalho
)
@
if
(
$trabalho
->
status
==
'reprovado'
)
<
tr
>
<
td
>
{{
$cont
}}
</
td
>
<
td
>
{{
$trabalho
->
pontuacao
}}
</
td
>
<
td
style
=
"max-width:100px; overflow-x:hidden; text-overflow:ellipsis"
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
proponente
->
user
->
name
}}
</
td
>
<
td
>
{{
$trabalho
->
area
->
nome
}}
</
td
>
<
td
>
{{
$trabalho
->
participantes
->
count
()}}
</
td
>
<
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
{{
$avaliador
->
user
->
name
}}
<
br
>
@
endforeach
@
else
Sem
Atribuição
@
endif
</
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
<
td
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
$avaliador
->
tipo
==
"Externo"
)
@
if
(
$avaliador
->
pivot
->
recomendacao
!=
null
){{
$avaliador
->
pivot
->
recomendacao
}}
@
else
Pendente
@
endif
<
br
>
@
else
@
php
$parecer
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
@
endphp
@
if
(
$parecer
!=
null
&&
$parecer
->
statusParecer
!=
null
){{
$parecer
->
statusParecer
}}
@
else
Pendente
@
endif
@
endif
@
endforeach
</
td
>
@
else
<
td
>
Pendente
</
td
>
@
endif
<
td
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
toggle
=
"modal"
data
-
target
=
"#modalConfirmTrab
{
{$trabalho->id}
}
"
>
Definir
</
button
>
</
td
>
</
tr
>
@
php
$cont
+=
1
;
@
endphp
@
endif
@
endforeach
@
foreach
(
$trabalhosDoutor
as
$trabalho
)
@
if
(
$trabalho
->
status
==
'reprovado'
)
<
tr
>
<
td
>
{{
$cont
}}
</
td
>
<
td
>
{{
$trabalho
->
pontuacao
}}
</
td
>
<
td
style
=
"max-width:100px; overflow-x:hidden; text-overflow:ellipsis"
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
proponente
->
user
->
name
}}
</
td
>
<
td
>
{{
$trabalho
->
area
->
nome
}}
</
td
>
<
td
>
{{
$trabalho
->
participantes
->
count
()}}
</
td
>
<
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
{{
$avaliador
->
user
->
name
}}
<
br
>
@
endforeach
@
else
Sem
Atribuição
@
endif
</
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
<
td
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
$avaliador
->
tipo
==
"Externo"
)
@
if
(
$avaliador
->
pivot
->
recomendacao
!=
null
){{
$avaliador
->
pivot
->
recomendacao
}}
@
else
Pendente
@
endif
<
br
>
@
else
@
php
$parecer
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
@
endphp
@
if
(
$parecer
!=
null
&&
$parecer
->
statusParecer
!=
null
){{
$parecer
->
statusParecer
}}
@
else
Pendente
@
endif
@
endif
@
endforeach
</
td
>
@
else
<
td
>
Pendente
</
td
>
@
endif
<
td
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
toggle
=
"modal"
data
-
target
=
"#modalConfirmTrab
{
{$trabalho->id}
}
"
>
Definir
</
button
>
</
td
>
</
tr
>
@
php
$cont
+=
1
;
@
endphp
@
endif
@
endforeach
</
tbody
>
</
table
>
</
div
>
</
div
>
<
br
>
<
div
class
=
"col-sm-12"
>
<
h4
class
=
"titulo-table"
style
=
"text-align: center"
>
Projetos
Submetidos
</
h4
>
</
div
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-md-12"
>
<
table
class
=
"table table-bordered"
style
=
"display: block; white-space: nowrap; border-radius:10px; margin-bottom:0px"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Posição
</
th
>
<
th
scope
=
"col"
>
Pontuação
</
th
>
<
th
scope
=
"col"
style
=
"width: 100%;"
>
Nome
do
projeto
</
th
>
<
th
scope
=
"col"
>
Proponente
</
th
>
<
th
scope
=
"col"
>
Área
</
th
>
<
th
scope
=
"col"
>
N
.
Planos
</
th
>
<
th
scope
=
"col"
>
Avaliador
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Bolsas
</
th
>
</
tr
>
</
thead
>
<
tbody
id
=
"projetos"
>
@
php
$cont
=
1
;
@
endphp
@
foreach
(
$trabalhosAmpla
as
$trabalho
)
@
if
(
$trabalho
->
status
==
'submetido'
)
<
tr
>
<
td
>
{{
$cont
}}
</
td
>
<
td
>
{{
$trabalho
->
pontuacao
}}
</
td
>
<
td
style
=
"max-width:100px; overflow-x:hidden; text-overflow:ellipsis"
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
proponente
->
user
->
name
}}
</
td
>
<
td
>
{{
$trabalho
->
area
->
nome
}}
</
td
>
<
td
>
{{
$trabalho
->
participantes
->
count
()}}
</
td
>
<
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
{{
$avaliador
->
user
->
name
}}
<
br
>
@
endforeach
@
else
Sem
Atribuição
@
endif
</
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
<
td
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
$avaliador
->
tipo
==
"Externo"
)
@
if
(
$avaliador
->
pivot
->
recomendacao
!=
null
){{
$avaliador
->
pivot
->
recomendacao
}}
@
else
Pendente
@
endif
<
br
>
@
else
@
php
$parecer
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
@
endphp
@
if
(
$parecer
!=
null
&&
$parecer
->
statusParecer
!=
null
){{
$parecer
->
statusParecer
}}
@
else
Pendente
@
endif
@
endif
@
endforeach
</
td
>
@
else
<
td
>
Pendente
</
td
>
@
endif
<
td
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
toggle
=
"modal"
data
-
target
=
"#modalConfirmTrab
{
{$trabalho->id}
}
"
>
Definir
</
button
>
</
td
>
</
tr
>
@
php
$cont
+=
1
;
@
endphp
@
endif
@
endforeach
@
foreach
(
$trabalhosDoutor
as
$trabalho
)
@
if
(
$trabalho
->
status
==
'submetido'
)
<
tr
>
<
td
>
{{
$cont
}}
</
td
>
<
td
>
{{
$trabalho
->
pontuacao
}}
</
td
>
<
td
style
=
"max-width:100px; overflow-x:hidden; text-overflow:ellipsis"
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
proponente
->
user
->
name
}}
</
td
>
<
td
>
{{
$trabalho
->
area
->
nome
}}
</
td
>
<
td
>
{{
$trabalho
->
participantes
->
count
()}}
</
td
>
<
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
{{
$avaliador
->
user
->
name
}}
<
br
>
@
endforeach
@
else
Sem
Atribuição
@
endif
</
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
<
td
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
$avaliador
->
tipo
==
"Externo"
)
@
if
(
$avaliador
->
pivot
->
recomendacao
!=
null
){{
$avaliador
->
pivot
->
recomendacao
}}
@
else
Pendente
@
endif
<
br
>
@
else
@
php
$parecer
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
@
endphp
@
if
(
$parecer
!=
null
&&
$parecer
->
statusParecer
!=
null
){{
$parecer
->
statusParecer
}}
@
else
Pendente
@
endif
@
endif
@
endforeach
</
td
>
@
else
<
td
>
Pendente
</
td
>
@
endif
<
td
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
toggle
=
"modal"
data
-
target
=
"#modalConfirmTrab
{
{$trabalho->id}
}
"
>
Definir
</
button
>
</
td
>
</
tr
>
@
php
$cont
+=
1
;
@
endphp
@
endif
@
endforeach
</
tbody
>
</
table
>
</
div
>
</
div
>
</
div
>
</
div
>
{{
--
Janelas
Cotas
--
}}
{{
--
Janelas
Cotas
--
}}
@
foreach
(
$trabalhosDoutor
as
$trabalho
)
@
foreach
(
$trabalhosDoutor
as
$trabalho
)
...
...
resources/views/avaliador/editais.blade.php
View file @
3391f7ba
...
@@ -67,10 +67,17 @@
...
@@ -67,10 +67,17 @@
</
a
>
</
a
>
<
div
class
=
"dropdown-menu"
>
<
div
class
=
"dropdown-menu"
>
@
if
(
!
is_null
(
Auth
::
user
()
->
avaliadors
->
eventos
->
where
(
'id'
,
$evento
->
id
)
->
first
()
->
pivot
->
convite
)
&&
Auth
::
user
()
->
avaliadors
->
eventos
->
where
(
'id'
,
$evento
->
id
)
->
first
()
->
pivot
->
convite
==
true
)
@
if
(
!
is_null
(
Auth
::
user
()
->
avaliadors
->
eventos
->
where
(
'id'
,
$evento
->
id
)
->
first
()
->
pivot
->
convite
)
&&
Auth
::
user
()
->
avaliadors
->
eventos
->
where
(
'id'
,
$evento
->
id
)
->
first
()
->
pivot
->
convite
==
true
)
<
a
href
=
"{{ route('avaliador.visualizarTrabalho', ['evento_id' =>
$evento->id
]) }}"
class
=
"dropdown-item"
>
@
if
(
$hoje
>=
$evento
->
inicioRevisao
&&
$hoje
<=
$evento
->
fimRevisao
)
<
img
src
=
"
{
{asset('img/icons/eye-regular.svg')}
}
"
class
=
"icon-card"
alt
=
""
>
<
a
href
=
"{{ route('avaliador.visualizarTrabalho', ['evento_id' =>
$evento->id
]) }}"
class
=
"dropdown-item"
>
Avaliar
Propostas
<
img
src
=
"
{
{asset('img/icons/eye-regular.svg')}
}
"
class
=
"icon-card"
alt
=
""
>
</
a
>
Avaliar
Propostas
</
a
>
@
else
<
button
disabled
=
"disabled"
class
=
"dropdown-item"
>
Hoje
({{
date
(
'd/m/Y'
,
strtotime
(
$hoje
))
}})
não
faz
parte
do
período
de
revisão
(
avaliação
)
</
button
>
@
endif
@
elseif
(
!
is_null
(
Auth
::
user
()
->
avaliadors
->
eventos
->
where
(
'id'
,
$evento
->
id
)
->
first
()
->
pivot
->
convite
)
&&
Auth
::
user
()
->
avaliadors
->
eventos
->
where
(
'id'
,
$evento
->
id
)
->
first
()
->
pivot
->
convite
==
false
)
@
elseif
(
!
is_null
(
Auth
::
user
()
->
avaliadors
->
eventos
->
where
(
'id'
,
$evento
->
id
)
->
first
()
->
pivot
->
convite
)
&&
Auth
::
user
()
->
avaliadors
->
eventos
->
where
(
'id'
,
$evento
->
id
)
->
first
()
->
pivot
->
convite
==
false
)
<
button
disabled
=
"disabled"
class
=
"dropdown-item"
>
<
button
disabled
=
"disabled"
class
=
"dropdown-item"
>
Convite
recusado
Convite
recusado
...
...
resources/views/coordenador/home.blade.php
View file @
3391f7ba
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
<
option
value
=
"todos"
selected
>
Todos
</
option
>
<
option
value
=
"todos"
selected
>
Todos
</
option
>
<
option
value
=
"aberto"
>
Aberto
(
s
)
</
option
>
<
option
value
=
"aberto"
>
Aberto
(
s
)
</
option
>
<
option
value
=
"encerrado"
>
Encerrado
(
s
)
</
option
>
<
option
value
=
"encerrado"
>
Encerrado
(
s
)
</
option
>
<
option
value
=
"abrira"
>
Abrirão
</
option
>
</
select
>
</
select
>
</
div
>
</
div
>
<
div
class
=
"col-sm"
style
=
"margin-bottom: 10px"
>
<
div
class
=
"col-sm"
style
=
"margin-bottom: 10px"
>
...
@@ -43,25 +44,26 @@
...
@@ -43,25 +44,26 @@
<
hr
>
<
hr
>
</
div
>
</
div
>
</
div
>
</
div
>
@
php
$hoje
=
now
();
@
endphp
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"row justify-content-center"
>
@
if
(
count
(
$eventos
)
>
0
)
@
if
(
count
(
$eventos
)
>
0
)
@
foreach
(
$eventos
as
$evento
)
@
foreach
(
$eventos
as
$evento
)
@
if
(
Auth
::
check
())
@
if
(
Auth
::
check
())
@
if
(
$evento
->
fimSubmissao
>=
$hoje
)
@
if
(
$evento
->
fimSubmissao
>=
$hoje
&&
$hoje
>=
$evento
->
inicioSubmissao
)
<
a
href
=
"{{ route('evento.visualizar',['id'=>
$evento->id
]) }}"
style
=
"text-decoration: none"
class
=
"aberto"
>
<
a
href
=
"{{ route('evento.visualizar',['id'=>
$evento->id
]) }}"
style
=
"text-decoration: none"
class
=
"aberto"
>
@
else
@
else
if
(
$hoje
>
$evento
->
fimSubmissao
)
<
a
href
=
"{{ route('evento.visualizar',['id'=>
$evento->id
]) }}"
style
=
"text-decoration: none"
class
=
"encerrado"
>
<
a
href
=
"{{ route('evento.visualizar',['id'=>
$evento->id
]) }}"
style
=
"text-decoration: none"
class
=
"encerrado"
>
@
else
<
a
href
=
"{{ route('evento.visualizar',['id'=>
$evento->id
]) }}"
style
=
"text-decoration: none"
class
=
"vaiAbrir"
>
@
endif
@
endif
@
else
@
else
@
if
(
$evento
->
fimSubmissao
>=
$hoje
)
@
if
(
$evento
->
fimSubmissao
>=
$hoje
&&
$hoje
>=
$evento
->
inicioSubmissao
)
<
a
href
=
"{{ route('evento.visualizarNaoLogado', ['id'=>
$evento->id
]) }}"
style
=
"text-decoration: none"
class
=
"aberto"
>
<
a
href
=
"{{ route('evento.visualizarNaoLogado', ['id'=>
$evento->id
]) }}"
style
=
"text-decoration: none"
class
=
"aberto"
>
@
else
@
else
if
(
$hoje
>
$evento
->
fimSubmissao
)
<
a
href
=
"{{ route('evento.visualizarNaoLogado', ['id'=>
$evento->id
]) }}"
style
=
"text-decoration: none"
class
=
"encerrado"
>
<
a
href
=
"{{ route('evento.visualizarNaoLogado', ['id'=>
$evento->id
]) }}"
style
=
"text-decoration: none"
class
=
"encerrado"
>
@
else
<
a
href
=
"{{ route('evento.visualizar',['id'=>
$evento->id
]) }}"
style
=
"text-decoration: none"
class
=
"vaiAbrir"
>
@
endif
@
endif
@
endif
@
endif
<
div
class
=
"card"
style
=
"width: 18rem; border-radius:12px; border-width:0px; margin:10px"
>
<
div
class
=
"card"
style
=
"width: 18rem; border-radius:12px; border-width:0px; margin:10px"
>
...
@@ -202,7 +204,9 @@
...
@@ -202,7 +204,9 @@
function
exibirEditais
(
select
)
{
function
exibirEditais
(
select
)
{
let
abertos
=
document
.
getElementsByClassName
(
"aberto"
);
let
abertos
=
document
.
getElementsByClassName
(
"aberto"
);
let
encerrados
=
document
.
getElementsByClassName
(
"encerrado"
);
let
encerrados
=
document
.
getElementsByClassName
(
"encerrado"
);
let
vaiAbrir
=
document
.
getElementsByClassName
(
"vaiAbrir"
);
if
(
select
.
value
==
"todos"
){
if
(
select
.
value
==
"todos"
){
for
(
let
i
=
0
;
i
<
abertos
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
abertos
.
length
;
i
++
){
abertos
[
i
]
.
style
.
display
=
""
;
abertos
[
i
]
.
style
.
display
=
""
;
...
@@ -211,6 +215,10 @@
...
@@ -211,6 +215,10 @@
for
(
let
j
=
0
;
j
<
encerrados
.
length
;
j
++
){
for
(
let
j
=
0
;
j
<
encerrados
.
length
;
j
++
){
encerrados
[
j
]
.
style
.
display
=
""
;
encerrados
[
j
]
.
style
.
display
=
""
;
}
}
for
(
let
l
=
0
;
l
<
vaiAbrir
.
length
;
l
++
){
vaiAbrir
[
l
]
.
style
.
display
=
""
;
}
}
else
if
(
select
.
value
==
"aberto"
)
{
}
else
if
(
select
.
value
==
"aberto"
)
{
for
(
let
i
=
0
;
i
<
abertos
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
abertos
.
length
;
i
++
){
abertos
[
i
]
.
style
.
display
=
""
;
abertos
[
i
]
.
style
.
display
=
""
;
...
@@ -219,11 +227,31 @@
...
@@ -219,11 +227,31 @@
for
(
let
j
=
0
;
j
<
encerrados
.
length
;
j
++
){
for
(
let
j
=
0
;
j
<
encerrados
.
length
;
j
++
){
encerrados
[
j
]
.
style
.
display
=
"none"
;
encerrados
[
j
]
.
style
.
display
=
"none"
;
}
}
for
(
let
l
=
0
;
l
<
vaiAbrir
.
length
;
l
++
){
vaiAbrir
[
l
]
.
style
.
display
=
"none"
;
}
}
else
if
(
select
.
value
==
"abrira"
){
for
(
let
i
=
0
;
i
<
abertos
.
length
;
i
++
){
abertos
[
i
]
.
style
.
display
=
"none"
;
}
for
(
let
j
=
0
;
j
<
encerrados
.
length
;
j
++
){
encerrados
[
j
]
.
style
.
display
=
"none"
;
}
for
(
let
l
=
0
;
l
<
vaiAbrir
.
length
;
l
++
){
vaiAbrir
[
l
]
.
style
.
display
=
""
;
}
}
else
{
}
else
{
for
(
let
i
=
0
;
i
<
abertos
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
abertos
.
length
;
i
++
){
abertos
[
i
]
.
style
.
display
=
"none"
;
abertos
[
i
]
.
style
.
display
=
"none"
;
}
}
for
(
let
l
=
0
;
l
<
vaiAbrir
.
length
;
l
++
){
vaiAbrir
[
l
]
.
style
.
display
=
"none"
;
}
for
(
let
j
=
0
;
j
<
encerrados
.
length
;
j
++
){
for
(
let
j
=
0
;
j
<
encerrados
.
length
;
j
++
){
encerrados
[
j
]
.
style
.
display
=
""
;
encerrados
[
j
]
.
style
.
display
=
""
;
}
}
...
...
resources/views/coordenadorComissao/editais.blade.php
View file @
3391f7ba
...
@@ -12,6 +12,15 @@
...
@@ -12,6 +12,15 @@
</
div
>
</
div
>
</
div
>
</
div
>
<
hr
>
<
hr
>
@
if
(
session
(
'mensagem'
))
<
div
class
=
"row"
>
<
div
class
=
"col-md-12"
style
=
"margin-top: 30px;"
>
<
div
class
=
"alert alert-success"
>
<
p
>
{{
session
(
'mensagem'
)}}
</
p
>
</
div
>
</
div
>
</
div
>
@
endif
<
table
class
=
"table table-bordered"
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
thead
>
<
tr
>
<
tr
>
...
@@ -35,6 +44,9 @@
...
@@ -35,6 +44,9 @@
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
</
a
>
</
a
>
<
div
class
=
"dropdown-menu"
>
<
div
class
=
"dropdown-menu"
>
<
a
href
=
"{{ route('evento.editar', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item text-center"
>
Editar
Edital
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
])}}"
class
=
"dropdown-item text-center"
>
<
a
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
])}}"
class
=
"dropdown-item text-center"
>
Visualizar
Projetos
Visualizar
Projetos
...
...
resources/views/evento/formulario/anexos.blade.php
View file @
3391f7ba
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<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: #234B8B; font-weight: bold"
>
Anexos
</h5></div>
<div
class=
"col-md-12"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Anexos
do Projeto
</h5></div>
</div>
</div>
<hr
style=
"border-top: 1px solid#1492E6; margin-bottom: 10px"
>
<hr
style=
"border-top: 1px solid#1492E6; margin-bottom: 10px"
>
...
...
resources/views/evento/formulario/finalizar.blade.php
View file @
3391f7ba
...
@@ -12,7 +12,13 @@
...
@@ -12,7 +12,13 @@
<button
id=
"submeterFormProposta"
type=
"submit"
style=
"display: none;"
></button>
<button
id=
"submeterFormProposta"
type=
"submit"
style=
"display: none;"
></button>
<button
type=
"submit"
class=
"btn btn-primary "
id=
"idButtonSubmitRascunho"
>
{{ __('Salvar como rascunho') }}
</button>
<button
type=
"submit"
class=
"btn btn-primary "
id=
"idButtonSubmitRascunho"
>
{{ __('Salvar como rascunho') }}
</button>
<button
type=
"submit"
class=
"btn btn-success"
id=
"idButtonSubmitProjeto"
>
{{ __('Submeter projeto') }}
</button>
<button
type=
"submit"
class=
"btn btn-success"
id=
"idButtonSubmitProjeto"
>
{{ __('Submeter projeto') }}
</button>
</div>
</div>
@if($errors->any())
<div
class=
"alert alert-danger"
>
Verifique se todos os campos obrigatórios/Dados do discente foram preenchidos!
</div>
@endif
</div>
</div>
</div>
</div>
</div>
</div>
...
...
resources/views/evento/formulario/participantes.blade.php
View file @
3391f7ba
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<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-11"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Participantes
</h5></div>
<div
class=
"col-md-11"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Dados do(s) Discente(s)
</h5></div>
<div
class=
"col-md-1 text-sm-right"
>
<div
class=
"col-md-1 text-sm-right"
>
<a
type=
"button"
value=
"{{ $edital->id }}"
id=
"atribuir1"
data-toggle=
"modal"
data-target=
"#exampleModal0"
>
<a
type=
"button"
value=
"{{ $edital->id }}"
id=
"atribuir1"
data-toggle=
"modal"
data-target=
"#exampleModal0"
>
<img
class=
""
src=
"{{asset('img/icons/add.ico')}}"
style=
"width:30px"
alt=
""
>
<img
class=
""
src=
"{{asset('img/icons/add.ico')}}"
style=
"width:30px"
alt=
""
>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
</div>
</div>
<div
class=
"col-sm-8"
style=
"display: flex; align-items: center;"
>
<div
class=
"col-sm-8"
style=
"display: flex; align-items: center;"
>
<a
href=
""
style=
""
class=
"justify-content-center"
data-toggle=
"modal"
data-target=
"#exampleModal{{$i}}"
id=
"nomePart{{$i+1}}"
>
<a
href=
""
style=
""
class=
"justify-content-center"
data-toggle=
"modal"
data-target=
"#exampleModal{{$i}}"
id=
"nomePart{{$i+1}}"
>
Participa
nte {{$i+1}}
Disce
nte {{$i+1}}
</a>
</a>
</div>
</div>
</div>
</div>
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<div
class=
"modal-dialog modal-dialog-centered modal-xl"
>
<div
class=
"modal-dialog modal-dialog-centered modal-xl"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
<h5
class=
"modal-title"
id=
"exampleModalLabel"
>
Dados do
Participa
nte {{$i+1}}
</h5>
<h5
class=
"modal-title"
id=
"exampleModalLabel"
>
Dados do
Disce
nte {{$i+1}}
</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"
>
×
</span>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</button>
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
3391f7ba
...
@@ -17,12 +17,12 @@
...
@@ -17,12 +17,12 @@
@
include
(
'evento.formulario.proponente'
)
@
include
(
'evento.formulario.proponente'
)
@
include
(
'evento.formulario.anexos'
)
@
include
(
'evento.formulario.participantes'
)
@
include
(
'evento.formulario.participantes'
)
@
include
(
'evento.formulario.anexos'
)
@
include
(
'evento.formulario.finalizar'
)
@
include
(
'evento.formulario.finalizar'
)
...
...
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