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
08b08dc1
Commit
08b08dc1
authored
Feb 01, 2022
by
Guilherme Silva
Browse files
Ajustes para adequação dos novos formulários ao realizar substituição
parent
a9d4b47a
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/administrador/substituirParticipante.blade.php
View file @
08b08dc1
...
...
@@ -38,7 +38,7 @@
</
div
>
<
div
class
=
"col-2 align-self-center"
>
<
div
class
=
"row justify-content-around"
>
<
a
href
=
""
data
-
toggle
=
"modal"
data
-
target
=
"#modalSubParticipante
{
{$participante->id}
}
"
class
=
"button"
<
a
href
=
""
data
-
toggle
=
"modal"
data
-
target
=
"#modal
Test
SubParticipante
{
{$participante->id}
}
"
class
=
"button"
@
if
((
$substituicoesProjeto
->
first
()
!=
null
)
&&
(
$substituicoesProjeto
->
first
()
->
status
==
'Em Aguardo'
))
style
=
"pointer-events: none; cursor: default;"
@
endif
>
<
i
class
=
"fas fa-exchange-alt fa-2x"
></
i
></
a
>
<
a
href
=
""
data
-
toggle
=
"modal"
data
-
target
=
"#modalVizuParticipante
{
{$participante->id}
}
"
class
=
"button"
><
i
class
=
"far fa-eye fa-2x"
></
i
></
a
>
...
...
@@ -47,13 +47,74 @@
</
div
>
<!--
Modal
substituir
participante
-->
<
div
class
=
"modal fade"
id
=
"modalSubParticipante
{
{$participante->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<!--
Modal
TESTE
substituir
participante
-->
<
div
class
=
"modal fade"
id
=
"modal
Test
SubParticipante
{
{$participante->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
style
=
"overflow-x:auto"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
style
=
"color:#1492E6"
>
Novo
participante
</
h5
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
style
=
"color:#1492E6"
>
Tipo
de
substituição
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
style
=
"padding-top: 8px; color:#1492E6"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
<
div
class
=
"row"
>
<
div
class
=
"col-4"
>
<
button
style
=
"float: right;"
type
=
"button"
id
=
"btnSubmitDiscente"
class
=
"btn btn-info"
onclick
=
"subsDiscenteDados(
{
{$participante->id}
}
)"
>
Novo
Discente
</
button
>
</
div
>
<
div
class
=
"col-4"
style
=
"text-align: center"
>
<
button
type
=
"button"
id
=
"btnSubmitManter"
class
=
"btn btn-info"
onclick
=
"subsDiscentePlano(
{
{$participante->id}
}
)"
>
Plano
de
Trabalho
</
button
>
</
div
>
<
div
class
=
"col-4"
>
<
button
style
=
"float: left;"
type
=
"button"
id
=
"btnSubmitCompleto"
class
=
"btn btn-info"
onclick
=
"subsDiscenteCompleto(
{
{$participante->id}
}
)"
>
Completo
</
button
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-danger"
data
-
dismiss
=
"modal"
id
=
"cancelar"
>
Cancelar
</
button
>
</
div
>
</
div
>
</
div
>
</
div
>
<!--
Modal
substituir
participante
Completo
-->
<
div
class
=
"modal fade"
id
=
"modalSubParticipanteCompleto
{
{$participante->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
style
=
"overflow-x:auto"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
style
=
"color:#1492E6"
>
Novo
Participante
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
style
=
"padding-top: 8px; color:#1492E6"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body px-1"
>
@
include
(
'administrador.substituirParticipanteCompletoForm'
)
</
div
>
</
div
>
</
div
>
</
div
>
<!--
Modal
substituir
participante
Dados
-->
<
div
class
=
"modal fade"
id
=
"modalSubParticipanteDado
{
{$participante->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
style
=
"overflow-x:auto"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
style
=
"color:#1492E6"
>
Novo
Participante
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
style
=
"padding-top: 8px; color:#1492E6"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
...
...
@@ -61,7 +122,27 @@
</
div
>
<
div
class
=
"modal-body px-1"
>
@
include
(
'administrador.substituirParticipanteForm'
)
@
include
(
'administrador.substituirParticipanteDadoDiscenteForm'
)
</
div
>
</
div
>
</
div
>
</
div
>
<!--
Modal
substituir
participante
Plano
-->
<
div
class
=
"modal fade"
id
=
"modalSubParticipantePlano
{
{$participante->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
style
=
"overflow-x:auto"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
style
=
"color:#1492E6"
>
Novo
Plano
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
style
=
"padding-top: 8px; color:#1492E6"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body px-1"
>
@
include
(
'administrador.substituirParticipantePlanoForm'
)
</
div
>
</
div
>
</
div
>
...
...
@@ -413,5 +494,18 @@
$(selectPeriodos).append(html);
}
function subsDiscenteCompleto(discenteId){
$("#modalTestSubParticipante"+discenteId).modal('hide');
setTimeout(() => { $("#modalSubParticipanteCompleto"+discenteId).modal(); }, 500);
}
function subsDiscenteDados(discenteId){
$("#modalTestSubParticipante"+discenteId).modal('hide');
setTimeout(() => { $("#modalSubParticipanteDado"+discenteId).modal(); }, 500);
}
function subsDiscentePlano(discenteId){
$("#modalTestSubParticipante"+discenteId).modal('hide');
setTimeout(() => { $("#modalSubParticipantePlano"+discenteId).modal(); }, 500);
}
</script>
@endsection
\ No newline at end of file
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