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
ff8805b5
Unverified
Commit
ff8805b5
authored
Jul 02, 2021
by
Gabriel Antônio da Silva
Committed by
GitHub
Jul 02, 2021
Browse files
Merge pull request #142 from Gabriel-31415/master
ajuste
parents
1fddb235
c9ec1e3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/views/projeto/editaFormulario/anexos.blade.php
View file @
ff8805b5
...
...
@@ -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 @
ff8805b5
...
...
@@ -93,6 +93,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'
);
...
...
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