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
bf25780c
Unverified
Commit
bf25780c
authored
2 years ago
by
Nathalia Santos
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #759 from NetoSK9/master
Issue #738 concluída. E Issue #746 concluída.
parents
6295b7c8
6d9bc51a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
resources/views/evento/formulario/integrantes.blade.php
+2
-2
resources/views/evento/formulario/integrantes.blade.php
resources/views/projeto/formularioVisualizar/integrantes.blade.php
+32
-0
.../views/projeto/formularioVisualizar/integrantes.blade.php
resources/views/proponente/projetos.blade.php
+5
-1
resources/views/proponente/projetos.blade.php
routes/web.php
+1
-1
routes/web.php
with
40 additions
and
4 deletions
+40
-4
resources/views/evento/formulario/integrantes.blade.php
View file @
bf25780c
...
...
@@ -34,12 +34,12 @@
</button>
</div>
<div
class=
"form-row"
style=
"padding: 30px;"
>
<div
class=
"form-row
d-flex align-items-end
"
style=
"padding: 30px;"
>
<div
class=
"col-md-8"
>
<label
for=
"cpf_consulta"
>
CPF:
</label>
<input
type=
"text"
id=
"cpf_consulta"
name=
"cpf_consulta"
class=
"form-control"
onkeyup=
"mask_cpf();"
>
</div>
<div
class=
"col-md-4
mt-4
"
>
<div
class=
"col-md-4"
>
<button
type=
"button"
class=
"btn btn-primary"
onclick=
"preencherUsuarioExistente()"
>
Adicionar
</button>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
resources/views/projeto/formularioVisualizar/integrantes.blade.php
View file @
bf25780c
...
...
@@ -16,6 +16,38 @@
<div
class=
"col-sm-5 mt-4"
>
<h5
class=
"mb-0"
>
Nome: {{ $trabalho_user->user->name }}
</h5>
<h5
class=
"mb-0"
>
Função: {{ $trabalho_user->funcao->nome }}
</h5>
<h6>
<a
href=
""
data-toggle=
"modal"
data-target=
"#modalVizuIntegrante{{$trabalho_user->id}}"
class=
"button"
>
Informações
</a>
</h6>
</div>
<div
class=
"modal fade"
id=
"modalVizuIntegrante{{$trabalho_user->id}}"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"exampleModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-dialog-centered modal-xl"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
style=
"overflow-x:auto; padding-left: 31px"
>
<h5
class=
"modal-title"
id=
"exampleModalLabel"
style=
"color:#1492E6"
>
Informações Integrante
</h5>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
style=
"padding-top: 8px; color:#1492E6"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div
class=
"modal-body"
style=
"padding-right: 32px;padding-left: 32px;padding-top: 20px;padding-bottom: 32px;"
>
<div
class=
"container-fluid"
>
<div
class=
"col-sm-5 mt-4"
>
<h5
class=
"mb-0"
>
Nome: {{ $trabalho_user->user->name }}
</h5>
<h5
class=
"mb-0"
>
E-mail: {{ $trabalho_user->user->email }}
</h5>
<h5
class=
"mb-0"
>
Instituição: {{ $trabalho_user->user->instituicao }}
</h5>
<h5
class=
"mb-0"
>
Cargo no projeto: {{ $trabalho_user->funcao->nome }}
</h5>
</div>
</div>
</div>
</div>
</div>
</div>
@endforeach
...
...
This diff is collapsed.
Click to expand it.
resources/views/proponente/projetos.blade.php
View file @
bf25780c
...
...
@@ -87,7 +87,11 @@
<
td
style
=
"text-align: center"
>
{{
date
(
'd-m-Y \à\s H:i\h'
,
strtotime
(
$projeto
->
updated_at
))
}}
</
td
>
@
if
(
$projeto
->
status
!=
null
)
@
if
(
$projeto
->
status
===
"aprovado"
)
<
td
style
=
"color: rgb(6, 85, 6); text-align: center;text-transform: capitalize;"
>
Em
Execução
</
td
>
@
if
(
strtotime
(
$projeto
->
updated_at
)
<=
strtotime
(
$projeto
->
fimProjeto
))
<
td
style
=
"color: rgb(6, 85, 6); text-align: center;text-transform: capitalize;"
>
Finalizado
</
td
>
@
else
<
td
style
=
"color: rgb(6, 85, 6); text-align: center;text-transform: capitalize;"
>
Em
Execução
</
td
>
@
endif
@
else
<
td
style
=
"color: rgb(6, 85, 6); text-align: center;text-transform: capitalize;"
>
{{
$projeto
->
status
}}
</
td
>
@
endif
...
...
This diff is collapsed.
Click to expand it.
routes/web.php
View file @
bf25780c
...
...
@@ -319,7 +319,7 @@ Route::prefix('cursos')->name('cursos.')->group(function (){
//############ Evento ##############################################
Route
::
prefix
(
'evento'
)
->
name
(
'evento.'
)
->
group
(
function
()
{
Route
::
get
(
'/criar'
,
'EventoController@create'
)
->
name
(
'criar'
)
->
middleware
(
'checkRoles:coordenador,administrador'
);
Route
::
post
(
'/criar'
,
'EventoController@store'
)
->
name
(
'criar'
)
->
middleware
(
'check
A
dministrador'
);
Route
::
post
(
'/criar'
,
'EventoController@store'
)
->
name
(
'criar'
)
->
middleware
(
'check
Roles:coordenador,a
dministrador'
);
Route
::
get
(
'/visualizar/{id}'
,
'EventoController@show'
)
->
name
(
'visualizar'
)
->
middleware
(
'auth'
);
Route
::
get
(
'/listar'
,
'EventoController@listar'
)
->
name
(
'listar'
)
->
middleware
(
'auth'
);
Route
::
delete
(
'/excluir/{id}'
,
'EventoController@destroy'
)
->
name
(
'deletar'
)
->
middleware
(
'checkRoles:coordenador,administrador'
);
...
...
This diff is collapsed.
Click to expand it.
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