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
fbc5e0d2
Commit
fbc5e0d2
authored
Jun 28, 2020
by
Gabriel-31415
Browse files
nova tela de submeter trabalho
parent
b15e0c0b
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/evento/submeterTrabalho.blade.php
View file @
fbc5e0d2
...
@@ -292,8 +292,8 @@
...
@@ -292,8 +292,8 @@
</div>
</div>
<hr>
<hr>
<h3>Participantes</h3>
<h3>Participantes</h3>
{{-- Participantes --}}
{{-- Participantes --}}
<div class="
row
" style="
margin
-
top
:
20
px
">
<div class="
row
" style="
margin
-
top
:
20
px
">
<div class="
col
-
sm
-
12
">
<div class="
col
-
sm
-
12
">
...
@@ -306,6 +306,10 @@
...
@@ -306,6 +306,10 @@
@if (
$countParticipante
!= null &&
$countParticipante
> 0)
@if (
$countParticipante
!= null &&
$countParticipante
> 0)
@for (
$i
= 0;
$i
<
$countParticipante
;
$i
++)
@for (
$i
= 0;
$i
<
$countParticipante
;
$i
++)
{{-- inicio do card --}}
{{-- <div class="
card
" >
<div class="
card
-
body
"> --}}
<div id="
novoParticipante
" style="
display
:
block
;
">
<div id="
novoParticipante
" style="
display
:
block
;
">
<br>
<br>
<h4>Dados do participante</h4>
<h4>Dados do participante</h4>
...
@@ -347,7 +351,8 @@
...
@@ -347,7 +351,8 @@
<h6 class="
mb
-
1
">Possui plano de trabalho?</h6>
<h6 class="
mb
-
1
">Possui plano de trabalho?</h6>
<button class="
btn
btn
-
primary
mt
-
2
mb
-
2
simPlano
">Sim</button>
<button class="
btn
btn
-
primary
mt
-
2
mb
-
2
simPlano
">Sim</button>
<button class="
btn
btn
-
primary
mt
-
2
mb
-
2
naoPlano
">Não</button>
<button class="
btn
btn
-
primary
mt
-
2
mb
-
2
naoPlano
">Não</button>
<div id="
planoHabilitado
" >
<div id="
planoHabilitado
" style="
display
:
none
;
">
<h5>Dados do plano de trabalho</h5>
<h5>Dados do plano de trabalho</h5>
<div class="
row
">
<div class="
row
">
<div class="
col
-
sm
-
12
">
<div class="
col
-
sm
-
12
">
...
@@ -382,9 +387,9 @@
...
@@ -382,9 +387,9 @@
@enderror
@enderror
</div>
</div>
<div class="
col
-
sm
-
1
">
<div class="
col
-
sm
-
1
">
<a class="
delete
">
{{--
<a class="
delete
">
<img src="
{{
asset
(
'/img/icons/user-times-solid.svg'
)
}}
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
<img src="
{{
asset
(
'/img/icons/user-times-solid.svg'
)
}}
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
</a>
</a> --}}
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -393,14 +398,19 @@
...
@@ -393,14 +398,19 @@
</div>
</div>
</div>
</div>
{{-- </div>
</div> --}}
{{-- inicio do card --}}
@endfor
@endfor
@endif
@endif
</div>
</div>
<input type="
hidden
" name="
countParticipante
" id="
countParticipante
" value="
{{
old
(
'countParticipante'
)
!=
null
?
old
(
'countParticipante'
)
:
1
}}
">
<input type="
hidden
" name="
countParticipante
" id="
countParticipante
" value="
{{
old
(
'countParticipante'
)
!=
null
?
old
(
'countParticipante'
)
:
1
}}
">
<a href="
#" class="btn btn-primary" id="addCoautor" style="width:100%;margin-top:10px">Participantes +</a>
<a href="
#" class="btn btn-primary" id="addCoautor" style="width:100%;margin-top:10px">Adicionar participante</a>
</
div
>
</
div
>
</
div
>
</
div
>
<
hr
>
</
p
>
</
p
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-md-6"
>
<
div
class
=
"col-md-6"
>
...
@@ -409,7 +419,7 @@
...
@@ -409,7 +419,7 @@
</
button
>
</
button
>
</
div
>
</
div
>
<
div
class
=
"col-md-6"
>
<
div
class
=
"col-md-6"
>
<
button
type
=
"submit"
class
=
"btn btn-
primary
"
style
=
"width:100%"
>
<
button
type
=
"submit"
class
=
"btn btn-
success
"
style
=
"width:100%"
>
{{
__
(
'Enviar Projeto'
)
}}
{{
__
(
'Enviar Projeto'
)
}}
</
button
>
</
button
>
</
div
>
</
div
>
...
@@ -565,7 +575,14 @@
...
@@ -565,7 +575,14 @@
function
montarLinhaInput
()
{
function
montarLinhaInput
()
{
return
"<div id="
+
"novoParticipante"
+
">"
+
return
"<div id="
+
"novoParticipante"
+
">"
+
"<div class='row'>"
+
"<div class='col-sm-9'>"
+
"<br><h4>Dados do participante</h4>"
+
"<br><h4>Dados do participante</h4>"
+
"</div>"
+
"<div class='col-sm-3'>"
+
"</div>"
+
"</div>"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"col-sm-5"
+
">"
+
"<div class="
+
"col-sm-5"
+
">"
+
"<label>Nome Completo*</label>"
+
"<label>Nome Completo*</label>"
+
...
@@ -602,8 +619,8 @@
...
@@ -602,8 +619,8 @@
"</div>"
+
"</div>"
+
"<h6 class='mb-1'>Possui plano de trabalho?</h6>"
+
"<h6 class='mb-1'>Possui plano de trabalho?</h6>"
+
"<button class="
+
"'btn btn-primary mt-2 mb-2 mr-1 simPlano'"
+
">Sim</button>"
+
"<button class="
+
"'btn btn-primary mt-2 mb-2 mr-1 simPlano'"
+
">Sim</button>"
+
"<button class="
+
"'btn btn-primary mt-2 mb-2 naoPlano'"
+
">Não</button>"
+
"<button class="
+
"'btn btn-primary mt-2 mb-2
mr-1
naoPlano'"
+
">Não</button>"
+
"<div id="
+
"planoHabilitado"
+
">"
+
"<div id="
+
"planoHabilitado"
+
"
style="
+
"'display:none;'"
+
"
>"
+
"<h5>Dados do plano de trabalho</h5>"
+
"<h5>Dados do plano de trabalho</h5>"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<div class="
+
"col-sm-4"
+
">"
+
...
@@ -641,6 +658,8 @@
...
@@ -641,6 +658,8 @@
"</div>"
+
"</div>"
+
"</div>"
+
"</div>"
+
"</div>"
+
"</div>"
+
"<a href='#' class="
+
"'btn btn-danger mt-2 mb-2 delete'"
+
" style='width:100%;margin-top:10px'"
+
">Remover participante</a>"
+
"</div>"
;
"</div>"
;
}
}
...
...
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