Unverified Commit fb053722 authored by GuilhermeGz's avatar GuilhermeGz Committed by GitHub
Browse files

Merge pull request #203 from antonioDurval/master

Ajustes de tela, criações de botões e algumas restrições no sistema
parents a1491dc6 6dc88fb9
......@@ -17,6 +17,12 @@
<div class="card-body" style="padding-top: 0.2rem;">
<div class="container">
<div class="form-row mt-3">
<div class="col-md-12">
<h5 style="color: #234B8B; font-weight: bold">Informações da Proposta</h5>
<hr style="border-top: 1px solid#1492E6">
</div>
<div class="col-md-12"><h5 style="color: #1492E6;">{{$trabalho->titulo}}</h5></div>
<div class="col-md-12"><h6 style="color: #234B8B; margin-bottom:-0.4rem; font-weight: bold">{{$evento->nome}}</h6></div>
</div>
......@@ -618,6 +624,9 @@
</div>
</div>
</div>
<a href="{{ route('admin.analisar', ['evento_id' => $evento->id]) }}" class="btn btn-primary" style="font-size: 16px; float: right; margin-top: 10px;">Voltar</a>
</div>
</div>
......
......@@ -53,7 +53,7 @@
</button>
</div>
<div class="modal-body" style="padding-right: 32px;padding-left: 32px;padding-top: 20px;padding-bottom: 32px;">
@include('administrador.substituirParticipanteForm', ['visualizarOnly' => 1])
@include('administrador.substituirParticipanteForm', ['visualizarOnly' => 1, 'edital' => $evento])
</div>
</div>
</div>
......
......@@ -21,7 +21,7 @@
</div>
<div class="col-md-11">
<br>
<input class="form-control @error('linkLattesEstudante') is-invalid @enderror" type="text" name="linkLattesEstudante"
<input class="form-control @error('linkLattesEstudante') is-invalid @enderror" type="text" name="linkLattesEstudante" readonly="readonly"
@if(Auth()->user()->proponentes != null && Auth()->user()->proponentes->linkLattes != null)
value="{{ Auth()->user()->proponentes->linkLattes }}"
@else
......
......@@ -44,6 +44,12 @@
@include('evento.formulario.finalizar')
<style>
.col-form-label {
font-size: 15.5px;
}
</style>
</div>
</div>
</form>
......
......@@ -9,7 +9,11 @@
<div class="card-body" style="padding-top: 0.2rem;">
<div class="container">
<div class="form-row mt-3">
<div class="col-md-12"><h5 style="color: #1492E6;">{{$projeto->titulo}}</h5></div>
<div class="col-md-12">
<h5 style="color: #234B8B; font-weight: bold;">Informações da Proposta</h5>
<hr style="border-top: 1px solid#1492E6">
</div>
<div class="col-md-12"><h5 style="color: #1492E6; font-size: 21px;">{{$projeto->titulo}}</h5></div>
<div class="col-md-12"><h6 style="color: #234B8B; margin-bottom:-0.4rem; font-weight: bold">{{$edital->nome}}</h6></div>
</div>
</div>
......
......@@ -39,8 +39,12 @@
{{-- @component('projeto.formularioVisualizar.finalizar', ['projeto' => $projeto])
@endcomponent --}}
</div>
<div class="row justify-content-end" style="padding: 15px;">
<a href="{{ url()->previous() }}" class="btn btn-primary" style="font-size: 16px;">Voltar</a>
</div>
</div>
</form>
<div class="modal fade" id="modalSelecionarDiscentes" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
......
......@@ -29,7 +29,13 @@
</div>
<div class="form-group">
<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;">Submissão irá até o dia <span style="color: red">{{ date('d/m/Y', strtotime($edital->fimSubmissao)) }}</span></h6>
@if($hoje > $edital->fimSubmissao)
<h6 class="titulo-table" style="color: red;">Submissão encerrada dia <span style="color: red">{{ date('d/m/Y', strtotime($edital->fimSubmissao)) }}</span></h6>
@else
<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>
@endif
</div>
<div style="margin-top: -2rem">
......@@ -62,7 +68,9 @@
</div>
</div>
@else
<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>
@if($hoje <= $edital->fimSubmissao)
<a href="{{ route('trabalho.index', ['id' => $edital->id]) }}" class="btn btn-info" style="position:relative; float: right;">Criar proposta</a>
@endif
</div>
......
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