Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
3 years ago
by
Guilherme Silva
Browse files
Options
Download
Email Patches
Plain Diff
Ajustes para adequação dos novos formulários ao realizar substituição
parent
a9d4b47a
master
carl-branch
dependabot/composer/dompdf/dompdf-1.2.2
dependabot/composer/guzzlehttp/guzzle-6.5.8
dependabot/composer/guzzlehttp/psr7-1.8.5
dependabot/composer/symfony/http-kernel-4.4.50
dependabot/npm_and_yarn/decode-uri-component-0.2.2
dependabot/npm_and_yarn/express-4.18.2
dependabot/npm_and_yarn/json5-and-json5-2.2.3
dependabot/npm_and_yarn/loader-utils-and-webpack-cli-1.4.2
dependabot/npm_and_yarn/minimist-and-mkdirp-1.2.8
dependabot/npm_and_yarn/qs-and-express-6.11.0
excluir_projeto_submetido
updates_mar
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/views/administrador/substituirParticipante.blade.php
+99
-5
...rces/views/administrador/substituirParticipante.blade.php
with
99 additions
and
5 deletions
+99
-5
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,55 @@
</
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
>
...
...
@@ -61,7 +103,46 @@
</
div
>
<
div
class
=
"modal-body px-1"
>
@
include
(
'administrador.substituirParticipanteForm'
)
@
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
>
</
button
>
</
div
>
<
div
class
=
"modal-body px-1"
>
@
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
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
Menu
Projects
Groups
Snippets
Help