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
0b3bd513
"resources/vscode:/vscode.git/clone" did not exist on "db8b854f4eef7b54cc6f706394e7253e78877078"
Commit
0b3bd513
authored
May 10, 2021
by
Carlos André
Browse files
tabela editais
parent
b4d041c9
Changes
2
Show whitespace changes
Inline
Side-by-side
public/css/layout.css
View file @
0b3bd513
...
@@ -350,3 +350,70 @@ section {
...
@@ -350,3 +350,70 @@ section {
border-radius
:
5px
;
border-radius
:
5px
;
font-weight
:
bolder
;
font-weight
:
bolder
;
}
}
.dropdown-item
{
color
:
rgb
(
0
,
140
,
255
);
}
.dropdown-item
:hover
{
color
:
rgb
(
0
,
140
,
255
);
}
.dropdown-item-delete
{
background-color
:
red
;
width
:
155px
;
border-radius
:
5px
;
margin-left
:
10px
;
margin-right
:
10px
;
color
:
white
;
}
.dropdown-item-delete
:hover
{
background-color
:
rgb
(
207
,
0
,
0
);
color
:
white
;
}
.dropdown-options
a
:hover
{
text-decoration
:
none
;
}
.dropdown-hr
{
margin-top
:
0px
;
margin-bottom
:
0px
;
width
:
80%
;
}
.titulo-table
{
color
:
rgb
(
0
,
140
,
255
);
}
.table
th
{
color
:
rgb
(
0
,
140
,
255
);
}
.form-control-edit
{
border-top
:
none
;
border-left
:
none
;
border-right
:
none
;
border-radius
:
0px
;
border-color
:
rgb
(
0
,
140
,
255
);
}
.form-control-edit
:focus
{
border-color
:
none
;
box-shadow
:
none
;
border-top
:
none
;
border-left
:
none
;
border-right
:
none
;
border-radius
:
0px
;
}
.form-control-edit
:hover
{
border-color
:
none
;
box-shadow
:
none
;
border-top
:
none
;
border-left
:
none
;
border-right
:
none
;
border-radius
:
0px
;
border-color
:
rgb
(
0
,
140
,
255
);
}
\ No newline at end of file
resources/views/administrador/editais.blade.php
View file @
0b3bd513
...
@@ -6,8 +6,22 @@
...
@@ -6,8 +6,22 @@
<
div
class
=
"container"
>
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-4"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-2"
>
<
button
class
=
"btn"
onclick
=
"buscarEdital(this.parentElement.parentElement.children[1].children[0])"
>
<
img
src
=
"
{
{asset('img/icons/logo_lupa.png')}
}
"
alt
=
""
>
</
button
>
</
div
>
<
div
class
=
"col-sm-10"
>
<
div
class
=
"col-sm-10"
>
<
h3
>
Meus
Editais
</
h3
>
<
input
type
=
"text"
class
=
"form-control form-control-edit"
placeholder
=
"Digite o nome do edital"
onkeyup
=
"buscarEdital(this)"
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"col-sm-1"
>
</
div
>
<
div
class
=
"col-sm-5"
style
=
"float: center;"
>
<
h4
class
=
"titulo-table"
>
Editais
</
h4
>
</
div
>
</
div
>
<
div
class
=
"col-sm-2"
>
<
div
class
=
"col-sm-2"
>
<
a
href
=
"
{
{route('evento.criar')}
}
"
class
=
"btn btn-info"
style
=
"float: right;"
>
Criar
Edital
</
a
>
<
a
href
=
"
{
{route('evento.criar')}
}
"
class
=
"btn btn-info"
style
=
"float: right;"
>
Criar
Edital
</
a
>
...
@@ -22,7 +36,7 @@
...
@@ -22,7 +36,7 @@
<
th
scope
=
"col"
>
Opção
</
th
>
<
th
scope
=
"col"
>
Opção
</
th
>
</
tr
>
</
tr
>
</
thead
>
</
thead
>
<
tbody
>
<
tbody
id
=
"eventos"
>
@
foreach
(
$eventos
as
$evento
)
@
foreach
(
$eventos
as
$evento
)
<
tr
>
<
tr
>
<
td
>
<
td
>
...
@@ -39,24 +53,24 @@
...
@@ -39,24 +53,24 @@
</
a
>
</
a
>
<
div
class
=
"dropdown-menu"
>
<
div
class
=
"dropdown-menu"
>
<
a
href
=
"{{ route('evento.editar', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item text-center"
>
<
a
href
=
"{{ route('evento.editar', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item text-center"
>
Editar
Edital
Editar
Edital
</
a
>
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
"{{route('admin.atribuir', ['evento_id' =>
$evento->id
])}}"
class
=
"dropdown-item text-center"
>
<
a
href
=
"{{route('admin.atribuir', ['evento_id' =>
$evento->id
])}}"
class
=
"dropdown-item text-center"
>
Atribuir
Avaliadores
Atribuir
Avaliadores
</
a
>
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
"{{route('admin.pareceres', ['evento_id' =>
$evento->id
])}}"
class
=
"dropdown-item text-center"
>
<
a
href
=
"{{route('admin.pareceres', ['evento_id' =>
$evento->id
])}}"
class
=
"dropdown-item text-center"
>
Visualizar
Pareceres
Visualizar
Pareceres
</
a
>
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
])}}"
class
=
"dropdown-item text-center"
>
<
a
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
])}}"
class
=
"dropdown-item text-center"
>
Analisar
projetos
Analisar
projetos
</
a
>
</
a
>
<
hr
class
=
"dropdown-hr"
>
<!--
Button
trigger
modal
-->
<!--
Button
trigger
modal
-->
<
button
type
=
"button"
class
=
"dropdown-item text-center"
data
-
toggle
=
"modal"
data
-
target
=
"#exampleModal{{
$evento->id
}}"
>
<
button
type
=
"button"
class
=
"dropdown-item
dropdown-item-delete
text-center"
data
-
toggle
=
"modal"
data
-
target
=
"#exampleModal{{
$evento->id
}}"
>
Deletar
<
img
src
=
"
{
{asset('img/icons/logo_lixeira.png')}
}
"
alt
=
""
>
Deletar
</
button
>
</
button
>
...
@@ -104,6 +118,22 @@
...
@@ -104,6 +118,22 @@
@
section
(
'javascript'
)
@
section
(
'javascript'
)
<
script
>
<
script
>
function
buscarEdital
(
input
)
{
var
editais
=
document
.
getElementById
(
'eventos'
)
.
children
;
if
(
input
.
value
.
length
>
2
)
{
for
(
var
i
=
0
;
i
<
editais
.
length
;
i
++
)
{
var
nomeEvento
=
editais
[
i
]
.
children
[
0
]
.
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