diff --git a/resources/views/administrador/listarBolsas.blade.php b/resources/views/administrador/listarBolsas.blade.php index f4ca691fbb0f2d647deb8a7e1c573bd319d45e2e..4d55c5b8181bd3af41f5d452d71d915a41784a61 100644 --- a/resources/views/administrador/listarBolsas.blade.php +++ b/resources/views/administrador/listarBolsas.blade.php @@ -7,7 +7,7 @@ <div class="row justify-content-center titulo-menu mb-0"> <h4>Dados Bolsa </h4> </div> - <div class="card-body" style="width: 75% !important;margin: auto;"> + <div class="card-body" style="width: 80% !important;margin: auto;"> <table class="table table-bordered table-hover" style="display: block; overflow-x: visible; white-space: nowrap; border-radius:10px; margin-bottom:0px"> <thead> @@ -23,12 +23,12 @@ @foreach($trabalho->participantes as $participante) <tbody> - <td style="text-align: center;">{{$trabalho->evento->nome}}</td> - <td style="text-align: center;">{{$trabalho->titulo}}</td> - <td style="text-align: center;">{{$trabalho->status}}</td> - <td style="text-align: center;">{{$participante->user->name}}</td> + <td style="text-align: center;" title="{{$trabalho->evento->nome}}">{{$trabalho->evento->nome}}</td> + <td style="text-align: center;" title="{{$trabalho->titulo}}">{{$trabalho->titulo}}</td> + <td style="text-align: center; text-transform: capitalize;" >{{$trabalho->status}}</td> + <td style="text-align: center;" title="{{$participante->user->name}}">{{$participante->user->name}}</td> <td style="text-align: center;"> - <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirm{{$participante->id}}"> + <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirm{{$participante->id}}" @if($trabalho->status!="aprovado")disabled="disabled" @endif> @if($participante->tipoBolsa==null) Não Definida @elseif($participante->tipoBolsa == "Voluntario") @@ -98,5 +98,13 @@ </div> </div> +<style> + td { + max-width: 25ch; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } +</style> @endsection diff --git a/resources/views/planosTrabalho/listar.blade.php b/resources/views/planosTrabalho/listar.blade.php index 755125f8f1f7aab1f5418b936f43421335797700..1d8b314687bae2d4b0db9f82abb400417e996d5e 100644 --- a/resources/views/planosTrabalho/listar.blade.php +++ b/resources/views/planosTrabalho/listar.blade.php @@ -22,8 +22,8 @@ @foreach($arquivos as $arquivo) <tbody> - <td style="text-align: center;">{{$arquivo->titulo}}</td> - <td style="text-align: center;">{{$arquivo->participante->user->name}}</td> + <td style="text-align: center;" title="{{$arquivo->titulo}}">{{$arquivo->titulo}}</td> + <td style="text-align: center;" title="{{$arquivo->participante->user->name}}">{{$arquivo->participante->user->name}}</td> <td style="text-align: center;"> @if((Auth::user()->proponentes != null) && ($arquivo->relatorioParcial == null) && ($arquivo->trabalho->evento->dt_inicioRelatorioParcial <= $hoje) && ($hoje <= $arquivo->trabalho->evento->dt_fimRelatorioParcial)) @@ -34,7 +34,7 @@ @else <!-- Button trigger modal --> <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalRelatorioParcial{{ $arquivo->id }}"> - Visualizar + @if($arquivo->relatorioParcial!=null)Visualizar @else Pendente @endif </button> @endif </td> @@ -49,7 +49,7 @@ @else <!-- Button trigger modal --> <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalRelatorioFinal{{ $arquivo->id }}"> - Visualizar + @if($arquivo->relatorioFinal!=null)Visualizar @else Pendente @endif </button> @endif </td> @@ -191,6 +191,14 @@ </div> </div> + <style> + td { + max-width: 25ch; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + </style> @endsection