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
efb500f4
Commit
efb500f4
authored
Jun 24, 2020
by
carlos
Browse files
projetos somente submetidos
parent
2422ae26
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/proponente/projetos.blade.php
View file @
efb500f4
...
@@ -30,47 +30,49 @@
...
@@ -30,47 +30,49 @@
</
thead
>
</
thead
>
<
tbody
>
<
tbody
>
@
foreach
(
$projetos
as
$projeto
)
@
foreach
(
$projetos
as
$projeto
)
<
tr
>
@
if
(
$projeto
->
status
!=
'Rascunho'
)
<
td
>
<
tr
>
{{
$projeto
->
titulo
}}
<
td
>
</
td
>
{{
$projeto
->
titulo
}}
@
if
(
$projeto
->
status
==
'Avaliado'
)
</
td
>
<
td
style
=
"color: rgb(6, 85, 6)"
>
Avaliado
</
td
>
@
if
(
$projeto
->
status
==
'Avaliado'
)
@
elseif
(
$projeto
->
status
==
'Submetido'
)
<
td
style
=
"color: rgb(6, 85, 6)"
>
Avaliado
</
td
>
<
td
style
=
"color: rgb(0, 0, 0)"
>
Submetido
</
td
>
@
elseif
(
$projeto
->
status
==
'Submetido'
)
@
elseif
(
$projeto
->
status
==
'Rascunho'
)
<
td
style
=
"color: rgb(0, 0, 0)"
>
Submetido
</
td
>
<
td
style
=
"color: rgb(0, 0, 0)"
>
Rascunho
</
td
>
@
elseif
(
$projeto
->
status
==
'Rascunho'
)
@
endif
<
td
style
=
"color: rgb(0, 0, 0)"
>
Rascunho
</
td
>
<
td
>
{{
date
(
'd-m-Y'
,
strtotime
(
$projeto
->
updated_at
))
}}
</
td
>
@
endif
<
td
>
<
td
>
{{
date
(
'd-m-Y'
,
strtotime
(
$projeto
->
updated_at
))
}}
</
td
>
<
div
class
=
"btn-group dropright dropdown-options"
>
<
td
>
<
a
id
=
"options"
class
=
"dropdown-toggle "
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
<
div
class
=
"btn-group dropright dropdown-options"
>
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
<
a
id
=
"options"
class
=
"dropdown-toggle "
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
</
a
>
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
<
div
class
=
"dropdown-menu"
>
</
a
>
<
a
href
=
"{{ route('trabalho.editar', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
<
div
class
=
"dropdown-menu"
>
Editar
projeto
<
a
href
=
"{{ route('trabalho.editar', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
</
a
>
Editar
projeto
<
a
href
=
"{{ route('trabalho.show', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
</
a
>
Visualizar
projeto
<
a
href
=
"{{ route('trabalho.show', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
</
a
>
Visualizar
projeto
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
</
a
>
Recorrer
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
</
a
>
Recorrer
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
</
a
>
Resultado
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
</
a
>
--
}}
Resultado
@
if
(
$projeto
->
status
==
'Submetido'
)
</
a
>
--
}}
<!--
Button
trigger
modal
-->
@
if
(
$projeto
->
status
==
'Submetido'
)
<
button
type
=
"button"
class
=
"dropdown-item"
style
=
"text-align: center"
data
-
toggle
=
"modal"
data
-
target
=
"#modal
{
{$projeto->id}
}
"
>
<!--
Button
trigger
modal
-->
Excluir
projeto
<
button
type
=
"button"
class
=
"dropdown-item"
style
=
"text-align: center"
data
-
toggle
=
"modal"
data
-
target
=
"#modal
{
{$projeto->id}
}
"
>
</
button
>
Excluir
projeto
@
endif
</
button
>
@
endif
</
div
>
</
div
>
</
div
>
</
td
>
</
div
>
</
tr
>
</
td
>
</
tr
>
@
endif
<!--
Modal
-->
<!--
Modal
-->
<
div
class
=
"modal fade"
id
=
"modal
{
{$projeto->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal fade"
id
=
"modal
{
{$projeto->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog"
>
<
div
class
=
"modal-dialog"
>
...
...
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