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
0b855c44
Unverified
Commit
0b855c44
authored
Jun 09, 2020
by
Gabriel Antônio da Silva
Committed by
GitHub
Jun 09, 2020
Browse files
Merge pull request #19 from lmts-ufape/anexos
Anexos
parents
7b97025b
89078619
Changes
24
Hide whitespace changes
Inline
Side-by-side
app/Avaliador.php
View file @
0b855c44
...
@@ -3,9 +3,11 @@
...
@@ -3,9 +3,11 @@
namespace
App
;
namespace
App
;
use
Illuminate\Database\Eloquent\Model
;
use
Illuminate\Database\Eloquent\Model
;
use
Illuminate\Database\Eloquent\SoftDeletes
;
class
Avaliador
extends
Model
class
Avaliador
extends
Model
{
{
use
SoftDeletes
;
protected
$fillable
=
[
protected
$fillable
=
[
'status'
,
'status'
,
'parecer'
,
'parecer'
,
...
@@ -16,7 +18,7 @@ class Avaliador extends Model
...
@@ -16,7 +18,7 @@ class Avaliador extends Model
return
$this
->
belongsTo
(
'App\User'
);
return
$this
->
belongsTo
(
'App\User'
);
}
}
public
function
trabalhos
(){
public
function
trabalhos
(){
return
$this
->
belongsToMany
(
'App\Trabalho'
)
->
withPivot
(
'status'
,
'AnexoParecer'
,
'parecer'
,
'recomendacao'
);
return
$this
->
belongsToMany
(
'App\Trabalho'
)
->
withPivot
(
'status'
,
'AnexoParecer'
,
'parecer'
,
'recomendacao'
,
'created_at'
);
}
}
public
function
eventos
(){
public
function
eventos
(){
return
$this
->
belongsToMany
(
'App\Evento'
);
return
$this
->
belongsToMany
(
'App\Evento'
);
...
...
app/Http/Controllers/AdministradorController.php
View file @
0b855c44
...
@@ -392,4 +392,8 @@ class AdministradorController extends Controller
...
@@ -392,4 +392,8 @@ class AdministradorController extends Controller
return
redirect
()
->
back
();
return
redirect
()
->
back
();
}
}
// public function baixarAnexo(Request $request) {
// return Storage::download($request->anexo);
// }
}
}
app/Http/Controllers/AvaliadorController.php
View file @
0b855c44
...
@@ -9,6 +9,8 @@ use App\Evento;
...
@@ -9,6 +9,8 @@ use App\Evento;
use
App\Recomendacao
;
use
App\Recomendacao
;
use
App\User
;
use
App\User
;
use
App\Avaliador
;
use
App\Avaliador
;
use
Carbon\Carbon
;
use
Illuminate\Support\Facades\Storage
;
class
AvaliadorController
extends
Controller
class
AvaliadorController
extends
Controller
{
{
...
@@ -17,7 +19,7 @@ class AvaliadorController extends Controller
...
@@ -17,7 +19,7 @@ class AvaliadorController extends Controller
return
view
(
'avaliador.index'
);
return
view
(
'avaliador.index'
);
}
}
public
function
editais
(){
public
function
editais
(
Request
$request
){
$user
=
User
::
find
(
Auth
::
user
()
->
id
);
$user
=
User
::
find
(
Auth
::
user
()
->
id
);
$eventos
=
$user
->
avaliadors
->
where
(
'user_id'
,
$user
->
id
)
->
first
()
->
eventos
;
$eventos
=
$user
->
avaliadors
->
where
(
'user_id'
,
$user
->
id
)
->
first
()
->
eventos
;
...
@@ -30,7 +32,7 @@ class AvaliadorController extends Controller
...
@@ -30,7 +32,7 @@ class AvaliadorController extends Controller
$user
=
User
::
find
(
Auth
::
user
()
->
id
);
$user
=
User
::
find
(
Auth
::
user
()
->
id
);
$evento
=
Evento
::
where
(
'id'
,
$request
->
evento_id
)
->
first
();
$evento
=
Evento
::
where
(
'id'
,
$request
->
evento_id
)
->
first
();
$trabalhos
=
$user
->
avaliadors
->
where
(
'user_id'
,
$user
->
id
)
->
first
()
->
trabalhos
;
$trabalhos
=
$user
->
avaliadors
->
where
(
'user_id'
,
$user
->
id
)
->
first
()
->
trabalhos
->
where
(
'evento_id'
,
$request
->
evento_id
)
;
//dd();
//dd();
...
@@ -55,17 +57,25 @@ class AvaliadorController extends Controller
...
@@ -55,17 +57,25 @@ class AvaliadorController extends Controller
$evento
=
Evento
::
find
(
$request
->
evento_id
);
$evento
=
Evento
::
find
(
$request
->
evento_id
);
$trabalhos
=
$user
->
avaliadors
->
where
(
'user_id'
,
$user
->
id
)
->
first
()
->
trabalhos
;
$trabalhos
=
$user
->
avaliadors
->
where
(
'user_id'
,
$user
->
id
)
->
first
()
->
trabalhos
->
where
(
'evento_id'
,
$request
->
evento_id
);
$avaliador
=
$user
->
avaliadors
->
where
(
'user_id'
,
$user
->
id
)
->
first
();
$avaliador
=
$user
->
avaliadors
->
where
(
'user_id'
,
$user
->
id
)
->
first
();
$trabalho
=
$avaliador
->
trabalhos
->
find
(
$request
->
trabalho_id
);
$trabalho
=
$avaliador
->
trabalhos
->
find
(
$request
->
trabalho_id
);
$trabalho
->
status
=
'Avaliado'
;
$trabalho
->
save
();
$data
=
Carbon
::
now
(
'America/Recife'
);
if
(
$request
->
anexoParecer
==
''
){
if
(
$request
->
anexoParecer
==
''
){
$avaliador
->
trabalhos
()
$avaliador
->
trabalhos
()
->
updateExistingPivot
(
$trabalho
->
id
,[
'status'
=>
1
,
'parecer'
=>
$request
->
textParecer
,
'recomendacao'
=>
$request
->
recomendacao
]);
->
updateExistingPivot
(
$trabalho
->
id
,[
'status'
=>
1
,
'parecer'
=>
$request
->
textParecer
,
'recomendacao'
=>
$request
->
recomendacao
,
'created_at'
=>
$data
]);
}
else
{
}
else
{
$avaliador
$anexoParecer
=
$request
->
anexoParecer
;
->
trabalhos
()
$path
=
'anexoParecer/'
.
$avaliador
->
id
.
$trabalho
->
id
.
'/'
;
->
updateExistingPivot
(
$trabalho
->
id
,[
'status'
=>
1
,
'parecer'
=>
$request
->
textParecer
,
'AnexoParecer'
=>
$request
->
anexoParecer
,
'recomendacao'
=>
$request
->
recomendacao
]);
$nome
=
"parecer.pdf"
;
Storage
::
putFileAs
(
$path
,
$anexoParecer
,
$nome
);
$anexoParecer
=
$path
.
$nome
;
$avaliador
->
trabalhos
()
->
updateExistingPivot
(
$trabalho
->
id
,[
'status'
=>
1
,
'parecer'
=>
$request
->
textParecer
,
'AnexoParecer'
=>
$anexoParecer
,
'recomendacao'
=>
$request
->
recomendacao
,
'created_at'
=>
$data
]);
}
}
...
...
app/Http/Controllers/HomeController.php
View file @
0b855c44
...
@@ -5,6 +5,7 @@ namespace App\Http\Controllers;
...
@@ -5,6 +5,7 @@ namespace App\Http\Controllers;
use
Illuminate\Http\Request
;
use
Illuminate\Http\Request
;
use
Auth
;
use
Auth
;
use
Illuminate\Support\Facades\Log
;
use
Illuminate\Support\Facades\Log
;
use
Illuminate\Support\Facades\Storage
;
class
HomeController
extends
Controller
class
HomeController
extends
Controller
{
{
...
@@ -51,6 +52,6 @@ class HomeController extends Controller
...
@@ -51,6 +52,6 @@ class HomeController extends Controller
}
}
public
function
downloadArquivo
(
Request
$request
){
public
function
downloadArquivo
(
Request
$request
){
return
response
()
->
download
(
storage_path
(
'app/'
.
$request
->
file
)
)
;
return
Storage
::
download
(
$request
->
file
);
}
}
}
}
app/Http/Controllers/TrabalhoController.php
View file @
0b855c44
...
@@ -79,7 +79,7 @@ class TrabalhoController extends Controller
...
@@ -79,7 +79,7 @@ class TrabalhoController extends Controller
//Relaciona o projeto criado com o proponente que criou o projeto
//Relaciona o projeto criado com o proponente que criou o projeto
$proponente
=
Proponente
::
where
(
'user_id'
,
Auth
::
user
()
->
id
)
->
first
();
$proponente
=
Proponente
::
where
(
'user_id'
,
Auth
::
user
()
->
id
)
->
first
();
//$trabalho->proponentes()->save($proponente);
//$trabalho->proponentes()->save($proponente);
//dd($coordenador);
//dd($coordenador
->id
);
$trabalho
=
"trabalho"
;
$trabalho
=
"trabalho"
;
if
(
$evento
->
inicioSubmissao
>
$mytime
){
if
(
$evento
->
inicioSubmissao
>
$mytime
){
if
(
$mytime
>=
$evento
->
fimSubmissao
){
if
(
$mytime
>=
$evento
->
fimSubmissao
){
...
@@ -104,7 +104,8 @@ class TrabalhoController extends Controller
...
@@ -104,7 +104,8 @@ class TrabalhoController extends Controller
'funcaoParticipante.*'
=>
[
'required'
,
'string'
],
'funcaoParticipante.*'
=>
[
'required'
,
'string'
],
'nomePlanoTrabalho.*'
=>
[
'required'
,
'string'
],
'nomePlanoTrabalho.*'
=>
[
'required'
,
'string'
],
'anexoProjeto'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoProjeto'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
//'anexoCONSU' => ['required', 'file', 'mimes:pdf', 'max:2000000'],
'anexoCONSU'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoComiteEtica'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoLatterCoordenador'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoLatterCoordenador'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoPlanilha'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoPlanilha'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoPlanoTrabalho.*'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoPlanoTrabalho.*'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
...
@@ -123,9 +124,10 @@ class TrabalhoController extends Controller
...
@@ -123,9 +124,10 @@ class TrabalhoController extends Controller
'data'
=>
$mytime
,
'data'
=>
$mytime
,
'evento_id'
=>
$request
->
editalId
,
'evento_id'
=>
$request
->
editalId
,
'avaliado'
=>
0
,
'avaliado'
=>
0
,
'status'
=>
'Submetido'
,
'proponente_id'
=>
$proponente
->
id
,
'proponente_id'
=>
$proponente
->
id
,
//Anexos
//Anexos
'anexo
DecisaoCONSU'
=>
$request
->
anexoCONSU
,
'anexo
CONSU'
=>
$request
->
anexoCONSU
,
'anexoProjeto'
=>
$request
->
anexoProjeto
,
'anexoProjeto'
=>
$request
->
anexoProjeto
,
'anexoAutorizacaoComiteEtica'
=>
$request
->
anexoComiteEtica
,
'anexoAutorizacaoComiteEtica'
=>
$request
->
anexoComiteEtica
,
'justificativaAutorizacaoEtica'
=>
$request
->
justificativaAutorizacaoEtica
,
'justificativaAutorizacaoEtica'
=>
$request
->
justificativaAutorizacaoEtica
,
...
@@ -166,6 +168,7 @@ class TrabalhoController extends Controller
...
@@ -166,6 +168,7 @@ class TrabalhoController extends Controller
'data'
=>
$mytime
,
'data'
=>
$mytime
,
'evento_id'
=>
$request
->
editalId
,
'evento_id'
=>
$request
->
editalId
,
'avaliado'
=>
0
,
'avaliado'
=>
0
,
'status'
=>
'Submetido'
,
'proponente_id'
=>
$proponente
->
id
,
'proponente_id'
=>
$proponente
->
id
,
//Anexos
//Anexos
'anexoProjeto'
=>
$request
->
anexoProjeto
,
'anexoProjeto'
=>
$request
->
anexoProjeto
,
...
@@ -287,6 +290,8 @@ class TrabalhoController extends Controller
...
@@ -287,6 +290,8 @@ class TrabalhoController extends Controller
$subareas
=
Subarea
::
all
();
$subareas
=
Subarea
::
all
();
$funcaoParticipantes
=
FuncaoParticipantes
::
all
();
$funcaoParticipantes
=
FuncaoParticipantes
::
all
();
$participantes
=
Participante
::
where
(
'trabalho_id'
,
$id
)
->
get
();
$participantes
=
Participante
::
where
(
'trabalho_id'
,
$id
)
->
get
();
$participantesUsersIds
=
Participante
::
where
(
'trabalho_id'
,
$id
)
->
select
(
'user_id'
)
->
get
();
$users
=
User
::
whereIn
(
'id'
,
$participantesUsersIds
)
->
get
();
$arquivos
=
Arquivo
::
where
(
'trabalhoId'
,
$id
)
->
get
();
$arquivos
=
Arquivo
::
where
(
'trabalhoId'
,
$id
)
->
get
();
return
view
(
'projeto.editar'
)
->
with
([
'projeto'
=>
$projeto
,
return
view
(
'projeto.editar'
)
->
with
([
'projeto'
=>
$projeto
,
...
@@ -294,6 +299,7 @@ class TrabalhoController extends Controller
...
@@ -294,6 +299,7 @@ class TrabalhoController extends Controller
'areas'
=>
$areas
,
'areas'
=>
$areas
,
'subAreas'
=>
$subareas
,
'subAreas'
=>
$subareas
,
'edital'
=>
$edital
,
'edital'
=>
$edital
,
'users'
=>
$users
,
'funcaoParticipantes'
=>
$funcaoParticipantes
,
'funcaoParticipantes'
=>
$funcaoParticipantes
,
'participantes'
=>
$participantes
,
'participantes'
=>
$participantes
,
'arquivos'
=>
$arquivos
,]);
'arquivos'
=>
$arquivos
,]);
...
@@ -401,10 +407,11 @@ class TrabalhoController extends Controller
...
@@ -401,10 +407,11 @@ class TrabalhoController extends Controller
$trabalho
->
update
();
$trabalho
->
update
();
// criando novos participantes que podem ter sido adicionados
// criando novos participantes que podem ter sido adicionados
$participantes
=
Participante
::
where
(
'trabalho_id'
,
$trabalho
->
id
)
->
get
();
$participantesUsersIds
=
Participante
::
where
(
'trabalho_id'
,
'='
,
$trabalho
->
id
)
->
select
(
'user_id'
)
->
get
();
$users
=
User
::
whereIn
(
'id'
,
$participantesUsersIds
)
->
get
();
$emailParticipantes
=
[];
$emailParticipantes
=
[];
foreach
(
$
participantes
as
$participante
)
{
foreach
(
$
users
as
$user
)
{
array_push
(
$emailParticipantes
,
$
participante
->
user
->
email
);
array_push
(
$emailParticipantes
,
$user
->
email
);
}
}
foreach
(
$request
->
emailParticipante
as
$key
=>
$value
)
{
foreach
(
$request
->
emailParticipante
as
$key
=>
$value
)
{
...
@@ -443,7 +450,7 @@ class TrabalhoController extends Controller
...
@@ -443,7 +450,7 @@ class TrabalhoController extends Controller
//atualizando os participantes que já estão no projeto e planos de trabalho se enviados
//atualizando os participantes que já estão no projeto e planos de trabalho se enviados
if
(
in_array
(
$request
->
emailParticipante
[
$key
],
$emailParticipantes
,
false
))
{
if
(
in_array
(
$request
->
emailParticipante
[
$key
],
$emailParticipantes
,
false
))
{
$user
=
User
::
where
(
'email'
,
$request
->
emailParticipante
[
$key
])
->
first
();
$user
=
User
::
where
(
'email'
,
$request
->
emailParticipante
[
$key
])
->
first
();
$participante
::
where
([[
'user_id'
,
'='
,
$user
->
id
],
[
'trabalho_id'
,
'='
,
$trabalho
->
id
]]);
$participante
=
Participante
::
where
([[
'user_id'
,
'='
,
$user
->
id
],
[
'trabalho_id'
,
'='
,
$trabalho
->
id
]])
->
first
()
;
$user
->
name
=
$request
->
nomeParticipante
[
$key
];
$user
->
name
=
$request
->
nomeParticipante
[
$key
];
$user
->
update
();
$user
->
update
();
...
@@ -451,34 +458,37 @@ class TrabalhoController extends Controller
...
@@ -451,34 +458,37 @@ class TrabalhoController extends Controller
$participante
->
funcao_participante_id
=
$request
->
funcaoParticipante
[
$key
];
$participante
->
funcao_participante_id
=
$request
->
funcaoParticipante
[
$key
];
$participante
->
update
();
$participante
->
update
();
// //atualizando planos de trabalho incompleto
//atualizando planos de trabalho
// dd($request);
if
(
array_key_exists
(
$key
,
$request
->
anexoPlanoTrabalho
))
{
// if (!(is_null($request->anexoPlanoTrabalho[1]))) {
if
(
!
(
is_null
(
$request
->
anexoPlanoTrabalho
[
$key
])))
{
// $arquivo = Arquivo::where('participanteId', $participante->id)->first();
$arquivo
=
Arquivo
::
where
(
'participanteId'
,
$participante
->
id
)
->
first
();
// Storage::delete($arquivo->nome);
Storage
::
delete
(
$arquivo
->
nome
);
// $arquivo->delete();
$arquivo
->
delete
();
// $path = 'trabalhos/' . $request->editalId . '/' . $trabalho->id .'/';
$path
=
'trabalhos/'
.
$request
->
editalId
.
'/'
.
$trabalho
->
id
.
'/'
;
// $nome = $request->nomePlanoTrabalho[$key] .".pdf";
$nome
=
$request
->
nomePlanoTrabalho
[
$key
]
.
".pdf"
;
// $file = $request->anexoPlanoTrabalho[$key];
$file
=
$request
->
anexoPlanoTrabalho
[
$key
];
// Storage::putFileAs($path, $file, $nome);
Storage
::
putFileAs
(
$path
,
$file
,
$nome
);
// $arquivo = new Arquivo();
$arquivo
=
new
Arquivo
();
// $arquivo->nome = $path . $nome;
$arquivo
->
nome
=
$path
.
$nome
;
// $arquivo->trabalhoId = $trabalho->id;
$arquivo
->
trabalhoId
=
$trabalho
->
id
;
// $arquivo->data = $mytime;
$arquivo
->
data
=
$mytime
;
// $arquivo->participanteId = $participante->id;
$arquivo
->
participanteId
=
$participante
->
id
;
// $arquivo->versaoFinal = true;
$arquivo
->
versaoFinal
=
true
;
// $arquivo->save();
$arquivo
->
save
();
// }
}
}
}
}
}
}
// Atualizando possiveis usuários removidos
// Atualizando possiveis usuários removidos
$participantes
=
Participante
::
where
(
'trabalho_id'
,
$trabalho
->
id
)
->
get
();
$participantesUsersIds
=
Participante
::
where
(
'trabalho_id'
,
'='
,
$trabalho
->
id
)
->
select
(
'user_id'
)
->
get
();
$users
=
User
::
whereIn
(
'id'
,
$participantesUsersIds
)
->
get
();
foreach
(
$participantes
as
$participante
)
{
foreach
(
$users
as
$user
)
{
if
(
!
(
in_array
(
$participante
->
user
->
email
,
$request
->
emailParticipante
,
false
)))
{
if
(
!
(
in_array
(
$user
->
email
,
$request
->
emailParticipante
,
false
)))
{
$participante
=
Participante
::
where
([[
'user_id'
,
'='
,
$user
->
id
],
[
'trabalho_id'
,
'='
,
$trabalho
->
id
]])
->
first
();
$arquivo
=
Arquivo
::
where
(
'participanteId'
,
$participante
->
id
);
$arquivo
=
Arquivo
::
where
(
'participanteId'
,
$participante
->
id
);
Storage
::
delete
(
$arquivo
->
nome
);
Storage
::
delete
(
$arquivo
->
nome
);
$arquivo
->
delete
();
$arquivo
->
delete
();
...
@@ -495,9 +505,12 @@ class TrabalhoController extends Controller
...
@@ -495,9 +505,12 @@ class TrabalhoController extends Controller
* @param \App\Trabalho $trabalho
* @param \App\Trabalho $trabalho
* @return \Illuminate\Http\Response
* @return \Illuminate\Http\Response
*/
*/
public
function
destroy
(
Trabalho
$trabalho
)
public
function
destroy
(
Request
$request
)
{
{
//
$trabalho
=
Trabalho
::
find
(
$request
->
id
);
//dd($trabalho);
$trabalho
->
delete
();
return
redirect
()
->
back
();
}
}
public
function
novaVersao
(
Request
$request
){
public
function
novaVersao
(
Request
$request
){
...
...
app/Trabalho.php
View file @
0b855c44
...
@@ -3,9 +3,12 @@
...
@@ -3,9 +3,12 @@
namespace
App
;
namespace
App
;
use
Illuminate\Database\Eloquent\Model
;
use
Illuminate\Database\Eloquent\Model
;
use
Illuminate\Database\Eloquent\SoftDeletes
;
class
Trabalho
extends
Model
class
Trabalho
extends
Model
{
{
use
SoftDeletes
;
/**
/**
* The attributes that are mass assignable.
* The attributes that are mass assignable.
*
*
...
@@ -15,6 +18,7 @@ class Trabalho extends Model
...
@@ -15,6 +18,7 @@ class Trabalho extends Model
'titulo'
,
'titulo'
,
'data'
,
'data'
,
'aprovado'
,
'aprovado'
,
'status'
,
'decisaoCONSU'
,
'decisaoCONSU'
,
'pontuacaoPlanilha'
,
'pontuacaoPlanilha'
,
'linkGrupoPesquisa'
,
'linkGrupoPesquisa'
,
...
@@ -37,6 +41,8 @@ class Trabalho extends Model
...
@@ -37,6 +41,8 @@ class Trabalho extends Model
'pivot'
,
'pivot'
,
];
];
public
function
recurso
(){
public
function
recurso
(){
return
$this
->
hasMany
(
'App\Recurso'
,
'trabalhoId'
);
return
$this
->
hasMany
(
'App\Recurso'
,
'trabalhoId'
);
}
}
...
@@ -85,6 +91,6 @@ class Trabalho extends Model
...
@@ -85,6 +91,6 @@ class Trabalho extends Model
return
$this
->
belongsTo
(
'App\CoordenadorComissao'
);
return
$this
->
belongsTo
(
'App\CoordenadorComissao'
);
}
}
public
function
avaliadors
(){
public
function
avaliadors
(){
return
$this
->
belongsToMany
(
'App\Avaliador'
)
->
withPivot
(
'status'
,
'AnexoParecer'
,
'parecer'
,
'recomendacao'
);
return
$this
->
belongsToMany
(
'App\Avaliador'
)
->
withPivot
(
'status'
,
'AnexoParecer'
,
'parecer'
,
'recomendacao'
,
'created_at'
);
}
}
}
}
composer.lock
View file @
0b855c44
...
@@ -1215,16 +1215,16 @@
...
@@ -1215,16 +1215,16 @@
},
},
{
{
"name": "opis/closure",
"name": "opis/closure",
"version": "3.5.
3
",
"version": "3.5.
4
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/opis/closure.git",
"url": "https://github.com/opis/closure.git",
"reference": "
cac47092144043d5d676e2e7cf8d0d2f83fc89ca
"
"reference": "
1d0deef692f66dae5d70663caee2867d0971306b
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/opis/closure/zipball/
cac47092144043d5d676e2e7cf8d0d2f83fc89ca
",
"url": "https://api.github.com/repos/opis/closure/zipball/
1d0deef692f66dae5d70663caee2867d0971306b
",
"reference": "
cac47092144043d5d676e2e7cf8d0d2f83fc89ca
",
"reference": "
1d0deef692f66dae5d70663caee2867d0971306b
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -1272,7 +1272,7 @@
...
@@ -1272,7 +1272,7 @@
"serialization",
"serialization",
"serialize"
"serialize"
],
],
"time": "2020-0
5-25T09:32:45
+00:00"
"time": "2020-0
6-07T11:41:29
+00:00"
},
},
{
{
"name": "paragonie/random_compat",
"name": "paragonie/random_compat",
...
@@ -1321,16 +1321,16 @@
...
@@ -1321,16 +1321,16 @@
},
},
{
{
"name": "phpoption/phpoption",
"name": "phpoption/phpoption",
"version": "1.7.
3
",
"version": "1.7.
4
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/schmittjoh/php-option.git",
"url": "https://github.com/schmittjoh/php-option.git",
"reference": "
4acfd6a4b33a509d8c88f50e5222f734b6aeebae
"
"reference": "
b2ada2ad5d8a32b89088b8adc31ecd2e3a13baf3
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/schmittjoh/php-option/zipball/
4acfd6a4b33a509d8c88f50e5222f734b6aeebae
",
"url": "https://api.github.com/repos/schmittjoh/php-option/zipball/
b2ada2ad5d8a32b89088b8adc31ecd2e3a13baf3
",
"reference": "
4acfd6a4b33a509d8c88f50e5222f734b6aeebae
",
"reference": "
b2ada2ad5d8a32b89088b8adc31ecd2e3a13baf3
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -1372,7 +1372,7 @@
...
@@ -1372,7 +1372,7 @@
"php",
"php",
"type"
"type"
],
],
"time": "2020-0
3-21T18:07:53
+00:00"
"time": "2020-0
6-07T10:40:07
+00:00"
},
},
{
{
"name": "psr/container",
"name": "psr/container",
...
@@ -3316,27 +3316,27 @@
...
@@ -3316,27 +3316,27 @@
},
},
{
{
"name": "vlucas/phpdotenv",
"name": "vlucas/phpdotenv",
"version": "v3.6.
5
",
"version": "v3.6.
6
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
"url": "https://github.com/vlucas/phpdotenv.git",
"reference": "
8b64814b356b96a90d2bc942b152c80d8888b8d4
"
"reference": "
4669484ccbc38fe7c4e0c50456778f2010566aad
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/
8b64814b356b96a90d2bc942b152c80d8888b8d4
",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/
4669484ccbc38fe7c4e0c50456778f2010566aad
",
"reference": "
8b64814b356b96a90d2bc942b152c80d8888b8d4
",
"reference": "
4669484ccbc38fe7c4e0c50456778f2010566aad
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
"php": "^5.4 || ^7.0 || ^8.0",
"php": "^5.4 || ^7.0 || ^8.0",
"phpoption/phpoption": "^1.5",
"phpoption/phpoption": "^1.5
.2
",
"symfony/polyfill-ctype": "^1.
9
"
"symfony/polyfill-ctype": "^1.
16
"
},
},
"require-dev": {
"require-dev": {
"ext-filter": "*",
"ext-filter": "*",
"ext-pcre": "*",
"ext-pcre": "*",
"phpunit/phpunit": "^4.8.35 || ^5.
0
|| ^6.
0
|| ^7.0"
"phpunit/phpunit": "^4.8.35 || ^5.
7.27
|| ^6.
5.6
|| ^7.0"
},
},
"suggest": {
"suggest": {
"ext-filter": "Required to use the boolean validator.",
"ext-filter": "Required to use the boolean validator.",
...
@@ -3375,7 +3375,7 @@
...
@@ -3375,7 +3375,7 @@
"env",
"env",
"environment"
"environment"
],
],
"time": "2020-0
5-23T09:42:03
+00:00"
"time": "2020-0
6-02T14:08:54
+00:00"
}
}
],
],
"packages-dev": [
"packages-dev": [
...
...
database/migrations/2020_02_05_123048_create_trabalhos_table.php
View file @
0b855c44
...
@@ -16,7 +16,8 @@ class CreateTrabalhosTable extends Migration
...
@@ -16,7 +16,8 @@ class CreateTrabalhosTable extends Migration
Schema
::
create
(
'trabalhos'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'trabalhos'
,
function
(
Blueprint
$table
)
{
$table
->
bigIncrements
(
'id'
);
$table
->
bigIncrements
(
'id'
);
$table
->
string
(
'titulo'
);
$table
->
string
(
'titulo'
);
$table
->
boolean
(
'aprovado'
)
->
nullable
();
$table
->
string
(
'status'
)
->
nullable
();
$table
->
string
(
'aprovado'
)
->
nullable
();
$table
->
string
(
'linkGrupoPesquisa'
);
$table
->
string
(
'linkGrupoPesquisa'
);
$table
->
string
(
'linkLattesEstudante'
);
$table
->
string
(
'linkLattesEstudante'
);
$table
->
string
(
'pontuacaoPlanilha'
);
$table
->
string
(
'pontuacaoPlanilha'
);
...
@@ -35,6 +36,7 @@ class CreateTrabalhosTable extends Migration
...
@@ -35,6 +36,7 @@ class CreateTrabalhosTable extends Migration
$table
->
unsignedBigInteger
(
'evento_id'
);
$table
->
unsignedBigInteger
(
'evento_id'
);
$table
->
unsignedBigInteger
(
'coordenador_id'
);
$table
->
unsignedBigInteger
(
'coordenador_id'
);
$table
->
unsignedBigInteger
(
'proponente_id'
);
$table
->
unsignedBigInteger
(
'proponente_id'
);
$table
->
softDeletes
();
$table
->
timestamps
();
$table
->
timestamps
();
});
});
...
...
database/migrations/2020_05_23_054805_create_avaliadors_table.php
View file @
0b855c44
...
@@ -16,6 +16,7 @@ class CreateAvaliadorsTable extends Migration
...
@@ -16,6 +16,7 @@ class CreateAvaliadorsTable extends Migration
Schema
::
create
(
'avaliadors'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'avaliadors'
,
function
(
Blueprint
$table
)
{
$table
->
bigIncrements
(
'id'
);
$table
->
bigIncrements
(
'id'
);
$table
->
timestamps
();
$table
->
timestamps
();
$table
->
softDeletes
();
$table
->
unsignedBigInteger
(
'user_id'
)
->
nullable
();
$table
->
unsignedBigInteger
(
'user_id'
)
->
nullable
();
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
);
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
);
...
...
database/migrations/2020_05_26_223341_create_avaliadors_trabalhos_table.php
View file @
0b855c44
...
@@ -21,6 +21,7 @@ class CreateAvaliadorsTrabalhosTable extends Migration
...
@@ -21,6 +21,7 @@ class CreateAvaliadorsTrabalhosTable extends Migration
$table
->
string
(
'AnexoParecer'
)
->
nullable
();
$table
->
string
(
'AnexoParecer'
)
->
nullable
();
$table
->
boolean
(
'status'
)
->
nullable
();
$table
->
boolean
(
'status'
)
->
nullable
();
$table
->
string
(
'recomendacao'
)
->
nullable
();
$table
->
string
(
'recomendacao'
)
->
nullable
();
$table
->
softDeletes
();
$table
->
unsignedBigInteger
(
'trabalho_id'
);
$table
->
unsignedBigInteger
(
'trabalho_id'
);
$table
->
unsignedBigInteger
(
'avaliador_id'
);
$table
->
unsignedBigInteger
(
'avaliador_id'
);
...
...
database/seeds/RecomendacaoSeeder.php
View file @
0b855c44
...
@@ -12,13 +12,19 @@ class RecomendacaoSeeder extends Seeder
...
@@ -12,13 +12,19 @@ class RecomendacaoSeeder extends Seeder
public
function
run
()
public
function
run
()
{
{
DB
::
table
(
'recomendacaos'
)
->
insert
([
DB
::
table
(
'recomendacaos'
)
->
insert
([
'nome'
=>
'
Aceitaca
o Forte'
,
'nome'
=>
'
Recomendaçã
o Forte'
,
]);
]);
DB
::
table
(
'recomendacaos'
)
->
insert
([
DB
::
table
(
'recomendacaos'
)
->
insert
([
'nome'
=>
'
Aceitacao Médi
a'
,
'nome'
=>
'
Recomendação Frac
a'
,
]);
]);
DB
::
table
(
'recomendacaos'
)
->
insert
([
DB
::
table
(
'recomendacaos'
)
->
insert
([
'nome'
=>
'Aceitacao Fraca'
,
'nome'
=>
'Neutro'
,
]);
DB
::
table
(
'recomendacaos'
)
->
insert
([
'nome'
=>
'Rejeição Fraca'
,
]);
DB
::
table
(
'recomendacaos'
)
->
insert
([
'nome'
=>
'Rejeição Forte'
,
]);
]);
}
}
}
}
database/seeds/TrabalhoSeeder.php
View file @
0b855c44
...
@@ -34,7 +34,7 @@ class TrabalhoSeeder extends Seeder
...
@@ -34,7 +34,7 @@ class TrabalhoSeeder extends Seeder
'linkGrupoPesquisa'
=>
'link'
,
'linkGrupoPesquisa'
=>
'link'
,
'linkLattesEstudante'
=>
'link'
,
'linkLattesEstudante'
=>
'link'
,
'pontuacaoPlanilha'
=>
'link'
,
'pontuacaoPlanilha'
=>
'link'
,
'
aprovado'
=>
0
,
'
status'
=>
'Submetido'
,
'data'
=>
'2020-01-01'
,
'data'
=>
'2020-01-01'
,
'anexoProjeto'
=>
'Álgebra'
,
'anexoProjeto'
=>
'Álgebra'
,
'anexoDecisaoCONSU'
=>
'Álgebra'
,
'anexoDecisaoCONSU'
=>
'Álgebra'
,
...
@@ -55,7 +55,7 @@ class TrabalhoSeeder extends Seeder
...
@@ -55,7 +55,7 @@ class TrabalhoSeeder extends Seeder
'linkGrupoPesquisa'
=>
'link'
,
'linkGrupoPesquisa'
=>
'link'
,
'linkLattesEstudante'
=>
'link'
,
'linkLattesEstudante'
=>
'link'
,
'pontuacaoPlanilha'
=>
'link'
,
'pontuacaoPlanilha'
=>
'link'
,
'
aprovado'
=>
0
,
'
status'
=>
'Submetido'
,
'data'
=>
'2020-01-01'
,
'data'
=>
'2020-01-01'
,
'anexoProjeto'
=>
'Álgebra'
,
'anexoProjeto'
=>
'Álgebra'
,
'anexoDecisaoCONSU'
=>
'Álgebra'
,
'anexoDecisaoCONSU'
=>
'Álgebra'
,
...
...
resources/views/administrador/index.blade.php
View file @
0b855c44
...
@@ -26,7 +26,18 @@
...
@@ -26,7 +26,18 @@
</
div
>
</
div
>
</
div
>
</
div
>
</
a
>
</
a
>
</
div
>
</
div
>
<
div
class
=
"col-sm-3 d-flex justify-content-center"
>
<
a
href
=
"{{ route('grandearea.index') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 13rem;height: 15rem;"
>
<
div
class
=
"card-body d-flex justify-content-center"
>
<
h2
style
=
"padding-top:15px"
>
Áreas
</
h2
>
</
div
>
</
div
>
</
a
>
</
div
>
<
div
class
=
"col-sm-3 d-flex justify-content-center"
>
<
div
class
=
"col-sm-3 d-flex justify-content-center"
>
<
a
href
=
"{{ route('admin.usuarios') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
a
href
=
"{{ route('admin.usuarios') }}"
style
=
"text-decoration:none; color: inherit;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 13rem;height: 15rem;"
>
<
div
class
=
"card text-center "
style
=
"border-radius: 30px; width: 13rem;height: 15rem;"
>
...
...
resources/views/administrador/projetos.blade.php
View file @
0b855c44
...
@@ -7,7 +7,12 @@
...
@@ -7,7 +7,12 @@
<
div
class
=
"container"
>
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-10"
>
<
div
class
=
"col-sm-10"
>
<
h3
>
Trabalhos
do
Edital
:
{{
$evento
->
nome
}}
</
h3
>
<
h3
>
Trabalhos
do
Edital
:
{{
$evento
->
nome
}}
</
h3
>
{{
--
<
h6
>
Data
inicioSubmissao
:
{{
date
(
'd/m/Y'
,
strtotime
(
$evento
->
inicioSubmissao
))
}}
</
h6
>
--
}}
<
h6
>
Data
fim
da
submissao
:
{{
date
(
'd/m/Y'
,
strtotime
(
$evento
->
fimSubmissao
))
}}
</
h6
>
{{
--
<
h6
>
Data
inicioRevisao
:
{{
date
(
'd/m/Y'
,
strtotime
(
$evento
->
inicioRevisao
))
}}
</
h6
>
<
h6
>
Data
fimRevisao
:
{{
date
(
'd/m/Y'
,
strtotime
(
$evento
->
fimRevisao
))
}}
</
h6
>
--
}}
<
h6
>
Data
do
resultado
:
{{
date
(
'd/m/Y'
,
strtotime
(
$evento
->
resultado
))
}}
</
h6
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -32,6 +37,8 @@
...
@@ -32,6 +37,8 @@
<
tr
>
<
tr
>
<
th
scope
=
"col"
>
Avaliador
</
th
>
<
th
scope
=
"col"
>
Avaliador
</
th
>
<
th
scope
=
"col"
>
E
-
mail
</
th
>
<
th
scope
=
"col"
>
E
-
mail
</
th
>
<
th
scope
=
"col"
>
Data
</
th
>
<
th
scope
=
"col"
>
Recomendação
</
th
>
<
th
scope
=
"col"
>
Parecer
</
th
>
<
th
scope
=
"col"
>
Parecer
</
th
>
</
tr
>
</
tr
>
</
thead
>
</
thead
>
...
@@ -40,14 +47,36 @@
...
@@ -40,14 +47,36 @@
<
tr
>
<
tr
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
name
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
{{
$avaliador
->
user
->
email
}}
</
td
>
<
td
>
@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
Indisponível
@
else
{{
date
(
'd/m/Y'
,
strtotime
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
created_at
))
}}
@
endif
</
td
>
<
td
>
@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
Indisponível
@
else
{{
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
recomendacao
}}
@
endif
</
td
>
<
td
>
<
td
>
<
form
action
=
"{{ route('admin.visualizarParecer') }}"
method
=
"post"
>
<
form
action
=
"{{ route('admin.visualizarParecer') }}"
method
=
"post"
>
@
csrf
@
csrf
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"{{
$trabalho->id
}}"
>
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"{{
$trabalho->id
}}"
>
<
input
type
=
"hidden"
name
=
"avaliador_id"
value
=
"{{
$avaliador->id
}}"
>
<
input
type
=
"hidden"
name
=
"avaliador_id"
value
=
"{{
$avaliador->id
}}"
>
<
button
class
=
"btn btn-primary"
@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
disabled
=
"disabled"
@
endif
>
@
if
(
$avaliador
->
trabalhos
->
where
(
'id'
,
$trabalho
->
id
)
->
first
()
->
pivot
->
parecer
==
null
)
Visualizar
<
button
class
=
"btn btn-danger"
disabled
=
"disabled"
>
</
button
>
Indisponível
</
button
>
@
else
<
button
class
=
"btn btn-primary"
>
Visualizar
</
button
>
@
endif
</
form
>
</
form
>
</
td
>
</
td
>
...
...
resources/views/administrador/selecionarAvaliadores.blade.php
View file @
0b855c44
...
@@ -7,9 +7,14 @@
...
@@ -7,9 +7,14 @@
<
div
class
=
"container"
>
<
div
class
=
"container"
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
div
class
=
"row justify-content-center d-flex align-items-center"
>
<
div
class
=
"col-md-
10
"
>
<
div
class
=
"col-md-
9
"
>
<
h3
>
Avaliadores
</
h3
>
<
h3
>
Avaliadores
</
h3
>
</
div
>
</
div
>
<
div
class
=
"col-md-1"
>
<
a
href
=
"{{ route('admin.atribuir', ['evento_id' =>
$evento->id
]) }}"
class
=
"btn btn-primary"
>
Voltar
</
a
>
</
div
>
<
div
class
=
"col-md-2"
>
<
div
class
=
"col-md-2"
>
<!--
Button
trigger
modal
-->
<!--
Button
trigger
modal
-->
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
toggle
=
"modal"
data
-
target
=
"#exampleModalCenter"
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
toggle
=
"modal"
data
-
target
=
"#exampleModalCenter"
>
...
@@ -20,6 +25,7 @@
...
@@ -20,6 +25,7 @@
</
div
>
</
div
>
</
div
>
</
div
>
<
hr
>
<
hr
>
<
table
class
=
"table table-bordered"
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
thead
>
...
@@ -78,7 +84,7 @@
...
@@ -78,7 +84,7 @@
@
csrf
@
csrf
<
input
type
=
"hidden"
name
=
"avaliador_id"
value
=
"{{
$avaliador->id
}}"
>
<
input
type
=
"hidden"
name
=
"avaliador_id"
value
=
"{{
$avaliador->id
}}"
>
<
input
type
=
"hidden"
name
=
"evento_id"
value
=
"{{
$evento->id
}}"
>
<
input
type
=
"hidden"
name
=
"evento_id"
value
=
"{{
$evento->id
}}"
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
@
if
(
$avaliador
->
trabalhos
->
count
()
!=
0
)
disabled
=
"disabled"
@
endif
>
Remover
</
button
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
@
if
(
$avaliador
->
trabalhos
->
where
(
'evento_id'
,
$evento
->
id
)
->
count
()
!=
0
)
disabled
=
"disabled"
@
endif
>
Remover
</
button
>
</
form
>
</
form
>
</
td
>
</
td
>
</
tr
>
</
tr
>
...
...
resources/views/administrador/selecionarProjetos.blade.php
View file @
0b855c44
...
@@ -19,6 +19,10 @@
...
@@ -19,6 +19,10 @@
</
div
>
</
div
>
</
div
>
</
div
>
<
a
href
=
"{{ route('admin.atribuir', ['evento_id' =>
$evento->id
]) }}"
class
=
"btn btn-primary"
>
Voltar
</
a
>
<
hr
>
<
hr
>
<
table
class
=
"table table-bordered"
>
<
table
class
=
"table table-bordered"
>
<
thead
>
<
thead
>
...
@@ -115,6 +119,7 @@
...
@@ -115,6 +119,7 @@
@
endforeach
@
endforeach
</
tbody
>
</
tbody
>
</
table
>
</
table
>
</
div
>
</
div
>
...
...
resources/views/administrador/visualizarParecer.blade.php
View file @
0b855c44
...
@@ -19,6 +19,9 @@
...
@@ -19,6 +19,9 @@
</
div
>
</
div
>
<
div
class
=
"form-group"
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleFormControlSelect1"
>
Anexo
:
</
label
>
<
label
for
=
"exampleFormControlSelect1"
>
Anexo
:
</
label
>
<
a
href
=
"{{route('download', ['file' =>
$parecer->AnexoParecer
])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
>
</
div
>
</
div
>
<
a
href
=
"
{
{url()->previous()}
}
"
class
=
"btn btn-primary"
>
Voltar
</
a
>
<
a
href
=
"
{
{url()->previous()}
}
"
class
=
"btn btn-primary"
>
Voltar
</
a
>
...
...
resources/views/avaliador/listarTrabalhos.blade.php
View file @
0b855c44
...
@@ -27,8 +27,8 @@
...
@@ -27,8 +27,8 @@
<
td
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
titulo
}}
</
td
>
<
td
>
{{
$trabalho
->
created_at
}}
</
td
>
<
td
>
{{
$trabalho
->
created_at
}}
</
td
>
<
td
>
<
td
>
{{
--
{{
route
(
'download'
,
[
'file'
=>
$arquivo
])}}
--
}}
{{
--
--
}}
<
a
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
<
a
href
=
"{{route('download', ['file' =>
$trabalho->anexoProjeto
])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
>
</
a
>
</
td
>
</
td
>
...
...
resources/views/avaliador/parecer.blade.php
View file @
0b855c44
...
@@ -27,14 +27,18 @@
...
@@ -27,14 +27,18 @@
@
endif
@
endif
@
endforeach
@
endforeach
</
select
>
</
select
>
<
div
class
=
"form-group"
>
<
div
class
=
"form-group
mt-3 md-3
"
>
@
if
(
$trabalho
->
pivot
->
AnexoParecer
==
null
)
@
if
(
$trabalho
->
pivot
->
AnexoParecer
==
null
)
<
label
for
=
"exampleFormControlFile1"
>
Anexo
do
Parecer
:</
label
>
<
label
for
=
"exampleFormControlFile1"
>
Anexo
do
Parecer
:</
label
>
<
input
type
=
"file"
class
=
"form-control-file"
id
=
"exampleFormControlFile1"
name
=
"anexoParecer"
>
<
input
type
=
"file"
class
=
"form-control-file"
id
=
"exampleFormControlFile1"
name
=
"anexoParecer"
>
@
else
@
else
<
label
for
=
"exampleFormControlFile1"
>
Já
existe
um
arquivo
,
quer
atualizar
?</
label
>
<
br
>
<
label
for
=
"exampleFormControlFile1"
>
Já
existe
um
arquivo
,
quer
atualizar
?</
label
>
<
br
>
<
label
for
=
"exampleFormControlFile1"
>
Arquivo
atual
:</
label
>
<
a
href
=
"{{route('download', ['file' =>
$trabalho->pivot
->AnexoParecer])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
><
br
>
<
input
type
=
"file"
class
=
"form-control-file"
id
=
"exampleFormControlFile1"
name
=
"anexoParecer"
>
<
input
type
=
"file"
class
=
"form-control-file"
id
=
"exampleFormControlFile1"
name
=
"anexoParecer"
>
@
endif
@
endif
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
0b855c44
...
@@ -16,10 +16,10 @@
...
@@ -16,10 +16,10 @@
{{
--
Nome
do
Projeto
--
}}
{{
--
Nome
do
Projeto
--
}}
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-sm-12"
>
<
div
class
=
"col-sm-12"
>
<
label
for
=
"nome
Trabalh
o"
class
=
"col-form-label"
>
{{
__
(
'Nome do Projeto:'
)
}}
</
label
>
<
label
for
=
"nome
Projet
o"
class
=
"col-form-label"
>
{{
__
(
'Nome do Projeto
*
:'
)
}}
</
label
>
<
input
id
=
"nome
Trabalh
o"
type
=
"text"
class
=
"form-control @error('nome
Trabalh
o') is-invalid @enderror"
name
=
"nomeProjeto"
value
=
"{{ old('nome
Trabalh
o') }}"
required
autocomplete
=
"nome
Trabalh
o"
autofocus
>
<
input
id
=
"nome
Projet
o"
type
=
"text"
class
=
"form-control @error('nome
Projet
o') is-invalid @enderror"
name
=
"nomeProjeto"
value
=
"{{ old('nome
Projet
o') }}"
required
autocomplete
=
"nome
Projet
o"
autofocus
>
@
error
(
'nome
Trabalh
o'
)
@
error
(
'nome
Projet
o'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
</
span
>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
{{
--
Grande
Area
--
}}
{{
--
Grande
Area
--
}}
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-sm-4"
>
<
div
class
=
"col-sm-4"
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Grande Área:'
)
}}
</
label
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Grande Área
*
:'
)
}}
</
label
>
<
select
class
=
"form-control @error('grandeArea') is-invalid @enderror"
id
=
"grandeArea"
name
=
"grandeArea"
>
<
select
class
=
"form-control @error('grandeArea') is-invalid @enderror"
id
=
"grandeArea"
name
=
"grandeArea"
>
<
option
value
=
""
disabled
selected
hidden
>--
Grande
Área
--</
option
>
<
option
value
=
""
disabled
selected
hidden
>--
Grande
Área
--</
option
>
@
foreach
(
$grandeAreas
as
$grandeArea
)
@
foreach
(
$grandeAreas
as
$grandeArea
)
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
@enderror
@enderror
</div>
</div>
<div class="
col
-
sm
-
4
">
<div class="
col
-
sm
-
4
">
<label for="
area
" class="
col
-
form
-
label
">{{ __('Área:') }}</label>
<label for="
area
" class="
col
-
form
-
label
">{{ __('Área
*
:') }}</label>
<select class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" id="
area
" name="
area
">
<select class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" id="
area
" name="
area
">
<option value="" disabled selected hidden>-- Área --</option>
<option value="" disabled selected hidden>-- Área --</option>
@foreach(
$areas
as
$area
)
@foreach(
$areas
as
$area
)
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
@enderror
@enderror
</div>
</div>
<div class="
col
-
sm
-
4
">
<div class="
col
-
sm
-
4
">
<label for="
subArea
" class="
col
-
form
-
label
">{{ __('Sub Área:') }}</label>
<label for="
subArea
" class="
col
-
form
-
label
">{{ __('Sub Área
*
:') }}</label>
<select class="
form
-
control
@
error
(
'subArea'
)
is
-
invalid
@
enderror
" id="
subArea
" name="
subArea
">
<select class="
form
-
control
@
error
(
'subArea'
)
is
-
invalid
@
enderror
" id="
subArea
" name="
subArea
">
<option value="" disabled selected hidden>-- Sub Área --</option>
<option value="" disabled selected hidden>-- Sub Área --</option>
@foreach(
$subAreas
as
$subArea
)
@foreach(
$subAreas
as
$subArea
)
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
<input class="
form
-
control
" type="
text
" id="
nomeCoordenador
" name="
nomeCoordenador
" disabled="
disabled
" value="
{{
Auth
()
->
user
()
->
name
}}
">
<input class="
form
-
control
" type="
text
" id="
nomeCoordenador
" name="
nomeCoordenador
" disabled="
disabled
" value="
{{
Auth
()
->
user
()
->
name
}}
">
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">Link Lattes do Proponente</label>
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">Link Lattes do Proponente
*
</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->linkLattes != null)
@if(Auth()->user()->proponentes->linkLattes != null)
value="
{{
Auth
()
->
user
()
->
proponentes
->
linkLattes
}}
"
value="
{{
Auth
()
->
user
()
->
proponentes
->
linkLattes
}}
"
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
@enderror
@enderror
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Pontuação da Planilha de Pontuação
:') }}</label>
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Pontuação da Planilha de Pontuação
*
:') }}</label>
<input class="
form
-
control
@
error
(
'pontuacaoPlanilha'
)
is
-
invalid
@
enderror
" type="
text
" name="
pontuacaoPlanilha
">
<input class="
form
-
control
@
error
(
'pontuacaoPlanilha'
)
is
-
invalid
@
enderror
" type="
text
" name="
pontuacaoPlanilha
">
@error('pontuacaoPlanilha')
@error('pontuacaoPlanilha')
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
@enderror
@enderror
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Link do grupo de pesquisa:') }}</label>
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Link do grupo de pesquisa
*
:') }}</label>
<input class="
form
-
control
@
error
(
'linkGrupo'
)
is
-
invalid
@
enderror
" type="
text
" name="
linkGrupo
">
<input class="
form
-
control
@
error
(
'linkGrupo'
)
is
-
invalid
@
enderror
" type="
text
" name="
linkGrupo
">
@error('linkGrupo')
@error('linkGrupo')
...
@@ -139,8 +139,8 @@
...
@@ -139,8 +139,8 @@
<div class="
row
justify
-
content
-
center
">
<div class="
row
justify
-
content
-
center
">
{{-- Arquivo --}}
{{-- Arquivo --}}
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
anexoProjeto
" class="
col
-
form
-
label
">{{ __('Anexo Projeto:') }}</label>
<label for="
anexoProjeto
" class="
col
-
form
-
label
">{{ __('Anexo Projeto
*
:') }}</label>
<div class="
input
-
group
">
<div class="
input
-
group
">
<div class="
custom
-
file
">
<div class="
custom
-
file
">
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
anexoLatterCoordenador
" class="
col
-
form
-
label
">{{ __('Anexo do Lattes do Coordenador:') }}</label>
<label for="
anexoLatterCoordenador
" class="
col
-
form
-
label
">{{ __('Anexo do Lattes do Coordenador
*
:') }}</label>
<div class="
input
-
group
">
<div class="
input
-
group
">
...
@@ -177,7 +177,7 @@
...
@@ -177,7 +177,7 @@
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Possui autorização do Comitê de Ética:') }}</label>
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Possui autorização do Comitê de Ética
*
:') }}</label>
<button id="
buttonSim
" class="
btn
btn
-
primary
mt
-
2
mb
-
2
">Sim</button>
<button id="
buttonSim
" class="
btn
btn
-
primary
mt
-
2
mb
-
2
">Sim</button>
<button id="
buttonNao
" class="
btn
btn
-
primary
mt
-
2
mb
-
2
">Não</button>
<button id="
buttonNao
" class="
btn
btn
-
primary
mt
-
2
mb
-
2
">Não</button>
<div class="
input
-
group
">
<div class="
input
-
group
">
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
</div>
</div>
<div class="
col
-
sm
-
6
mt
-
3
">
<div class="
col
-
sm
-
6
mt
-
3
">
<label for="
anexoPlanilha
" class="
col
-
form
-
label
">{{ __('Anexo do Planilha de Pontuação
:') }}</label>
<label for="
anexoPlanilha
" class="
col
-
form
-
label
">{{ __('Anexo do Planilha de Pontuação
*
:') }}</label>
<div class="
input
-
group
">
<div class="
input
-
group
">
...
@@ -213,7 +213,7 @@
...
@@ -213,7 +213,7 @@
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Justificativa:') }}</label>
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Justificativa
*
:') }}</label>
<div class="
input
-
group
">
<div class="
input
-
group
">
...
@@ -233,7 +233,7 @@
...
@@ -233,7 +233,7 @@
@if(
$edital->tipo
== 'PIBIC' ||
$edital->tipo
== 'PIBIC-EM')
@if(
$edital->tipo
== 'PIBIC' ||
$edital->tipo
== 'PIBIC-EM')
{{-- Decisão do CONSU --}}
{{-- Decisão do CONSU --}}
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
anexoCONSU
" class="
col
-
form
-
label
">{{ __('Decisão do CONSU:') }}</label>
<label for="
anexoCONSU
" class="
col
-
form
-
label
">{{ __('Decisão do CONSU
*
:') }}</label>
<div class="
input
-
group
">
<div class="
input
-
group
">
...
@@ -264,7 +264,7 @@
...
@@ -264,7 +264,7 @@
<h5>Dados do participante</h5>
<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>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomeParticipante'
)
is
-
invalid
@
enderror
" name="
nomeParticipante
[]
" placeholder="
Nome
" required>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomeParticipante'
)
is
-
invalid
@
enderror
" name="
nomeParticipante
[]
" placeholder="
Nome
" required>
@error('nomeParticipante')
@error('nomeParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
@enderror
@enderror
</div>
</div>
<div class="
col
-
sm
-
4
">
<div class="
col
-
sm
-
4
">
<label>E-mail</label>
<label>E-mail
*
</label>
<input type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'emailParticipante'
)
is
-
invalid
@
enderror
" name="
emailParticipante
[]
" placeholder="
email
" required>
<input type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'emailParticipante'
)
is
-
invalid
@
enderror
" name="
emailParticipante
[]
" placeholder="
email
" required>
@error('emailParticipante')
@error('emailParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
...
@@ -282,7 +282,7 @@
...
@@ -282,7 +282,7 @@
@enderror
@enderror
</div>
</div>
<div class="
col
-
sm
-
3
">
<div class="
col
-
sm
-
3
">
<label>Função:</label>
<label>Função
*
:</label>
<select class="
form
-
control
@
error
(
'funcaoParticipante'
)
is
-
invalid
@
enderror
" name="
funcaoParticipante
[]
" id="
funcaoParticipante
">
<select class="
form
-
control
@
error
(
'funcaoParticipante'
)
is
-
invalid
@
enderror
" name="
funcaoParticipante
[]
" id="
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
)
...
@@ -303,7 +303,7 @@
...
@@ -303,7 +303,7 @@
<div id="
planoTrabalho
">
<div id="
planoTrabalho
">
<div class="
row
">
<div class="
row
">
<div class="
col
-
sm
-
4
">
<div class="
col
-
sm
-
4
">
<label>Titulo </label>
<label>Titulo
*
</label>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomePlanoTrabalho'
)
is
-
invalid
@
enderror
" name="
nomePlanoTrabalho
[]
" placeholder="
Nome
" required>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomePlanoTrabalho'
)
is
-
invalid
@
enderror
" name="
nomePlanoTrabalho
[]
" placeholder="
Nome
" required>
@error('nomePlanoTrabalho')
@error('nomePlanoTrabalho')
...
@@ -314,7 +314,7 @@
...
@@ -314,7 +314,7 @@
</div>
</div>
{{-- Arquivo --}}
{{-- Arquivo --}}
<div class="
col
-
sm
-
7
">
<div class="
col
-
sm
-
7
">
<label for="
nomeTrabalho
">Anexo</label>
<label for="
nomeTrabalho
">Anexo
*
</label>
<div class="
input
-
group
">
<div class="
input
-
group
">
<div class="
input
-
group
-
prepend
">
<div class="
input
-
group
-
prepend
">
<span class="
input
-
group
-
text
" id="
anexoPlanoTrabalho
">Selecione um arquivo:</span>
<span class="
input
-
group
-
text
" id="
anexoPlanoTrabalho
">Selecione um arquivo:</span>
...
@@ -408,11 +408,16 @@
...
@@ -408,11 +408,16 @@
return
false
;
return
false
;
}
}
});
});
$
(
'#anexoProjeto'
)
.
on
(
'change'
,
function
()
{
$
(
'.custom-file-input'
)
.
on
(
'change'
,
function
()
{
//get the file name
var
fieldVal
=
$
(
this
)
.
val
();
var
fileName
=
$
(
this
)
.
val
();
//replace the "Choose a file" label
// Change the node's value by removing the fake path (Chrome)
$
(
this
)
.
next
(
'#custom-file-label'
)
.
html
(
fileName
);
fieldVal
=
fieldVal
.
replace
(
"C:
\\
fakepath
\\
"
,
""
);
if
(
fieldVal
!=
undefined
||
fieldVal
!=
""
)
{
$
(
this
)
.
next
(
".custom-file-label"
)
.
attr
(
'data-content'
,
fieldVal
);
$
(
this
)
.
next
(
".custom-file-label"
)
.
text
(
fieldVal
);
}
})
})
// F
// F
$
(
'#buttonSim'
)
.
on
(
'click'
,
function
(
e
)
{
$
(
'#buttonSim'
)
.
on
(
'click'
,
function
(
e
)
{
...
@@ -446,7 +451,7 @@
...
@@ -446,7 +451,7 @@
"<br><h5>Dados do participante</h5>"
+
"<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>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control'
+
" @error('nomeParticipante') is-invalid @enderror"
+
"name="
+
'nomeParticipante[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control'
+
" @error('nomeParticipante') is-invalid @enderror"
+
"name="
+
'nomeParticipante[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"@error('nomeParticipante')"
+
"@error('nomeParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
...
@@ -455,7 +460,7 @@
...
@@ -455,7 +460,7 @@
"@enderror"
+
"@enderror"
+
"</div>"
+
"</div>"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<label>E-mail</label>"
+
"<label>E-mail
*
</label>"
+
"<input type='email'"
+
"style='margin-bottom:10px'"
+
"class="
+
"form-control @error('emailParticipante') is-invalid @enderror"
+
"name='emailParticipante[]'"
+
"placeholder='email' required>"
+
"<input type='email'"
+
"style='margin-bottom:10px'"
+
"class="
+
"form-control @error('emailParticipante') is-invalid @enderror"
+
"name='emailParticipante[]'"
+
"placeholder='email' required>"
+
"@error('emailParticipante')"
+
"@error('emailParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
...
@@ -464,7 +469,7 @@
...
@@ -464,7 +469,7 @@
"@enderror"
+
"@enderror"
+
"</div>"
+
"</div>"
+
"<div class='col-sm-3'>"
+
"<div class='col-sm-3'>"
+
"<label>Função:</label>"
+
"<label>Função
*
:</label>"
+
"<select class="
+
"form-control @error('funcaoParticipante') is-invalid @enderror"
+
"name='funcaoParticipante[]'"
+
"id='funcaoParticipante'> "
+
"<select class="
+
"form-control @error('funcaoParticipante') is-invalid @enderror"
+
"name='funcaoParticipante[]'"
+
"id='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
)"
+
...
@@ -481,7 +486,7 @@
...
@@ -481,7 +486,7 @@
"<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"
+
">"
+
"<label>Titulo</label>"
+
"<label>Titulo
*
</label>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
"form-control @error('nomePlanoTrabalho') is-invalid @enderror"
+
" name="
+
'nomePlanoTrabalho[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
"form-control @error('nomePlanoTrabalho') is-invalid @enderror"
+
" name="
+
'nomePlanoTrabalho[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"@error('nomePlanoTrabalho')"
+
"@error('nomePlanoTrabalho')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
...
@@ -490,7 +495,7 @@
...
@@ -490,7 +495,7 @@
"@enderror"
+
"@enderror"
+
"</div>"
+
"</div>"
+
"<div class="
+
"col-sm-7"
+
">"
+
"<div class="
+
"col-sm-7"
+
">"
+
"<label for="
+
"nomeTrabalho"
+
">Anexo </label>"
+
"<label for="
+
"nomeTrabalho"
+
">Anexo
*
</label>"
+
"<div class="
+
"input-group"
+
">"
+
"<div class="
+
"input-group"
+
">"
+
"<div class='input-group-prepend'>"
+
"<div class='input-group-prepend'>"
+
...
...
Prev
1
2
Next
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