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
pad-upe
Commits
c6f51e2f
"...views/evento/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "0abe3d8e4f380e5f0c5845fe61399ac9a2623757"
Commit
c6f51e2f
authored
Mar 25, 2022
by
alissonalbuquerque
Browse files
filtragem de url
parent
c60a8fb9
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/views/layouts/pad-ensino-jquery/ensino-aula.blade.php
View file @
c6f51e2f
<script>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(()
=>
{
$
(
'
#curso_id
'
).
change
(()
=>
{
console
.
log
(
'
Ready
'
)
})
const
curso_id
=
$
(
'
#curso_id
'
).
val
()
const
endpoint
=
"
{{ route('get_disciplina_by_curso', 'curso_id') }}
"
$
(
'
curso_id
'
).
change
(()
=>
{
const
url
=
endpoint
.
replace
(
'
curso_id
'
,
curso_id
)
console
.
log
(
'
OK
'
);
})
})
</script>
</script>
resources/views/pad/dimensao/ensino.blade.php
View file @
c6f51e2f
...
@@ -98,8 +98,7 @@
...
@@ -98,8 +98,7 @@
<
div
class
=
"form-row"
>
<
div
class
=
"form-row"
>
<
div
class
=
"form-group col-md-6"
>
<
div
class
=
"form-group col-md-6"
>
<
label
for
=
"selectCurso"
>
CURSO
</
label
>
<
label
for
=
"selectCurso"
>
CURSO
</
label
>
<
select
name
=
"curso_id"
class
=
"custom-select mr-sm-2"
id
=
"curso_id"
onchange
=
"getComponentesCurriculares()"
<
select
name
=
"curso_id"
class
=
"custom-select mr-sm-2"
id
=
"curso_id"
aria
-
label
=
"Default select example"
>
aria
-
label
=
"Default select example"
>
<
option
selected
>
Selecionar
Curso
</
option
>
<
option
selected
>
Selecionar
Curso
</
option
>
@
foreach
(
$cursos
as
$curso
)
@
foreach
(
$cursos
as
$curso
)
<
option
value
=
"{{
$curso->id
}}"
>
{{
$curso
->
name
}}
</
option
>
<
option
value
=
"{{
$curso->id
}}"
>
{{
$curso
->
name
}}
</
option
>
...
@@ -155,5 +154,7 @@
...
@@ -155,5 +154,7 @@
@
endsection
@
endsection
@
section
(
'scripts-jquery'
)
@
section
(
'scripts-jquery'
)
@
include
(
'layouts.pad-ensino-jquery.ensino-aula'
)
@
include
(
'layouts.pad-ensino-jquery.ensino-aula'
)
@
endsection
@
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