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
c9ec1e3b
Commit
c9ec1e3b
authored
Jul 02, 2021
by
Gabriel-31415
Browse files
ajuste
parent
6538730d
Changes
2
Show whitespace changes
Inline
Side-by-side
resources/views/projeto/editaFormulario/anexos.blade.php
View file @
c9ec1e3b
...
...
@@ -184,14 +184,14 @@
@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->justificativaAutorizacaoEtica ||
$projeto->anexoAutorizacaoComiteEtica )
@if($projeto->anexoAutorizacaoComiteEtica )
<div
class=
"row justify-content-center"
>
<div
class=
"col-3 mt-2"
>
<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"
>
<div
class=
"col-3 text-danger
mt-2
"
>
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
</div>
@endif
...
...
@@ -208,14 +208,14 @@
<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
|| $projeto->anexoAutorizacaoComiteEtica
)
@if($projeto->justificativaAutorizacaoEtica)
<div
class=
"row justify-content-center"
>
<div
class=
"col-3 mt-2"
>
<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"
>
<div
class=
"col-3 text-danger
mt-2
"
>
<p><i
class=
"fas fa-times-circle fa-2x"
></i></p>
</div>
@endif
...
...
resources/views/projeto/visualizar.blade.php
View file @
c9ec1e3b
...
...
@@ -94,6 +94,20 @@
<
script
>
if
(
document
.
getElementById
(
"radioSim"
)
.
checked
){
document
.
getElementById
(
"radioSim"
)
.
checked
=
true
;
document
.
getElementById
(
"radioNao"
)
.
checked
=
false
;
document
.
getElementById
(
"displaySim"
)
.
style
.
display
=
"block"
;
document
.
getElementById
(
"displayNao"
)
.
style
.
display
=
"none"
;
document
.
getElementById
(
"idAvisoAutorizacaoEspecial"
)
.
style
.
display
=
"none"
;
}
else
{
document
.
getElementById
(
"radioSim"
)
.
checked
=
false
;
document
.
getElementById
(
"radioNao"
)
.
checked
=
true
;
document
.
getElementById
(
"displaySim"
)
.
style
.
display
=
"none"
;
document
.
getElementById
(
"displayNao"
)
.
style
.
display
=
"block"
;
document
.
getElementById
(
"idAvisoAutorizacaoEspecial"
)
.
style
.
display
=
"none"
;
}
let
buttonSubmit
=
document
.
getElementById
(
'idButtonSubmitProjeto'
);
let
parts
=
document
.
getElementById
(
'participante'
);
let
partsFirst
=
document
.
getElementById
(
'participanteFirst'
);
...
...
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