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
cf63daf9
Commit
cf63daf9
authored
May 11, 2021
by
Carlos André
Browse files
selecionar projetos
parent
04d40aaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/administrador/selecionarProjetos.blade.php
View file @
cf63daf9
...
@@ -2,27 +2,41 @@
...
@@ -2,27 +2,41 @@
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top:
10
0px;"
>
<
div
class
=
"container"
style
=
"margin-top:
3
0px;"
>
<
div
class
=
"container"
>
<
div
class
=
"container"
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-bottom: 50px;"
>
{{
--
<
div
class
=
"col-md-12"
>
--
}}
<
div
class
=
"col-md-1"
>
<
h3
>
Lista
de
Projetos
do
Edital
:
{{
$evento
->
nome
}}
</
h3
>
<
a
href
=
"{{ route('admin.atribuir', ['evento_id' =>
$evento->id
]) }}"
class
=
"btn btn-secondary"
>
{{
--
</
div
>
--
}}
Voltar
</
a
>
</
div
>
<
div
class
=
"col-md-10"
style
=
"text-align: center;"
>
<
h3
class
=
"titulo-table"
>
Lista
de
Projetos
do
Edital
:
<
span
style
=
"color: black;"
>
{{
$evento
->
nome
}}
</
span
>
</
h3
>
</
div
>
<
div
class
=
"col-md-1"
>
<!--
Button
trigger
modal
-->
{{
--
<
button
type
=
"button"
class
=
"btn btn-info"
data
-
toggle
=
"modal"
data
-
target
=
"#exampleModalCenter"
>
Enviar
Convite
</
button
>
--
}}
</
div
>
</
div
>
</
div
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
div
class
=
"row"
>
{{
--
<
div
class
=
"col-md-12"
>
--
}}
<
div
class
=
"col-md-8"
>
<
h5
>
Total
:
</
h5
>
<
div
class
=
"row"
>
{{
--
</
div
>
--
}}
<
div
class
=
"col-sm-1"
>
<
button
class
=
"btn"
onclick
=
"buscar(this.parentElement.parentElement.children[1].children[0])"
>
<
img
src
=
"
{
{asset('img/icons/logo_lupa.png')}
}
"
alt
=
""
>
</
button
>
</
div
>
<
div
class
=
"col-sm-6"
>
<
input
type
=
"text"
class
=
"form-control form-control-edit"
placeholder
=
"Digite o nome do projeto"
onkeyup
=
"buscar(this)"
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
a
href
=
"{{ route('admin.atribuir', ['evento_id' =>
$evento->id
]) }}"
class
=
"btn btn-primary"
>
Voltar
</
a
>
<
hr
>
<
hr
>
<
table
class
=
"table table-bordered"
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
thead
>
...
@@ -33,7 +47,7 @@
...
@@ -33,7 +47,7 @@
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
</
tr
>
</
tr
>
</
thead
>
</
thead
>
<
tbody
>
<
tbody
id
=
"projetos"
>
@
foreach
(
$trabalhos
as
$trabalho
)
@
foreach
(
$trabalhos
as
$trabalho
)
<
tr
>
<
tr
>
<
td
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
titulo
}}
</
td
>
...
@@ -85,10 +99,10 @@
...
@@ -85,10 +99,10 @@
</
tbody
>
</
tbody
>
</
table
>
</
table
>
<
div
class
=
"container"
>
<
div
class
=
"container"
style
=
"margin-top: 50px;"
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
h3
>
Status
dos
Projetos
em
Avaliação
:
{{
$evento
->
nome
}}
</
h3
>
<
h3
class
=
"titulo-table"
>
Status
dos
Projetos
em
Avaliação
do
edital
:
<
span
style
=
"color: black;"
>
{{
$evento
->
nome
}}
</
span
>
</
h3
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -134,7 +148,24 @@
...
@@ -134,7 +148,24 @@
<
script
>
<
script
>
$
(
'#myModal'
)
.
on
(
'shown.bs.modal'
,
function
()
{
$
(
'#myModal'
)
.
on
(
'shown.bs.modal'
,
function
()
{
$
(
'#myInput'
)
.
trigger
(
'focus'
)
$
(
'#myInput'
)
.
trigger
(
'focus'
)
})
});
function
buscar
(
input
)
{
var
editais
=
document
.
getElementById
(
'projetos'
)
.
children
;
if
(
input
.
value
.
length
>
2
)
{
for
(
var
i
=
0
;
i
<
editais
.
length
;
i
++
)
{
var
nomeEvento
=
editais
[
i
]
.
children
[
0
]
.
textContent
;
if
(
nomeEvento
.
substr
(
0
)
.
indexOf
(
input
.
value
)
>=
0
)
{
editais
[
i
]
.
style
.
display
=
""
;
}
else
{
editais
[
i
]
.
style
.
display
=
"none"
;
}
}
}
else
{
for
(
var
i
=
0
;
i
<
editais
.
length
;
i
++
)
{
editais
[
i
]
.
style
.
display
=
""
;
}
}
}
</
script
>
</
script
>
@
endsection
@
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