Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
6cf03177
"app/Http/Controllers/vscode:/vscode.git/clone" did not exist on "99a9b2bb3f3220e1ca971af267b396ebfcc4ec2f"
Commit
6cf03177
authored
Apr 20, 2022
by
Guilherme Silva
Browse files
Atualização do card de anexos no editar proposta
parent
a4088ad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/projeto/editaFormulario/anexos.blade.php
View file @
6cf03177
<!-- Anexos -->
<div
class=
"col-md-10"
style=
"text-align: center; margin-top:2rem"
><h4
style=
"margin-top: 1rem;"
>
3º Passo
</h4></div>
<div
class=
"col-md-10"
style=
"text-align: center;"
><h5
style=
"margin-bottom:1rem;color:#909090"
>
Anexos
</h5></div>
<div
class=
"col-md-10"
>
<div
class=
"card"
style=
"border-radius: 12px"
>
<div
class=
"card-body"
>
<div
class=
"col-md-12"
style=
"margin-top: 20px"
>
<div
class=
"card"
style=
"border-radius: 5px"
>
<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; margin-bottom:-0.4rem"
>
Anexos
</h5></div>
<div
class=
"col-md-12"
style=
"margin-bottom: -0.8rem;"
><hr
style=
"border-top: 1px solid#1492E6"
></div>
{{-- Anexo do Projeto --}}
<div
class=
"form-group col-md-6"
style=
"margin-top: 10px"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-12"
>
@component('componentes.input', ['label' => 'Projeto (.pdf)'])
<input
type=
"file"
class=
"input-group-text"
name=
"anexoProjeto"
accept=
"application/pdf"
/>
@error('anexoProjeto')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
@endcomponent
</div>
@if($projeto->anexoProjeto)
<div
class=
"col-3 "
>
<a
href=
"{{ route('baixar.anexo.projeto', ['id' => $projeto->id])}}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
</div>
@else
<div
class=
"col-3 text-danger"
>
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
</div>
@endif
</div>
<div
class=
"col-md-12"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Anexos
</h5></div>
</div>
<hr
style=
"border-top: 1px solid#1492E6; margin-bottom: 10px"
>
{{-- Anexo do Projeto --}}
<div
class=
"row justify-content-start"
>
{{-- Arquivo --}}
<div
class=
"form-group col-md-6"
>
<label
for=
"anexoProjeto"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Projeto: ') }}
</label>
@if($projeto->anexoProjeto)
<a
href=
"{{ route('baixar.anexo.projeto', ['id' => $projeto->id])}}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
@else
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
@endif
<input
type=
"file"
class=
"input-group-text"
name=
"anexoProjeto"
placeholder=
"nomeProjeto"
accept=
"application/pdf"
/>
@error('anexoProjeto')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
</div>
{{-- Anexo do currículo --}}
<div
class=
"form-group col-md-6"
style=
"margin-top: 10px"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-12"
>
@component('componentes.input', ['label' => 'Currículo Lattes do Proponente (.pdf)'])
<input
type=
"file"
class=
"input-group-text"
name=
"anexoLattesCoordenador"
accept=
".pdf"
/>
@error('anexoLattesCoordenador')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
@endcomponent
</div>
@if($edital->tipo != "PIBEX")
<div
class=
"form-group col-md-6"
style=
"margin-top: 10px"
>
<label
for=
"anexoLatterCoordenador"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Lattes do Coordenador: ') }}
</label>
@if($projeto->anexoLattesCoordenador)
<div
class=
"col-3 "
>
<a
href=
"{{ route('baixar.anexo.lattes', ['id' => $projeto->id]) }}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
</div>
<a
href=
"{{ route('baixar.anexo.lattes', ['id' => $projeto->id]) }}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
@else
<div
class=
"col-3 text-danger"
>
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
</div>
<i
class=
"fas fa-times-circle fa-2x"
></i>
@endif
<input
type=
"file"
class=
"input-group-text"
name=
"anexoLattesCoordenador"
placeholder=
"anexoPlanoTrabalho"
accept=
".pdf"
/>
@error('anexoLattesCoordenador')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
</div>
</div>
{{-- Anexo da Planilha de Pontuação --}}
<div
class=
"form-group col-md-6"
style=
"margin-top: 10px"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-12"
>
@component('componentes.input', ['label' => 'Planilha de Pontuação (.xlsx,.xls,.ods)'])
<input
type=
"file"
class=
"input-group-text"
name=
"anexoPlanilhaPontuacao"
accept=
".xlsx, .xls, .ods, .gnumeric"
/>
@error('anexoPlanilhaPontuacao')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
@endcomponent
</div>
@endif
@if($edital->tipo != "PIBEX")
<div
class=
"form-group col-md-6"
>
<label
for=
"anexoPlanilhaPontuacao"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Planilha de Pontuação: ') }}
</label>
@if($projeto->anexoPlanilhaPontuacao)
<div
class=
"col-3 "
>
<a
href=
"{{ route('baixar.anexo.planilha', ['id' => $projeto->id]) }}"
><i
class=
"fas fa-file-excel fa-2x"
></i></a>
</div>
@else
<div
class=
"col-3 text-danger"
>
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
</div>
<i
class=
"fas fa-times-circle fa-2x"
></i>
@endif
<input
type=
"file"
class=
"input-group-text"
name=
"anexoPlanilhaPontuacao"
placeholder=
"anexoPlanilhaPontuacao"
accept=
".xlsx, .xls, .ods"
/>
@error('anexoPlanilhaPontuacao')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
</div>
</div>
{{-- Anexo da Decisão do CONSU --}}
@endif
@if($edital->consu)
<div
class=
"form-group col-md-6"
style=
"margin-top: 10px"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-12"
>
<div
class=
"form-group"
>
<label
class=
" control-label"
for=
"firstname"
>
Decisão do CONSU (.pdf
<span
style=
"color: red; font-weight:bold"
>
*
</span>
)
</label>
<input
type=
"file"
class=
"input-group-text"
name=
"anexoDecisaoCONSU"
accept=
".pdf"
/>
@error('anexoDecisaoCONSU')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
</div>
</div>
@if($projeto->anexoDecisaoCONSU)
<div
class=
"col-3 "
>
<a
href=
"{{ route('baixar.anexo.consu', ['id' => $projeto->id]) }}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
</div>
@else
<div
class=
"col-3 text-danger"
>
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
</div>
@endif
</div>
<div
class=
"form-group col-md-6"
>
<label
for=
"anexoCONSU"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Decisão do CONSEPE: ') }}
</label>
@if($projeto->anexoDecisaoCONSU)
<a
href=
"{{ route('baixar.anexo.consu', ['id' => $projeto->id]) }}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
@else
<i
class=
"fas fa-times-circle fa-2x"
></i>
@endif
<input
type=
"file"
class=
"input-group-text"
name=
"anexoDecisaoCONSU"
accept=
".pdf"
/>
@error('anexoDecisaoCONSU')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
</div>
@else
<div
class=
"form-group col-md-6"
style=
"margin-top: 10px"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-12"
>
<div
class=
"form-group"
>
<label
class=
" control-label"
for=
"firstname"
>
Decisão do CONSU (.pdf)
</label>
<input
type=
"file"
class=
"input-group-text"
name=
"anexoDecisaoCONSU"
accept=
".pdf"
/>
@error('anexoDecisaoCONSU')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
</div>
</div>
@if($projeto->anexoDecisaoCONSU)
<div
class=
"col-3 "
>
<a
href=
"{{ route('baixar.anexo.consu', ['id' => $projeto->id]) }}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
</div>
@else
<div
class=
"col-3 text-danger"
>
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
</div>
@endif
</div>
<div
class=
"form-group col-md-6"
>
<label
for=
"anexoCONSU"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Decisão do CONSEPE: ') }}
</label>
@if($projeto->anexoDecisaoCONSU)
<a
href=
"{{ route('baixar.anexo.consu', ['id' => $projeto->id]) }}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
@else
<i
class=
"fas fa-times-circle fa-2x"
></i>
@endif
<input
type=
"file"
class=
"input-group-text"
name=
"anexoDecisaoCONSU"
accept=
".pdf"
/>
@error('anexoDecisaoCONSU')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
</div>
@endif
{{-- Anexo do Grupo de Pesquisa --}}
<div
class=
"form-group col-md-6"
style=
"margin-top: 10px"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-12"
>
@component('componentes.input', ['label' => 'Grupo de Pesquisa (.pdf)'])
<input
type=
"file"
class=
"input-group-text"
name=
"anexoGrupoPesquisa"
placeholder=
"Anexo do Grupo de Pesquisa"
accept=
"application/pdf"
/>
@error('anexoGrupoPesquisa')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
@endcomponent
</div>
@if($edital->tipo != "PIBEX")
<div
class=
"form-group col-md-6"
style=
"margin-top: 10px"
>
<label
for=
"nomeTrabalho"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Grupo de Pesquisa: ') }}
</label>
@if($projeto->anexoGrupoPesquisa)
<div
class=
"col-3 "
>
<a
href=
"{{ route('baixar.anexoGrupoPesquisa', ['id' => $projeto->id]) }}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
</div>
@else
<div
class=
"col-3 text-danger"
>
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
</div>
<i
class=
"fas fa-times-circle fa-2x"
></i>
@endif
<input
type=
"file"
class=
"input-group-text"
name=
"anexoGrupoPesquisa"
placeholder=
"Anexo do Grupo de Pesquisa"
accept=
"application/pdf"
/>
@error('anexoGrupoPesquisa')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
</div>
</div>
@endif
<div
class=
"form-group col-md-6"
>
<label
for=
"botao"
class=
"col-form-label @error('botao') is-invalid @enderror"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Se possuir, coloque todas em único arquivo pdf."
style=
"margin-right: 15px;"
>
{{ __('Possui autorizações especiais?') }}
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
<input
type=
"radio"
id=
"radioSim"
@
if
($
projeto-
>
anexoAutorizacaoComiteEtica) checked @endif name="sim" onchange="displayAutorizacoesEspeciais('sim')">
<label
for=
"radioSim"
style=
"margin-right: 5px"
>
Sim
</label>
<input
type=
"radio"
id=
"radioNao"
@
if
($
projeto-
>
justificativaAutorizacaoEtica) checked @endif name="nao" onchange="displayAutorizacoesEspeciais('nao')">
<label
for=
"radioNao"
style=
"margin-right: 5px"
>
Não
</label><br>
<span
id=
"idAvisoAutorizacaoEspecial"
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:none"
>
@if($edital->tipo != "PIBEX")
<div
class=
"form-group col-md-6"
>
<label
for=
"botao"
class=
"col-form-label font-tam @error('botao') is-invalid @enderror"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Se possuir, coloque todas em único arquivo pdf."
style=
"font-weight: bold"
>
{{ __('Possui autorizações especiais?') }}
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
<input
type=
"radio"
checked
id=
"radioSim"
onchange=
"displayAutorizacoesEspeciais('sim')"
>
<label
for=
"radioSim"
style=
"margin-right: 5px"
>
Sim
</label>
<input
type=
"radio"
id=
"radioNao"
onchange=
"displayAutorizacoesEspeciais('nao')"
>
<label
for=
"radioNao"
style=
"margin-right: 5px"
>
Não
</label><br>
<span
id=
"idAvisoAutorizacaoEspecial"
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:none"
>
<strong>
Selecione a autorização e envie o arquivo!
</strong>
</span>
<div
class=
"form-group"
id=
"displaySim"
@
if
($
projeto-
>
anexoAutorizacaoComiteEtica) style="display: block; margin-top:-1rem" @else style="display: none; margin-top:-1rem" @endif >
@component('componentes.input', ['label' => 'Sim, declaro que necessito de autorizações especiais (.pdf)'])
<input
type=
"file"
class=
"input-group-text"
name=
"anexoAutorizacaoComiteEtica"
accept=
".pdf"
/>
<div
class=
"row justify-content-center"
>
@if($projeto->anexoAutorizacaoComiteEtica )
<div
class=
"row justify-content-center"
>
<div
class=
"col-3 mt-2"
>
<div
class=
"form-group"
id=
"displaySim"
style=
"display: block; margin-top:-1rem"
>
<label
for=
"nomeTrabalho"
class=
"col-form-label font-tam"
style=
"font-weight: bold;font-size: 13px"
>
{{ __('Sim, declaro que necessito de autorizações especiais') }}
</label>
@if($projeto->anexoAutorizacaoComiteEtica )
<a
href=
"{{ route('baixar.anexo.comite', ['id' => $projeto->id]) }}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
</div>
</div>
@else
<div
class=
"col-3 text-danger mt-2"
>
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
</div>
@endif
</div>
@else
<i
class=
"fas fa-times-circle fa-2x"
></i>
@endif
<input
type=
"file"
class=
"input-group-text"
name=
"anexoAutorizacaoComiteEtica"
placeholder=
"anexoComiteEtica"
accept=
".pdf"
/>
@error('anexoAutorizacaoComiteEtica')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
@endcomponent
</div>
</div>
<div
class=
"form-group"
id=
"displayNao"
@
if
($
projeto-
>
justificativaAutorizacaoEtica) style="display: block; margin-top:-1rem" @else style="display: none; margin-top:-1rem" @endif >
@component('componentes.input', ['label' => 'Declaração de que não necessito de autorização especiais (.pdf)'])
<input
type=
"file"
class=
"input-group-text"
name=
"justificativaAutorizacaoEtica"
accept=
".pdf"
/>
@if($projeto->justificativaAutorizacaoEtica)
<div
class=
"row justify-content-center"
>
<div
class=
"col-3 mt-2"
>
<div
class=
"form-group"
id=
"displayNao"
style=
"display: none; margin-top:-1rem"
>
<label
for=
"nomeTrabalho"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Declaração de que não necessito de autorização especiais ') }}
</label>
@if($projeto->justificativaAutorizacaoEtica)
<a
href=
"{{ route('baixar.anexo.justificativa', ['id' => $projeto->id]) }}"
><i
class=
"fas fa-file-pdf fa-2x"
></i></a>
</div>
</div>
@else
<div
class=
"col-3 text-danger mt-2"
>
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
</div>
@endif
@error('justificativaAutorizacaoEtica')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
@else
<i
class=
"fas fa-times-circle fa-2x"
></i>
@endif
<input
type=
"file"
class=
"input-group-text"
name=
"justificativaAutorizacaoEtica"
placeholder=
"justificativaAutorizacaoEtica"
accept=
".pdf"
/>
@error('justificativaAutorizacaoEtica')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
@endcomponent
@enderror
</div>
</div>
</div>
@endif
</div>
</div>
</div>
</div>
</div>
</div>
<!--X Anexos X-->
\ No newline at end of file
</div>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment