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
1cbcfa12
"resources/views/evento/submeterRascunho.blade.php" did not exist on "ea33dbf366e9746a182d1a6bacedff63b93a8f4d"
Commit
1cbcfa12
authored
Dec 22, 2022
by
Lucas Henrique
Browse files
Inclui campo de formulário para avaliação via link
parent
ddc99159
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/evento/criarEvento.blade.php
View file @
1cbcfa12
...
...
@@ -408,14 +408,17 @@
<
div
class
=
"mb-2"
>
<
input
type
=
"radio"
id
=
"radioForm"
name
=
"tipoAvaliacao"
onchange
=
"displayTipoAvaliacao('form')"
checked
value
=
"form"
>
<
label
for
=
"radioSim"
style
=
"margin-right: 5px"
>
Formulário
(
em
pdf
)
</
label
>
<
label
for
=
"radioForm"
style
=
"margin-right: 5px"
>
Formulário
(
em
pdf
)
</
label
>
<
input
type
=
"radio"
id
=
"radioCampos"
name
=
"tipoAvaliacao"
onchange
=
"displayTipoAvaliacao('campos')"
value
=
"campos"
>
<
label
for
=
"radioNao"
style
=
"margin-right: 5px"
>
Por
critérios
</
label
><
br
>
<
label
for
=
"radioCampos"
style
=
"margin-right: 5px"
>
Barema
</
label
>
<
input
type
=
"radio"
id
=
"radioLink"
name
=
"tipoAvaliacao"
onchange
=
"displayTipoAvaliacao('link')"
value
=
"link"
>
<
label
for
=
"radioLink"
style
=
"margin-right: 5px"
>
Link
</
label
><
br
>
</
div
>
<
div
class
=
"row justify-content-center
"
style
=
"margin-top:10px"
id
=
"displayForm"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top:10px"
id
=
"displayForm"
>
<
div
class
=
"col-sm-6"
>
<
div
class
=
"form-group"
>
<
label
for
=
"pdfFormAvalExterno"
>
Formulário
para
avaliador
<
i
>
ad
hoc
</
i
>:<
span
style
=
"color:red; font-weight:bold;"
>*</
span
></
label
>
...
...
@@ -477,6 +480,11 @@
</
table
>
</
div
>
<
div
class
=
"row"
style
=
"margin-top:10px; display: none"
id
=
"displayLink"
>
<
label
for
=
"link"
class
=
"col-form-label"
>
{{
__
(
'Link para o formulário:'
)
}}
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
></
label
>
<
input
id
=
"link"
type
=
"text"
class
=
"form-control @error('link') is-invalid @enderror"
name
=
"link"
value
=
"{{ old('link') }}"
required
autocomplete
=
"link"
autofocus
>
</
div
>
<
hr
>
<
div
class
=
"row subtitulo"
>
<
div
class
=
"col-sm-12"
>
...
...
@@ -628,13 +636,24 @@
if
(
valor
==
"form"
){
document
.
getElementById
(
"radioForm"
)
.
checked
=
true
;
document
.
getElementById
(
"radioCampos"
)
.
checked
=
false
;
document
.
getElementById
(
"radioLink"
)
.
checked
=
false
;
document
.
getElementById
(
"displayForm"
)
.
style
.
display
=
""
;
document
.
getElementById
(
"displayCampos"
)
.
style
.
display
=
"none"
;
}
else
if
(
valor
==
"campos"
){
document
.
getElementById
(
"displayLink"
)
.
style
.
display
=
"none"
;
}
else
if
(
valor
==
"campos"
){
document
.
getElementById
(
"radioForm"
)
.
checked
=
false
;
document
.
getElementById
(
"radioCampos"
)
.
checked
=
true
;
document
.
getElementById
(
"radioLink"
)
.
checked
=
false
;
document
.
getElementById
(
"displayForm"
)
.
style
.
display
=
"none"
;
document
.
getElementById
(
"displayCampos"
)
.
style
.
display
=
"inline"
;
document
.
getElementById
(
"displayLink"
)
.
style
.
display
=
"none"
;
}
else
if
(
valor
==
"link"
)
{
document
.
getElementById
(
"radioForm"
)
.
checked
=
false
;
document
.
getElementById
(
"radioCampos"
)
.
checked
=
false
;
document
.
getElementById
(
"radioLink"
)
.
checked
=
true
;
document
.
getElementById
(
"displayForm"
)
.
style
.
display
=
"none"
;
document
.
getElementById
(
"displayCampos"
)
.
style
.
display
=
"none"
;
document
.
getElementById
(
"displayLink"
)
.
style
.
display
=
""
;
}
}
...
...
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