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
e4a1c30d
Commit
e4a1c30d
authored
Mar 16, 2022
by
Guilherme Silva
Browse files
Ajustes nas opções de ações que podem ser feitas pelo proponente a uma proposta
parent
78fef228
Changes
2
Show whitespace changes
Inline
Side-by-side
resources/views/proponente/projetos.blade.php
View file @
e4a1c30d
...
...
@@ -76,16 +76,10 @@
{{
$projeto
->
titulo
}}
</
td
>
<
td
style
=
"text-align: center"
>
{{
date
(
'd-m-Y \à\s H:i\h'
,
strtotime
(
$projeto
->
updated_at
))
}}
</
td
>
@
if
(
$projeto
->
status
==
'avaliado'
)
<
td
style
=
"color: rgb(6, 85, 6); text-align: center
"
>
Avaliado
</
td
>
@
else
if
(
$projeto
->
status
==
'submetido'
||
$projeto
->
status
==
'submetido'
)
@
if
(
$projeto
->
status
!=
null
)
<
td
style
=
"color: rgb(6, 85, 6); text-align: center
;text-transform: capitalize;"
>
{{
$projeto
->
status
}}
</
td
>
@
else
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Submetido
</
td
>
@
elseif
(
$projeto
->
status
==
'rascunho'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Rascunho
</
td
>
@
elseif
(
$projeto
->
status
==
'aprovado'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Aprovado
</
td
>
@
elseif
(
$projeto
->
status
==
'negado'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Negado
</
td
>
@
endif
<
td
>
<
div
class
=
"dropright dropdown-options"
style
=
"width: 100%; text-align:center; float:none"
>
...
...
@@ -93,30 +87,53 @@
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
</
a
>
<
div
class
=
"dropdown-menu"
>
@
if
(
$projeto
->
evento
->
inicioSubmissao
<=
$hoje
&&
$hoje
<=
$projeto
->
evento
->
fimSubmissao
)
<
a
href
=
"{{ route('trabalho.editar', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Editar
@
if
(
$projeto
->
status
==
'aprovado'
)
<
a
href
=
"{{route('trabalho.trocaParticipante', ['evento_id' =>
$projeto->evento
->id, 'projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Solicitar
Substituições
</
a
>
<
hr
class
=
"dropdown-hr"
>
@
elseif
(
$projeto
->
evento
->
resultado_final
<=
$hoje
||
$projeto
->
status
==
'aprovado'
)
<
a
href
=
"{{route('trabalho.trocaParticipante', ['evento_id' =>
$projeto->evento
->id, 'projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Solicitar
Substituição
</
a
>
<
a
href
=
"{{route('docComplementar.listar', ['projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Documentos
Complementares
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Solicitar
Certificado
</
a
>
<
hr
class
=
"dropdown-hr"
>
@
endif
<
a
href
=
"{{ route('trabalho.show', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Visualizar
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
"{{route('planos.listar', ['id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Relatórios
</
a
>
<
hr
class
=
"dropdown-hr"
>
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Recorrer
</
a
>
--
}}
<!--
Button
trigger
modal
deletar
-->
<!--
Button
trigger
modal
-->
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col text-center"
style
=
"margin-left: 20px"
>
<
button
type
=
"button"
class
=
"dropdown-item dropdown-item-delete"
data
-
toggle
=
"modal"
data
-
target
=
"#modal
{
{$projeto->id}
}
"
style
=
"text-align: center"
>
<
img
src
=
"
{
{asset('img/icons/logo_lixeira.png')}
}
"
alt
=
""
>
Deletar
</
button
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
td
>
</
tr
>
@
endif
...
...
resources/views/proponente/projetosEdital.blade.php
View file @
e4a1c30d
...
...
@@ -78,6 +78,7 @@
<
th
scope
=
"col"
style
=
"width:100%"
>
Nome
do
projeto
</
th
>
<
th
scope
=
"col"
>
Data
de
Criação
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Status
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Opção
</
th
>
</
tr
>
</
thead
>
<
tbody
id
=
"projetos"
>
...
...
@@ -88,13 +89,12 @@
{{
$projeto
->
titulo
}}
</
td
>
<
td
style
=
"text-align: center"
>
{{
date
(
'd-m-Y'
,
strtotime
(
$projeto
->
updated_at
))
}}
</
td
>
@
if
(
$projeto
->
status
==
'Avaliado'
||
$projeto
->
status
==
'avaliado'
)
<
td
style
=
"color: rgb(6, 85, 6); text-align: center
"
>
Avaliado
</
td
>
@
else
if
(
$projeto
->
status
==
'Submetido'
||
$projeto
->
status
==
'submetido'
)
@
if
(
$projeto
->
status
!=
null
)
<
td
style
=
"color: rgb(6, 85, 6); text-align: center
;text-transform: capitalize;"
>
{{
$projeto
->
status
}}
</
td
>
@
else
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Submetido
</
td
>
@
elseif
(
$projeto
->
status
==
'Rascunho'
||
$projeto
->
status
==
'rascunho'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Rascunho
</
td
>
@
endif
<
td
>
<
div
class
=
"dropright dropdown-options"
style
=
"width: 100%; text-align:center; float:none"
>
<
a
id
=
"options"
class
=
"dropdown-toggle btn btn-light"
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
...
...
@@ -112,6 +112,17 @@
Solicitar
Substituições
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
"{{route('docComplementar.listar', ['projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Documentos
Complementares
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Solicitar
Certificado
</
a
>
<
hr
class
=
"dropdown-hr"
>
@
endif
<
a
href
=
"{{ route('trabalho.show', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Visualizar
...
...
@@ -129,11 +140,18 @@
--
}}
<!--
Button
trigger
modal
-->
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col text-center"
style
=
"margin-left: 20px"
>
<
button
type
=
"button"
class
=
"dropdown-item dropdown-item-delete"
data
-
toggle
=
"modal"
data
-
target
=
"#modal
{
{$projeto->id}
}
"
style
=
"text-align: center"
>
<
img
src
=
"
{
{asset('img/icons/logo_lixeira.png')}
}
"
alt
=
""
>
Deletar
</
button
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
td
>
</
tr
>
@
endif
...
...
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