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
8b64b894
Commit
8b64b894
authored
Jun 01, 2021
by
Gabriel-31415
Browse files
ajuste
parent
643fc42a
Changes
4
Show whitespace changes
Inline
Side-by-side
resources/views/componentes/input.blade.php
View file @
8b64b894
@
php
$class
=
$class
??
" "
;
$obrigatorio
=
$obrigatorio
??
" "
;
@
endphp
<
div
class
=
"form-group"
>
<
label
class
=
" control-label {{
$class
}}"
for
=
"firstname"
>
{{
$label
}}
<
span
style
=
"color: red; font-weight:bold"
>*</
span
></
label
>
<
label
class
=
" control-label {{
$class
}}"
for
=
"firstname"
>
{{
$label
}}
@
if
(
$obrigatorio
)
<
span
style
=
"color: red; font-weight:bold"
>*</
span
>
@
endif
</
label
>
<
div
class
=
""
>
{{
$slot
}}
</
div
>
...
...
resources/views/evento/formulario/anexos.blade.php
View file @
8b64b894
...
...
@@ -33,7 +33,7 @@
</div>
<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"
onchange=
"displayAutorizacoesEspeciais('sim')"
>
<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>
...
...
@@ -41,55 +41,16 @@
<strong>
Selecione a autorização e envie o arquivo!
</strong>
</span>
<div
class=
"form-group"
id=
"displaySim"
style=
"display: none; margin-top:-1rem"
>
<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."
>
{{ __('Sim, declaro que necessito de autorizações especiais') }}
</label>
@error('botao')
<span
id=
"botao"
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:inline"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
<br/>
@if(old('anexoComitePreenchido') != null || (isset($rascunho)
&&
$rascunho->anexoAutorizacaoComiteEtica != ""
&&
$rascunho->anexoAutorizacaoComiteEtica != null))
<a
id=
"anexoComiteTemp"
href=
"{{ route('baixar.anexo.temp', ['eventoId' => $edital->id,
'nomeAnexo' => 'anexoAutorizacaoComiteEtica' ])}}"
>
Arquivo atual
</a>
@endif
<input
type=
"hidden"
id=
"anexoComitePreenchido"
name=
"anexoComitePreenchido"
@
if
(
isset
($
rascunho
)
&&
$
rascunho-
>
anexoAutorizacaoComiteEtica != "") value="sim" @else value="{{old('anexoComitePreenchido')}}" @endif >
<div
class=
"input-group"
>
<div
class=
"custom-file"
>
<input
type=
"file"
class=
"custom-file-input @error('anexoComiteEtica') is-invalid @enderror"
accept=
".pdf"
id=
"inputEtica"
aria-describedby=
"inputGroupFileAddon01"
name=
"anexoComiteEtica"
onchange=
"verificarArquivoAnexado_pdf(this, 'anexoComiteEticaLegenda')"
>
<label
class=
"custom-file-label"
id=
"anexoComiteEticaLegenda"
for=
"inputEtica"
>
O arquivo deve ser no formato PDF de até 2MB.
</label>
</div>
</div>
@error('anexoComiteEtica')
<span
id=
"comiteErro"
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:none"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
<div
class=
"form-group"
id=
"displaySim"
style=
"display: block; margin-top:-1rem"
>
@component('componentes.input', ['label' => 'Sim, declaro que necessito de autorizações especiais(.pdf)'])
<input
type=
"file"
class=
"input-group-text"
name=
"anexoComiteEtica"
placeholder=
"anexoComiteEtica"
accept=
".pdf"
required
/>
@endcomponent
</div>
<div
class=
"form-group"
id=
"displayNao"
style=
"display: none; margin-top:-1rem"
>
<label
for=
"nomeTrabalho"
class=
"col-form-label"
>
{{ __('Declaração de que não necessito de autorização especiais') }}
</label>
@if(old('anexoJustificativaPreenchido') != null || (isset($rascunho)
&&
$rascunho->justificativaAutorizacaoEtica != ""
&&
$rascunho->justificativaAutorizacaoEtica != null))
<a
id=
"anexoJustificativaTemp"
href=
"{{ route('baixar.anexo.temp', ['eventoId' => $edital->id,
'nomeAnexo' => 'justificativaAutorizacaoEtica' ])}}"
>
Arquivo atual
</a>
@endif
<input
type=
"hidden"
id=
"anexoJustificativaPreenchido"
name=
"anexoJustificativaPreenchido"
@
if
(
isset
($
rascunho
)
&&
$
rascunho-
>
justificativaAutorizacaoEtica != "") value="sim" @else value="{{old('anexoJustificativaPreenchido')}}" @endif >
<div
class=
"input-group"
>
<div
class=
"custom-file"
>
<input
type=
"file"
class=
"custom-file-input @error('justificativaAutorizacaoEtica') is-invalid @enderror"
accept=
".pdf"
id=
"inputJustificativa"
aria-describedby=
"inputGroupFileAddon01"
name=
"justificativaAutorizacaoEtica"
onchange=
"verificarArquivoAnexado_pdf(this, 'justificativaAutorizacaoEticaLegenda')"
required
>
<label
class=
"custom-file-label"
id=
"justificativaAutorizacaoEticaLegenda"
for=
"inputJustificativa"
>
O arquivo deve ser no formato PDF de até 2MB.
</label>
</div>
</div>
@error('justificativaAutorizacaoEtica')
<span
id=
"justificativaErro"
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:none"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
@component('componentes.input', ['label' => 'Declaração de que não necessito de autorização especiais(.pdf)'])
<input
type=
"file"
class=
"input-group-text"
name=
"inputJustificativa"
placeholder=
"inputJustificativa"
accept=
".pdf"
required
/>
@endcomponent
</div>
</div>
...
...
resources/views/evento/formulario/projeto.blade.php
View file @
8b64b894
...
...
@@ -48,7 +48,7 @@
@enderror
</div>
<div
class=
"form-group col-md-4"
>
<label
for=
"subArea"
class=
"col-form-label"
>
{{ __('Subárea') }}
<span
style=
"color: red; font-weight:bold"
>
*
</span>
</label>
<label
for=
"subArea"
class=
"col-form-label"
>
{{ __('Subárea') }}
</label>
<input
type=
"hidden"
id=
"oldSubArea"
value=
"{{ old('subArea') }}"
>
<select
class=
"form-control @error('subArea') is-invalid @enderror"
id=
"subArea"
name=
"subArea"
>
<option
value=
""
disabled
selected
hidden
>
-- Subárea --
</option>
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
8b64b894
...
...
@@ -109,8 +109,13 @@
}
function
removerPart
(
e
){
if
(
e
.
parentElement
){
if
(
parts
.
children
.
length
<=
1
){
}
else
{
parts
.
removeChild
(
e
.
parentElement
);
}
}
}
buttonMais
.
addEventListener
(
"click"
,
(
e
)
=>
{
...
...
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