Commit e538af78 authored by Danillo Bion's avatar Danillo Bion
Browse files

modificacoes na tela de editais - proponente e não logado

parent fc37f40e
public/img/img_fundo.png

9.57 KB | W: | H:

public/img/img_fundo.png

15 KB | W: | H:

public/img/img_fundo.png
public/img/img_fundo.png
public/img/img_fundo.png
public/img/img_fundo.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -5,13 +5,12 @@ ...@@ -5,13 +5,12 @@
<div class="container"> <div class="container">
{{-- titulo da página --}} {{-- titulo da página --}}
<div class="row justify-content-center titulo"> <div class="row justify-content-center" style="margin-top: 3rem; text-align:center">
<div class="col-sm-12"> <div class="col-md-12" style="margin-bottom: -0.5rem">
<div class="row">
<h3>Editais</h3> <h3>Editais</h3>
</div> </div>
<div class="col-md-12">
<hr>
</div> </div>
</div> </div>
@php @php
...@@ -19,13 +18,19 @@ ...@@ -19,13 +18,19 @@
@endphp @endphp
<div class="row"> <div class="row">
@if(count($eventos)>0)
@foreach ($eventos as $evento) @foreach ($eventos as $evento)
<div class="card" style="width: 18rem;">
@if (Auth::check())
<a href="{{ route('evento.visualizar',['id'=> $evento->id]) }}" style="text-decoration: none">
@else
<a href="{{ route('evento.visualizarNaoLogado', ['id'=>$evento->id]) }}" style="text-decoration: none">
@endif
<div class="card" style="width: 18rem; border-radius:12px; border-width:0px">
@if(isset($evento->fotoEvento)) @if(isset($evento->fotoEvento))
<img src="{{asset('storage/eventos/'.$evento->id.'/logo.png')}}" class="card-img-top" alt="..."> <img src="{{asset('storage/eventos/'.$evento->id.'/logo.png')}}" class="card-img-top" alt="...">
@else @else
<img src="{{asset('img/colorscheme.png')}}" class="card-img-top" alt="..."> <img src="{{asset('img/img_fundo.png')}}" class="card-img-top" alt="..." style="border-radius: 12px;">
@endif @endif
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">
...@@ -33,7 +38,7 @@ ...@@ -33,7 +38,7 @@
<h4 class="card-title"> <h4 class="card-title">
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-sm-12"> <div class="col-sm-12">
{{$evento->nome}} <h3 style="color: #01487E; font-family:Arial, Helvetica, sans-serif; font-size:30px; font-weight:bold">{{$evento->nome}}</h3>
{{-- @if(Auth::user()->tipo == "administrador" || Auth::user()->tipo == "administradorResponsavel") --}} {{-- @if(Auth::user()->tipo == "administrador" || Auth::user()->tipo == "administradorResponsavel") --}}
@can('isCoordenador', $evento) @can('isCoordenador', $evento)
<div class="btn-group dropright dropdown-options"> <div class="btn-group dropright dropdown-options">
...@@ -70,15 +75,51 @@ ...@@ -70,15 +75,51 @@
</div> </div>
</div> </div>
<p class="card-text"> <div class="row justify-content-lg-left" style="margin-left:1px; margin-right:1px">
<div><img src="{{asset('img/icons/icon_submissao.png')}}" class="card-img-top" alt="..." style="width:45px; margin-right:15px"></div>
<div class="form-group" style="text-align: left">
<div style="font-weight: normal;color:black; font-family:Arial, Helvetica, sans-serif; font-size:18px; margin-bottom:-5px">Submissão</div>
<div style="color: #909090">{{date('d/m/Y',strtotime($evento->inicioSubmissao))}} - {{date('d/m/Y',strtotime($evento->fimSubmissao))}}</div>
</div>
</div>
<div class="row justify-content-lg-left" style="margin-left:1px; margin-right:1px">
<div><img src="{{asset('img/icons/icon_revisao.png')}}" class="card-img-top" alt="..." style="width:45px; margin-right:15px"></div>
<div class="form-group" style="text-align: left">
<div style="font-weight: normal;color:black; font-family:Arial, Helvetica, sans-serif; font-size:18px; margin-bottom:-5px">Revisão</div>
<div style="color: #909090">{{date('d/m/Y',strtotime($evento->inicioRevisao))}} - {{date('d/m/Y',strtotime($evento->fimRevisao))}}</div>
</div>
</div>
<div class="row justify-content-lg-left" style="margin-left:1px; margin-right:1px">
<div><img src="{{asset('img/icons/icon_resultado_preliminar.png')}}" class="card-img-top" alt="..." style="width:45px; margin-right:15px"></div>
<div class="form-group" style="text-align: left">
<div style="font-weight: normal;color:black; font-family:Arial, Helvetica, sans-serif; font-size:18px; margin-bottom:-5px">Resultado preliminar</div>
<div style="color: #909090">{{date('d/m/Y',strtotime($evento->resultado_preliminar))}}</div>
</div>
</div>
<div class="row justify-content-lg-left" style="margin-left:1px; margin-right:1px">
<div><img src="{{asset('img/icons/icon_recurso.png')}}" class="card-img-top" alt="..." style="width:45px; margin-right:15px"></div>
<div class="form-group" style="text-align: left">
<div style="font-weight: normal;color:black; font-family:Arial, Helvetica, sans-serif; font-size:18px; margin-bottom:-5px">Recurso</div>
<div style="color: #909090">{{date('d/m/Y',strtotime($evento->inicio_recurso))}} - {{date('d/m/Y',strtotime($evento->fim_recurso))}}</div>
</div>
</div>
<div class="row justify-content-lg-left" style="margin-left:1px; margin-right:1px">
<div><img src="{{asset('img/icons/icon_resultado_final.png')}}" class="card-img-top" alt="..." style="width:45px; margin-right:15px"></div>
<div class="form-group" style="text-align: left">
<div style="font-weight: normal;color:black; font-family:Arial, Helvetica, sans-serif; font-size:18px; margin-bottom:-5px">Resultado final</div>
<div style="color: #909090">{{date('d/m/Y',strtotime($evento->resultado_final))}}</div>
</div>
</div>
<!--<p class="card-text">
<strong>Submissão:</strong> {{date('d/m/Y',strtotime($evento->inicioSubmissao))}} - {{date('d/m/Y',strtotime($evento->fimSubmissao))}}<br> <strong>Submissão:</strong> {{date('d/m/Y',strtotime($evento->inicioSubmissao))}} - {{date('d/m/Y',strtotime($evento->fimSubmissao))}}<br>
<strong>Revisão:</strong> {{date('d/m/Y',strtotime($evento->inicioRevisao))}} - {{date('d/m/Y',strtotime($evento->fimRevisao))}}<br> <strong>Revisão:</strong> {{date('d/m/Y',strtotime($evento->inicioRevisao))}} - {{date('d/m/Y',strtotime($evento->fimRevisao))}}<br>
<strong>Resultado Preliminar:</strong> {{date('d/m/Y',strtotime($evento->resultado_preliminar))}}<br> <strong>Resultado Preliminar:</strong> {{date('d/m/Y',strtotime($evento->resultado_preliminar))}}<br>
<strong>Recurso:</strong> {{date('d/m/Y',strtotime($evento->inicio_recurso))}} - {{date('d/m/Y',strtotime($evento->fim_recurso))}}<br> <strong>Recurso:</strong> {{date('d/m/Y',strtotime($evento->inicio_recurso))}} - {{date('d/m/Y',strtotime($evento->fim_recurso))}}<br>
<strong>Resultado Final:</strong> {{date('d/m/Y',strtotime($evento->resultado_final))}}<br> <strong>Resultado Final:</strong> {{date('d/m/Y',strtotime($evento->resultado_final))}}<br>
</p> </p>-->
<p> <!--<p>
@if (Auth::check()) @if (Auth::check())
<a href="{{ route('evento.visualizar',['id'=> $evento->id]) }}" class="visualizarEvento">Visualizar edital</a> <a href="{{ route('evento.visualizar',['id'=> $evento->id]) }}" class="visualizarEvento">Visualizar edital</a>
@if($evento->inicioSubmissao <= $hoje && $hoje <= $evento->fimSubmissao) @if($evento->inicioSubmissao <= $hoje && $hoje <= $evento->fimSubmissao)
...@@ -91,11 +132,20 @@ ...@@ -91,11 +132,20 @@
@else @else
<a href="{{ route('evento.visualizarNaoLogado', ['id'=>$evento->id]) }}" class="visualizarEvento">Visualizar edital</a> <a href="{{ route('evento.visualizarNaoLogado', ['id'=>$evento->id]) }}" class="visualizarEvento">Visualizar edital</a>
@endif @endif
</p> </p> -->
</div> </div>
</div> </div>
</a>
@endforeach @endforeach
@else
<div class="form-row justify-content-lg-center" style="width:100%; margin-top:4rem; text-align:center">
<div class="col-md-12">
<img src="{{asset('img/icons/logo_projeto.png')}}" alt="..." width="190px">
</div>
<div class="col-md-5" style="text-align: center;margin-top:1rem"><h5>Nenhum edital cadastrado!</h5></div>
</div>
@endif
</div> </div>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment