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
55a0747c
Unverified
Commit
55a0747c
authored
Jul 06, 2021
by
José Rômulo
Committed by
GitHub
Jul 06, 2021
Browse files
Merge branch 'lmts-ufape:master' into master
parents
e211da21
22e72923
Changes
24
Hide whitespace changes
Inline
Side-by-side
resources/views/projeto/editaFormulario/proponente.blade.php
View file @
55a0747c
...
...
@@ -45,7 +45,7 @@
</div>
<div
class=
"form-group col-md-6"
>
<label
for=
"pontuacaoPlanilha"
>
Valor da planilha de pontuação
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
<input
class=
"form-control @error('pontuacaoPlanilha') is-invalid @enderror"
type=
"number"
min=
"0"
name=
"pontuacaoPlanilha"
<input
class=
"form-control @error('pontuacaoPlanilha') is-invalid @enderror"
type=
"number"
min=
"0"
step=
".01"
name=
"pontuacaoPlanilha"
value=
"{{ $projeto->pontuacaoPlanilha }}"
>
@error('pontuacaoPlanilha')
...
...
resources/views/projeto/editar.blade.php
View file @
55a0747c
...
...
@@ -106,6 +106,19 @@
<
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
buttonRascunho
=
document
.
getElementById
(
'idButtonSubmitRascunho'
);
...
...
@@ -148,6 +161,18 @@
}
}
var
SPMaskBehavior
=
function
(
val
)
{
return
val
.
replace
(
/
\
D
/
g
,
''
)
.
length
===
11
?
'(00) 00000-0000'
:
'(00) 0000-00009'
;
},
spOptions
=
{
onKeyPress
:
function
(
val
,
e
,
field
,
options
)
{
field
.
mask
(
SPMaskBehavior
.
apply
({},
arguments
),
options
);
}
};
$
(
"input.cpf:text"
)
.
mask
(
"000.000.000-00"
);
$
(
"input.celular:text"
)
.
mask
(
SPMaskBehavior
,
spOptions
);
$
(
"input.cep:text"
)
.
mask
(
"00000-000"
);
buttonMais
.
addEventListener
(
"click"
,
(
e
)
=>
{
...
...
resources/views/projeto/formularioVisualizar/anexos.blade.php
View file @
55a0747c
...
...
@@ -119,9 +119,9 @@
<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>
</div>
<div
class=
"col-12"
>
<input
type=
"radio"
checked
id=
"radioSim"
onchange=
"displayAutorizacoesEspeciais('sim')"
>
<input
type=
"radio"
@
if
($
projeto-
>
anexoAutorizacaoComiteEtica) checked @endif
id="radioSim" onchange="displayAutorizacoesEspeciais('sim')">
<label
for=
"radioSim"
style=
"margin-right: 5px"
>
Sim
</label>
<input
type=
"radio"
id=
"radioNao"
onchange=
"displayAutorizacoesEspeciais('nao')"
>
<input
type=
"radio"
id=
"radioNao"
@
if
($
projeto-
>
justificativaAutorizacaoEtica) checked @endif
onchange="displayAutorizacoesEspeciais('nao')">
<label
for=
"radioNao"
style=
"margin-right: 5px"
>
Não
</label><br>
</div>
</div>
...
...
resources/views/projeto/visualizar.blade.php
View file @
55a0747c
...
...
@@ -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'
);
...
...
Prev
1
2
Next
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