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
3cb620ff
Commit
3cb620ff
authored
Jun 23, 2020
by
alinetenorio
Browse files
Merge branch 'master' of
https://github.com/lmts-ufape/submeta
into fixRascunho
parents
7718dd60
39c3da76
Changes
8
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
3cb620ff
...
@@ -787,7 +787,7 @@ class TrabalhoController extends Controller
...
@@ -787,7 +787,7 @@ class TrabalhoController extends Controller
Storage
::
deleteDirectory
(
'trabalhos/'
.
$trabalho
->
evento
->
id
.
'/'
.
$trabalho
->
id
);
Storage
::
deleteDirectory
(
'trabalhos/'
.
$trabalho
->
evento
->
id
.
'/'
.
$trabalho
->
id
);
$trabalho
->
delete
();
$trabalho
->
delete
();
return
redirect
()
->
back
();
return
redirect
()
->
back
()
->
with
([
'mensagem'
=>
'Projeto deletado com sucesso!'
])
;
}
}
public
function
excluirParticipante
(
$id
){
public
function
excluirParticipante
(
$id
){
...
...
database/seeds/AreaSeeder.php
View file @
3cb620ff
...
@@ -345,7 +345,7 @@ class AreaSeeder extends Seeder
...
@@ -345,7 +345,7 @@ class AreaSeeder extends Seeder
//Lingüística, Letras e Artes-----------
//Lingüística, Letras e Artes-----------
DB
::
table
(
'areas'
)
->
insert
([
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Ling
ü
ística'
,
'nome'
=>
'Ling
u
ística'
,
'grande_area_id'
=>
'8'
'grande_area_id'
=>
'8'
]);
]);
DB
::
table
(
'areas'
)
->
insert
([
DB
::
table
(
'areas'
)
->
insert
([
...
...
resources/views/coordenador/home.blade.php
View file @
3cb620ff
...
@@ -77,6 +77,11 @@
...
@@ -77,6 +77,11 @@
<
p
>
<
p
>
@
if
(
Auth
::
check
())
@
if
(
Auth
::
check
())
<
a
href
=
"{{ route('evento.visualizar',['id'=>
$evento->id
]) }}"
class
=
"visualizarEvento"
>
Visualizar
edital
</
a
>
<
a
href
=
"{{ route('evento.visualizar',['id'=>
$evento->id
]) }}"
class
=
"visualizarEvento"
>
Visualizar
edital
</
a
>
@
if
(
Auth
::
user
()
->
proponentes
==
null
)
<
br
><
a
href
=
"{{ route('proponente.create' )}}"
class
=
"visualizarEvento"
>
Criar
projeto
</
a
>
@
else
<
br
><
a
href
=
"{{ route('trabalho.index', ['id' =>
$evento->id
] )}}"
class
=
"visualizarEvento"
>
Criar
projeto
</
a
>
@
endif
@
else
@
else
<
a
href
=
"{{ route('evento.visualizarNaoLogado', ['id'=>
$evento->id
]) }}"
class
=
"visualizarEvento"
>
Visualizar
edital
</
a
>
<
a
href
=
"{{ route('evento.visualizarNaoLogado', ['id'=>
$evento->id
]) }}"
class
=
"visualizarEvento"
>
Visualizar
edital
</
a
>
@
endif
@
endif
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
3cb620ff
...
@@ -182,7 +182,7 @@
...
@@ -182,7 +182,7 @@
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
botao
" class="
col
-
form
-
label
@
error
(
'botao'
)
is
-
invalid
@
enderror
">{{ __('Possui autorizaç
ão do Comitê de Ética
*:') }}</label>
<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
.
"
>{{ __('Possui autorizaç
ões especiais?
*:') }}</label>
<button id="
buttonSim
" class="
btn
btn
-
primary
mt
-
2
mb
-
2
">Sim</button>
<button id="
buttonSim
" class="
btn
btn
-
primary
mt
-
2
mb
-
2
">Sim</button>
<button id="
buttonNao
" class="
btn
btn
-
primary
mt
-
2
mb
-
2
">Não</button>
<button id="
buttonNao
" class="
btn
btn
-
primary
mt
-
2
mb
-
2
">Não</button>
<input type="
hidden
" id="
botao
" name="
botao
" value="">
<input type="
hidden
" id="
botao
" name="
botao
" value="">
...
...
resources/views/participante/editais.blade.php
View file @
3cb620ff
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<
thead
>
<
thead
>
<
tr
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
Edital
</
th
>
<
th
scope
=
"col"
>
Nome
do
Edital
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
{{
--
<
th
scope
=
"col"
>
Status
</
th
>
--
}}
<
th
scope
=
"col"
>
Data
de
Criação
</
th
>
<
th
scope
=
"col"
>
Data
de
Criação
</
th
>
<
th
scope
=
"col"
>
Baixar
edital
</
th
>
<
th
scope
=
"col"
>
Baixar
edital
</
th
>
<
th
scope
=
"col"
>
Opção
</
th
>
<
th
scope
=
"col"
>
Opção
</
th
>
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
{{
$evento
->
nome
}}
{{
$evento
->
nome
}}
</
a
>
</
a
>
</
td
>
</
td
>
<
td
></
td
>
{{
--
<
td
></
td
>
--
}}
<
td
>
{{
$evento
->
created_at
}}
</
td
>
<
td
>
{{
$evento
->
created_at
}}
</
td
>
<
td
style
=
"text-align: center"
>
<
td
style
=
"text-align: center"
>
<
a
href
=
"{{ route('baixar.edital', ['id' =>
$evento->id
]) }}"
>
<
a
href
=
"{{ route('baixar.edital', ['id' =>
$evento->id
]) }}"
>
...
@@ -45,11 +45,11 @@
...
@@ -45,11 +45,11 @@
</
a
>
</
a
>
<
div
class
=
"dropdown-menu"
>
<
div
class
=
"dropdown-menu"
>
<
a
href
=
"{{ route('participante.edital', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
<
a
href
=
"{{ route('participante.edital', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Meus
p
rojetos
P
rojetos
vinculados
</
a
>
</
a
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Visualizar
resultado
Visualizar
resultado
</
a
>
</
a
>
--
}}
{{
--
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Resultado
preeliminar
Resultado
preeliminar
...
...
resources/views/projeto/index.blade.php
View file @
3cb620ff
...
@@ -2,7 +2,23 @@
...
@@ -2,7 +2,23 @@
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 100px;"
>
<
div
class
=
"container"
style
=
"margin-top: 100px;"
>
@
if
(
isset
(
$mensagem
))
<
div
class
=
"col-sm-12"
>
<
br
>
<
div
class
=
"alert alert-success"
>
<
p
>
{{
$mensagem
}}
</
p
>
</
div
>
</
div
>
@
endif
@
if
(
session
(
'mensagem'
))
<
div
class
=
"col-sm-12"
>
<
br
>
<
div
class
=
"alert alert-success"
>
<
p
>
{{
session
(
'mensagem'
)}}
</
p
>
</
div
>
</
div
>
@
endif
<
div
class
=
"container"
>
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-10"
>
<
div
class
=
"col-sm-10"
>
...
...
resources/views/proponente/editais.blade.php
View file @
3cb620ff
...
@@ -49,9 +49,9 @@
...
@@ -49,9 +49,9 @@
<
a
href
=
"{{ route('projetos.edital', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
<
a
href
=
"{{ route('projetos.edital', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Projetos
submetidos
Projetos
submetidos
</
a
>
</
a
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Visualizar
resultado
Visualizar
resultado
</
a
>
</
a
>
--
}}
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Recurso
ao
resultado
Recurso
ao
resultado
</
a
>
</
a
>
...
...
resources/views/proponente/projetos.blade.php
View file @
3cb620ff
...
@@ -3,6 +3,14 @@
...
@@ -3,6 +3,14 @@
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 100px;"
>
<
div
class
=
"container"
style
=
"margin-top: 100px;"
>
@
if
(
isset
(
$mensagem
))
<
div
class
=
"col-sm-12"
>
<
br
>
<
div
class
=
"alert alert-success"
>
<
p
>
{{
$mensagem
}}
</
p
>
</
div
>
</
div
>
@
endif
<
div
class
=
"container"
>
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-12"
>
<
div
class
=
"col-sm-12"
>
...
...
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