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 @@ ...@@ -17,6 +17,12 @@
<div class="card-body" style="padding-top: 0.2rem;"> <div class="card-body" style="padding-top: 0.2rem;">
<div class="container"> <div class="container">
<div class="form-row mt-3"> <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"><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 class="col-md-12"><h6 style="color: #234B8B; margin-bottom:-0.4rem; font-weight: bold">{{$evento->nome}}</h6></div>
</div> </div>
...@@ -618,6 +624,9 @@ ...@@ -618,6 +624,9 @@
</div> </div>
</div> </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>
</div> </div>
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</button> </button>
</div> </div>
<div class="modal-body" style="padding-right: 32px;padding-left: 32px;padding-top: 20px;padding-bottom: 32px;"> <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> </div>
</div> </div>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</div> </div>
<div class="col-md-11"> <div class="col-md-11">
<br> <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) @if(Auth()->user()->proponentes != null && Auth()->user()->proponentes->linkLattes != null)
value="{{ Auth()->user()->proponentes->linkLattes }}" value="{{ Auth()->user()->proponentes->linkLattes }}"
@else @else
......
...@@ -44,6 +44,12 @@ ...@@ -44,6 +44,12 @@
@include('evento.formulario.finalizar') @include('evento.formulario.finalizar')
<style>
.col-form-label {
font-size: 15.5px;
}
</style>
</div> </div>
</div> </div>
</form> </form>
......
...@@ -9,7 +9,11 @@ ...@@ -9,7 +9,11 @@
<div class="card-body" style="padding-top: 0.2rem;"> <div class="card-body" style="padding-top: 0.2rem;">
<div class="container"> <div class="container">
<div class="form-row mt-3"> <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 class="col-md-12"><h6 style="color: #234B8B; margin-bottom:-0.4rem; font-weight: bold">{{$edital->nome}}</h6></div>
</div> </div>
</div> </div>
......
...@@ -39,8 +39,12 @@ ...@@ -39,8 +39,12 @@
{{-- @component('projeto.formularioVisualizar.finalizar', ['projeto' => $projeto]) {{-- @component('projeto.formularioVisualizar.finalizar', ['projeto' => $projeto])
@endcomponent --}} @endcomponent --}}
</div> </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> </div>
</form> </form>
<div class="modal fade" id="modalSelecionarDiscentes" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal fade" id="modalSelecionarDiscentes" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
......
...@@ -29,7 +29,13 @@ ...@@ -29,7 +29,13 @@
</div> </div>
<div class="form-group"> <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> <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>
<div style="margin-top: -2rem"> <div style="margin-top: -2rem">
...@@ -62,7 +68,9 @@ ...@@ -62,7 +68,9 @@
</div> </div>
</div> </div>
@else @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 @endif
</div> </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