Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
16f4be21
Commit
16f4be21
authored
4 years ago
by
Gabriel-31415
Browse files
Options
Download
Email Patches
Plain Diff
status
parent
1dd5aa91
master
carl-branch
dependabot/composer/dompdf/dompdf-1.2.2
dependabot/composer/guzzlehttp/guzzle-6.5.8
dependabot/composer/guzzlehttp/psr7-1.8.5
dependabot/composer/symfony/http-kernel-4.4.50
dependabot/npm_and_yarn/axios-0.21.2
dependabot/npm_and_yarn/decode-uri-component-0.2.2
dependabot/npm_and_yarn/express-4.18.2
dependabot/npm_and_yarn/json5-and-json5-2.2.3
dependabot/npm_and_yarn/loader-utils-and-webpack-cli-1.4.2
dependabot/npm_and_yarn/minimist-and-mkdirp-1.2.8
dependabot/npm_and_yarn/qs-and-express-6.11.0
excluir_projeto_submetido
minha_conta
modificacoes_aviso
modificacoes_layout_9
modificacoes_layout_minha_conta
modificacoes_perfil_avaliador
updates_mar
No related merge requests found
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/Http/Controllers/TrabalhoController.php
+1
-0
app/Http/Controllers/TrabalhoController.php
resources/views/evento/formulario/participantes.blade.php
+4
-4
resources/views/evento/formulario/participantes.blade.php
resources/views/evento/submeterTrabalho.blade.php
+327
-2
resources/views/evento/submeterTrabalho.blade.php
with
332 additions
and
6 deletions
+332
-6
app/Http/Controllers/TrabalhoController.php
View file @
16f4be21
...
@@ -834,6 +834,7 @@ class TrabalhoController extends Controller
...
@@ -834,6 +834,7 @@ class TrabalhoController extends Controller
}
}
public
function
salvar
(
Request
$request
)
{
public
function
salvar
(
Request
$request
)
{
// dd($request->all());
$edital
=
Evento
::
find
(
$request
->
editalId
);
$edital
=
Evento
::
find
(
$request
->
editalId
);
$hoje
=
now
();
$hoje
=
now
();
// dd($request->all());
// dd($request->all());
...
...
This diff is collapsed.
Click to expand it.
resources/views/evento/formulario/participantes.blade.php
View file @
16f4be21
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<li
id=
"item"
>
<li
id=
"item"
>
<div
style=
"margin-bottom:15px"
>
<div
style=
"margin-bottom:15px"
>
<div
id=
"participante"
>
<div
id=
"participante"
>
<div
class=
"form-row"
style=
"display: none"
id=
"participantePrimeiro"
>
{{--
<div
class=
"form-row"
style=
"display: none"
id=
"participantePrimeiro"
>
<button
type=
"button"
class=
"btn btn-danger"
id=
"buttonRemover"
onclick=
"removerPart(this)"
>
Remover participante
</button>
<button
type=
"button"
class=
"btn btn-danger"
id=
"buttonRemover"
onclick=
"removerPart(this)"
>
Remover participante
</button>
<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"
>
...
@@ -177,7 +177,7 @@
...
@@ -177,7 +177,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
--}}
<div
class=
"form-row"
>
<div
class=
"form-row"
>
{{--
<button
type=
"button"
onload=
"myScript(this)"
onclick=
"subir(this)"
>
Subir
</button>
{{--
<button
type=
"button"
onload=
"myScript(this)"
onclick=
"subir(this)"
>
Subir
</button>
<button
type=
"button"
onload=
"myScript(this)"
onclick=
"descer(this)"
>
Descer
</button>
--}}
<button
type=
"button"
onload=
"myScript(this)"
onclick=
"descer(this)"
>
Descer
</button>
--}}
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
<div
class=
"col-md-12 mt-3"
><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 "
id=
"nomeParticipante"
name=
"nomeParticipante[]"
placeholder=
"Nome Completo"
required
/>
<input
type=
"text"
class=
"form-control "
name=
"nomeParticipante[]"
placeholder=
"Nome Completo"
required
/>
@endcomponent
@endcomponent
</div>
</div>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
...
@@ -264,7 +264,7 @@
...
@@ -264,7 +264,7 @@
</div>
</div>
<div
class=
"col-12"
>
<div
class=
"col-12"
>
@component('componentes.input', ['label' => 'Complemento'])
@component('componentes.input', ['label' => 'Complemento'])
<input
type=
"text"
id=
"complemento"
class=
"form-control"
name=
"complemento[]"
pattern=
"[A-Za-z]+"
placeholder=
"Complemento"
required
/>
<input
type=
"text"
class=
"form-control"
name=
"complemento[]"
pattern=
"[A-Za-z]+"
placeholder=
"Complemento"
required
/>
@endcomponent
@endcomponent
</div>
</div>
<div
class=
"col-md-12"
><h5>
Dados do curso
</h5></div>
<div
class=
"col-md-12"
><h5>
Dados do curso
</h5></div>
...
...
This diff is collapsed.
Click to expand it.
resources/views/evento/submeterTrabalho.blade.php
View file @
16f4be21
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help