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
8e02f34f
Commit
8e02f34f
authored
Jun 01, 2021
by
Gabriel-31415
Browse files
ajuste
parent
d7b1b4bd
Changes
4
Hide whitespace changes
Inline
Side-by-side
resources/views/evento/formulario/anexos.blade.php
View file @
8e02f34f
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</div>
</div>
<div
class=
"form-group col-md-6"
>
<div
class=
"form-group col-md-6"
>
@component('componentes.input', ['label' => 'Anexo da Planilha de Pontuação(.ods,.xls,.ods)'])
@component('componentes.input', ['label' => 'Anexo da Planilha de Pontuação(.ods,.xls,.ods)'])
<input
type=
"file"
class=
"input-group-text"
name=
"anexoPlanilha"
placeholder=
"anexoPlanoTrabalho"
accept=
".
ods
, .xls, .ods"
required
/>
<input
type=
"file"
class=
"input-group-text"
name=
"anexoPlanilha"
placeholder=
"anexoPlanoTrabalho"
accept=
".
xlsx
, .xls, .ods"
required
/>
@endcomponent
@endcomponent
</div>
</div>
<div
class=
"form-group col-md-6"
>
<div
class=
"form-group col-md-6"
>
...
...
resources/views/evento/formulario/participantes.blade.php
View file @
8e02f34f
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<a
class=
"btn btn-light"
data-toggle=
"collapse"
id=
"idCollapseParticipante"
href=
"#collapseParticipante"
role=
"button"
aria-expanded=
"false"
aria-controls=
"collapseParticipante"
style=
"width: 100%; text-align:left"
>
<a
class=
"btn btn-light"
data-toggle=
"collapse"
id=
"idCollapseParticipante"
href=
"#collapseParticipante"
role=
"button"
aria-expanded=
"false"
aria-controls=
"collapseParticipante"
style=
"width: 100%; text-align:left"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<h4
id=
"tituloParticipante"
style=
"color: #01487E; font-size:17px; margin-top:5px"
>
Participante
</h4>
<h4
id=
"tituloParticipante"
style=
"color: #01487E; font-size:17px; margin-top:5px"
>
Participante
<span
style=
"display: none;"
id=
"display"
>
:
</span>
</h4>
</div>
</div>
</a>
</a>
</div>
</div>
...
@@ -34,10 +34,10 @@
...
@@ -34,10 +34,10 @@
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<input
type=
"hidden"
name=
"funcaoParticipante[]"
value=
"4"
>
<input
type=
"hidden"
name=
"funcaoParticipante[]"
value=
"4"
>
<div
class=
"col-md-12"
><h5>
Dados do participante
</h5></div>
<div
class=
"col-md-12
mt-3
"
><h5>
Dados do participante
</h5></div>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'Nome completo'])
@component('componentes.input', ['label' => 'Nome completo'])
<input
type=
"text"
class=
"form-control "
name=
"nomeParticipante[]"
placeholder=
"Nome Completo"
required
/>
<input
type=
"text"
class=
"form-control "
id=
"nomeParticipante"
name=
"nomeParticipante[]"
placeholder=
"Nome Completo"
required
/>
@endcomponent
@endcomponent
</div>
</div>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
...
@@ -171,8 +171,8 @@
...
@@ -171,8 +171,8 @@
@endcomponent
@endcomponent
</div>
</div>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'Anexo'])
@component('componentes.input', ['label' => 'Anexo
(.pdf)
'])
<input
type=
"file"
class=
"input-group-text"
name=
"anexoPlanoTrabalho[]"
placeholder=
"Anexo do Plano de Trabalho"
required
/>
<input
type=
"file"
class=
"input-group-text"
name=
"anexoPlanoTrabalho[]"
accept=
".pdf"
placeholder=
"Anexo do Plano de Trabalho"
required
/>
@endcomponent
@endcomponent
</div>
</div>
</div>
</div>
...
...
resources/views/evento/formulario/proponente.blade.php
View file @
8e02f34f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
</div>
</div>
<div
class=
"form-group col-md-
4
"
>
<div
class=
"form-group col-md-
6
"
>
<label
for=
"linkLattesEstudante"
>
Link do currículo Lattes
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
<label
for=
"linkLattesEstudante"
>
Link do currículo Lattes
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
<input
class=
"form-control @error('linkLattesEstudante') is-invalid @enderror"
type=
"text"
name=
"linkLattesEstudante"
<input
class=
"form-control @error('linkLattesEstudante') is-invalid @enderror"
type=
"text"
name=
"linkLattesEstudante"
@
if
(
Auth
()
-
>
user()->proponentes != null
&&
Auth()->user()->proponentes->linkLattes != null)
@
if
(
Auth
()
-
>
user()->proponentes != null
&&
Auth()->user()->proponentes->linkLattes != null)
...
@@ -30,24 +30,25 @@
...
@@ -30,24 +30,25 @@
</span>
</span>
@enderror
@enderror
</div>
</div>
<div
class=
"form-group col-md-4"
>
<label
for=
"pontuacaoPlanilha"
>
Pontuação da planilha de pontuação
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
<div
class=
"form-group col-md-6"
>
<input
class=
"form-control @error('pontuacaoPlanilha') is-invalid @enderror"
type=
"text"
name=
"pontuacaoPlanilha"
<label
for=
"linkGrupo"
>
Link do grupo de pesquisa
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
value=
"{{old('pontuacaoPlanilha') !== null ? old('pontuacaoPlanilha') : (isset($rascunho) ? $rascunho->pontuacaoPlanilha : '')}}"
required
>
<input
class=
"form-control @error('linkGrupo') is-invalid @enderror"
type=
"url"
name=
"linkGrupo"
value=
"{{old('linkGrupo') !== null ? old('linkGrupo') : (isset($rascunho) ? $rascunho->linkGrupoPesquisa : '')}}"
required
>
@error('pontuacaoPlanilha')
<small>
Ex.: http://dgp.cnpq.br/dgp/espelhogrupo/228363
</small>
@error('linkGrupo')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
<strong>
{{ $message }}
</strong>
</span>
</span>
@enderror
@enderror
</div>
</div>
<div
class=
"form-group col-md-
4
"
>
<div
class=
"form-group col-md-
6
"
>
<label
for=
"
linkGrupo"
>
Link do grupo de pesquisa
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
<label
for=
"
pontuacaoPlanilha"
>
Valor da planilha de pontuação
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
<input
class=
"form-control @error('
linkGrupo
') is-invalid @enderror"
type=
"
url
"
name=
"
linkGrupo
"
<input
class=
"form-control @error('
pontuacaoPlanilha
') is-invalid @enderror"
type=
"
text
"
name=
"
pontuacaoPlanilha
"
value=
"{{old('
linkGrupo
') !== null ? old('
linkGrupo
') : (isset($rascunho) ? $rascunho->
linkGrupoPesquis
a : '')}}"
required
>
value=
"{{old('
pontuacaoPlanilha
') !== null ? old('
pontuacaoPlanilha
') : (isset($rascunho) ? $rascunho->
pontuacaoPlanilh
a : '')}}"
required
>
<small>
Ex.: http://dgp.cnpq.br/dgp/espelhogrupo/228363
</small>
@error('pontuacaoPlanilha')
@error('linkGrupo')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
<strong>
{{ $message }}
</strong>
</span>
</span>
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
8e02f34f
...
@@ -177,8 +177,17 @@
...
@@ -177,8 +177,17 @@
$
(
document
)
.
ready
(
function
()
{
$
(
document
)
.
ready
(
function
()
{
$
(
'#nomeParticipante'
)
.
keyup
(
function
()
{
$
(
'#display'
)
.
text
(
$
(
this
)
.
val
());
if
(
$
(
'#display'
)
.
text
(
$
(
this
)
.
val
())
==
""
){
$
(
'#display'
)
.
hide
();
}
else
{
$
(
'#display'
)
.
show
();
}
});
$
.
validator
.
addMethod
(
"alpha"
,
function
(
value
,
element
)
{
$
.
validator
.
addMethod
(
"alpha"
,
function
(
value
,
element
)
{
return
this
.
optional
(
element
)
||
value
==
value
.
match
(
/^
[
a
-
zA
-
Z\s
]
+
$
/
);
return
this
.
optional
(
element
)
||
value
==
value
.
match
(
/^
[
A
-
Za
-
záàâãéèêíïóôõöúçñÁÀÂÃÉÈÍÏÓÔÕÖÚÇÑ
]
+
$
/
);
});
});
$
(
'.cep'
)
.
mask
(
'00000000'
);
$
(
'.cep'
)
.
mask
(
'00000000'
);
...
@@ -239,7 +248,7 @@
...
@@ -239,7 +248,7 @@
alpha
:
true
,
alpha
:
true
,
},
},
"nomeParticipante[]"
:
{
"nomeParticipante[]"
:
{
required
:
true
,
alpha
:
true
,
alpha
:
true
,
},
},
...
@@ -250,7 +259,10 @@
...
@@ -250,7 +259,10 @@
grandeArea
:
"Escolha uma grande área."
,
grandeArea
:
"Escolha uma grande área."
,
area
:
"Escolha uma área."
,
area
:
"Escolha uma área."
,
"complemento[]"
:
"Não é permitido números."
,
"complemento[]"
:
"Não é permitido números."
,
"nomeParticipante[]"
:
"Não é permitido números."
,
"nomeParticipante[]"
:
{
required
:
"O nome do projeto é obrigatório."
,
alpha
:
"Não é permitido números."
},
anexoProjeto
:
"O campo anexo do projeto é obrigatório."
,
anexoProjeto
:
"O campo anexo do projeto é obrigatório."
,
username
:
{
username
:
{
required
:
"Please enter a username"
,
required
:
"Please enter a username"
,
...
...
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