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

modificacoes na tela - trabalhos do edital - avaliador

parent aa8be814
...@@ -2,20 +2,50 @@ ...@@ -2,20 +2,50 @@
@section('content') @section('content')
<div class="container" style="margin-top: 100px;"> <div class="container">
@if(isset($mensagem))
<div class="container" > <div class="col-sm-12">
<div class="row" > <br>
<div class="col-sm-10"> <div class="alert alert-success">
<h3>Trabalhos do Edital: {{ $evento->nome }}</h3> <p>{{ $mensagem }}</p>
</div>
</div>
@endif
@if(session('mensagem'))
<div class="col-sm-12">
<br>
<div class="alert alert-success">
<p>{{session('mensagem')}}</p>
</div>
</div>
@endif
<div class="row justify-content-center" style="margin-top: 3rem;">
<div class="col-md-11" style="margin-bottom: -3rem">
<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="d-flex justify-content-between align-items-center" style="margin-top: 9px; margin-bottom:-1rem">
<div class="bottomVoltar" style="margin-top: -20px">
<a href="{{ route('home') }}" class="btn btn-secondary" style=""><img src="{{asset('img/icons/logo_esquerda.png')}}" alt="" width="15px"></a>
</div>
<div class="form-group">
<h5 class="card-title mb-0" style="font-size:25px; font-family:Arial, Helvetica, sans-serif; color:#1492E6">Trabalhos do Edital: {{ $evento->nome }}</h5>
</div>
<div style="margin-top: -2rem">
<div class="form-group">
<div style="margin-top:30px;">
{{-- Pesquisar--}}
</div>
</div> </div>
</div> </div>
</div> </div>
<hr> </div>
<table class="table table-bordered">
<div class="card-body" >
<table class="table table-bordered table-hover" style="display: block; overflow-x: auto; white-space: nowrap; border-radius:10px; margin-bottom:0px">
<thead> <thead>
<tr> <tr>
<th scope="col">Nome do Projeto</th> <th scope="col" style="width:100%">Nome do Projeto</th>
<th scope="col">Data de Criação</th> <th scope="col">Data de Criação</th>
<th scope="col">Projeto</th> <th scope="col">Projeto</th>
<th scope="col">Plano de Trabalho</th> <th scope="col">Plano de Trabalho</th>
...@@ -26,14 +56,14 @@ ...@@ -26,14 +56,14 @@
@foreach ($trabalhos as $trabalho) @foreach ($trabalhos as $trabalho)
<tr> <tr>
<td>{{ $trabalho->titulo }}</td> <td>{{ $trabalho->titulo }}</td>
<td>{{ $trabalho->created_at }}</td> <td style="text-align: center">{{ $trabalho->created_at->format('d/m/Y') }}</td>
<td> <td style="text-align: center">
{{-- --}} {{-- --}}
<a href="{{route('download', ['file' => $trabalho->anexoProjeto])}}" target="_new" style="font-size: 20px; color: #114048ff;" > <a href="{{route('download', ['file' => $trabalho->anexoProjeto])}}" target="_new" style="font-size: 20px; color: #114048ff;" class="btn btn-light">
<img class="" src="{{asset('img/icons/file-download-solid.svg')}}" style="width:20px"> <img class="" src="{{asset('img/icons/file-download-solid.svg')}}" style="width:15px">
</a> </a>
</td> </td>
<td> <td style="text-align: center">
@foreach( $trabalho->participantes as $participante) @foreach( $trabalho->participantes as $participante)
@php @php
if( App\Arquivo::where('participanteId', $participante->id)->first() != null){ if( App\Arquivo::where('participanteId', $participante->id)->first() != null){
...@@ -43,8 +73,8 @@ ...@@ -43,8 +73,8 @@
} }
@endphp @endphp
@if ($planoTrabalho != null) @if ($planoTrabalho != null)
<a href="{{route('download', ['file' => $planoTrabalho])}}" target="_new" style="font-size: 20px; color: #114048ff;" > <a href="{{route('download', ['file' => $planoTrabalho])}}" target="_new" style="font-size: 20px; color: #114048ff;" class="btn btn-light">
<img class="" src="{{asset('img/icons/file-download-solid.svg')}}" style="width:20px"> <img class="" src="{{asset('img/icons/file-download-solid.svg')}}" style="width:15px">
</a> </a>
@else @else
Não planos de trabalho. Não planos de trabalho.
...@@ -67,6 +97,10 @@ ...@@ -67,6 +97,10 @@
@endforeach @endforeach
</tbody> </tbody>
</table> </table>
</div>
</div>
</div>
</div>
</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