Commit 92d55931 authored by Danillo Bion's avatar Danillo Bion
Browse files

ajuste na tela - propostas submetidas

parent fe2905dd
...@@ -19,36 +19,32 @@ ...@@ -19,36 +19,32 @@
</div> </div>
</div> </div>
@endif @endif
<div class="row justify-content-center" style="margin-top: 2rem;"> <div class="row justify-content-center" style="margin-top: 3rem;">
<div class="col-md-11"> <div class="col-md-11">
<div class="card" style="border-radius: 12px; padding:14px"> <div class="card card_conteudo shadow bg-white" style="border-radius:12px; border-width:0px;">
<div class="card-header" style="border-top-left-radius: 12px; border-top-right-radius: 12px; background-color: #fff">
<div class="card-body" style="margin-bottom: -2rem"> <div class="d-flex justify-content-between align-items-center" style="margin-top: 9px; margin-bottom:-1.5rem">
<div class="d-flex justify-content-between align-items-center">
<div class="bottomVoltar"> <div class="bottomVoltar">
<a href="{{ route('evento.visualizar',['id'=> $edital->id]) }}" class="btn btn-secondary" style="position:relative; float: right;"><img src="{{asset('img/icons/logo_esquerda.png')}}" alt="" width="15px"></a> <a href="{{ route('evento.visualizar',['id'=> $edital->id]) }}" class="btn btn-secondary" style="position:relative; float: right;"><img src="{{asset('img/icons/logo_esquerda.png')}}" alt="" width="15px"></a>
</div> </div>
<div> <div class="form-group">
<h5 style="color: #1492E6; margin-top:0.5rem">Propostas submetidas - {{ $edital->nome }}</h5> <h5 class="card-title mb-0" style="font-size:25px; font-family:Arial, Helvetica, sans-serif; color:#1492E6">Propostas submetidas - {{ $edital->nome }}</h5>
<h6 class="titulo-table" style="color: red;padding-left: 10px;">Submissão irá até o dia <span style="color: red">{{ date('d/m/Y', strtotime($edital->fimSubmissao)) }}</span></h6> <h6 class="titulo-table" style="color: red;">Submissão irá até o dia <span style="color: red">{{ date('d/m/Y', strtotime($edital->fimSubmissao)) }}</span></h6>
</div> </div>
<div> <div style="margin-top: -2rem">
<a @if($edital->inicioSubmissao <= $hoje && $hoje <= $edital->fimSubmissao) href="{{ route('trabalho.index', ['id' => $edital->id] )}}" class="btn btn-info" @else href="#" data-toggle="tooltip" data-placement="top" title="O periodo de submissão foi encerrado." @endif style="position:relative; float: right;">Criar proposta</a> <a @if($edital->inicioSubmissao <= $hoje && $hoje <= $edital->fimSubmissao) href="{{ route('trabalho.index', ['id' => $edital->id] )}}" class="btn btn-info" @else href="#" data-toggle="tooltip" data-placement="top" title="O periodo de submissão foi encerrado." @endif style="position:relative; float: right;">Criar proposta</a>
</div> </div>
</div> </div>
<div style="margin-top:-10px"><hr style="border-top: 1px solid#1492E6"></div>
</div> </div>
<div class="card-body" > <div class="card-body" >
@if(count($projetos)>0) @if(count($projetos)>0)
<table class="table table-bordered table-hover" style="display: block; <table class="table table-bordered table-hover" style="display: block; overflow-x: auto; white-space: nowrap; border-radius:10px; margin-bottom:0px">
overflow-x: auto;
white-space: nowrap; border-radius:10px">
<thead> <thead>
<tr> <tr>
<th scope="col" style="width:100%">Nome do projeto</th> <th scope="col" style="width:100%">Nome do projeto</th>
<th scope="col" style="text-align:center">Status</th>
<th scope="col">Data de Criação</th> <th scope="col">Data de Criação</th>
<th scope="col" style="text-align:center">Status</th>
<th scope="col">Opção</th> <th scope="col">Opção</th>
</tr> </tr>
</thead> </thead>
...@@ -57,19 +53,19 @@ ...@@ -57,19 +53,19 @@
@if ($projeto->proponente_id === Auth()->user()->proponentes->id) @if ($projeto->proponente_id === Auth()->user()->proponentes->id)
<tr> <tr>
<td> <td>
{{ $projeto->titulo }} {{ $projeto->titulo }}{{$projeto->status}}
</td> </td>
<td style="text-align: center">{{ date('d-m-Y', strtotime($projeto->updated_at)) }}</td>
@if($projeto->status == 'Avaliado') @if($projeto->status == 'Avaliado')
<td style="color: rgb(6, 85, 6); text-align: center">Avaliado</td> <td style="color: rgb(6, 85, 6); text-align: center">Avaliado</td>
@elseif($projeto->status == 'Submetido') @elseif($projeto->status == 'Submetido' || $projeto->status == 'submetido')
<td style="color: rgb(0, 0, 0); text-align: center">Submetido</td> <td style="color: rgb(0, 0, 0); text-align: center">Submetido</td>
@elseif($projeto->status == 'Rascunho') @elseif($projeto->status == 'Rascunho')
<td style="color: rgb(0, 0, 0); text-align: center">Rascunho</td> <td style="color: rgb(0, 0, 0); text-align: center">Rascunho</td>
@endif @endif
<td style="text-align: center">{{ date('d-m-Y', strtotime($projeto->updated_at)) }}</td>
<td> <td>
<div class="dropright dropdown-options" style="width: 100%; text-align:center; float:none"> <div class="dropright dropdown-options" style="width: 100%; text-align:center; float:none">
<a id="options" class="dropdown-toggle btn btn-link" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <a id="options" class="dropdown-toggle btn btn-light" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img src="{{asset('img/icons/ellipsis-v-solid.svg')}}" style="width:8px"> <img src="{{asset('img/icons/ellipsis-v-solid.svg')}}" style="width:8px">
</a> </a>
<div class="dropdown-menu"> <div class="dropdown-menu">
......
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