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
fb8522b3
Unverified
Commit
fb8522b3
authored
Jun 01, 2021
by
Gabriel Antônio da Silva
Committed by
GitHub
Jun 01, 2021
Browse files
Merge pull request #100 from Gabriel-31415/master
ajuste
parents
b9c4e8ba
8e02f34f
Changes
4
Hide whitespace changes
Inline
Side-by-side
resources/views/evento/formulario/anexos.blade.php
View file @
fb8522b3
...
...
@@ -23,7 +23,7 @@
</div>
<div
class=
"form-group col-md-6"
>
@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
</div>
<div
class=
"form-group col-md-6"
>
...
...
resources/views/evento/formulario/participantes.blade.php
View file @
fb8522b3
...
...
@@ -25,7 +25,7 @@
<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"
>
<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>
</a>
</div>
...
...
@@ -34,10 +34,10 @@
<div
class=
"container"
>
<div
class=
"row"
>
<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"
>
@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
</div>
<div
class=
"col-6"
>
...
...
@@ -171,8 +171,8 @@
@endcomponent
</div>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'Anexo'])
<input
type=
"file"
class=
"input-group-text"
name=
"anexoPlanoTrabalho[]"
placeholder=
"Anexo do Plano de Trabalho"
required
/>
@component('componentes.input', ['label' => 'Anexo
(.pdf)
'])
<input
type=
"file"
class=
"input-group-text"
name=
"anexoPlanoTrabalho[]"
accept=
".pdf"
placeholder=
"Anexo do Plano de Trabalho"
required
/>
@endcomponent
</div>
</div>
...
...
resources/views/evento/formulario/proponente.blade.php
View file @
fb8522b3
...
...
@@ -15,7 +15,7 @@
</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>
<input
class=
"form-control @error('linkLattesEstudante') is-invalid @enderror"
type=
"text"
name=
"linkLattesEstudante"
@
if
(
Auth
()
-
>
user()->proponentes != null
&&
Auth()->user()->proponentes->linkLattes != null)
...
...
@@ -30,24 +30,25 @@
</span>
@enderror
</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>
<input
class=
"form-control @error('pontuacaoPlanilha') is-invalid @enderror"
type=
"text"
name=
"pontuacaoPlanilha"
value=
"{{old('pontuacaoPlanilha') !== null ? old('pontuacaoPlanilha') : (isset($rascunho) ? $rascunho->pontuacaoPlanilha : '')}}"
required
>
<div
class=
"form-group col-md-6"
>
<label
for=
"linkGrupo"
>
Link do grupo de pesquisa
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
<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"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
</div>
<div
class=
"form-group col-md-
4
"
>
<label
for=
"
linkGrupo"
>
Link do grupo de pesquisa
<span
style=
"color: red; font-weight:bold"
>
*
</span></label>
<input
class=
"form-control @error('
linkGrupo
') is-invalid @enderror"
type=
"
url
"
name=
"
linkGrupo
"
value=
"{{old('
linkGrupo
') !== null ? old('
linkGrupo
') : (isset($rascunho) ? $rascunho->
linkGrupoPesquis
a : '')}}"
required
>
<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=
"
text
"
name=
"
pontuacaoPlanilha
"
value=
"{{old('
pontuacaoPlanilha
') !== null ? old('
pontuacaoPlanilha
') : (isset($rascunho) ? $rascunho->
pontuacaoPlanilh
a : '')}}"
required
>
<small>
Ex.: http://dgp.cnpq.br/dgp/espelhogrupo/228363
</small>
@error('linkGrupo')
@error('pontuacaoPlanilha')
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
fb8522b3
...
...
@@ -177,8 +177,17 @@
$
(
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
)
{
return
this
.
optional
(
element
)
||
value
==
value
.
match
(
/^
[
a
-
zA
-
Z\s
]
+
$
/
);
return
this
.
optional
(
element
)
||
value
==
value
.
match
(
/^
[
A
-
Za
-
záàâãéèêíïóôõöúçñÁÀÂÃÉÈÍÏÓÔÕÖÚÇÑ
]
+
$
/
);
});
$
(
'.cep'
)
.
mask
(
'00000000'
);
...
...
@@ -239,7 +248,7 @@
alpha
:
true
,
},
"nomeParticipante[]"
:
{
required
:
true
,
alpha
:
true
,
},
...
...
@@ -250,7 +259,10 @@
grandeArea
:
"Escolha uma grande área."
,
area
:
"Escolha uma área."
,
"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."
,
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