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
51f8e1b6
Unverified
Commit
51f8e1b6
authored
May 18, 2023
by
Laboratório Multidisciplinar de Tecnologias Sociais
Committed by
GitHub
May 18, 2023
Browse files
Merge pull request #874 from luiz-davi/melhorias_visuais_projetos
Melhorias visuais projetos
parents
100ba9d2
6453cc5b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdministradorController.php
View file @
51f8e1b6
This diff is collapsed.
Click to expand it.
resources/views/administrador/analisar.blade.php
View file @
51f8e1b6
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
</
select
>
</
select
>
<
p
style
=
"color: #234B8B; font-size: 20px;font-weight: bold; margin-top: 30px;"
>
Quatidade
de
projetos
:
{{
$contador_trabalhos
}}
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -64,66 +65,73 @@
...
@@ -64,66 +65,73 @@
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
id
=
"projetos"
>
@
foreach
(
$trabalhos
as
$trabalho
)
<
div
id
=
"projetos"
>
@
foreach
(
$trabalhos
as
$trabalho
)
<!--
Informações
Proponente
-->
<!--
Informações
Proponente
-->
<
div
class
=
"row justify-content-center allTrab apareceu"
style
=
"margin-top: 20px;"
>
<
br
>
<
div
class
=
"row justify-content-center allTrab apareceu"
style
=
"margin-top: 20px;"
>
<
div
class
=
"col-md-11"
onclick
=
"myFunc(
{
{$trabalho->id}
}
)"
>
<
br
>
<
a
href
=
"
{
{route('admin.analisarProposta',['id'=>$trabalho->id])}
}
"
id
=
"vizuProposta
{
{$trabalho->id}
}
"
hidden
></
a
>
<
div
class
=
"col-md-11"
onclick
=
"myFunc(
{
{$trabalho->id}
}
)"
>
<
a
href
=
"
{
{route('admin.analisarProposta',['id'=>$trabalho->id])}
}
"
id
=
"vizuProposta
{
{$trabalho->id}
}
"
hidden
></
a
>
<
div
class
=
"card"
style
=
"border-radius: 5px;margin-left: 25px;margin-right: 25 px;
@if(
$trabalho->arquivado
== true)background-color: #e7e7e7;@endif"
>
<
div
class
=
"card"
style
=
"border-radius: 5px;margin-left: 25px;margin-right: 25 px;
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem; padding-left: 25px;padding-right: 25px;"
>
@if(
$trabalho->arquivado
== true)background-color: #e7e7e7;@endif"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem; padding-left: 25px;padding-right: 25px;"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-10 tituloProj"
><
h5
style
=
"color: #234B8B; font-weight: bold; margin-top: 15px;"
>
Título
:
{{
$trabalho
->
titulo
}}
</
h5
></
div
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-2"
>
<
div
class
=
"col-md-10 tituloProj"
><
h5
style
=
"color: #234B8B; font-weight: bold; margin-top: 15px;"
>
Título
:
{{
$trabalho
->
titulo
}}
</
h5
></
div
>
@
if
(
$trabalho
->
arquivado
==
true
)
<
div
class
=
"col-md-2"
>
<
div
title
=
"Proposta Arquivada"
>
@
if
(
$trabalho
->
arquivado
==
true
)
<
svg
viewBox
=
"0 0 24 24"
xmlns
=
"http://www.w3.org/2000/svg"
<
div
title
=
"Proposta Arquivada"
>
style
=
"width: 23%;margin: auto;display: flex;margin-top: 0px;justify-content: center;align-items: center;"
><
g
><
path
fill
=
"none"
d
=
"M0 0h24v24H0z"
/><
path
d
=
"M3 10H2V4.003C2 3.449 2.455 3 2.992 3h18.016A.99.99 0 0 1 22 4.003V10h-1v10.001a.996.996 0 0 1-.993.999H3.993A.996.996 0 0 1 3 20.001V10zm16 0H5v9h14v-9zM4 5v3h16V5H4zm5 7h6v2H9v-2z"
/></
g
></
svg
></
div
>
<
svg
viewBox
=
"0 0 24 24"
xmlns
=
"http://www.w3.org/2000/svg"
@
else
style
=
"width: 23%;margin: auto;display: flex;margin-top: 0px;justify-content: center;align-items: center;"
><
g
><
path
fill
=
"none"
d
=
"M0 0h24v24H0z"
/><
path
d
=
"M3 10H2V4.003C2 3.449 2.455 3 2.992 3h18.016A.99.99 0 0 1 22 4.003V10h-1v10.001a.996.996 0 0 1-.993.999H3.993A.996.996 0 0 1 3 20.001V10zm16 0H5v9h14v-9zM4 5v3h16V5H4zm5 7h6v2H9v-2z"
/></
g
></
svg
></
div
>
@
else
@
if
(
$trabalho
->
status
==
"aprovado"
)
<
img
src
=
"
{
{asset('img/icons/aprovado.png')}
}
"
style
=
"width: 23%;margin: auto;display: flex;margin-top: 0px;justify-content: center;align-items: center;"
alt
=
""
>
@
if
(
$trabalho
->
status
==
"aprovado"
)
@
elseif
(
$trabalho
->
status
==
"reprovado"
)
<
img
src
=
"
{
{asset('img/icons/aprovado.png')}
}
"
style
=
"width: 23%;margin: auto;display: flex;margin-top: 0px;justify-content: center;align-items: center;"
alt
=
""
>
<
img
src
=
"
{
{asset('img/icons/negado.png')}
}
"
style
=
"width: 23%;margin: auto;display: flex;margin-top: 0px;justify-content: center;align-items: center;"
alt
=
""
>
@
elseif
(
$trabalho
->
status
==
"reprovado"
)
<
img
src
=
"
{
{asset('img/icons/negado.png')}
}
"
style
=
"width: 23%;margin: auto;display: flex;margin-top: 0px;justify-content: center;align-items: center;"
alt
=
""
>
@
else
<
img
src
=
"
{
{asset('img/icons/pendente.png')}
}
"
style
=
"width: 20%;margin: auto;display: flex;justify-content: center;align-items: center;"
alt
=
""
>
@
else
@
endif
<
img
src
=
"
{
{asset('img/icons/pendente.png')}
}
"
style
=
"width: 20%;margin: auto;display: flex;justify-content: center;align-items: center;"
alt
=
""
>
@
endif
@
endif
</
div
>
@
endif
</
div
>
<
hr
style
=
"border-top: 1px solid#1492E6"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-12"
>
<
p
class
=
"proponenteProj"
style
=
"color: #4D4D4D; padding: 0px"
><
b
>
Proponente
:</
b
>
{{
App\Proponente
::
find
(
$trabalho
->
proponente_id
)
->
user
->
name
}}
</
p
>
</
div
>
@
if
(
$evento
->
numParticipantes
!=
0
)
<
div
class
=
"col-md-12"
>
<
p
style
=
"color: #4D4D4D; padding: 0px"
><
b
>
Discentes
:</
b
>
@
foreach
(
$trabalho
->
participantes
as
$participante
)
{{
$participante
->
user
->
name
}};
@
endforeach
</
div
>
@
endif
@
if
(
$trabalho
->
grande_area_id
!=
null
&&
$trabalho
->
area_id
!=
null
&&
$trabalho
->
sub_area_id
!=
null
)
<
div
class
=
"col-md-12"
>
<
h6
style
=
"color: #234B8B; font-weight: bold;font-size: 13px;"
>
{{
$trabalho
->
grandeArea
->
nome
}}
>
{{
$trabalho
->
area
->
nome
}}
>
{{
$trabalho
->
subArea
->
nome
}}
</
h6
>
</
div
>
@
endif
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endforeach
<
hr
style
=
"border-top: 1px solid#1492E6"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-12"
>
<
p
class
=
"proponenteProj"
style
=
"color: #4D4D4D; padding: 0px"
><
b
>
Proponente
:</
b
>
{{
App\Proponente
::
find
(
$trabalho
->
proponente_id
)
->
user
->
name
}}
</
p
>
</
div
>
@
if
(
$evento
->
numParticipantes
!=
0
)
<
div
class
=
"col-md-12"
>
<
p
style
=
"color: #4D4D4D; padding: 0px"
><
b
>
Discentes
:</
b
>
@
foreach
(
$trabalho
->
participantes
as
$participante
)
{{
$participante
->
user
->
name
}};
@
endforeach
</
div
>
@
endif
@
if
(
$trabalho
->
grande_area_id
!=
null
&&
$trabalho
->
area_id
!=
null
&&
$trabalho
->
sub_area_id
!=
null
)
<
div
class
=
"col-md-12"
>
<
h6
style
=
"color: #234B8B; font-weight: bold;font-size: 13px;"
>
{{
$trabalho
->
grandeArea
->
nome
}}
>
{{
$trabalho
->
area
->
nome
}}
>
{{
$trabalho
->
subArea
->
nome
}}
</
h6
>
</
div
>
@
endif
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endforeach
<
div
class
=
"py-4"
style
=
"margin-left: 80px"
>
{{
$trabalhos
->
appends
([
'evento_id'
=>
request
()
->
get
(
'evento_id'
,
''
)
])
->
links
()
}}
</
div
>
</
div
>
@
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