Commit 747ad96f authored by Danillo Bion's avatar Danillo Bion
Browse files

modificacoes na tela do proponente - lista de editais

parent 7c3e7461
...@@ -492,4 +492,15 @@ button.close { ...@@ -492,4 +492,15 @@ button.close {
.btn-cadastro:hover { .btn-cadastro:hover {
color: black; color: black;
}
.bottomVoltar{
display: none;
margin-right:10px;
}
@media screen and (max-width: 767px){
.bottomVoltar{
display: block;
margin-right:10px;
}
} }
\ No newline at end of file
...@@ -2,99 +2,99 @@ ...@@ -2,99 +2,99 @@
@section('content') @section('content')
<div class="container" style="margin-top: 100px;"> <div class="container">
<div class="row justify-content-center" style="margin-top: 2rem;">
<div class="container" > <div class="col-md-11">
<div class="row" > <div class="card" style="border-radius: 12px; padding:14px">
<div class="col-sm-1" style="text-align: left; flaot:left;">
<a href="{{ route('proponente.index') }}" class="btn btn-secondary" style="position:relative; float: right;">Voltar</a> <div class="card-body" style="margin-bottom: -2rem">
</div> <div class="d-flex justify-content-between align-items-center">
<div class="col-sm-7" style="text-align: center;"> <div class="bottomVoltar">
<div class="row"> <a href="{{ route('proponente.index') }}" class="btn btn-secondary" style="position:relative; float: right;"><img src="{{asset('img/icons/logo_esquerda.png')}}" alt="" width="15px"></a>
<div class="col-md-4"> </div>
<div><h5 style="color: #1492E6; margin-top:0.5rem">Editais</h5></div>
<div>
<div class="row justify-content-end">
<div class="btn-group col">
<button class="btn" onclick="buscarEdital(this.parentElement.parentElement.children[1].children[0])" style="margin-right:5px; border-radius:12px">
<img src="{{asset('img/icons/logo_lupa2.png')}}" alt="" width="25px">
</button>
<input type="text" class="form-control form-control-edit" placeholder="Digite o nome do edital" onkeyup="buscarEdital(this)" style="border-color: #d1d1d1">
</div>
</div>
</div> </div>
<div class="col-md-8">
<h4 class="titulo-table">Editais</h4>
</div> </div>
<div style="margin-top:-10px"><hr style="border-top: 1px solid#1492E6"></div>
</div> </div>
</div>
<div class="col-sm-4"> <div class="card-body" >
<div class="row"> <table class="table table-bordered" style="display: block;
<div class="col-sm-2"> overflow-x: auto;
<button class="btn" onclick="buscarEdital(this.parentElement.parentElement.children[1].children[0])"> white-space: nowrap; border-radius:10px">
<img src="{{asset('img/icons/logo_lupa.png')}}" alt=""> <thead>
</button> <tr>
</div> <th scope="col" style="width: 100%; color:#909090">Edital</th>
<div class="col-sm-10"> <th scope="col" style="text-align: center; color:#909090">Inicio da Submissão</th>
<input type="text" class="form-control form-control-edit" placeholder="Digite o nome do edital" onkeyup="buscarEdital(this)"> <th scope="col" style="text-align: center; color:#909090">Fim da Submissão</th>
</div> <th scope="col" style="text-align: center; color:#909090">Data do Resultado</th>
<th scope="col" style="text-align: center; color:#909090">Baixar Edital</th>
<th scope="col" style="text-align: center; color:#909090">Opção</th>
</tr>
</thead>
<tbody id="eventos">
@foreach ($eventos as $evento)
<tr>
<td style="text-align: left;">
<a href="{{ route('evento.visualizar',['id'=>$evento->id]) }}" class="">
{{ $evento->nome }}
</a>
</td>
<td style="text-align: center;">{{ date('d/m/Y', strtotime($evento->inicioSubmissao)) }}</td>
<td style="text-align: center;">{{ date('d/m/Y', strtotime($evento->fimSubmissao)) }}</td>
<td style="text-align: center;">{{ date('d/m/Y', strtotime($evento->created_at)) }}</td>
<td style="text-align: center">
<a class="btn btn-light" href="{{ route('baixar.edital', ['id' => $evento->id]) }}" style="width: 100%">
<img src="{{asset('img/icons/file-download-solid.svg')}}" width="15px">
</a>
</td>
<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">
<img src="{{asset('img/icons/ellipsis-v-solid.svg')}}" style="width:8px">
</a>
<div class="dropdown-menu">
<a href="{{ route('proponente.projetosEdital', ['id' => $evento->id]) }}" class="dropdown-item" style="text-align: center">
Projetos submetidos
</a>
@if($evento->inicioSubmissao <= $hoje && $hoje <= $evento->fimSubmissao)
<hr class="dropdown-hr">
<a href="{{ route('trabalho.index', ['id' => $evento->id] )}}" class="dropdown-item" style="text-align: center">
Criar projeto
</a>
@endif
{{-- <a href="" class="dropdown-item" style="text-align: center">
Visualizar resultado
</a> --}}
{{-- <a href="" class="dropdown-item" style="text-align: center">
Recurso ao resultado
</a>
<a href="" class="dropdown-item" style="text-align: center">
Resultado preeliminar
</a>
<a href="" class="dropdown-item" style="text-align: center">
Resultado final
</a> --}}
</div>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<hr>
<table class="table table-bordered">
<thead>
<tr>
<th scope="col">Edital</th>
<th scope="col" style="text-align: center;">Inicio da Submissão</th>
<th scope="col" style="text-align: center;">Fim da Submissão</th>
<th scope="col" style="text-align: center;">Data do Resultado</th>
<th scope="col" style="text-align: center;">Baixar Edital</th>
<th scope="col">Opção</th>
</tr>
</thead>
<tbody id="eventos">
@foreach ($eventos as $evento)
<tr>
<td>
<a href="{{ route('evento.visualizar',['id'=>$evento->id]) }}" class="visualizarEvento">
{{ $evento->nome }}
</a>
</td>
<td style="text-align: center;">{{ date('d/m/Y', strtotime($evento->inicioSubmissao)) }}</td>
<td style="text-align: center;">{{ date('d/m/Y', strtotime($evento->fimSubmissao)) }}</td>
<td style="text-align: center;">{{ date('d/m/Y', strtotime($evento->created_at)) }}</td>
<td style="text-align: center">
<a href="{{ route('baixar.edital', ['id' => $evento->id]) }}">
<img src="{{asset('img/icons/file-download-solid.svg')}}" width="15px">
</a>
</td>
<td>
<div class="btn-group dropright dropdown-options">
<a id="options" class="dropdown-toggle " data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img src="{{asset('img/icons/ellipsis-v-solid.svg')}}" style="width:8px">
</a>
<div class="dropdown-menu">
<a href="{{ route('proponente.projetosEdital', ['id' => $evento->id]) }}" class="dropdown-item" style="text-align: center">
Projetos submetidos
</a>
@if($evento->inicioSubmissao <= $hoje && $hoje <= $evento->fimSubmissao)
<hr class="dropdown-hr">
<a href="{{ route('trabalho.index', ['id' => $evento->id] )}}" class="dropdown-item" style="text-align: center">
Criar projeto
</a>
@endif
{{-- <a href="" class="dropdown-item" style="text-align: center">
Visualizar resultado
</a> --}}
{{-- <a href="" class="dropdown-item" style="text-align: center">
Recurso ao resultado
</a>
<a href="" class="dropdown-item" style="text-align: center">
Resultado preeliminar
</a>
<a href="" class="dropdown-item" style="text-align: center">
Resultado final
</a> --}}
</div>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div> </div>
@endsection @endsection
......
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