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
1b066f80
"resources/views/vscode:/vscode.git/clone" did not exist on "5764914cedf1b2b7ec9020b02020152c2f0dafd2"
Commit
1b066f80
authored
Aug 17, 2022
by
GuilhermeGz
Browse files
Merge branch 'master' of
https://github.com/GuilhermeGz/submeta
parents
3bc8046b
6e0fce63
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/administrador/analisarProposta.blade.php
View file @
1b066f80
...
...
@@ -624,6 +624,9 @@
para
a
(
s
)
avaliacões
de
relatorio
final
</
label
>
@
endif
</
div
>
<
div
class
=
"col-md-5"
style
=
"display:flex; align-items: end; max-width: 200px;"
>
<
input
type
=
"text"
class
=
"form-control form-control-edit"
placeholder
=
"Nome do avaliador"
onkeyup
=
"buscarAvalRelatorio(this)"
>
<
img
src
=
"
{
{asset('img/icons/logo_lupa.png')}
}
"
alt
=
""
>
</
div
>
</
div
>
@
foreach
(
$trabalho
->
participantes
as
$participante
)
<
div
class
=
"col-md-6"
>
...
...
@@ -2023,12 +2026,13 @@
<
script
>
//let seletor = document.getElementsByClassName('aval1')
//console.log(seletor[0].children[0].text)
//console.log(seletor[0].children[0].text)
=
function
buscar
(
input
)
{
let
seletor1
=
document
.
getElementById
(
'exampleFormControlSelect2'
)
.
children
;
let
seletor2
=
document
.
getElementById
(
'exampleFormControlSelect3'
)
.
children
;
for
(
let
i
=
0
;
i
<
seletor1
.
length
;
i
++
){
let
nomeAval1
=
seletor1
[
i
]
.
textContent
...
...
@@ -2054,5 +2058,24 @@
}
}
function
buscarAvalRelatorio
(
input
)
{
let
seletorAvalRelatorio
=
document
.
querySelectorAll
(
'#avaliacaoSelect'
);
for
(
let
i
=
0
;
i
<
seletorAvalRelatorio
.
length
;
i
++
){
for
(
let
j
=
0
;
j
<
seletorAvalRelatorio
[
i
]
.
children
.
length
;
j
++
){
let
nomeAval
=
seletorAvalRelatorio
[
i
]
.
children
[
j
]
.
textContent
if
(
nomeAval
.
toLowerCase
()
.
substr
(
0
)
.
indexOf
(
input
.
value
.
toLowerCase
())
>=
0
){
seletorAvalRelatorio
[
i
]
.
children
[
j
]
.
style
.
display
=
""
;
}
else
{
seletorAvalRelatorio
[
i
]
.
children
[
j
]
.
style
.
display
=
"none"
;
}
}
}
}
</
script
>
@
endsection
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