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
561a6f19
Unverified
Commit
561a6f19
authored
Jun 05, 2020
by
Gabriel Antônio da Silva
Committed by
GitHub
Jun 05, 2020
Browse files
Merge pull request #13 from lmts-ufape/carlos
Carlos
parents
7387b6c8
9f414dff
Changes
62
Show whitespace changes
Inline
Side-by-side
resources/views/administrador/index.blade.php
View file @
561a6f19
...
...
@@ -19,7 +19,7 @@
</
div
>
<
div
class
=
"col-sm-3 d-flex justify-content-center"
>
<
a
href
=
"{{ route('
grandearea.index
') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
a
href
=
"{{ route('
admin.naturezas
') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 13rem;height: 15rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Natureza
</
h2
>
...
...
resources/views/administrador/novo_user.blade.php
View file @
561a6f19
...
...
@@ -123,6 +123,14 @@
</
span
>
@
enderror
<
label
for
=
"areaFormacao"
class
=
"col-form-label"
>
{{
__
(
'Area de Formação'
)
}}
</
label
>
<
input
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
value
=
""
autocomplete
=
"nome"
>
@
error
(
'areaFormacao'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
<
div
>
<
label
for
=
"area"
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
...
...
resources/views/administrador/projetos.blade.php
0 → 100644
View file @
561a6f19
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 100px;"
>
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-10"
>
<
h3
>
Trabalhos
do
Edital
:
{{
$evento
->
nome
}}
</
h3
>
</
div
>
</
div
>
</
div
>
<
hr
>
<
div
class
=
"accordion"
id
=
"accordionExample"
>
@
foreach
(
$trabalhos
as
$trabalho
)
<
div
class
=
"card "
>
<
div
class
=
"card-header "
id
=
"headingOne"
>
<
h2
class
=
"mb-0"
>
<
a
class
=
"btn btn-link btn-block text-left"
type
=
"button"
data
-
toggle
=
"collapse"
data
-
target
=
"#collapseOne{{
$trabalho->id
}}"
aria
-
expanded
=
"true"
aria
-
controls
=
"collapseOne"
>
<
h5
>
Titulo
:
{{
$trabalho
->
titulo
}}
</
h5
>
</
a
>
</
h2
>
</
div
>
<
div
id
=
"collapseOne{{
$trabalho->id
}}"
class
=
"collapse "
aria
-
labelledby
=
"headingOne"
data
-
parent
=
"#accordionExample"
>
<
div
class
=
"card-body"
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Avaliador
</
th
>
<
th
scope
=
"col"
>
E
-
mail
</
th
>
<
th
scope
=
"col"
>
Parecer
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
<
tr
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
<
form
action
=
"{{ route('admin.visualizarParecer') }}"
method
=
"post"
>
@
csrf
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"{{
$trabalho->id
}}"
>
<
input
type
=
"hidden"
name
=
"avaliador_id"
value
=
"{{
$avaliador->id
}}"
>
<
button
class
=
"btn btn-primary"
@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
disabled
=
"disabled"
@
endif
>
Visualizar
</
button
>
</
form
>
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
</
div
>
</
div
>
</
div
>
@
endforeach
</
div
>
</
div
>
@
endsection
@
section
(
'javascript'
)
<
script
>
</
script
>
@
endsection
resources/views/administrador/selecionarAvaliadores.blade.php
0 → 100644
View file @
561a6f19
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 100px;"
>
<
div
class
=
"container"
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
div
class
=
"col-md-10"
>
<
h3
>
Avaliadores
</
h3
>
</
div
>
<
div
class
=
"col-md-2"
>
<!--
Button
trigger
modal
-->
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
toggle
=
"modal"
data
-
target
=
"#exampleModalCenter"
>
Enviar
Convite
</
button
>
</
div
>
</
div
>
</
div
>
<
hr
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
Email
</
th
>
<
th
scope
=
"col"
>
Área
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$avaliadores
as
$avaliador
)
<
tr
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
{{
$avaliador
->
area
->
nome
}}
</
td
>
<
td
style
=
"text-align:center"
>
<
form
action
=
"{{ route('admin.adicionar') }}"
method
=
"POST"
>
@
csrf
<
input
type
=
"hidden"
name
=
"avaliador_id"
value
=
"{{
$avaliador->id
}}"
>
<
input
type
=
"hidden"
name
=
"evento_id"
value
=
"{{
$evento->id
}}"
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
>
Adicionar
</
button
>
</
form
>
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
<
div
class
=
"container"
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
h4
>
Avaliadores
Selecionados
para
o
Edital
:
{{
$evento
->
nome
}}
</
h4
>
</
div
>
</
div
>
<
hr
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
Email
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$avalSelecionados
as
$avaliador
)
<
tr
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
Status
-
Aceito
ou
Rejeitado
</
td
>
<
td
style
=
"text-align:center"
>
<
form
action
=
"{{ route('admin.remover') }}"
method
=
"POST"
>
@
csrf
<
input
type
=
"hidden"
name
=
"avaliador_id"
value
=
"{{
$avaliador->id
}}"
>
<
input
type
=
"hidden"
name
=
"evento_id"
value
=
"{{
$evento->id
}}"
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
@
if
(
$avaliador
->
trabalhos
->
count
()
!=
0
)
disabled
=
"disabled"
@
endif
>
Remover
</
button
>
</
form
>
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
</
div
>
<!--
Modal
-->
<
div
class
=
"modal fade"
id
=
"exampleModalCenter"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalCenterTitle"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered"
role
=
"document"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLongTitle"
>
Enviar
Convite
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
<
form
action
=
"{{ route('admin.enviarConvite') }}"
method
=
"POST"
>
@
csrf
<
input
type
=
"hidden"
name
=
"evento_id"
value
=
"{{
$evento->id
}}"
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleInputEmail1"
>
Nome
Completo
</
label
>
<
input
type
=
"text"
class
=
"form-control"
name
=
"nomeAvaliador"
id
=
"exampleInputNome1"
>
</
div
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleInputEmail1"
>
Email
</
label
>
<
input
type
=
"email"
class
=
"form-control"
name
=
"emailAvaliador"
id
=
"exampleInputEmail1"
>
</
div
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleFormControlSelect1"
>
Tipo
</
label
>
<
select
class
=
"form-control"
name
=
"tipo"
id
=
"exampleFormControlSelect1"
>
<
option
value
=
"avaliador"
>
Avaliador
</
option
>
</
select
>
</
div
>
<
div
class
=
"mx-auto"
>
<
button
type
=
"submit"
class
=
"btn btn-success mx-auto"
>
Enviar
</
button
>
</
div
>
</
form
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endsection
@
section
(
'javascript'
)
<
script
>
$
(
'#myModal'
)
.
on
(
'shown.bs.modal'
,
function
()
{
$
(
'#myInput'
)
.
trigger
(
'focus'
)
})
</
script
>
@
endsection
resources/views/administrador/selecionarProjetos.blade.php
0 → 100644
View file @
561a6f19
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 100px;"
>
<
div
class
=
"container"
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
{{
--
<
div
class
=
"col-md-12"
>
--
}}
<
h3
>
Lista
de
Projetos
do
Edital
:
{{
$evento
->
nome
}}
</
h3
>
{{
--
</
div
>
--
}}
</
div
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
{{
--
<
div
class
=
"col-md-12"
>
--
}}
<
h5
>
Total
:
</
h5
>
{{
--
</
div
>
--
}}
</
div
>
</
div
>
<
hr
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
Projeto
</
th
>
<
th
scope
=
"col"
>
Área
</
th
>
<
th
scope
=
"col"
>
Proponente
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$trabalhos
as
$trabalho
)
<
tr
>
<
td
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
area
->
nome
}}
</
td
>
<
td
>
{{
$trabalho
->
proponente
->
user
->
name
}}
</
td
>
<
td
style
=
"text-align:center"
>
<
button
type
=
"button"
class
=
"btn btn-primary"
value
=
"{{
$trabalho->id
}}"
id
=
"atribuir1"
data
-
toggle
=
"modal"
data
-
target
=
"#exampleModalCenter{{
$trabalho->id
}}"
>
Atribuir
</
button
>
<!--
Modal
-->
<
div
class
=
"modal fade"
id
=
"exampleModalCenter{{
$trabalho->id
}}"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalCenterTitle"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered"
role
=
"document"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLongTitle"
>
Selecione
o
avaliador
(
es
)
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
<
form
action
=
"{{ route('admin.atribuicao') }}"
method
=
"POST"
>
@
csrf
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"{{
$trabalho->id
}}"
>
<
input
type
=
"hidden"
name
=
"evento_id"
value
=
"{{
$evento->id
}}"
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleFormControlSelect2"
>
Example
multiple
select
</
label
>
<
select
name
=
"avaliadores_id[]"
multiple
class
=
"form-control"
id
=
"exampleFormControlSelect2"
>
@
foreach
(
$trabalho
->
aval
as
$avaliador
)
<
option
value
=
"{{
$avaliador->id
}}"
>
{{
$avaliador
->
user
->
name
}}
({{
$avaliador
->
area
->
nome
}})
</
option
>
@
endforeach
</
select
>
<
small
id
=
"emailHelp"
class
=
"form-text text-muted"
>
Segure
SHIFT
do
teclado
para
selecionar
mais
de
um
.
</
small
>
</
div
>
<
div
class
=
"mx-auto"
>
<
button
type
=
"submit"
class
=
"btn btn-success mx-auto"
>
Atribuir
</
button
>
</
div
>
</
form
>
</
div
>
</
div
>
</
div
>
</
div
>
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
<
div
class
=
"container"
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
h3
>
Status
dos
Projetos
em
Avaliação
:
{{
$evento
->
nome
}}
</
h3
>
</
div
>
</
div
>
<
hr
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
Usuário
</
th
>
<
th
scope
=
"col"
>
E
-
mail
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$avaliadores
as
$avaliador
)
@
php
$contador
=
0
;
@
endphp
@
foreach
(
$avaliador
->
trabalhos
as
$trabalho
)
@
if
(
$trabalho
->
pivot
->
status
==
true
)
@
php
$contador
++
;
@
endphp
@
endif
@
endforeach
<
tr
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
{{
$contador
}}
/
{{
$avaliador
->
trabalhos
->
count
()
}}
</
td
>
<
td
style
=
"text-align:center"
>
...
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
</
div
>
<!--
Button
trigger
modal
-->
@
endsection
@
section
(
'javascript'
)
<
script
>
$
(
'#myModal'
)
.
on
(
'shown.bs.modal'
,
function
()
{
$
(
'#myInput'
)
.
trigger
(
'focus'
)
})
</
script
>
@
endsection
resources/views/administrador/visualizarParecer.blade.php
0 → 100644
View file @
561a6f19
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container content"
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-sm-12"
>
<
div
class
=
"card"
style
=
"margin-top:50px"
>
<
div
class
=
"card-body"
>
<
h5
class
=
"card-title"
>
Parecer
do
avaliador
:
{{
$avaliador
->
user
->
name
}}
</
h5
>
<
h6
class
=
"card-title"
>
Trabalho
:
{{
$trabalho
->
titulo
}}
</
h6
>
<
p
class
=
"card-text"
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleFormControlTextarea1"
>
Parecer
</
label
>
<
textarea
class
=
"form-control"
id
=
"exampleFormControlTextarea1"
disabled
=
"disabled"
rows
=
"3"
>
{{
$parecer
->
parecer
}}
</
textarea
>
</
div
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleFormControlSelect1"
>
Recomendação
:
<
strong
>
{{
$parecer
->
recomendacao
}}
</
strong
>
</
label
>
</
div
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleFormControlSelect1"
>
Anexo
:
</
label
>
</
div
>
<
a
href
=
"
{
{url()->previous()}
}
"
class
=
"btn btn-primary"
>
Voltar
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endsection
@
section
(
'javascript'
)
<
script
type
=
"text/javascript"
>
</
script
>
@
endsection
resources/views/auth/register.blade.php
View file @
561a6f19
...
...
@@ -94,119 +94,6 @@
</
div
>
</
div
>
<
div
class
=
"row subtitulo"
>
<
div
class
=
"col-sm-12"
>
<
p
>
Endereço
</
p
>
</
div
>
</
div
>
{{
--
Rua
|
Número
|
Bairro
--
}}
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-2"
>
<
label
for
=
"cep"
class
=
"col-form-label"
>
{{
__
(
'CEP'
)
}}
</
label
>
<
input
value
=
"
{
{old('cep')}
}
"
onblur
=
"pesquisacep(this.value);"
id
=
"cep"
type
=
"text"
required
autocomplete
=
"cep"
name
=
"cep"
autofocus
class
=
"form-control field__input a-field__input"
placeholder
=
"CEP"
size
=
"10"
maxlength
=
"9"
>
@
error
(
'cep'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-6"
>
<
label
for
=
"rua"
class
=
"col-form-label"
>
{{
__
(
'Rua'
)
}}
</
label
>
<
input
value
=
"
{
{old('rua')}
}
"
id
=
"rua"
type
=
"text"
class
=
"form-control @error('rua') is-invalid @enderror"
name
=
"rua"
required
autocomplete
=
"new-password"
>
@
error
(
'rua'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-2"
>
<
label
for
=
"numero"
class
=
"col-form-label"
>
{{
__
(
'Número'
)
}}
</
label
>
<
input
value
=
"
{
{old('numero')}
}
"
id
=
"numero"
type
=
"text"
class
=
"form-control @error('numero') is-invalid @enderror"
name
=
"numero"
autocomplete
=
"numero"
>
@
error
(
'numero'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"bairro"
class
=
"col-form-label"
>
{{
__
(
'Bairro'
)
}}
</
label
>
<
input
value
=
"
{
{old('bairro')}
}
"
id
=
"bairro"
type
=
"text"
class
=
"form-control @error('bairro') is-invalid @enderror"
name
=
"bairro"
required
autocomplete
=
"bairro"
>
@
error
(
'bairro'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-6"
>
<
label
for
=
"cidade"
class
=
"col-form-label"
>
{{
__
(
'Cidade'
)
}}
</
label
>
<
input
value
=
"
{
{old('cidade')}
}
"
id
=
"cidade"
type
=
"text"
class
=
"form-control @error('cidade') is-invalid @enderror"
name
=
"cidade"
required
autocomplete
=
"cidade"
>
@
error
(
'cidade'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-sm-6"
>
<
label
for
=
"uf"
class
=
"col-form-label"
>
{{
__
(
'UF'
)
}}
</
label
>
{{
--
<
input
id
=
"uf"
type
=
"text"
class
=
"form-control @error('uf') is-invalid @enderror"
name
=
"uf"
value
=
"{{ old('uf') }}"
required
autocomplete
=
"uf"
autofocus
>
--
}}
<
select
class
=
"form-control @error('uf') is-invalid @enderror"
id
=
"uf"
name
=
"uf"
>
<
option
value
=
""
disabled
selected
hidden
>--
UF
--</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'AC'
)
selected
@
endif
value
=
"AC"
>
Acre
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'AL'
)
selected
@
endif
value
=
"AL"
>
Alagoas
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'AP'
)
selected
@
endif
value
=
"AP"
>
Amapá
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'AM'
)
selected
@
endif
value
=
"AM"
>
Amazonas
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'BA'
)
selected
@
endif
value
=
"BA"
>
Bahia
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'CE'
)
selected
@
endif
value
=
"CE"
>
Ceará
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'DF'
)
selected
@
endif
value
=
"DF"
>
Distrito
Federal
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'ES'
)
selected
@
endif
value
=
"ES"
>
Espírito
Santo
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'GO'
)
selected
@
endif
value
=
"GO"
>
Goiás
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'MA'
)
selected
@
endif
value
=
"MA"
>
Maranhão
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'MT'
)
selected
@
endif
value
=
"MT"
>
Mato
Grosso
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'MS'
)
selected
@
endif
value
=
"MS"
>
Mato
Grosso
do
Sul
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'MG'
)
selected
@
endif
value
=
"MG"
>
Minas
Gerais
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'PA'
)
selected
@
endif
value
=
"PA"
>
Pará
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'PB'
)
selected
@
endif
value
=
"PB"
>
Paraíba
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'PR'
)
selected
@
endif
value
=
"PR"
>
Paraná
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'PE'
)
selected
@
endif
value
=
"PE"
>
Pernambuco
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'PI'
)
selected
@
endif
value
=
"PI"
>
Piauí
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'RJ'
)
selected
@
endif
value
=
"RJ"
>
Rio
de
Janeiro
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'RN'
)
selected
@
endif
value
=
"RN"
>
Rio
Grande
do
Norte
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'RS'
)
selected
@
endif
value
=
"RS"
>
Rio
Grande
do
Sul
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'RO'
)
selected
@
endif
value
=
"RO"
>
Rondônia
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'RR'
)
selected
@
endif
value
=
"RR"
>
Roraima
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'SC'
)
selected
@
endif
value
=
"SC"
>
Santa
Catarina
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'SP'
)
selected
@
endif
value
=
"SP"
>
São
Paulo
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'SE'
)
selected
@
endif
value
=
"SE"
>
Sergipe
</
option
>
<
option
@
if
(
old
(
'uf'
)
==
'TO'
)
selected
@
endif
value
=
"TO"
>
Tocantins
</
option
>
</
select
>
@
error
(
'uf'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
<
div
class
=
"row justify-content-center"
style
=
"margin: 20px 0 20px 0"
>
<
div
class
=
"col-md-6"
style
=
"padding-left:0"
>
...
...
@@ -226,7 +113,6 @@
@
section
(
'javascript'
)
<
script
type
=
"text/javascript"
>
$
(
document
)
.
ready
(
function
(
$
){
$
(
'#cep'
)
.
mask
(
'00000-000'
);
$
(
'#cpf'
)
.
mask
(
'000.000.000-00'
);
var
SPMaskBehavior
=
function
(
val
)
{
return
val
.
replace
(
/
\
D
/
g
,
''
)
.
length
===
11
?
'(00) 00000-0000'
:
'(00) 0000-00009'
;
...
...
@@ -239,71 +125,5 @@
$
(
'#celular'
)
.
mask
(
SPMaskBehavior
,
spOptions
);
});
function
limpa_formulário_cep
()
{
//Limpa valores do formulário de cep.
document
.
getElementById
(
'rua'
)
.
value
=
(
""
);
document
.
getElementById
(
'bairro'
)
.
value
=
(
""
);
document
.
getElementById
(
'cidade'
)
.
value
=
(
""
);
document
.
getElementById
(
'uf'
)
.
value
=
(
""
);
}
function
meu_callback
(
conteudo
)
{
if
(
!
(
"erro"
in
conteudo
))
{
//Atualiza os campos com os valores.
document
.
getElementById
(
'rua'
)
.
value
=
(
conteudo
.
logradouro
);
document
.
getElementById
(
'bairro'
)
.
value
=
(
conteudo
.
bairro
);
document
.
getElementById
(
'cidade'
)
.
value
=
(
conteudo
.
localidade
);
document
.
getElementById
(
'uf'
)
.
value
=
(
conteudo
.
uf
);
}
//end if.
else
{
//CEP não Encontrado.
limpa_formulário_cep
();
alert
(
"CEP não encontrado."
);
}
}
function
pesquisacep
(
valor
)
{
//Nova variável "cep" somente com dígitos.
var
cep
=
valor
.
replace
(
/
\
D
/
g
,
''
);
//Verifica se campo cep possui valor informado.
if
(
cep
!=
""
)
{
//Expressão regular para validar o CEP.
var
validacep
=
/^
[
0
-
9
]{
8
}
$
/
;
//Valida o formato do CEP.
if
(
validacep
.
test
(
cep
))
{
//Preenche os campos com "..." enquanto consulta webservice.
document
.
getElementById
(
'rua'
)
.
value
=
"..."
;
document
.
getElementById
(
'bairro'
)
.
value
=
"..."
;
document
.
getElementById
(
'cidade'
)
.
value
=
"..."
;
document
.
getElementById
(
'uf'
)
.
value
=
"..."
;
//Cria um elemento javascript.
var
script
=
document
.
createElement
(
'script'
);
//Sincroniza com o callback.
script
.
src
=
'https://viacep.com.br/ws/'
+
cep
+
'/json/?callback=meu_callback'
;
//Insere script no documento e carrega o conteúdo.
document
.
body
.
appendChild
(
script
);
}
//end if.
else
{
//cep é inválido.
limpa_formulário_cep
();
alert
(
"Formato de CEP inválido."
);
}
}
//end if.
else
{
//cep sem valor, limpa formulário.
limpa_formulário_cep
();
}
};
</
script
>
@
endsection
resources/views/avaliador/editais.blade.php
View file @
561a6f19
...
...
@@ -6,12 +6,9 @@
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-1
0
"
>
<
div
class
=
"col-sm-1
2
"
>
<
h3
>
Meus
Editais
</
h3
>
</
div
>
<
div
class
=
"col-sm-2"
>
<
a
href
=
"
{
{route('evento.criar')}
}
"
class
=
"btn btn-primary"
>
Criar
Edital
</
a
>
</
div
>
</
div
>
</
div
>
<
hr
>
...
...
@@ -27,9 +24,7 @@
@
foreach
(
$eventos
as
$evento
)
<
tr
>
<
td
>
<
a
href
=
"{{ route('evento.visualizar',['id'=>
$evento->id
]) }}"
class
=
"visualizarEvento"
>
{{
$evento
->
nome
}}
</
a
>
</
td
>
<
td
>
10
/
05
/
2020
</
td
>
<
td
>
...
...
@@ -38,23 +33,11 @@
{{
--
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
--
}}
</
a
>
<
div
class
=
"dropdown-menu"
>
<
a
href
=
"{{ route('
coord.detalhesEvent
o', ['evento
I
d' =>
$evento->id
]) }}"
class
=
"dropdown-item"
>
<
a
href
=
"{{ route('
avaliador.visualizarTrabalh
o', ['evento
_i
d' =>
$evento->id
]) }}"
class
=
"dropdown-item"
>
<
img
src
=
"
{
{asset('img/icons/eye-regular.svg')}
}
"
class
=
"icon-card"
alt
=
""
>
Detalhes
</
a
>
<
a
href
=
"
{
{route('evento.editar',$evento->id)}
}
"
class
=
"dropdown-item"
>
<
img
src
=
"
{
{asset('img/icons/edit-regular.svg')}
}
"
class
=
"icon-card"
alt
=
""
>
Editar
Projetos
para
avaliar
</
a
>
<
form
method
=
"POST"
action
=
"
{
{route('evento.deletar',$evento->id)}
}
"
>
{{
csrf_field
()
}}
{{
method_field
(
'DELETE'
)
}}
<
button
type
=
"submit"
class
=
"dropdown-item"
>
<
img
src
=
"
{
{asset('img/icons/trash-alt-regular.svg')}
}
"
class
=
"icon-card"
alt
=
""
>
Deletar
</
button
>
</
form
>
</
div
>
</
div
>
</
td
>
...
...
resources/views/avaliador/index.blade.php
View file @
561a6f19
...
...
@@ -8,7 +8,7 @@
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
div
class
=
"col-sm-4 d-flex justify-content-center "
>
<
a
href
=
"
#
"
style
=
"text-decoration:none; color: inherit;"
>
<
a
href
=
"
{{ route('avaliador.editais') }}
"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 18rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Editais
</
h2
>
...
...
@@ -17,25 +17,6 @@
</
div
>
</
a
>
</
div
>
<
div
class
=
"col-sm-4 d-flex justify-content-center"
>
<
a
href
=
"{{ route('visualizarTrabalho') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 18rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Trabalhos
</
h2
>
</
div
>
</
div
>
</
a
>
</
div
>
<
div
class
=
"col-sm-4 d-flex justify-content-center"
>
<
a
href
=
"{{ route('admin.usuarios') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 18rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Usuários
</
h2
>
</
div
>
</
div
>
</
a
>
</
div
>
</
div
>
...
...
resources/views/avaliador/listarTrabalhos.blade.php
View file @
561a6f19
...
...
@@ -7,7 +7,7 @@
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-10"
>
<
h3
>
Trabalhos
</
h3
>
<
h3
>
Trabalhos
do
Edital
:
{{
$evento
->
nome
}}
</
h3
>
</
div
>
</
div
>
</
div
>
...
...
@@ -25,9 +25,25 @@
@
foreach
(
$trabalhos
as
$trabalho
)
<
tr
>
<
td
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
create_at
}}
</
td
>
<
td
>
baixar
</
td
>
<
td
>
parecer
</
td
>
<
td
>
{{
$trabalho
->
created_at
}}
</
td
>
<
td
>
{{
--
{{
route
(
'download'
,
[
'file'
=>
$arquivo
])}}
--
}}
<
a
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
>
</
td
>
<
td
>
<
div
class
=
"row"
>
<
form
action
=
"{{ route('avaliador.parecer', ['evento' =>
$evento
]) }}"
method
=
"POST"
>
@
csrf
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"{{
$trabalho->id
}}"
>
<
button
type
=
"submit"
class
=
"btn btn-primary mr-2 ml-2"
>
Parecer
</
button
>
</
form
>
</
div
>
</
td
>
</
tr
>
@
endforeach
</
tbody
>
...
...
resources/views/avaliador/parecer.blade.php
0 → 100644
View file @
561a6f19
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container content"
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-sm-12"
>
<
div
class
=
"card"
style
=
"margin-top:50px"
>
<
div
class
=
"card-body"
>
<
h5
class
=
"card-title"
>
Meu
Parecer
</
h5
>
<
h6
class
=
"card-title"
>
Trabalho
:
{{
$trabalho
->
titulo
}}
</
h6
>
<
p
class
=
"card-text"
>
<
form
method
=
"POST"
action
=
"
{
{route('avaliador.enviarParecer')}
}
"
enctype
=
"multipart/form-data"
>
@
csrf
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"{{
$trabalho->id
}}"
>
<
input
type
=
"hidden"
name
=
"evento_id"
value
=
"{{
$evento->id
}}"
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleFormControlTextarea1"
>
Parecer
:</
label
>
<
textarea
class
=
"form-control"
id
=
"exampleFormControlTextarea1"
rows
=
"3"
name
=
"textParecer"
>
{{
$trabalho
->
pivot
->
parecer
}}
</
textarea
>
</
div
>
<
select
class
=
"custom-select"
name
=
"recomendacao"
>
@
foreach
(
$recomendacaos
as
$recomendacao
)
@
if
(
$trabalho
->
pivot
->
recomendacao
==
$recomendacao
->
nome
)
<
option
selected
value
=
"{{
$recomendacao->nome
}}"
>
{{
$recomendacao
->
nome
}}
</
option
>
@
else
<
option
value
=
"{{
$recomendacao->nome
}}"
>
{{
$recomendacao
->
nome
}}
</
option
>
@
endif
@
endforeach
</
select
>
<
div
class
=
"form-group"
>
@
if
(
$trabalho
->
pivot
->
AnexoParecer
==
null
)
<
label
for
=
"exampleFormControlFile1"
>
Anexo
do
Parecer
:</
label
>
<
input
type
=
"file"
class
=
"form-control-file"
id
=
"exampleFormControlFile1"
name
=
"anexoParecer"
>
@
else
<
label
for
=
"exampleFormControlFile1"
>
Já
existe
um
arquivo
,
quer
atualizar
?</
label
>
<
br
>
<
input
type
=
"file"
class
=
"form-control-file"
id
=
"exampleFormControlFile1"
name
=
"anexoParecer"
>
@
endif
</
div
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
>
Enviar
</
button
>
<
a
href
=
"{{ route('avaliador.visualizarTrabalho', ['evento_id' =>
$evento->id
])}}"
class
=
"btn btn-danger"
>
Cancelar
</
a
>
</
form
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endsection
@
section
(
'javascript'
)
<
script
type
=
"text/javascript"
>
</
script
>
@
endsection
resources/views/componentes/popup.blade.php
0 → 100644
View file @
561a6f19
<div
class=
"modal"
tabindex=
"-1"
role=
"dialog"
id=
"{{$id}}"
style=
"color:black"
>
<div
class=
"modal-dialog modal-dialog-centered"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h5
class=
"modal-title"
>
<strong>
{{$titulo}}
</strong>
</h5>
</button>
</div>
<div
class=
"modal-body"
id=
"modalBody"
>
{{$conteudo}}
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-secondary"
data-dismiss=
"modal"
>
Fechar
</button>
</div>
</div>
</div>
</div>
{{-- @component('componentes.popup', [
"titulo"=>"Informações:",
"conteudo"=>$requisicao_documento['detalhes'],
"id"=>$requisicao_documento['id']
])
@endcomponent --}}
\ No newline at end of file
resources/views/evento/criarEvento.blade.php
View file @
561a6f19
...
...
@@ -15,7 +15,7 @@
</
div
>
{{
--
nome
|
Participantes
|
Tipo
--
}}
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-sm-
9
"
>
<
div
class
=
"col-sm-
6
"
>
<
label
for
=
"nome"
class
=
"col-form-label"
>
{{
__
(
'Nome'
)
}}
</
label
>
<
input
id
=
"nome"
type
=
"text"
class
=
"form-control @error('nome') is-invalid @enderror"
name
=
"nome"
value
=
"{{ old('nome') }}"
required
autocomplete
=
"nome"
autofocus
>
...
...
@@ -40,6 +40,21 @@
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-sm-3"
>
<
label
for
=
"natureza"
class
=
"col-form-label"
>
{{
__
(
'Natureza'
)
}}
</
label
>
<
select
id
=
"natureza"
type
=
"text"
class
=
"form-control @error('natureza') is-invalid @enderror"
name
=
"natureza"
value
=
"{{ old('natureza') }}"
required
>
@
foreach
(
$naturezas
as
$natureza
)
<
option
value
=
"{{
$natureza->id
}}"
>
{{
$natureza
->
nome
}}
</
option
>
@
endforeach
</
select
>
@
error
(
'natureza'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
{{
--
end
nome
|
Participantes
|
Tipo
--
}}
{{
--
Descricao
Edital
--
}}
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
561a6f19
...
...
@@ -31,14 +31,14 @@
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-sm-4"
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Grande Área:'
)
}}
</
label
>
<
select
class
=
"form-control @error('grandeArea') is-invalid @enderror"
id
=
"grandeArea"
name
=
"grandeArea
Id
"
>
<
select
class
=
"form-control @error('grandeArea') is-invalid @enderror"
id
=
"grandeArea"
name
=
"grandeArea"
>
<
option
value
=
""
disabled
selected
hidden
>--
Grande
Área
--</
option
>
@
foreach
(
$grandeAreas
as
$grandeArea
)
<
option
value
=
"
{
{$grandeArea->id}}">{{$grandeArea->nome}
}
</option>
@endforeach
</select>
@error('grandeArea
Id
')
@error('grandeArea')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
...
...
@@ -46,14 +46,14 @@
</div>
<div class="
col
-
sm
-
4
">
<label for="
area
" class="
col
-
form
-
label
">{{ __('Área:') }}</label>
<select class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" id="
area
" name="
area
Id
">
<select class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" id="
area
" name="
area
">
<option value="" disabled selected hidden>-- Área --</option>
@foreach(
$areas
as
$area
)
<option value="
{{
$area
->
id
}}
">
{
{$area->nome}
}
</option>
@endforeach
</select>
@error('area
Id
')
@error('area')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
...
...
@@ -61,14 +61,14 @@
</div>
<div class="
col
-
sm
-
4
">
<label for="
subArea
" class="
col
-
form
-
label
">{{ __('Sub Área:') }}</label>
<select class="
form
-
control
@
error
(
'subArea'
)
is
-
invalid
@
enderror
" id="
subArea
" name="
subArea
Id
">
<select class="
form
-
control
@
error
(
'subArea'
)
is
-
invalid
@
enderror
" id="
subArea
" name="
subArea
">
<option value="" disabled selected hidden>-- Sub Área --</option>
@foreach(
$subAreas
as
$subArea
)
<option value="
{{
$subArea
->
id
}}
">
{
{$subArea->nome}
}
</option>
@endforeach
</select>
@error('subArea
Id
')
@error('subArea')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
...
...
@@ -95,37 +95,41 @@
<input class="
form
-
control
" type="
text
" id="
nomeCoordenador
" name="
nomeCoordenador
" disabled="
disabled
" value="
{{
Auth
()
->
user
()
->
name
}}
">
</div>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Pontuação da Planilha de Pontuação :') }}</label>
<input class="
form
-
control
" type="
text
" name="
pontuacaoPlanilha
">
</div>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Link do grupo de pesquisa:') }}</label>
<input class="
form
-
control
" type="
text
" name="
linkGrupo
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">Link Lattes do Proponente</label>
<input class="
form
-
control
@
error
(
'linkLattesEstudante'
)
is
-
invalid
@
enderror
" type="
text
" name="
linkLattesEstudante
"
@if(Auth()->user()->proponentes->linkLattes != null)
value="
{{
Auth
()
->
user
()
->
proponentes
->
linkLattes
}}
"
@else
value=""
@endif >
@error('linkLattesEstudante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">Link Lattes do Estudante</label>
<input class="
form
-
control
" type="
text
" name="
linkLattesEstudante
">
</div>
</div>
{{-- Pontuação da Planilha de Pontuação --}}
<div class="
row
justify
-
content
-
center
mt
-
2
">
{{-- Nome Trabalho --}}
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Pontuação da Planilha de Pontuação :') }}</label>
<input class="
form
-
control
@
error
(
'pontuacaoPlanilha'
)
is
-
invalid
@
enderror
" type="
text
" name="
pontuacaoPlanilha
">
@error('pontuacaoPlanilha')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Link do grupo de pesquisa:') }}</label>
<input class="
form
-
control
@
error
(
'linkGrupo'
)
is
-
invalid
@
enderror
" type="
text
" name="
linkGrupo
">
{{-- Link do grupo de pesquisa --}}
<div class="
row
justify
-
content
-
center
mb
-
3
">
@error('linkGrupo')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
{{-- Link do grupo de pesquisa --}}
<div class="
row
justify
-
content
-
center
mb
-
3
">
</div>
<hr>
...
...
@@ -134,14 +138,13 @@
{{-- Anexo do Projeto --}}
<div class="
row
justify
-
content
-
center
">
{{-- Arquivo --}}
<div class="
col
-
sm
-
6
"
>
<div class="
col
-
sm
-
6
">
<label for="
anexoProjeto
" class="
col
-
form
-
label
">{{ __('Anexo Projeto:') }}</label>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
anexoProjeto
"
aria-describedby="
inputGroupFileAddon01
" name="
anexoProjeto
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoProjeto'
)
is
-
invalid
@
enderror
" id="
anexoProjeto
" aria-describedby="
inputGroupFileAddon01
" name="
anexoProjeto
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
anexoProjeto
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
...
...
@@ -152,87 +155,102 @@
@enderror
</div>
<div class="
col
-
sm
-
6
"
>
<div class="
col
-
sm
-
6
">
<label for="
anexoLatterCoordenador
" class="
col
-
form
-
label
">{{ __('Anexo do Lattes do Coordenador:') }}</label>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
inputGroupFile01
"
aria-describedby="
anexoLatterCoordenador
" name="
anexoLatterCoordenador
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoLatterCoordenador'
)
is
-
invalid
@
enderror
" id="
inputGroupFile01
" aria-describedby="
anexoLatterCoordenador
" name="
anexoLatterCoordenador
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('arquivo
')
@error('anexoLatterCoordenador
')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
6
" >
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Autorização do Comitê de Ética:') }}</label>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Possui autorização do Comitê de Ética:') }}</label>
<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>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
inputGroupFile01
"
aria-describedby="
inputGroupFileAddon01
" name="
anexoComiteEtica
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoComiteEtica'
)
is
-
invalid
@
enderror
" id="
inputEtica
" aria-describedby="
inputGroupFileAddon01
" name="
anexoComiteEtica
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('arquivo
')
@error('anexoComiteEtica
')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
6
"
>
<div class="
col
-
sm
-
6
mt
-
3
"
>
<label for="
anexoPlanilha
" class="
col
-
form
-
label
">{{ __('Anexo do Planilha de Pontuação :') }}</label>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
anexoPlanilha
"
aria-describedby="
anexoPlanilhaDescribe
" name="
anexoPlanilha
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoPlanilha'
)
is
-
invalid
@
enderror
" id="
anexoPlanilha
" aria-describedby="
anexoPlanilhaDescribe
" name="
anexoPlanilha
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
anexoPlanilha
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('arquivo
')
@error('anexoPlanilha
')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Justificativa:') }}</label>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'justificativaAutorizacaoEtica'
)
is
-
invalid
@
enderror
" id="
inputJustificativa
" aria-describedby="
inputGroupFileAddon01
" disabled="
disabled
" name="
justificativaAutorizacaoEtica
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('justificativaAutorizacaoEtica')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
@if(
$edital->tipo
== 'PIBIC' ||
$edital->tipo
== 'PIBIC-EM')
{{-- Decisão do CONSU --}}
<div class="
row
justify
-
content
-
center
">
{{-- Arquivo --}}
<div class="
col
-
sm
-
12
" >
<div class="
col
-
sm
-
6
">
<label for="
anexoCONSU
" class="
col
-
form
-
label
">{{ __('Decisão do CONSU:') }}</label>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
anexoCONSU
"
aria-describedby="
inputGroupFileAddon01
" name="
anexoCONSU
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoCONSU'
)
is
-
invalid
@
enderror
" id="
anexoCONSU
" aria-describedby="
inputGroupFileAddon01
" name="
anexoCONSU
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('arquivo
')
@error('anexoCONSU
')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
@endif
</div>
<hr>
<h4>Participantes</h4>
...
...
@@ -241,82 +259,68 @@
<div class="
row
" style="
margin
-
top
:
20
px
">
<div class="
col
-
sm
-
12
">
<div id="
participantes
">
<div id="
novoParticipante
">
<br>
<h5>Dados do participante</h5>
<div class="
row
">
<div class="
col
-
sm
-
5
">
<label>Nome Completo</label>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
nomeParticipante
[]
" placeholder="
Nome
" required>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomeParticipante'
)
is
-
invalid
@
enderror
" name="
nomeParticipante
[]
" placeholder="
Nome
" required>
@error('nomeParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
4
">
<label>E-mail</label>
<input type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
emailParticipante
[]
" placeholder="
E
-
mail
" required>
<input type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'emailParticipante'
)
is
-
invalid
@
enderror
" name="
emailParticipante
[]
" placeholder="
email
" required>
@error('emailParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
2
">
<label for="
funcaoParticipante
" class="
col
-
form
-
label
">{{ __('
Função:
') }}
</label>
<select class="
form
-
control
@
error
(
'funcaoParticipante'
)
is
-
invalid
@
enderror
"
id="
funcaoParticipante
"
name="
funcaoParticipante
[]
">
<div class="
col
-
sm
-
3
">
<label>
Função:</label>
<select class="
form
-
control
@
error
(
'funcaoParticipante'
)
is
-
invalid
@
enderror
" name="
funcaoParticipante
[]
"
id="
funcaoParticipante
"
>
<option value="" disabled selected hidden>-- Função --</option>
@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)
<option value="
{{
$funcaoParticipante
->
id
}}
">
{
{$funcaoParticipante->nome}
}
</option>
@endforeach
</select>
</div>
<div class="
col
-
sm
-
1
">
<a class="
delete
">
<img src="
/
img
/
icons
/
user
-
times
-
solid
.
svg
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
</a>
</div>
</div>
<div class="
row
">
<div class="
col
-
sm
-
5
">
<label>Nome Completo</label>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
nomeParticipante
[]
" placeholder="
Nome
" required>
</div>
<div class="
col
-
sm
-
4
">
<label>E-mail</label>
<input type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
emailParticipante
[]
" placeholder="
E
-
mail
" required>
</div>
<div class="
col
-
sm
-
2
">
<label for="
funcaoParticipante
" class="
col
-
form
-
label
">{{ __('Função:') }}</label>
<select class="
form
-
control
@
error
(
'funcaoParticipante'
)
is
-
invalid
@
enderror
" id="
funcaoParticipante
" name="
funcaoParticipante
[]
">
<option value="" disabled selected hidden>-- Função --</option>
@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)
<option value="
{{
$funcaoParticipante
->
id
}}
">
{
{$funcaoParticipante->nome}
}
</option>
@endforeach
@error('funcaoParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</select>
</div>
<div class="
col
-
sm
-
1
">
<a class="
delete
">
<img src="
/
img
/
icons
/
user
-
times
-
solid
.
svg
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
</a>
</div>
</div>
</div>
<a href="
#" class="btn btn-primary" id="addCoautor" style="width:100%;margin-top:10px">Participantes +</a>
</
div
>
</div>
{{
--
Plano
de
Trabalho
--
}}
<
h4
class
=
"mt-3"
>
Plano
de
Trabalho
</
h4
>
<
div
class
=
"row"
style
=
"margin-top:20px"
>
<h5>Dados do plano de trabalho</h5>
<div class="
row
">
<div class="
col
-
sm
-
12
">
<div id="
planoTrabalho
">
<div class="
row
">
<div class="
col
-
sm
-
4
">
<label>Titulo </label>
<
input
type
=
"text"
style
=
"margin-bottom:10px"
class
=
"form-control emailCoautor"
name
=
"nomePlanoTrabalho[]"
placeholder
=
"Nome"
required
>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomePlanoTrabalho'
)
is
-
invalid
@
enderror
" name="
nomePlanoTrabalho
[]
" placeholder="
Nome
" required>
@error('nomePlanoTrabalho')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
{{-- Arquivo --}}
<div class="
col
-
sm
-
7
">
<
label
for
=
"nomeTrabalho"
>
Anexo
</
label
>
<
div
class
=
"input-group"
>
<label for="
nomeTrabalho
">Anexo</label>
<div class="
input
-
group
">
<div class="
input
-
group
-
prepend
">
<span class="
input
-
group
-
text
" id="
anexoPlanoTrabalho
">Selecione um arquivo:</span>
</div>
<div class="
custom
-
file
">
<
input
type
=
"file"
class
=
"custom-file-input"
id
=
"anexoPlanoTrabalho"
aria
-
describedby
=
"anexoPlanoTrabalho"
name
=
"anexoPlanoTrabalho[]"
>
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoPlanoTrabalho'
)
is
-
invalid
@
enderror
" id="
anexoPlanoTrabalho
" aria-describedby="
anexoPlanoTrabalho
" name="
anexoPlanoTrabalho
[]
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
...
...
@@ -327,15 +331,17 @@
@enderror
</div>
<div class="
col
-
sm
-
1
">
<
a
class
=
"delete
Plano
"
>
<a class="
delete
">
<img src="
/
img
/
icons
/
user
-
times
-
solid
.
svg
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
</a>
</div>
</div>
</div>
<
a
href
=
"#"
class
=
"btn btn-primary"
id
=
"addPlanoTrabalho"
style
=
"width:100%;margin-top:10px"
>
Plano
de
Trabalho
+</
a
>
</div>
</div>
</div>
</div>
<a href="
#" class="btn btn-primary" id="addCoautor" style="width:100%;margin-top:10px">Participantes +</a>
</
div
>
</
div
>
...
...
@@ -361,15 +367,12 @@
@
section
(
'javascript'
)
<
script
type
=
"text/javascript"
>
$
(
function
(){
$
(
function
()
{
var
qtdLinhas
=
1
;
var
qtdParticipantes
=
2
;
// Coautores
$
(
'#addCoautor'
)
.
click
(
function
(
e
){
if
(
qtdParticipantes
<
100
){
$
(
'#addCoautor'
)
.
click
(
function
(
e
)
{
if
(
qtdParticipantes
<
100
)
{
e
.
preventDefault
();
linha
=
montarLinhaInput
();
$
(
'#participantes'
)
.
append
(
linha
);
...
...
@@ -377,91 +380,114 @@
}
});
$
(
'#addPlanoTrabalho'
)
.
click
(
function
(
e
){
$
(
'#addPlanoTrabalho'
)
.
click
(
function
(
e
)
{
e
.
preventDefault
();
if
(
qtdLinhas
<
4
){
if
(
qtdLinhas
<
4
)
{
linha
=
montarLinhaInputPlanoTrabalho
();
$
(
'#planoTrabalho'
)
.
append
(
linha
);
qtdLinhas
++
;
}
});
// Exibir modalidade de acordo com a área
$
(
"#area"
)
.
change
(
function
(){
$
(
"#area"
)
.
change
(
function
()
{
console
.
log
(
$
(
this
)
.
val
());
addModalidade
(
$
(
this
)
.
val
());
});
$
(
document
)
.
on
(
'click'
,
'.delete'
,
function
(){
if
(
qtdParticipantes
>
2
){
$
(
document
)
.
on
(
'click'
,
'.delete'
,
function
()
{
if
(
qtdParticipantes
>
2
)
{
qtdParticipantes
--
;
$
(
this
)
.
closest
(
'
.row
'
)
.
remove
();
$
(
this
)
.
closest
(
'
#novoParticipante
'
)
.
remove
();
return
false
;
}
});
$
(
document
)
.
on
(
'click'
,
'.deletePlano'
,
function
(){
if
(
qtdLinhas
>
1
){
$
(
document
)
.
on
(
'click'
,
'.deletePlano'
,
function
()
{
if
(
qtdLinhas
>
1
)
{
qtdLinhas
--
;
$
(
"#planoTrabalho div.row:last"
)
.
remove
();
return
false
;
}
});
$
(
'#anexoProjeto'
)
.
on
(
'change'
,
function
(){
$
(
'#anexoProjeto'
)
.
on
(
'change'
,
function
()
{
//get the file name
var
fileName
=
$
(
this
)
.
val
();
//replace the "Choose a file" label
$
(
this
)
.
next
(
'#custom-file-label'
)
.
html
(
fileName
);
})
// F
$
(
'#buttonSim'
)
.
on
(
'click'
,
function
(
e
)
{
e
.
preventDefault
();
$
(
'#inputEtica'
)
.
prop
(
'disabled'
,
false
);
$
(
'#inputJustificativa'
)
.
prop
(
'disabled'
,
true
);
});
$
(
'#buttonNao'
)
.
on
(
'click'
,
function
(
e
)
{
e
.
preventDefault
();
$
(
'#inputEtica'
)
.
prop
(
'disabled'
,
true
);
$
(
'#inputJustificativa'
)
.
prop
(
'disabled'
,
false
);
console
.
log
(
'button nao'
);
});
});
// Remover Coautor
function
addModalidade
(
areaId
){
function
addModalidade
(
areaId
)
{
console
.
log
(
modalidades
)
$
(
"#modalidade"
)
.
empty
();
for
(
let
i
=
0
;
i
<
modalidades
.
length
;
i
++
){
if
(
modalidades
[
i
]
.
areaId
==
areaId
){
for
(
let
i
=
0
;
i
<
modalidades
.
length
;
i
++
)
{
if
(
modalidades
[
i
]
.
areaId
==
areaId
)
{
console
.
log
(
modalidades
[
i
]);
$
(
"#modalidade"
)
.
append
(
"<option value="
+
modalidades
[
i
]
.
modalidadeId
+
">"
+
modalidades
[
i
]
.
modalidadeNome
+
"</option>"
)
$
(
"#modalidade"
)
.
append
(
"<option value="
+
modalidades
[
i
]
.
modalidadeId
+
">"
+
modalidades
[
i
]
.
modalidadeNome
+
"</option>"
)
}
}
}
function
montarLinhaInput
(){
return
"<div class="
+
"row"
+
">"
+
function
montarLinhaInput
()
{
return
"<div id="
+
"novoParticipante"
+
">"
+
"<br><h5>Dados do participante</h5>"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"col-sm-5"
+
">"
+
"<label>Nome Completo</label>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'nomeParticipante[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control'
+
" @error('nomeParticipante') is-invalid @enderror"
+
"name="
+
'nomeParticipante[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"@error('nomeParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<label>E-mail</label>"
+
"<input"
+
" type="
+
'email'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'emailParticipante[]'
+
" placeholder="
+
"E-mail"
+
" required>"
+
"<input type='email'"
+
"style='margin-bottom:10px'"
+
"class="
+
"form-control @error('emailParticipante') is-invalid @enderror"
+
"name='emailParticipante[]'"
+
"placeholder='email' required>"
+
"@error('emailParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"<div class='col-sm-
2
'>"
+
"<label
for='funcaoParticipante' class='col-form-label'
>Função:</label>"
+
"<select class="
+
"form-control @error('funcaoParticipante') is-invalid @enderror"
+
" id="
+
"
funcaoParticipante
"
+
"name="
+
"
funcaoParticipante
[]"
+
">"
+
"<div class='col-sm-
3
'>"
+
"<label>Função:</label>"
+
"<select class="
+
"form-control @error('funcaoParticipante') is-invalid @enderror"
+
"name='
funcaoParticipante
[]'"
+
"id='
funcaoParticipante
'> "
+
"<option value='' disabled selected hidden> Função </option>"
+
"@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)"
+
"<option value='
{
{$funcaoParticipante->id}}'>{{$funcaoParticipante->nome}
}
</option>"
+
"@endforeach"
+
"@error('funcaoParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</select>"
+
"</div>"
+
"<div class="
+
"col-sm-1"
+
">"
+
"<a class="
+
"delete"
+
">"
+
"<img src="
+
"/img/icons/user-times-solid.svg"
+
" style="
+
"width:25px;margin-top:35px"
+
">"
+
"</a>"
+
"</div>"
+
"</div>"
;
}
function
montarLinhaInputPlanoTrabalho
(){
return
"<div class="
+
"row"
+
">"
+
"</div>"
+
"<h5>Dados do plano de trabalho</h5>"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<label>Nome Completo</label>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'nomePlanoTrabalho[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"<label>Titulo</label>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
"form-control @error('nomePlanoTrabalho') is-invalid @enderror"
+
" name="
+
'nomePlanoTrabalho[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"@error('nomePlanoTrabalho')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"<div class="
+
"col-sm-7"
+
">"
+
"<label for="
+
"nomeTrabalho"
+
">Anexo </label>"
+
...
...
@@ -471,24 +497,57 @@
"<span class='input-group-text' id='inputGroupFileAddon01'>Selecione um arquivo:</span>"
+
"</div>"
+
"<div class='custom-file'>"
+
"<input type='file' class='custom-file-input
'
id='inputGroupFile01'"
+
"<input type='file' class='custom-file-input
@error('anexoPlanoTrabalho') is-invalid @enderror"
+
"
id='inputGroupFile01'"
+
"aria-describedby='inputGroupFileAddon01' name='anexoPlanoTrabalho[]'>"
+
"<label class='custom-file-label' id='custom-file-label' for='inputGroupFile01'>O arquivo deve ser no formato PDF de até 2mb.</label>"
+
"</div>"
+
"</div>"
+
"@error('a
rquiv
o')"
+
"@error('a
nexoPlanoTrabalh
o')"
+
"<span class='invalid-feedback' role='alert' style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"<div class="
+
"col-sm-1"
+
">"
+
"<a class="
+
"delete
Plano
"
+
">"
+
"<a
class="
+
"delete"
+
">"
+
"<img src="
+
"/img/icons/user-times-solid.svg"
+
" style="
+
"width:25px;margin-top:35px"
+
">"
+
"</a>"
+
"</div>"
+
"</div>"
+
"</div>"
;
}
// function montarLinhaInputPlanoTrabalho(){
// return "<div class="+"row"+">"+
// "<div class="+"col-sm-4"+">"+
// "<label>Nome Completo</label>"+
// "<input"+" type="+'text'+" style="+"margin-bottom:10px"+" class="+'form-control emailCoautor'+" name="+'nomePlanoTrabalho[]'+" placeholder="+"Nome"+" required>"+
// "</div>"+
// "<div class="+"col-sm-7" +">"+
// "<label for="+"nomeTrabalho"+">Anexo </label>"+
// "<div class="+"input-group"+">"+
// "<div class='input-group-prepend'>"+
// "<span class='input-group-text' id='inputGroupFileAddon01'>Selecione um arquivo:</span>"+
// "</div>"+
// "<div class='custom-file'>"+
// "<input type='file' class='custom-file-input' id='inputGroupFile01'"+
// "aria-describedby='inputGroupFileAddon01' name='anexoPlanoTrabalho[]'>"+
// "<label class='custom-file-label' id='custom-file-label' for='inputGroupFile01'>O arquivo deve ser no formato PDF de até 2mb.</label>"+
// "</div>"+
// "</div>"+
// "@error('arquivo')"+
// "<span class='invalid-feedback' role='alert' style='overflow: visible; display:block'>"+
// "<strong>{{ $message }}</strong>"+
// "</span>"+
// "@enderror"+
// "</div>"+
// "<div class="+"col-sm-1"+">"+
// "<a class="+"deletePlano"+">"+
// "<img src="+"/img/icons/user-times-solid.svg"+" style="+"width:25px;margin-top:35px"+">"+
// "</a>"+
// "</div>"+
// "</div>";
// }
</
script
>
@
endsection
\ No newline at end of file
resources/views/naturezas/index.blade.php
View file @
561a6f19
...
...
@@ -2,43 +2,150 @@
@
section
(
'content'
)
<
div
class
=
"container"
>
<
h2
style
=
"margin-top: 100px; "
>
Administrador
</
h2
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
div
class
=
"col-sm-4 d-flex justify-content-center "
>
<
a
href
=
"{{ route('grandearea.index') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 18rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Grande
Area
</
h2
>
<
div
class
=
"container"
>
{{
--
Modal
criar
nova
natureza
--
}}
<
div
class
=
"modal fade"
id
=
"modalNewCenter"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"modalCenterTitle"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered"
role
=
"document"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLongTitle"
>
{{
__
(
'Nova natureza'
)}}
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
<
form
id
=
"formNew"
method
=
"POST"
action
=
"{{ route('natureza.salvar') }}"
>
@
csrf
<
input
form
=
"formNew"
type
=
"text"
value
=
""
class
=
"form-control @error('nome') is-invalid @enderror"
name
=
"nome"
required
autocomplete
=
"nome"
autofocus
>
@
error
(
'nome'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
form
>
</
div
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
data
-
dismiss
=
"modal"
>
{{
__
(
'Cancelar'
)}}
</
button
>
<
button
type
=
"button"
onclick
=
"submeterFormNew()"
class
=
"btn btn-primary"
>
{{
__
(
'Salvar'
)}}
</
button
>
</
div
>
</
div
>
</
div
>
</
a
>
</
div
>
<
div
class
=
"row"
>
@
if
(
session
(
'mensagem'
))
<
div
class
=
"col-md-12"
style
=
"margin-top: 100px;"
>
<
div
class
=
"alert alert-success"
>
<
p
>
{{
session
(
'mensagem'
)}}
</
p
>
</
div
>
</
div
>
@
endif
<
div
class
=
"col-sm-9"
>
<
h2
style
=
"margin-top: 100px; "
>
{{
__
(
'Naturezas'
)
}}
</
h2
>
</
div
>
<
div
class
=
"col-sm-3"
>
<
a
href
=
""
class
=
"btn btn-primary"
style
=
"position:relative;top:100px;"
data
-
toggle
=
"modal"
data
-
target
=
"#modalNewCenter"
>
{{
__
(
'Criar natureza'
)
}}
</
a
>
</
div
>
</
div
>
<
div
class
=
"col-sm-4 d-flex justify-content-center"
>
<
a
href
=
"{{ route('area.index') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 18rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Area
</
h2
>
<
hr
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Nome
</
th
>
<
th
scope
=
"col"
>
Data
de
criação
</
th
>
<
th
scope
=
"col"
>
Opção
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$naturezas
as
$natureza
)
<!--
Modal
Editar
-->
<
div
class
=
"modal fade"
id
=
"modalEditCenter
{
{$natureza->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"modalCenterTitle"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered"
role
=
"document"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLongTitle"
>
{{
__
(
'Editar natureza'
)}}
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
<
form
id
=
"formEdit{{
$natureza->id
}}"
action
=
"{{ route('natureza.atualizar', ['id' =>
$natureza->id
]) }}"
>
@
csrf
<
input
form
=
"formEdit{{
$natureza->id
}}"
type
=
"text"
value
=
"{{
$natureza->nome
}}"
class
=
"form-control @error('nomeEditavel') is-invalid @enderror"
name
=
"nomeEditavel"
required
autocomplete
=
"nome"
autofocus
>
@
error
(
'nomeEditavel'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
form
>
</
div
>
</
a
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
data
-
dismiss
=
"modal"
>
{{
__
(
'Cancelar'
)}}
</
button
>
<
button
type
=
"button"
onclick
=
"submeterFormEdit('{{
$natureza->id
}}')"
class
=
"btn btn-primary"
>
{{
__
(
'Salvar'
)}}
</
button
>
</
div
>
<
div
class
=
"col-sm-4 d-flex justify-content-center"
>
<
a
href
=
"{{ route('subarea.index') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 18rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Subárea
</
h2
>
</
div
>
</
div
>
</
div
>
<!--
Modal
Excluir
-->
<
div
class
=
"modal fade"
id
=
"modalDelCenter
{
{$natureza->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"modalCenterTitle"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered"
role
=
"document"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLongTitle"
>
{{
__
(
'Deletar natureza'
)}}
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
{{
__
(
'Tem certeza que deseja deletar essa natureza?'
)}}
</
div
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
data
-
dismiss
=
"modal"
>
{{
__
(
'Não'
)}}
</
button
>
<
a
href
=
"{{ route('natureza.deletar', ['id' =>
$natureza->id
]) }}"
type
=
"button"
onclick
=
"submeterFormDel('{{
$natureza->id
}}')"
class
=
"btn btn-primary"
>
{{
__
(
'Sim'
)}}
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
<
tr
>
<
td
>
{{
$natureza
->
nome
}}
</
td
>
<
td
>
{{
$natureza
->
creat_at
}}
</
td
>
<
td
>
<
div
class
=
"btn-group dropright dropdown-options"
>
<
a
id
=
"options"
class
=
"dropdown-toggle "
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
</
a
>
<
div
class
=
"dropdown-menu"
>
<
a
class
=
"dropdown-item"
data
-
toggle
=
"modal"
data
-
target
=
"#modalEditCenter
{
{$natureza->id}
}
"
class
=
"dropdown-item"
>
<
img
src
=
"
{
{asset('img/icons/edit-regular.svg')}
}
"
class
=
"icon-card"
alt
=
""
>
{{
__
(
'Editar'
)}}
</
a
>
<
a
class
=
"dropdown-item"
data
-
toggle
=
"modal"
data
-
target
=
"#modalDelCenter
{
{$natureza->id}
}
"
class
=
"dropdown-item"
>
<
img
src
=
"
{
{asset('img/icons/trash-alt-regular.svg')}
}
"
class
=
"icon-card"
alt
=
""
>
{{
__
(
'Deletar'
)}}
</
a
>
</
div
>
</
div
>
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
</
div
>
@
endsection
@
section
(
'javascript'
)
<
script
>
function
submeterFormNew
()
{
var
form
=
document
.
getElementById
(
'formNew'
);
form
.
submit
();
}
function
submeterFormEdit
(
id
)
{
var
form
=
document
.
getElementById
(
'formEdit'
+
id
);
form
.
submit
();
}
</
script
>
@
endsection
\ No newline at end of file
resources/views/participante/index.blade.php
View file @
561a6f19
...
...
@@ -8,7 +8,7 @@
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
div
class
=
"col-sm-4 d-flex justify-content-center "
>
<
a
href
=
"
#
"
style
=
"text-decoration:none; color: inherit;"
>
<
a
href
=
"
{
{route('admin.editais')}
}
"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 18rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Editais
</
h2
>
...
...
resources/views/projeto/editar.blade.php
0 → 100644
View file @
561a6f19
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container content"
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-sm-12"
>
<
div
class
=
"card"
style
=
"margin-top:50px"
>
<
div
class
=
"card-body"
>
<
h5
class
=
"card-title"
>
Editar
Projeto
</
h5
>
<
p
class
=
"card-text"
>
<
form
method
=
"POST"
action
=
"{{ route('trabalho.update', ['id' =>
$projeto->id
]) }}"
enctype
=
"multipart/form-data"
>
@
csrf
<
input
type
=
"hidden"
name
=
"editalId"
value
=
"{{
$edital->id
}}"
>
{{
--
Nome
do
Projeto
--
}}
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-sm-12"
>
<
label
for
=
"nomeTrabalho"
class
=
"col-form-label"
>
{{
__
(
'Nome do Projeto:'
)
}}
</
label
>
<
input
id
=
"nomeTrabalho"
value
=
"{{
$projeto->titulo
}}"
type
=
"text"
class
=
"form-control @error('nomeTrabalho') is-invalid @enderror"
name
=
"nomeProjeto"
value
=
"{{ old('nomeTrabalho') }}"
required
autocomplete
=
"nomeTrabalho"
autofocus
>
@
error
(
'nomeTrabalho'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
{{
--
Grande
Area
--
}}
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-sm-4"
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Grande Área:'
)
}}
</
label
>
<
select
class
=
"form-control @error('grandeArea') is-invalid @enderror"
id
=
"grandeArea"
name
=
"grandeArea"
>
<
option
value
=
""
disabled
selected
hidden
>--
Grande
Área
--</
option
>
@
foreach
(
$grandeAreas
as
$grandeArea
)
@
if
(
$grandeArea
->
id
===
$projeto
->
grande_area_id
)
<
option
value
=
"
{
{$grandeArea->id}
}
"
selected
>
{{
$grandeArea
->
nome
}}
</
option
>
@
else
<
option
value
=
"
{
{$grandeArea->id}}">{{$grandeArea->nome}
}
</option>
@endif
@endforeach
</select>
@error('grandeArea')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
4
">
<label for="
area
" class="
col
-
form
-
label
">{{ __('Área:') }}</label>
<select class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" id="
area
" name="
area
">
<option value="" disabled selected hidden>-- Área --</option>
@foreach(
$areas
as
$area
)
@if(
$area->id
===
$projeto->area_id
)
<option value="
{{
$area
->
id
}}
" selected>
{
{$area->nome}
}
</option>
@else
<option value="
{{
$area
->
id
}}
">
{
{$area->nome}
}
</option>
@endif
@endforeach
</select>
@error('area')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
4
">
<label for="
subArea
" class="
col
-
form
-
label
">{{ __('Sub Área:') }}</label>
<select class="
form
-
control
@
error
(
'subArea'
)
is
-
invalid
@
enderror
" id="
subArea
" name="
subArea
">
<option value="" disabled selected hidden>-- Sub Área --</option>
@foreach(
$subAreas
as
$subArea
)
@if(
$subArea->id
===
$projeto->sub_area_id
)
<option value="
{{
$subArea
->
id
}}
" selected>
{
{$subArea->nome}
}
</option>
@else
<option value="
{{
$subArea
->
id
}}
">
{
{$subArea->nome}
}
</option>
@endif
@endforeach
</select>
@error('subArea')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
<hr>
<h3>Coordenador</h3>
{{-- Coordenador --}}
<div class="
row
justify
-
content
-
center
">
<div class="
col
-
sm
-
6
">
<label for="
nomeCoordenador
" class="
col
-
form
-
label
">{{ __('Coordenador:') }}</label>
<input class="
form
-
control
" value="
{{
auth
()
->
user
()
->
name
}}
" type="
text
" id="
nomeCoordenador
" name="
nomeCoordenador
" disabled="
disabled
" value="
{{
Auth
()
->
user
()
->
name
}}
">
</div>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">Link Lattes do Proponente</label>
<input class="
form
-
control
@
error
(
'linkLattesEstudante'
)
is
-
invalid
@
enderror
" type="
text
" name="
linkLattesEstudante
"
@if(Auth()->user()->proponentes->linkLattes != null)
value="
{{
Auth
()
->
user
()
->
proponentes
->
linkLattes
}}
"
@else
value=""
@endif >
@error('linkLattesEstudante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Pontuação da Planilha de Pontuação :') }}</label>
<input value="
{{
$projeto
->
pontuacaoPlanilha
}}
" class="
form
-
control
@
error
(
'pontuacaoPlanilha'
)
is
-
invalid
@
enderror
" type="
text
" name="
pontuacaoPlanilha
">
@error('pontuacaoPlanilha')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Link do grupo de pesquisa:') }}</label>
<input value="
{{
$projeto
->
linkGrupoPesquisa
}}
" class="
form
-
control
@
error
(
'linkGrupo'
)
is
-
invalid
@
enderror
" type="
text
" name="
linkGrupo
">
@error('linkGrupo')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
<hr>
<h3>Anexos</h3>
{{-- Anexo do Projeto --}}
<div class="
row
justify
-
content
-
center
">
{{-- Arquivo --}}
<div class="
col
-
sm
-
6
">
<label for="
anexoProjeto
" class="
col
-
form
-
label
">{{ __('Anexo Projeto: ') }}</label> <a href="
{{
route
(
'baixar.anexo.projeto'
,
[
'id'
=>
$projeto
->
id
])}}
">Arquivo atual</a>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoProjeto'
)
is
-
invalid
@
enderror
" id="
anexoProjeto
" aria-describedby="
inputGroupFileAddon01
" name="
anexoProjeto
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
anexoProjeto
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('anexoProjeto')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
6
">
<label for="
anexoLatterCoordenador
" class="
col
-
form
-
label
">{{ __('Anexo do Lattes do Coordenador: ') }}</label><a href="
{{
route
(
'baixar.anexo.lattes'
,
[
'id'
=>
$projeto
->
id
])
}}
"> Arquivo atual</a>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoLatterCoordenador'
)
is
-
invalid
@
enderror
" id="
inputGroupFile01
" aria-describedby="
anexoLatterCoordenador
" name="
anexoLatterCoordenador
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('anexoLatterCoordenador')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Possui autorização do Comitê de Ética: ') }}</label><a href="
{{
route
(
'baixar.anexo.comite'
,
[
'id'
=>
$projeto
->
id
])
}}
"> Arquivo atual</a>
<br>
<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>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoComiteEtica'
)
is
-
invalid
@
enderror
" id="
inputEtica
" aria-describedby="
inputGroupFileAddon01
" name="
anexoComiteEtica
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('anexoComiteEtica')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
6
mt
-
3
">
<label for="
anexoPlanilha
" class="
col
-
form
-
label
">{{ __('Anexo do Planilha de Pontuação: ') }}</label><a href="
{{
route
(
'baixar.anexo.planilha'
,
[
'id'
=>
$projeto
->
id
])
}}
"> Arquivo atual</a>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoPlanilha'
)
is
-
invalid
@
enderror
" id="
anexoPlanilha
" aria-describedby="
anexoPlanilhaDescribe
" name="
anexoPlanilha
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
anexoPlanilha
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('anexoPlanilha')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Justificativa: ') }}</label>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'justificativaAutorizacaoEtica'
)
is
-
invalid
@
enderror
" id="
inputJustificativa
" aria-describedby="
inputGroupFileAddon01
" disabled="
disabled
" name="
justificativaAutorizacaoEtica
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('justificativaAutorizacaoEtica')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
@if(
$edital->tipo
== 'PIBIC' ||
$edital->tipo
== 'PIBIC-EM')
{{-- Decisão do CONSU --}}
<div class="
col
-
sm
-
6
">
<label for="
anexoCONSU
" class="
col
-
form
-
label
">{{ __('Decisão do CONSU: ') }}</label><a href="
{{
route
(
'baixar.anexo.consu'
,
[
'id'
=>
$projeto
->
id
])
}}
"> Arquivo atual</a>
<div class="
input
-
group
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoCONSU'
)
is
-
invalid
@
enderror
" id="
anexoCONSU
" aria-describedby="
inputGroupFileAddon01
" name="
anexoCONSU
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('anexoCONSU')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
@endif
</div>
<hr>
<h4>Participantes</h4>
{{-- Participantes --}}
<div class="
row
" style="
margin
-
top
:
20
px
">
<div class="
col
-
sm
-
12
">
<div id="
participantes
">
@foreach(
$participantes
as
$participante
)
<div id="
novoParticipante
">
<br>
<h5>Dados do participante</h5>
<div class="
row
">
<div class="
col
-
sm
-
5
">
<label>Nome Completo</label>
<input value="
{{
$participante
->
user
->
name
}}
" type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomeParticipante'
)
is
-
invalid
@
enderror
" name="
nomeParticipante
[]
" placeholder="
Nome
" required>
@error('nomeParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
4
">
<label>E-mail</label>
<input value="
{{
$participante
->
user
->
email
}}
" type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'emailParticipante'
)
is
-
invalid
@
enderror
" name="
emailParticipante
[]
" placeholder="
email
" required>
@error('emailParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
3
">
<label>Função:</label>
<select class="
form
-
control
@
error
(
'funcaoParticipante'
)
is
-
invalid
@
enderror
" name="
funcaoParticipante
[]
" id="
funcaoParticipante
">
<option value="" disabled selected hidden>-- Função --</option>
@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)
@if(
$funcaoParticipante->id
===
$participante->funcao_participante_id
)
<option value="
{{
$funcaoParticipante
->
id
}}
" selected>
{
{$funcaoParticipante->nome}
}
</option>
@else
<option value="
{{
$funcaoParticipante
->
id
}}
">
{
{$funcaoParticipante->nome}
}
</option>
@endif
@endforeach
@error('funcaoParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</select>
</div>
</div>
<h5>Dados do plano de trabalho</h5>
@foreach (
$arquivos
as
$arquivo
)
@if(
$arquivo->participanteId
===
$participante->id
)
<a href="
{{
route
(
'baixar.plano'
,
[
'id'
=>
$arquivo
->
id
])
}}
">Plano de trabalho atual</a>
@endif
@endforeach
<div class="
row
">
<div class="
col
-
sm
-
12
">
<div id="
planoTrabalho
">
<div class="
row
">
<div class="
col
-
sm
-
4
">
<label>Titulo </label>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomePlanoTrabalho'
)
is
-
invalid
@
enderror
" name="
nomePlanoTrabalho
[]
" placeholder="
Nome
">
@error('nomePlanoTrabalho')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
{{-- Arquivo --}}
<div class="
col
-
sm
-
7
">
<label for="
nomeTrabalho
">Anexo</label>
<div class="
input
-
group
">
<div class="
input
-
group
-
prepend
">
<span class="
input
-
group
-
text
" id="
anexoPlanoTrabalho
">Selecione um arquivo:</span>
</div>
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoPlanoTrabalho'
)
is
-
invalid
@
enderror
" id="
anexoPlanoTrabalho
" aria-describedby="
anexoPlanoTrabalho
" name="
anexoPlanoTrabalho
[]
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
@error('anexoPlanoTrabalho')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
<div class="
col
-
sm
-
1
">
<a class="
delete
">
<img src="
/
img
/
icons
/
user
-
times
-
solid
.
svg
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
</a>
</div>
</div>
</div>
</div>
</div>
</div>
@endforeach
</div>
<a href="
#" class="btn btn-primary" id="addCoautor" style="width:100%;margin-top:10px">Participantes +</a>
</
div
>
</
div
>
</
p
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-md-6"
>
<
a
href
=
"
{
{route('evento.visualizar',['id'=>$edital->id])}
}
"
class
=
"btn btn-secondary"
style
=
"width:100%"
>
Cancelar
</
a
>
</
div
>
<
div
class
=
"col-md-6"
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
style
=
"width:100%"
>
{{
__
(
'Enviar'
)
}}
</
button
>
</
div
>
</
div
>
</
form
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endsection
@
section
(
'javascript'
)
<
script
type
=
"text/javascript"
>
$
(
function
()
{
var
qtdLinhas
=
1
;
var
qtdParticipantes
=
1
;
// Coautores
$
(
'#addCoautor'
)
.
click
(
function
(
e
)
{
if
(
qtdParticipantes
<
100
)
{
e
.
preventDefault
();
linha
=
montarLinhaInput
();
$
(
'#participantes'
)
.
append
(
linha
);
qtdParticipantes
++
}
});
$
(
'#addPlanoTrabalho'
)
.
click
(
function
(
e
)
{
e
.
preventDefault
();
if
(
qtdLinhas
<
4
)
{
linha
=
montarLinhaInputPlanoTrabalho
();
$
(
'#planoTrabalho'
)
.
append
(
linha
);
qtdLinhas
++
;
}
});
// Exibir modalidade de acordo com a área
$
(
"#area"
)
.
change
(
function
()
{
console
.
log
(
$
(
this
)
.
val
());
addModalidade
(
$
(
this
)
.
val
());
});
$
(
document
)
.
on
(
'click'
,
'.delete'
,
function
()
{
if
(
qtdParticipantes
>
2
)
{
qtdParticipantes
--
;
$
(
this
)
.
closest
(
'#novoParticipante'
)
.
remove
();
return
false
;
}
});
$
(
document
)
.
on
(
'click'
,
'.deletePlano'
,
function
()
{
if
(
qtdLinhas
>
1
)
{
qtdLinhas
--
;
$
(
"#planoTrabalho div.row:last"
)
.
remove
();
return
false
;
}
});
$
(
'#anexoProjeto'
)
.
on
(
'change'
,
function
()
{
//get the file name
var
fileName
=
$
(
this
)
.
val
();
//replace the "Choose a file" label
$
(
this
)
.
next
(
'#custom-file-label'
)
.
html
(
fileName
);
})
// F
$
(
'#buttonSim'
)
.
on
(
'click'
,
function
(
e
)
{
e
.
preventDefault
();
$
(
'#inputEtica'
)
.
prop
(
'disabled'
,
false
);
$
(
'#inputJustificativa'
)
.
prop
(
'disabled'
,
true
);
});
$
(
'#buttonNao'
)
.
on
(
'click'
,
function
(
e
)
{
e
.
preventDefault
();
$
(
'#inputEtica'
)
.
prop
(
'disabled'
,
true
);
$
(
'#inputJustificativa'
)
.
prop
(
'disabled'
,
false
);
console
.
log
(
'button nao'
);
});
});
// Remover Coautor
function
addModalidade
(
areaId
)
{
console
.
log
(
modalidades
)
$
(
"#modalidade"
)
.
empty
();
for
(
let
i
=
0
;
i
<
modalidades
.
length
;
i
++
)
{
if
(
modalidades
[
i
]
.
areaId
==
areaId
)
{
console
.
log
(
modalidades
[
i
]);
$
(
"#modalidade"
)
.
append
(
"<option value="
+
modalidades
[
i
]
.
modalidadeId
+
">"
+
modalidades
[
i
]
.
modalidadeNome
+
"</option>"
)
}
}
}
function
montarLinhaInput
()
{
return
"<div id="
+
"novoParticipante"
+
">"
+
"<br><h5>Dados do participante</h5>"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"col-sm-5"
+
">"
+
"<label>Nome Completo</label>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control'
+
" @error('nomeParticipante') is-invalid @enderror"
+
"name="
+
'nomeParticipante[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"@error('nomeParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<label>E-mail</label>"
+
"<input type='email'"
+
"style='margin-bottom:10px'"
+
"class="
+
"form-control @error('emailParticipante') is-invalid @enderror"
+
"name='emailParticipante[]'"
+
"placeholder='email' required>"
+
"@error('emailParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"<div class='col-sm-3'>"
+
"<label>Função:</label>"
+
"<select class="
+
"form-control @error('funcaoParticipante') is-invalid @enderror"
+
"name='funcaoParticipante[]'"
+
"id='funcaoParticipante'> "
+
"<option value='' disabled selected hidden> Função </option>"
+
"@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)"
+
"<option value='
{
{$funcaoParticipante->id}}'>{{$funcaoParticipante->nome}
}
</option>"
+
"@endforeach"
+
"@error('funcaoParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</select>"
+
"</div>"
+
"</div>"
+
"<h5>Dados do plano de trabalho</h5>"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<label>Titulo</label>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
"form-control @error('nomePlanoTrabalho') is-invalid @enderror"
+
" name="
+
'nomePlanoTrabalho[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"@error('nomePlanoTrabalho')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"<div class="
+
"col-sm-7"
+
">"
+
"<label for="
+
"nomeTrabalho"
+
">Anexo </label>"
+
"<div class="
+
"input-group"
+
">"
+
"<div class='input-group-prepend'>"
+
"<span class='input-group-text' id='inputGroupFileAddon01'>Selecione um arquivo:</span>"
+
"</div>"
+
"<div class='custom-file'>"
+
"<input type='file' class='custom-file-input @error('anexoPlanoTrabalho') is-invalid @enderror"
+
"id='anexoPlanoTrabalho'"
+
"aria-describedby='anexoPlanoTrabalho'"
+
"name='anexoPlanoTrabalho[]' required"
+
"aria-describedby='inputGroupFileAddon01'>"
+
"<label class='custom-file-label' id='custom-file-label' for='inputGroupFile01'>O arquivo deve ser no formato PDF de até 2mb.</label>"
+
"</div>"
+
"</div>"
+
"@error('anexoPlanoTrabalho')"
+
"<span class='invalid-feedback' role='alert' style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"<div class="
+
"col-sm-1"
+
">"
+
"<a class="
+
"delete"
+
">"
+
"<img src="
+
"/img/icons/user-times-solid.svg"
+
" style="
+
"width:25px;margin-top:35px"
+
">"
+
"</a>"
+
"</div>"
+
"</div>"
+
"</div>"
;
}
// function montarLinhaInputPlanoTrabalho(){
// return "<div class="+"row"+">"+
// "<div class="+"col-sm-4"+">"+
// "<label>Nome Completo</label>"+
// "<input"+" type="+'text'+" style="+"margin-bottom:10px"+" class="+'form-control emailCoautor'+" name="+'nomePlanoTrabalho[]'+" placeholder="+"Nome"+" required>"+
// "</div>"+
// "<div class="+"col-sm-7" +">"+
// "<label for="+"nomeTrabalho"+">Anexo </label>"+
// "<div class="+"input-group"+">"+
// "<div class='input-group-prepend'>"+
// "<span class='input-group-text' id='inputGroupFileAddon01'>Selecione um arquivo:</span>"+
// "</div>"+
// "<div class='custom-file'>"+
// "<input type='file' class='custom-file-input' id='inputGroupFile01'"+
// "aria-describedby='inputGroupFileAddon01' name='anexoPlanoTrabalho[]'>"+
// "<label class='custom-file-label' id='custom-file-label' for='inputGroupFile01'>O arquivo deve ser no formato PDF de até 2mb.</label>"+
// "</div>"+
// "</div>"+
// "@error('arquivo')"+
// "<span class='invalid-feedback' role='alert' style='overflow: visible; display:block'>"+
// "<strong>{{ $message }}</strong>"+
// "</span>"+
// "@enderror"+
// "</div>"+
// "<div class="+"col-sm-1"+">"+
// "<a class="+"deletePlano"+">"+
// "<img src="+"/img/icons/user-times-solid.svg"+" style="+"width:25px;margin-top:35px"+">"+
// "</a>"+
// "</div>"+
// "</div>";
// }
</
script
>
@
endsection
\ No newline at end of file
resources/views/projeto/index.blade.php
0 → 100644
View file @
561a6f19
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 100px;"
>
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-10"
>
<
h3
>
Projetos
do
edital
{{
$edital
->
nome
}}
</
h3
>
<
h6
style
=
"color: rgb(4, 78, 4);"
>
Submissão
irá
até
o
dia
{{
date
(
'd-m-Y'
,
strtotime
(
$edital
->
fimSubmissao
))
}}
</
h6
>
</
div
>
<
div
class
=
"col-sm-2"
>
<!--
Se
usuário
não
é
proponente
,
redirecionar
para
view
de
cadastro
-->
@
if
(
Auth
::
user
()
->
proponentes
==
null
)
<
a
href
=
"{{ route('proponente.create' )}}"
class
=
"btn btn-primary"
>
Criar
projeto
</
a
>
@
else
<
a
href
=
"{{ route('trabalho.index', ['id' =>
$edital->id
] )}}"
class
=
"btn btn-primary"
>
Criar
projeto
</
a
>
@
endif
</
div
>
</
div
>
</
div
>
<
hr
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
projeto
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Data
de
Criação
</
th
>
<
th
scope
=
"col"
>
Opção
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$projetos
as
$projeto
)
<
tr
>
<
td
>
{{
$projeto
->
titulo
}}
</
td
>
@
if
(
$projeto
->
avaliado
)
<
td
style
=
"color: rgb(6, 85, 6)"
>
Avaliado
</
td
>
@
else
<
td
style
=
"color: rgb(0, 0, 0)"
>
Submetido
</
td
>
@
endif
<
td
>
{{
date
(
'd-m-Y'
,
strtotime
(
$projeto
->
updated_at
))
}}
</
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"
>
<
a
href
=
"{{ route('trabalho.editar', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Editar
projeto
</
a
>
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Adicionar
participantes
</
a
>
--
}}
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Recorrer
</
a
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Resultado
</
a
>
</
div
>
</
div
>
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
</
div
>
@
endsection
@
section
(
'javascript'
)
<
script
>
</
script
>
@
endsection
\ No newline at end of file
resources/views/proponente/cadastro.blade.php
0 → 100644
View file @
561a6f19
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-12"
>
<
h2
style
=
"margin-top: 100px; "
>
{{
__
(
'Criar perfil de proponente'
)
}}
</
h2
>
</
div
>
</
div
>
<
br
>
<
form
method
=
"POST"
action
=
"{{ route('proponente.store') }}"
>
@
csrf
<
div
class
=
"col-sm-11"
>
<
div
id
=
"proponente"
>
<
div
>
<
h4
>
Dados
do
proponente
</
h4
>
</
div
>
<
div
>
<
label
for
=
"SIAPE"
class
=
"col-form-label"
>
{{
__
(
'SIAPE'
)
}}
</
label
>
<
input
id
=
"SIAPE"
type
=
"text"
class
=
"form-control @error('SIAPE') is-invalid @enderror"
name
=
"SIAPE"
value
=
""
autocomplete
=
"nome"
>
@
error
(
'SIAPE'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
<
label
for
=
"cargo"
class
=
"col-form-label"
>
{{
__
(
'Cargo'
)
}}
</
label
>
<
input
id
=
"cargo"
type
=
"text"
class
=
"form-control @error('cargo') is-invalid @enderror"
name
=
"cargo"
value
=
""
autocomplete
=
"nome"
>
@
error
(
'cargo'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
<
div
>
<
label
for
=
"vinculo"
class
=
"col-form-label"
>
{{
__
(
'Vinculo'
)
}}
</
label
>
<
select
name
=
"vinculo"
id
=
""
>
<
option
value
=
"Servidor na ativa"
>
Servidor
na
ativa
</
option
>
<
option
value
=
"Servidor aposentado"
>
Servidor
aposentado
</
option
>
<
option
value
=
"Professor visitante"
>
Professor
visitante
</
option
>
<
option
value
=
"Pós-doutorando"
>
Pós
-
doutorando
</
option
>
</
select
>
</
div
>
<
label
for
=
"titulacaoMaxima"
class
=
"col-form-label"
>
{{
__
(
'Titulação Maxima'
)
}}
</
label
>
<
input
id
=
"titulacaoMaxima"
type
=
"text"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
value
=
""
autocomplete
=
"nome"
>
@
error
(
'titulacaoMaxima'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
<
label
for
=
"anoTitulacao"
class
=
"col-form-label"
>
{{
__
(
'Ano da Titulação'
)
}}
</
label
>
<
input
id
=
"anoTitulacao"
type
=
"text"
class
=
"form-control @error('anoTitulacao') is-invalid @enderror"
name
=
"anoTitulacao"
value
=
""
autocomplete
=
"nome"
>
@
error
(
'anoTitulacao'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
<
label
for
=
"areaFormacao"
class
=
"col-form-label"
>
{{
__
(
'Area de Formação'
)
}}
</
label
>
<
input
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
value
=
""
autocomplete
=
"nome"
>
@
error
(
'areaFormacao'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
<
div
>
<
label
for
=
"area"
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
select
name
=
"area"
id
=
""
>
@
foreach
(
$grandeAreas
as
$area
)
<
option
value
=
"
{
{$area->nome}}">{{$area->nome}
}
</option>
@endforeach
</select>
</div>
<div>
<label for="
bolsistaProdutividade
" class="
col
-
form
-
label
">{{ __('Bolsista de Produtividade') }}</label><br>
<select name="
bolsistaProdutividade
" id="">
<option value="
sim
">Sim</option>
<option value="
nao
">Não</option>
</select>
</div>
<div>
<label for="
nivel
" class="
col
-
form
-
label
">{{ __('Nivel') }}</label>
<select name="
nivel
" id="">
<option value="
2
">2</option>
<option value="
1
D
">1D</option>
<option value="
1
D
">1B</option>
<option value="
1
D
">1C</option>
<option value="
1
D
">1A</option>
</select>
</div>
<label for="
linkLattes
" class="
col
-
form
-
label
">{{ __('Link do curriculum lattes') }}</label>
<input id="
linkLattes
" type="
text
" class="
form
-
control
@
error
(
'linkLattes'
)
is
-
invalid
@
enderror
" name="
linkLattes
" value="" autocomplete="
nome
">
@error('linkLattes')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>{{
$message
}}</strong>
</span>
@enderror
<label for="
passworld
" class="
col
-
form
-
label
">{{ __('Senha') }}</label>
<input id="
passworld
" type="
text
" class="
form
-
control
@
error
(
'senha'
)
is
-
invalid
@
enderror
" name="
senha
" value="" autocomplete="
nome
">
@error('senha')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
<button type="
submit
" class="
btn
btn
-
primary
" style="
position
:
relative
;
top
:
10
px
;
">{{ __('Salvar') }}</button>
</div>
</form>
</div>
@endsection
resources/views/proponente/index.blade.php
View file @
561a6f19
...
...
@@ -4,8 +4,39 @@
<
div
class
=
"container"
>
<
h2
style
=
"margin-top: 100px;"
>
Proponente
</
h2
>
<
h2
style
=
"margin-top: 100px;"
>
{{
Auth
()
->
user
()
->
name
}}
</
h2
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
div
class
=
"col-sm-3 d-flex justify-content-center "
>
<
a
href
=
"
{
{route('admin.editais')}
}
"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 13rem;height: 15rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Editais
</
h2
>
</
div
>
</
div
>
</
a
>
</
div
>
<
div
class
=
"col-sm-3 d-flex justify-content-center"
>
<
a
href
=
"#"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 13rem;height: 15rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Projetos
</
h2
>
</
div
>
</
div
>
</
a
>
</
div
>
<
div
class
=
"col-sm-3 d-flex justify-content-center"
>
<
a
href
=
"#"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 13rem;height: 15rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Mensagens
</
h2
>
</
div
>
</
div
>
</
a
>
</
div
>
</
div
>
</
div
>
@
endsection
Prev
1
2
3
4
Next
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