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
846e1f70
Commit
846e1f70
authored
Sep 11, 2024
by
carlvercosaa
Browse files
Ajuste no BUG na estilizacao da tela principal e da tela dos editais
parent
ef18bc0a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
resources/views/coordenador/home.blade.php
View file @
846e1f70
This diff is collapsed.
Click to expand it.
resources/views/proponente/index.blade.php
View file @
846e1f70
...
@@ -2,133 +2,45 @@
...
@@ -2,133 +2,45 @@
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-bottom:
8
rem"
>
<
div
class
=
"container"
style
=
"margin-bottom:
4
rem
;
"
>
@
if
(
session
(
'verified'
))
@
if
(
session
(
'verified'
))
<
div
class
=
"alert alert-success"
role
=
"alert"
style
=
"margin-top: 2rem;"
>
<
div
class
=
"alert alert-success"
role
=
"alert"
style
=
"margin-top: 2rem;"
>
<
h5
class
=
"alert-heading"
>
Bem
-
vindo
ao
Submeta
!</
h
4
>
<
h5
class
=
"alert-heading"
>
Bem
-
vindo
ao
Submeta
!</
h
5
>
<
hr
>
<
hr
>
<
p
>
Seu
email
foi
verificado
com
sucesso
.
</
p
>
<
p
>
Seu
email
foi
verificado
com
sucesso
.
</
p
>
</
div
>
</
div
>
@
endif
@
endif
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 2rem;"
>
<
div
class
=
"col-md-12 form-group"
style
=
"text-align: center"
>
<
h5
style
=
"color: #1492E6; margin-top:0.5rem; font-size:25px"
>
Página
inicial
</
h5
>
<
h5
style
=
"color: #909090; margin-top:0.7rem; font-size:22px; font-weight:normal"
>
Proponente
</
h5
>
</
div
>
<
div
class
=
""
style
=
"text-align: center"
>
<
div
class
=
"form-group imagem_shadow"
style
=
"border-radius: 12px; padding:14px; height:200px; width:190px; margin:15px"
>
<
a
href
=
"
{
{route('coord.home')}
}
"
style
=
"text-decoration:none; color: inherit;"
>
<
img
src
=
"
{
{asset('img/icons/icon_editais.png')}
}
"
alt
=
""
width
=
"120px"
>
<
h5
style
=
"color: #073763; margin-top:0.5rem; font-size:25px;"
>
Editais
</
h5
>
</
a
>
</
div
>
</
div
>
<
div
class
=
""
style
=
"text-align: center"
>
<
div
class
=
"form-group imagem_shadow"
style
=
"border-radius: 12px; padding:14px; height:200px; width:250px; margin:15px"
>
<
a
href
=
"{{ route('proponente.projetos')}}"
style
=
"text-decoration:none; color: inherit;"
>
@
if
(
\
App\Trabalho
::
where
(
'proponente_id'
,
auth
()
->
user
()
->
proponentes
->
id
)
->
count
()
>
0
)
<
img
src
=
"
{
{asset('img/icons/icon_pasta_cheia.png')}
}
"
alt
=
""
width
=
"140px"
style
=
"margin-top: 45px; -webkit-filter: drop-shadow(5px 5px 5px rgb(206, 206, 206)); filter: drop-shadow(5px 5px 5px rgb(206, 206, 206));"
>
@
else
<
img
src
=
"
{
{asset('img/icons/icon_pasta_vazia.png')}
}
"
alt
=
""
width
=
"140px"
style
=
"margin-top: 45px; -webkit-filter: drop-shadow(5px 5px 5px rgb(206, 206, 206)); filter: drop-shadow(5px 5px 5px rgb(206, 206, 206));"
>
@
endif
<
h5
style
=
"color: #073763; margin-top:0.5rem; font-size:25px"
>
Minhas
propostas
</
h5
>
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
<!--
<
div
class
=
"row justify-content-center titulo-menu"
>
<
h4
>
Página
Principal
-
Proponente
</
h4
>
</
div
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<!--
Flex
container
principal
-->
<
div
class
=
"col-sm-3 d-flex justify-content-center "
>
<
div
class
=
"d-flex flex-column align-items-center justify-content-center"
style
=
"min-height: 60vh;"
>
<
a
href
=
"
{
{route('coord.home')}
}
"
style
=
"text-decoration:none; color: inherit;"
>
<!--
Título
principal
-->
<
div
class
=
"card text-center card-menu"
>
<
div
class
=
"col-md-12 form-group text-center"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h5
style
=
"color: #1492E6; font-size:25px; margin-top: 1rem;"
>
Página
inicial
</
h5
>
<
div
class
=
"container"
>
<
h5
style
=
"color: #909090; font-size:22px; font-weight:normal"
>
Proponente
</
h5
>
<
div
class
=
"row titulo-card-menu"
>
<
div
class
=
"col-md-12"
>
<
h2
style
=
"padding-top:15px"
>
Editais
</
h2
>
</
div
>
</
div
>
@
php
$eventos
=
\
App\Evento
::
all
();
$quantAberta
=
0
;
$quantEncerrada
=
0
;
$hoje
=
today
();
foreach
(
$eventos
as
$evento
)
{
if
(
$evento
->
fimSubmissao
>=
$hoje
)
{
$quantAberta
++
;
}
else
{
$quantEncerrada
++
;
}
}
@
endphp
<
div
class
=
"info-card"
>
<
div
class
=
"row"
style
=
"text-align: left;"
>
<
div
class
=
"col-md-12"
>
Total
:
{{
$quantAberta
+
$quantEncerrada
}}
</
div
>
</
div
>
<
div
class
=
"row"
style
=
"text-align: left;"
>
<
div
class
=
"col-md-12"
>
Aberto
:
{{
$quantAberta
}}
</
div
>
</
div
>
<
div
class
=
"row"
style
=
"text-align: left;"
>
<
div
class
=
"col-md-12"
>
Encerrado
:
{{
$quantEncerrada
}}
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
a
>
</
div
>
</
div
>
<
div
class
=
"col-sm-3 d-flex justify-content-center"
>
<!--
Flex
container
para
os
ícones
de
navegação
-->
<
a
href
=
"{{ route('proponente.projetos') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"d-flex justify-content-center align-items-center flex-wrap"
style
=
"gap: 2rem;"
>
<
div
class
=
"card text-center card-menu"
>
<!--
Botão
Editais
-->
<
div
class
=
"card-body d-flex justify-content-center"
>
<
div
class
=
"form-group imagem_shadow text-center"
style
=
"border-radius: 12px; padding:14px; width:190px;"
>
<
div
class
=
"container"
>
<
a
href
=
"
{
{route('coord.home')}
}
"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"row titulo-card-menu"
>
<
img
src
=
"
{
{asset('img/icons/icon_editais.png')}
}
"
alt
=
"Icone Editais"
width
=
"120px"
>
<
div
class
=
"col-md-12"
>
<
h5
style
=
"color: #073763; margin-top:0.5rem; font-size:25px;"
>
Editais
</
h5
>
<
h2
style
=
"padding-top:15px"
>
Projetos
</
h2
>
</
a
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"row"
>
<!--
Botão
Minhas
Propostas
-->
<
div
class
=
"col-md-12"
>
<
div
class
=
"form-group imagem_shadow text-center"
style
=
"border-radius: 12px; padding:14px; width:190px;"
>
<
h6
>
Nº
total
de
projetos
:</
h6
>
<
a
href
=
"{{ route('proponente.projetos')}}"
style
=
"text-decoration:none; color: inherit;"
>
</
div
>
@
if
(
\
App\Trabalho
::
where
(
'proponente_id'
,
auth
()
->
user
()
->
proponentes
->
id
)
->
count
()
>
0
)
</
div
>
<
img
src
=
"
{
{asset('img/icons/icon_pasta_cheia.png')}
}
"
alt
=
"Icone Pasta Cheia"
width
=
"140px"
style
=
"filter: drop-shadow(5px 5px 5px rgb(206, 206, 206));"
>
@
php
@
else
$projetos
=
\
App\Trabalho
::
where
(
'proponente_id'
,
auth
()
->
user
()
->
proponentes
->
id
)
->
count
();
<
img
src
=
"
{
{asset('img/icons/icon_pasta_vazia.png')}
}
"
alt
=
"Icone Pasta Vazia"
width
=
"140px"
style
=
"filter: drop-shadow(5px 5px 5px rgb(206, 206, 206));"
>
@
endphp
@
endif
<
div
class
=
"row"
>
<
h5
style
=
"color: #073763; margin-top:0.5rem; font-size:25px"
>
Minhas
Propostas
</
h5
>
<
div
class
=
"col-md-12"
>
</
a
>
<
h1
class
=
"quant-titulo-card"
>
{{
$projetos
}}
</
h1
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
a
>
</
div
>
</
div
>
{{
--
<
div
class
=
"col-sm-3 d-flex justify-content-center"
>
<
a
href
=
"#"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 13rem;height: 15rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Mensagens
</
h2
>
</
div
>
</
div
>
</
a
>
</
div
>
--
}}
</
div
>
</
div
>
</
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