From e43eaffde7bbe885c484e2bc6efa2fe21dda0006 Mon Sep 17 00:00:00 2001 From: S-Nathalia Date: Mon, 4 Jul 2022 18:49:15 -0300 Subject: [PATCH] Adicao de botao externo para remover discente, trocar botao cancelar para sair, adicicao de titulo do projeto na visualizacao do admin --- .../administrador/analisarProposta.blade.php | 22 +- .../views/administrador/editar_user.blade.php | 124 +-- .../evento/formulario/participantes.blade.php | 40 +- .../editaFormulario/participantes.blade.php | 904 +++++++++--------- .../participantes2.blade.php | 2 +- resources/views/proponente/projetos.blade.php | 8 +- .../views/proponente/projetosEdital.blade.php | 19 +- 7 files changed, 567 insertions(+), 552 deletions(-) diff --git a/resources/views/administrador/analisarProposta.blade.php b/resources/views/administrador/analisarProposta.blade.php index fd03558..abb75e2 100644 --- a/resources/views/administrador/analisarProposta.blade.php +++ b/resources/views/administrador/analisarProposta.blade.php @@ -156,14 +156,10 @@
{{$participante->user->name}}
- +
Informações - -
- - Remover - +
@@ -171,12 +167,12 @@ role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
- +
Avaliadores - @@ -946,7 +942,7 @@
{{$avaliador->user->name}}
- + @if($avaliador->trabalhos->where('id', $trabalho->id)->first()->pivot->status == false) Pendente @else Avaliado @endif @@ -1927,7 +1923,7 @@ } } - + } @endsection diff --git a/resources/views/administrador/editar_user.blade.php b/resources/views/administrador/editar_user.blade.php index ab4be32..444ba4c 100755 --- a/resources/views/administrador/editar_user.blade.php +++ b/resources/views/administrador/editar_user.blade.php @@ -7,28 +7,28 @@

{{ __('Editar um usuário') }}

-
+
@csrf {{-- Nome | CPF --}}
- +
- + @error('name') {{ $message }} @enderror
- +
- + @error('cpf') {{ $message }} @@ -44,11 +44,11 @@ @if($user->instituicao != "UFAPE") - @endif + @endif - - + + @error('instituicaoSelect') {{ $message }} @@ -62,7 +62,7 @@ {{ $message }} - @enderror + @enderror
@@ -75,27 +75,27 @@ -
+
- + @error('celular') {{ $message }} @enderror
- +
- + {{-- Email | Senha | Confirmar Senha --}}
- +
- + @error('email') {{ $message }} @@ -104,10 +104,10 @@
- + @if(!(is_null($proponente)))
- +

Dados do proponente

@@ -120,14 +120,14 @@ - + @error('cargo') {{ $message }} @enderror
- +
- + @error('vinculo') {{ $message }} @enderror
- + - +
@@ -173,18 +173,18 @@ - + @error('titulacaoMaxima') {{ $message }} @enderror
- +
- + @error('anoTitulacao') {{ $message }} @@ -194,7 +194,7 @@
- + @error('areaFormacao') {{ $message }} @@ -202,31 +202,31 @@ @enderror
- +
- +
- + @error('SIAPE') {{ $message }} @enderror
- +
- + @error('linkLattes') {{ $message }} @enderror
- +

- + @@ -262,7 +262,7 @@ - +
- + @error('vinculo') {{ $message }} @enderror
- +
- +
@@ -356,18 +356,18 @@ - + @error('titulacaoMaxima') {{ $message }} @enderror
- +
- + @error('anoTitulacao') {{ $message }} @@ -377,7 +377,7 @@
- + @error('areaFormacao') {{ $message }} @@ -385,31 +385,31 @@ @enderror
- +
- +
- + @error('SIAPE') {{ $message }} @enderror
- +
- + @error('linkLattes') {{ $message }} @enderror
- +

- + @@ -444,7 +444,7 @@
- + @@ -456,7 +456,7 @@
@endif - +
@@ -479,18 +479,18 @@ $('#SIAPE').mask('00000000'); }); - + function mudar() { var divProponente = document.getElementById('proponente'); var comboBoxTipo = document.getElementById('tipo'); - + if (comboBoxTipo.value == "proponente") { divProponente.style.display = "block"; } else { divProponente.style.display = "none"; } } - + function outroVinculo() { var comboBoxVinculo = document.getElementById('vinculo'); @@ -522,7 +522,7 @@ // instituicaoSelect.style.display = "none"; // instituicao.style.display = "inline"; // } - if(instituicaoSelect.value === "Outra"){ + if(instituicaoSelect.value === "Outra"){ instituicaoSelect.parentElement.className = 'col-md-2'; instituicao.parentElement.style.display = ''; }else if(instituicaoSelect.value === "UFAPE"){ diff --git a/resources/views/evento/formulario/participantes.blade.php b/resources/views/evento/formulario/participantes.blade.php index 741bde5..5c446f8 100755 --- a/resources/views/evento/formulario/participantes.blade.php +++ b/resources/views/evento/formulario/participantes.blade.php @@ -20,17 +20,22 @@
@for($i = 0; $i < $edital->numParticipantes; $i++) -