diff --git a/public/css/layout.css b/public/css/layout.css index d486c604b6cd74efbb9a718034a327509078633e..5f4b373b9d59c16c5db86f50efcd4dd29c769b46 100644 --- a/public/css/layout.css +++ b/public/css/layout.css @@ -492,4 +492,15 @@ button.close { .btn-cadastro:hover { 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 diff --git a/public/img/icons/logo_esquerda.png b/public/img/icons/logo_esquerda.png new file mode 100644 index 0000000000000000000000000000000000000000..be7cc0bb5f4f583e245943c6502d287c98cd8e9c Binary files /dev/null and b/public/img/icons/logo_esquerda.png differ diff --git a/public/img/icons/logo_lupa2.png b/public/img/icons/logo_lupa2.png new file mode 100644 index 0000000000000000000000000000000000000000..d72eb0eda42780f8d1f5f35b7abe4f7ba85935d3 Binary files /dev/null and b/public/img/icons/logo_lupa2.png differ diff --git a/resources/views/proponente/editais.blade.php b/resources/views/proponente/editais.blade.php index 37f83fada7fafc42eca432973e8c3f0ed47f3fb0..e33230c1138370a8c2ae7cd0c52c326aa4ce78c5 100644 --- a/resources/views/proponente/editais.blade.php +++ b/resources/views/proponente/editais.blade.php @@ -2,99 +2,99 @@ @section('content') -<div class="container" style="margin-top: 100px;"> - - <div class="container" > - <div class="row" > - <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> - <div class="col-sm-7" style="text-align: center;"> - <div class="row"> - <div class="col-md-4"> +<div class="container"> + <div class="row justify-content-center" style="margin-top: 2rem;"> + <div class="col-md-11"> + <div class="card" style="border-radius: 12px; padding:14px"> + + <div class="card-body" style="margin-bottom: -2rem"> + <div class="d-flex justify-content-between align-items-center"> + <div class="bottomVoltar"> + <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> + <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 class="col-md-8"> - <h4 class="titulo-table">Editais</h4> </div> + <div style="margin-top:-10px"><hr style="border-top: 1px solid#1492E6"></div> </div> - </div> - <div class="col-sm-4"> - <div class="row"> - <div class="col-sm-2"> - <button class="btn" onclick="buscarEdital(this.parentElement.parentElement.children[1].children[0])"> - <img src="{{asset('img/icons/logo_lupa.png')}}" alt=""> - </button> - </div> - <div class="col-sm-10"> - <input type="text" class="form-control form-control-edit" placeholder="Digite o nome do edital" onkeyup="buscarEdital(this)"> - </div> + + <div class="card-body" > + <table class="table table-bordered" style="display: block; + overflow-x: auto; + white-space: nowrap; border-radius:10px"> + <thead> + <tr> + <th scope="col" style="width: 100%; color:#909090">Edital</th> + <th scope="col" style="text-align: center; color:#909090">Inicio da Submissão</th> + <th scope="col" style="text-align: center; color:#909090">Fim da Submissão</th> + <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> - <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> @endsection