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
cf63daf9
Commit
cf63daf9
authored
4 years ago
by
Carlos André
Browse files
Options
Download
Email Patches
Plain Diff
selecionar projetos
parent
04d40aaa
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/axios-0.21.2
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
minha_conta
modificacoes_aviso
modificacoes_layout_6
modificacoes_layout_7
modificacoes_layout_8
modificacoes_layout_9
modificacoes_layout_igor
modificacoes_layout_minha_conta
modificacoes_perfil_avaliador
updates_mar
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/views/administrador/selecionarProjetos.blade.php
+51
-20
resources/views/administrador/selecionarProjetos.blade.php
with
51 additions
and
20 deletions
+51
-20
resources/views/administrador/selecionarProjetos.blade.php
View file @
cf63daf9
...
...
@@ -2,27 +2,41 @@
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top:
10
0px;"
>
<
div
class
=
"container"
style
=
"margin-top:
3
0px;"
>
<
div
class
=
"container"
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
{{
--
<
div
class
=
"col-md-12"
>
--
}}
<
h3
>
Lista
de
Projetos
do
Edital
:
{{
$evento
->
nome
}}
</
h3
>
{{
--
</
div
>
--
}}
<
div
class
=
"row justify-content-center"
style
=
"margin-bottom: 50px;"
>
<
div
class
=
"col-md-1"
>
<
a
href
=
"{{ route('admin.atribuir', ['evento_id' =>
$evento->id
]) }}"
class
=
"btn btn-secondary"
>
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
class
=
"row"
>
<
div
class
=
"col-md-8"
>
<
div
class
=
"row"
>
<
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
class
=
"row justify-content-center d-flex align-items-center"
>
{{
--
<
div
class
=
"col-md-12"
>
--
}}
<
h5
>
Total
:
</
h5
>
{{
--
</
div
>
--
}}
</
div
>
</
div
>
<
a
href
=
"{{ route('admin.atribuir', ['evento_id' =>
$evento->id
]) }}"
class
=
"btn btn-primary"
>
Voltar
</
a
>
<
hr
>
<
table
class
=
"table table-bordered"
>
<
thead
>
...
...
@@ -33,7 +47,7 @@
<
th
scope
=
"col"
style
=
"text-align:center"
>
Ação
</
th
>
</
tr
>
</
thead
>
<
tbody
>
<
tbody
id
=
"projetos"
>
@
foreach
(
$trabalhos
as
$trabalho
)
<
tr
>
<
td
>
{{
$trabalho
->
titulo
}}
</
td
>
...
...
@@ -85,10 +99,10 @@
</
tbody
>
</
table
>
<
div
class
=
"container"
>
<
div
class
=
"container"
style
=
"margin-top: 50px;"
>
<
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
>
...
...
@@ -134,7 +148,24 @@
<
script
>
$
(
'#myModal'
)
.
on
(
'shown.bs.modal'
,
function
()
{
$
(
'#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
>
@
endsection
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