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
debdab41
Commit
debdab41
authored
Jun 04, 2020
by
Gabriel-31415
Browse files
Merge branch 'carlos' of
https://github.com/lmts-ufape/submeta
into admin
merge
parents
fe4aa415
cee2e0a1
Changes
4
Hide whitespace changes
Inline
Side-by-side
composer.lock
View file @
debdab41
...
@@ -586,16 +586,16 @@
...
@@ -586,16 +586,16 @@
},
},
{
{
"name": "laravel/framework",
"name": "laravel/framework",
"version": "v6.18.1
6
",
"version": "v6.18.1
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/laravel/framework.git",
"url": "https://github.com/laravel/framework.git",
"reference": "
73f18a6bc58fb91aa83925161db25aa3674b73e9
"
"reference": "
9e5226ecc28f960cba1bd38b6d1d82a52e072dc3
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/
73f18a6bc58fb91aa83925161db25aa3674b73e9
",
"url": "https://api.github.com/repos/laravel/framework/zipball/
9e5226ecc28f960cba1bd38b6d1d82a52e072dc3
",
"reference": "
73f18a6bc58fb91aa83925161db25aa3674b73e9
",
"reference": "
9e5226ecc28f960cba1bd38b6d1d82a52e072dc3
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -606,7 +606,7 @@
...
@@ -606,7 +606,7 @@
"ext-mbstring": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-openssl": "*",
"league/commonmark": "^1.3",
"league/commonmark": "^1.3",
"league/flysystem": "^1.0.
8
",
"league/flysystem": "^1.0.
34
",
"monolog/monolog": "^1.12|^2.0",
"monolog/monolog": "^1.12|^2.0",
"nesbot/carbon": "^2.0",
"nesbot/carbon": "^2.0",
"opis/closure": "^3.1",
"opis/closure": "^3.1",
...
@@ -729,7 +729,7 @@
...
@@ -729,7 +729,7 @@
"framework",
"framework",
"laravel"
"laravel"
],
],
"time": "2020-0
5-26T14:31:44
+00:00"
"time": "2020-0
6-02T22:32:07
+00:00"
},
},
{
{
"name": "laravel/tinker",
"name": "laravel/tinker",
...
@@ -1163,16 +1163,16 @@
...
@@ -1163,16 +1163,16 @@
},
},
{
{
"name": "nikic/php-parser",
"name": "nikic/php-parser",
"version": "v4.
4
.0",
"version": "v4.
5
.0",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
"url": "https://github.com/nikic/PHP-Parser.git",
"reference": "
bd43ec7152eaaab3bd8c6d0aa95ceeb1df8ee120
"
"reference": "
53c2753d756f5adb586dca79c2ec0e2654dd9463
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/
bd43ec7152eaaab3bd8c6d0aa95ceeb1df8ee120
",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/
53c2753d756f5adb586dca79c2ec0e2654dd9463
",
"reference": "
bd43ec7152eaaab3bd8c6d0aa95ceeb1df8ee120
",
"reference": "
53c2753d756f5adb586dca79c2ec0e2654dd9463
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -1211,7 +1211,7 @@
...
@@ -1211,7 +1211,7 @@
"parser",
"parser",
"php"
"php"
],
],
"time": "2020-0
4-10T16:34:50
+00:00"
"time": "2020-0
6-03T07:24:19
+00:00"
},
},
{
{
"name": "opis/closure",
"name": "opis/closure",
...
...
resources/views/administrador/editais.blade.php
View file @
debdab41
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
<
th
scope
=
"col"
>
Nome
do
Edital
</
th
>
<
th
scope
=
"col"
>
Nome
do
Edital
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Data
de
Criação
</
th
>
<
th
scope
=
"col"
>
Data
de
Criação
</
th
>
<
th
scope
=
"col"
>
Baixar
edital
</
th
>
<
th
scope
=
"col"
>
Opção
</
th
>
<
th
scope
=
"col"
>
Opção
</
th
>
</
tr
>
</
tr
>
</
thead
>
</
thead
>
...
@@ -93,22 +94,24 @@
...
@@ -93,22 +94,24 @@
</
td
>
</
td
>
<
td
></
td
>
<
td
></
td
>
<
td
>
{{
$evento
->
created_at
}}
</
td
>
<
td
>
{{
$evento
->
created_at
}}
</
td
>
<
td
style
=
"text-align: center"
>
<
a
href
=
"{{ route('baixar.edital', ['id' =>
$evento->id
]) }}"
>
<
img
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
width
=
"15px"
>
</
a
>
</
td
>
<
td
>
<
td
>
<
div
class
=
"btn-group dropright dropdown-options"
>
<
div
class
=
"btn-group dropright dropdown-options"
>
<
a
id
=
"options"
class
=
"dropdown-toggle "
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
<
a
id
=
"options"
class
=
"dropdown-toggle "
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
{{
--
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
--
}}
{{
--
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
--
}}
</
a
>
</
a
>
<
div
class
=
"dropdown-menu"
>
<
div
class
=
"dropdown-menu"
>
<
a
href
=
"{{ route('baixar.edital', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Baixar
edital
</
a
>
<
a
href
=
"{{ route('projetos.edital', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
<
a
href
=
"{{ route('projetos.edital', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Submeter
projeto
Projetos
submetidos
</
a
>
</
a
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Visualizar
resultado
Visualizar
resultado
</
a
>
</
a
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Recurso
ao
resultado
Recurso
ao
resultado
</
a
>
</
a
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
...
@@ -116,7 +119,7 @@
...
@@ -116,7 +119,7 @@
</
a
>
</
a
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Resultado
final
Resultado
final
</
a
>
</
a
>
--
}}
</
div
>
</
div
>
</
div
>
</
div
>
</
td
>
</
td
>
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
debdab41
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
<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
">
<div id="
participantes
">
<div id="
participantes
">
<br><h5>Dados do participante</h5>
<div class="
row
">
<div class="
row
">
<div class="
col
-
sm
-
5
">
<div class="
col
-
sm
-
5
">
<label>Nome Completo</label>
<label>Nome Completo</label>
...
@@ -258,91 +258,55 @@
...
@@ -258,91 +258,55 @@
<label>E-mail</label>
<label>E-mail</label>
<input type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
emailParticipante
[]
" placeholder="
E
-
mail
" required>
<input type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
emailParticipante
[]
" placeholder="
E
-
mail
" required>
</div>
</div>
<div class="
col
-
sm
-
2
">
<div class="
col
-
sm
-
3
">
<label for="
funcaoParticipante
" class="
col
-
form
-
label
">{{ __('Função:') }}</label>
<label>Função:</label>
<select class="
form
-
control
@
error
(
'funcaoParticipante'
)
is
-
invalid
@
enderror
" id="
funcaoParticipante
" name="
funcaoParticipante
[]
">
<select class="
form
-
control
@
error
(
'funcaoParticipante'
)
is
-
invalid
@
enderror
" id="
funcaoParticipante
" name="
funcaoParticipante
[]
">
<option value="" disabled selected hidden>-- Função --</option>
<option value="" disabled selected hidden>-- Função --</option>
@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)
@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)
<option value="
{{
$funcaoParticipante
->
id
}}
">
{
{$funcaoParticipante->nome}
}
</option>
<option value="
{{
$funcaoParticipante
->
id
}}
">
{
{$funcaoParticipante->nome}
}
</option>
@endforeach
@endforeach
</select>
</select>
</div>
<div class="
col
-
sm
-
1
">
<a class="
delete
">
<img src="
/
img
/
icons
/
user
-
times
-
solid
.
svg
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
</a>
</div>
</div>
<div class="
row
">
<div class="
col
-
sm
-
5
">
<label>Nome Completo</label>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
nomeParticipante
[]
" placeholder="
Nome
" required>
</div>
<div class="
col
-
sm
-
4
">
<label>E-mail</label>
<input type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
emailParticipante
[]
" placeholder="
E
-
mail
" required>
</div>
<div class="
col
-
sm
-
2
">
<label for="
funcaoParticipante
" class="
col
-
form
-
label
">{{ __('Função:') }}</label>
<select class="
form
-
control
@
error
(
'funcaoParticipante'
)
is
-
invalid
@
enderror
" id="
funcaoParticipante
" name="
funcaoParticipante
[]
">
<option value="" disabled selected hidden>-- Função --</option>
@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)
<option value="
{{
$funcaoParticipante
->
id
}}
">
{
{$funcaoParticipante->nome}
}
</option>
@endforeach
</select>
</div>
</div>
<div class="
col
-
sm
-
1
"
>
</div
>
<a class="
delete
"
>
<h5>Dados do plano de trabalho</h5
>
<img src="
/
img
/
icons
/
user
-
times
-
solid
.
svg
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
<div class="
row
">
</a
>
<div class="
col
-
sm
-
12
"
>
</div>
<div id="
planoTrabalho
">
</div
>
<div class="
row
"
>
<div class="
col
-
sm
-
4
">
</div
>
<label>Titulo </label
>
<a href="
#" class="btn btn-primary" id="addCoautor" style="width:100%;
margin-to
p
:10px"
>Participantes +</a
>
<input type="
text
" style="
margin
-
bot
to
m
:
10
px
"
class="
form
-
control
emailCoautor
" name="
nomePlanoTrabalho
[]
" placeholder="
Nome
" required
>
</
div
>
</div>
</
div
>
{{-- Arquivo --}}
<div class="
col
-
sm
-
7
">
{{
--
Plano
de
Trabalho
--
}}
<label for="
nomeTrabalho
" >Anexo</label>
<
h4
class
=
"mt-3"
>
Plano
de
Trabalho
</
h4
>
<div class="
input
-
group
"
>
<
div
class
=
"row"
style
=
"margin-top:20px
"
>
<div class="
input
-
group
-
prepend
">
<
div
class
=
"col-sm-12"
>
<span class="
input
-
group
-
text
" id="
anexoPlanoTrabalho
">Selecione um arquivo:</span
>
<
div
id
=
"planoTrabalho"
>
</div>
<
div
class
=
"
row
"
>
<div class="
custom
-
file
">
<
div
class
=
"col-sm-4"
>
<input type="
file
" class="
custom
-
file
-
input
" id="
anexoPlanoTrabalho
"
<
label
>
Titulo
</
label
>
aria-describedby="
anexoPlanoTrabalho
" name="
anexoPlanoTrabalho
[]
"
>
<
input
type
=
"text"
style
=
"margin-bottom:10px"
class
=
"form-control emailCoautor"
name
=
"nomePlanoTrabalho[]"
placeholder
=
"Nome"
required
>
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label
>
</
div
>
</div>
{{
--
Arquivo
--
}}
</div>
<
div
class
=
"col-sm-7"
>
@error('anexoPlanoTrabalho')
<
label
for
=
"nomeTrabalho"
>
Anexo
</
label
>
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
"
>
<
div
class
=
"input-group"
>
<strong>{{
$message
}}</strong
>
<
div
class
=
"input-group-prepend"
>
</span
>
<
span
class
=
"input-group-text"
id
=
"anexoPlanoTrabalho"
>
Selecione
um
arquivo
:</
span
>
@enderror
</
div
>
</div>
<
div
class
=
"c
ustom-file
"
>
<div class="
c
ol
-
sm
-
1
">
<
input
type
=
"file"
class
=
"custom-file-input"
id
=
"anexoPlanoTrabalho"
<a class="
delete
">
aria
-
describedby
=
"anexoPlanoTrabalho"
name
=
"anexoPlanoTrabalho[]
"
>
<img src="
/
img
/
icons
/
user
-
times
-
solid
.
svg
" style="
width
:
25
px
;
margin
-
top
:
35
px
">
<
label
class
=
"custom-file-label"
id
=
"custom-file-label"
for
=
"inputGroupFile01"
>
O
arquivo
deve
ser
no
formato
PDF
de
até
2
mb
.
</
label
>
</a
>
</div>
</div>
</
div
>
</div>
@
error
(
'anexoPlanoTrabalho'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</div>
</div>
<
div
class
=
"col-sm-1"
>
<
a
class
=
"deletePlano"
>
<
img
src
=
"/img/icons/user-times-solid.svg"
style
=
"width:25px;margin-top:35px"
>
</
a
>
</div>
</div>
</div>
</
div
>
</div>
</div>
<
a
href
=
"#"
class
=
"btn btn-primary"
id
=
"add
PlanoTrabalho
"
style
=
"width:100%;margin-top:10px"
>
P
lano
de
Trabalho
+</
a
>
<a href="
#" class="btn btn-primary" id="add
Coautor
" style="width:100%;margin-top:10px">P
articipantes
+</a>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -370,12 +334,11 @@
...
@@ -370,12 +334,11 @@
<
script
type
=
"text/javascript"
>
<
script
type
=
"text/javascript"
>
$
(
function
(){
$
(
function
(){
var
qtdLinhas
=
1
;
var
qtdLinhas
=
1
;
var
qtdParticipantes
=
2
;
var
qtdParticipantes
=
2
;
// Coautores
// Coautores
$
(
'#addCoautor'
)
.
click
(
function
(
e
){
$
(
'#addCoautor'
)
.
click
(
function
(
e
){
if
(
qtdParticipantes
<
100
){
if
(
qtdParticipantes
<
100
){
e
.
preventDefault
();
e
.
preventDefault
();
linha
=
montarLinhaInput
();
linha
=
montarLinhaInput
();
...
@@ -384,7 +347,6 @@
...
@@ -384,7 +347,6 @@
}
}
});
});
$
(
'#addPlanoTrabalho'
)
.
click
(
function
(
e
){
$
(
'#addPlanoTrabalho'
)
.
click
(
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
if
(
qtdLinhas
<
4
){
if
(
qtdLinhas
<
4
){
...
@@ -394,7 +356,6 @@
...
@@ -394,7 +356,6 @@
}
}
});
});
// Exibir modalidade de acordo com a área
// Exibir modalidade de acordo com a área
$
(
"#area"
)
.
change
(
function
(){
$
(
"#area"
)
.
change
(
function
(){
console
.
log
(
$
(
this
)
.
val
());
console
.
log
(
$
(
this
)
.
val
());
...
@@ -420,9 +381,7 @@
...
@@ -420,9 +381,7 @@
//replace the "Choose a file" label
//replace the "Choose a file" label
$
(
this
)
.
next
(
'#custom-file-label'
)
.
html
(
fileName
);
$
(
this
)
.
next
(
'#custom-file-label'
)
.
html
(
fileName
);
})
})
// F
// F
$
(
'#buttonSim'
)
.
on
(
'click'
,
function
(
e
){
$
(
'#buttonSim'
)
.
on
(
'click'
,
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
$
(
'#inputEtica'
)
.
prop
(
'disabled'
,
false
);
$
(
'#inputEtica'
)
.
prop
(
'disabled'
,
false
);
...
@@ -434,12 +393,9 @@
...
@@ -434,12 +393,9 @@
$
(
'#inputJustificativa'
)
.
prop
(
'disabled'
,
false
);
$
(
'#inputJustificativa'
)
.
prop
(
'disabled'
,
false
);
console
.
log
(
'button nao'
);
console
.
log
(
'button nao'
);
});
});
});
});
// Remover Coautor
// Remover Coautor
function
addModalidade
(
areaId
){
function
addModalidade
(
areaId
){
console
.
log
(
modalidades
)
console
.
log
(
modalidades
)
$
(
"#modalidade"
)
.
empty
();
$
(
"#modalidade"
)
.
empty
();
...
@@ -452,7 +408,8 @@
...
@@ -452,7 +408,8 @@
}
}
function
montarLinhaInput
(){
function
montarLinhaInput
(){
return
"<div class="
+
"row"
+
">"
+
return
"<br><h5>Dados do participante</h5>"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"col-sm-5"
+
">"
+
"<div class="
+
"col-sm-5"
+
">"
+
"<label>Nome Completo</label>"
+
"<label>Nome Completo</label>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'nomeParticipante[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'nomeParticipante[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
...
@@ -461,27 +418,20 @@
...
@@ -461,27 +418,20 @@
"<label>E-mail</label>"
+
"<label>E-mail</label>"
+
"<input"
+
" type="
+
'email'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'emailParticipante[]'
+
" placeholder="
+
"E-mail"
+
" required>"
+
"<input"
+
" type="
+
'email'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'emailParticipante[]'
+
" placeholder="
+
"E-mail"
+
" required>"
+
"</div>"
+
"</div>"
+
"<div class='col-sm-2'>"
+
"<div class='col-sm-3'>"
+
"<label for='funcaoParticipante' class='col-form-label'>Função:</label>"
+
"<label>Função:</label>"
+
"<select class="
+
"form-control @error('funcaoParticipante') is-invalid @enderror"
+
" id="
+
"funcaoParticipante"
+
"name="
+
"funcaoParticipante[]"
+
">"
+
"<select class="
+
"form-control @error('funcaoParticipante') is-invalid @enderror"
+
" id="
+
"funcaoParticipante"
+
"name="
+
"funcaoParticipante[]"
+
">"
+
"<option value='' disabled selected hidden> Função </option>"
+
"<option value='' disabled selected hidden> Função </option>"
+
"@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)"
+
"@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)"
+
"<option value='
{
{$funcaoParticipante->id}}'>{{$funcaoParticipante->nome}
}
</option>"
+
"<option value='
{
{$funcaoParticipante->id}}'>{{$funcaoParticipante->nome}
}
</option>"
+
"@endforeach"
+
"@endforeach"
+
"</select>"
+
"</select>"
+
"</div>"
+
"<div class="
+
"col-sm-1"
+
">"
+
"<a class="
+
"delete"
+
">"
+
"<img src="
+
"/img/icons/user-times-solid.svg"
+
" style="
+
"width:25px;margin-top:35px"
+
">"
+
"</a>"
+
"</div>"
+
"</div>"
+
"</div>"
;
"</div>"
+
}
"<h5>Dados do plano de trabalho</h5>"
+
function
montarLinhaInputPlanoTrabalho
(){
"<div class="
+
"row"
+
">"
+
return
"<div class="
+
"row"
+
">"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<label>
Nome Complet
o</label>"
+
"<label>
Titul
o</label>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'nomePlanoTrabalho[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'nomePlanoTrabalho[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"</div>"
+
"</div>"
+
"<div class="
+
"col-sm-7"
+
">"
+
"<div class="
+
"col-sm-7"
+
">"
+
...
@@ -502,14 +452,47 @@
...
@@ -502,14 +452,47 @@
"<strong>{{
$message
}}</strong>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"</span>"
+
"@enderror"
+
"@enderror"
+
"</div>"
+
"</div>"
+
"<div class="
+
"col-sm-1"
+
">"
+
"<div class="
+
"col-sm-1"
+
">"
+
"<a class="
+
"delete
Plano
"
+
">"
+
"<a
class="
+
"delete"
+
">"
+
"<img src="
+
"/img/icons/user-times-solid.svg"
+
" style="
+
"width:25px;margin-top:35px"
+
">"
+
"<img src="
+
"/img/icons/user-times-solid.svg"
+
" style="
+
"width:25px;margin-top:35px"
+
">"
+
"</a>"
+
"</a>"
+
"</div>"
+
"</div>"
+
"</div>"
;
"</div>"
;
}
}
// function montarLinhaInputPlanoTrabalho(){
// return "<div class="+"row"+">"+
// "<div class="+"col-sm-4"+">"+
// "<label>Nome Completo</label>"+
// "<input"+" type="+'text'+" style="+"margin-bottom:10px"+" class="+'form-control emailCoautor'+" name="+'nomePlanoTrabalho[]'+" placeholder="+"Nome"+" required>"+
// "</div>"+
// "<div class="+"col-sm-7" +">"+
// "<label for="+"nomeTrabalho"+">Anexo </label>"+
// "<div class="+"input-group"+">"+
// "<div class='input-group-prepend'>"+
// "<span class='input-group-text' id='inputGroupFileAddon01'>Selecione um arquivo:</span>"+
// "</div>"+
// "<div class='custom-file'>"+
// "<input type='file' class='custom-file-input' id='inputGroupFile01'"+
// "aria-describedby='inputGroupFileAddon01' name='anexoPlanoTrabalho[]'>"+
// "<label class='custom-file-label' id='custom-file-label' for='inputGroupFile01'>O arquivo deve ser no formato PDF de até 2mb.</label>"+
// "</div>"+
// "</div>"+
// "@error('arquivo')"+
// "<span class='invalid-feedback' role='alert' style='overflow: visible; display:block'>"+
// "<strong>{{ $message }}</strong>"+
// "</span>"+
// "@enderror"+
// "</div>"+
// "<div class="+"col-sm-1"+">"+
// "<a class="+"deletePlano"+">"+
// "<img src="+"/img/icons/user-times-solid.svg"+" style="+"width:25px;margin-top:35px"+">"+
// "</a>"+
// "</div>"+
// "</div>";
// }
</
script
>
</
script
>
@
endsection
@
endsection
resources/views/projeto/index.blade.php
View file @
debdab41
...
@@ -43,11 +43,11 @@
...
@@ -43,11 +43,11 @@
</
a
>
</
a
>
<
div
class
=
"dropdown-menu"
>
<
div
class
=
"dropdown-menu"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center;"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Editar
projeto
Editar
projeto
</
a
>
</
a
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Adicionar
participantes
Adicionar
participantes
</
a
>
</
a
>
--
}}
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Recorrer
Recorrer
</
a
>
</
a
>
...
...
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