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
873445f4
Unverified
Commit
873445f4
authored
Jun 10, 2020
by
Aline Tenório
Committed by
GitHub
Jun 10, 2020
Browse files
Merge pull request #21 from lmts-ufape/cadastroParticipante
Cadastro participante/proponente
parents
244ee253
ed605f15
Changes
12
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdministradorController.php
View file @
873445f4
...
...
@@ -5,7 +5,6 @@ namespace App\Http\Controllers;
use
Illuminate\Http\Request
;
use
App\Administrador
;
use
App\User
;
use
App\GrandeArea
;
use
App\Avaliador
;
use
App\AdministradorResponsavel
;
use
App\Participante
;
...
...
@@ -60,9 +59,8 @@ class AdministradorController extends Controller
return
view
(
'administrador.visualizarParecer'
)
->
with
([
'trabalho'
=>
$trabalho
,
'parecer'
=>
$parecer
,
'avaliador'
=>
$avaliador
]);
}
public
function
create
()
{
$grandesAreas
=
GrandeArea
::
orderBy
(
'nome'
)
->
get
();
return
view
(
'administrador.novo_user'
)
->
with
([
'grandeAreas'
=>
$grandesAreas
]);
public
function
create
()
{
return
view
(
'administrador.novo_user'
);
}
public
function
salvar
(
Request
$request
)
{
...
...
@@ -125,10 +123,7 @@ class AdministradorController extends Controller
$proponente
->
vinculo
=
$request
->
vinculo
;
$proponente
->
titulacaoMaxima
=
$request
->
titulacaoMaxima
;
$proponente
->
anoTitulacao
=
$request
->
anoTitulacao
;
$proponente
->
areaFormacao
=
$request
->
areaFormacao
;
$proponente
->
grandeArea
=
$request
->
area
;
$proponente
->
area
=
"teste"
;
$proponente
->
subArea
=
"teste"
;
$proponente
->
areaFormacao
=
$request
->
areaFormacao
;
$proponente
->
bolsistaProdutividade
=
$request
->
bolsistaProdutividade
;
$proponente
->
nivel
=
$request
->
nivel
;
$proponente
->
linkLattes
=
$request
->
linkLattes
;
...
...
@@ -182,8 +177,7 @@ class AdministradorController extends Controller
'cargo'
=>
'required'
,
'titulacaoMaxima'
=>
'required'
,
'anoTitulacao'
=>
'required'
,
'areaFormacao'
=>
'required'
,
'grandeArea'
=>
'required'
,
'areaFormacao'
=>
'required'
,
'bolsistaProdutividade'
=>
'required'
,
'nivel'
=>
'required'
,
'linkLattes'
=>
'required'
,
...
...
@@ -216,10 +210,7 @@ class AdministradorController extends Controller
$proponente
->
vinculo
=
$request
->
vinculo
;
$proponente
->
titulacaoMaxima
=
$request
->
titulacaoMaxima
;
$proponente
->
anoTitulacao
=
$request
->
anoTitulacao
;
$proponente
->
areaFormacao
=
$request
->
areaFormacao
;
$proponente
->
grandeArea
=
$request
->
grandeArea
;
$proponente
->
area
=
"teste"
;
$proponente
->
subArea
=
"teste"
;
$proponente
->
areaFormacao
=
$request
->
areaFormacao
;
$proponente
->
bolsistaProdutividade
=
$request
->
bolsistaProdutividade
;
$proponente
->
nivel
=
$request
->
nivel
;
$proponente
->
linkLattes
=
$request
->
linkLattes
;
...
...
app/Http/Controllers/Auth/RegisterController.php
View file @
873445f4
...
...
@@ -7,11 +7,11 @@ use App\Providers\RouteServiceProvider;
use
Illuminate\Foundation\Auth\RegistersUsers
;
use
Illuminate\Support\Facades\Hash
;
use
Illuminate\Support\Facades\Validator
;
use
Illuminate\Validation\Rule
;
use
App\User
;
use
App\Participante
;
use
App\Proponente
;
use
App\GrandeArea
;
class
RegisterController
extends
Controller
{
...
...
@@ -65,16 +65,19 @@ class RegisterController extends Controller
'instituicao'
=>
[
'required'
,
'string'
,
'max:255'
],
'cargo'
=>
[
'required'
],
'vinculo'
=>
[
'required'
],
'titulacaoMaxima'
=>
[
'required_with:anoTitulacao,areaFormacao,grandeArea,area,subarea,bolsistaProdutividade,linkLattes'
],
'anoTitulacao'
=>
[
'required_with:titulacaoMaxima,areaFormacao,grandeArea,area,subarea,bolsistaProdutividade,linkLattes'
],
'areaFormacao'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,grandeArea,area,subarea,bolsistaProdutividade,linkLattes'
],
'grandeArea'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,areaFormacao,area,subarea,bolsistaProdutividade,linkLattes'
],
'area'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,areaFormacao,grandeArea,subarea,bolsistaProdutividade,linkLattes'
],
'subarea'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,areaFormacao,grandeArea,area,bolsistaProdutividade,linkLattes'
],
'bolsistaProdutividade'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,areaFormacao,grandeArea,area,subarea,linkLattes'
],
'linkLattes'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,areaFormacao,grandeArea,area,subarea,bolsistaProdutividade'
],
'outro'
=>
[
'required_if:vinculo,Outro'
],
'titulacaoMaxima'
=>
[
'required_with:anoTitulacao,areaFormacao,bolsistaProdutividade,linkLattes'
],
'titulacaoMaxima'
=>
Rule
::
requiredIf
(
(
isset
(
$data
[
'cargo'
])
&&
$data
[
'cargo'
]
!==
'Estudante'
)
||
(
isset
(
$data
[
'cargo'
])
&&
$data
[
'cargo'
]
===
'Estudante'
&&
isset
(
$data
[
'vinculo'
])
&&
$data
[
'vinculo'
]
===
'Pós-doutorando'
)),
'anoTitulacao'
=>
[
'required_with:titulacaoMaxima,areaFormacao,bolsistaProdutividade,linkLattes'
],
'anoTitulacao'
=>
Rule
::
requiredIf
(
(
isset
(
$data
[
'cargo'
])
&&
$data
[
'cargo'
]
!==
'Estudante'
)
||
(
isset
(
$data
[
'cargo'
])
&&
$data
[
'cargo'
]
===
'Estudante'
&&
isset
(
$data
[
'vinculo'
])
&&
$data
[
'vinculo'
]
===
'Pós-doutorando'
)),
'areaFormacao'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,bolsistaProdutividade,linkLattes'
],
'areaFormacao'
=>
Rule
::
requiredIf
(
(
isset
(
$data
[
'cargo'
])
&&
$data
[
'cargo'
]
!==
'Estudante'
)
||
(
isset
(
$data
[
'cargo'
])
&&
$data
[
'cargo'
]
===
'Estudante'
&&
isset
(
$data
[
'vinculo'
])
&&
$data
[
'vinculo'
]
===
'Pós-doutorando'
)),
'bolsistaProdutividade'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,areaFormacao,linkLattes'
],
'bolsistaProdutividade'
=>
Rule
::
requiredIf
(
(
isset
(
$data
[
'cargo'
])
&&
$data
[
'cargo'
]
!==
'Estudante'
)
||
(
isset
(
$data
[
'cargo'
])
&&
$data
[
'cargo'
]
===
'Estudante'
&&
isset
(
$data
[
'vinculo'
])
&&
$data
[
'vinculo'
]
===
'Pós-doutorando'
)),
'nivel'
=>
[
'required_if:bolsistaProdutividade,sim'
],
'linkLattes'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,areaFormacao,bolsistaProdutividade'
],
'linkLattes'
=>
Rule
::
requiredIf
(
(
isset
(
$data
[
'cargo'
])
&&
$data
[
'cargo'
]
!==
'Estudante'
)
||
(
isset
(
$data
[
'cargo'
])
&&
$data
[
'cargo'
]
===
'Estudante'
&&
isset
(
$data
[
'vinculo'
])
&&
$data
[
'vinculo'
]
===
'Pós-doutorando'
)),
]);
}
...
...
@@ -106,17 +109,24 @@ class RegisterController extends Controller
$user
->
save
();
$proponente
=
new
Proponente
();
$proponente
->
SIAPE
=
$data
[
'SIAPE'
];
if
(
$data
[
'SIAPE'
]
!=
null
){
$proponente
->
SIAPE
=
$data
[
'SIAPE'
];
}
$proponente
->
cargo
=
$data
[
'cargo'
];
$proponente
->
vinculo
=
$data
[
'vinculo'
];
if
(
$data
[
'vinculo'
]
!=
'Outro'
){
$proponente
->
vinculo
=
$data
[
'vinculo'
];
}
else
{
$proponente
->
vinculo
=
$data
[
'outro'
];
}
$proponente
->
titulacaoMaxima
=
$data
[
'titulacaoMaxima'
];
$proponente
->
anoTitulacao
=
$data
[
'anoTitulacao'
];
$proponente
->
areaFormacao
=
$data
[
'areaFormacao'
];
$proponente
->
grandeArea
=
$data
[
'grandeArea'
];
$proponente
->
area
=
$data
[
'area'
];
$proponente
->
subArea
=
$data
[
'subarea'
];
$proponente
->
areaFormacao
=
$data
[
'areaFormacao'
];
$proponente
->
bolsistaProdutividade
=
$data
[
'bolsistaProdutividade'
];
$proponente
->
nivel
=
$data
[
'nivel'
];
if
(
$data
[
'bolsistaProdutividade'
]
==
'sim'
){
$proponente
->
nivel
=
$data
[
'nivel'
];
}
$proponente
->
linkLattes
=
$data
[
'linkLattes'
];
$user
->
proponentes
()
->
save
(
$proponente
);
...
...
@@ -126,8 +136,7 @@ class RegisterController extends Controller
return
$user
;
}
public
function
showRegistrationForm
(){
$grandesAreas
=
GrandeArea
::
orderBy
(
'nome'
)
->
get
();
return
view
(
'auth.register'
)
->
with
([
'grandeAreas'
=>
$grandesAreas
]);
public
function
showRegistrationForm
(){
return
view
(
'auth.register'
);
}
}
app/Http/Controllers/ProponenteController.php
View file @
873445f4
...
...
@@ -3,10 +3,11 @@
namespace
App\Http\Controllers
;
use
Illuminate\Http\Request
;
use
Illuminate\Support\Facades\Validator
;
use
Illuminate\Validation\Rule
;
use
Auth
;
use
App\User
;
use
App\Proponente
;
use
App\GrandeArea
;
use
App\Evento
;
class
ProponenteController
extends
Controller
...
...
@@ -17,49 +18,56 @@ class ProponenteController extends Controller
}
public
function
create
(){
$grandesAreas
=
GrandeArea
::
orderBy
(
'nome'
)
->
get
();
return
view
(
'proponente.cadastro'
)
->
with
([
'grandeAreas'
=>
$grandesAreas
]);;
return
view
(
'proponente.cadastro'
);
}
public
function
store
(
Request
$request
){
if
(
Auth
::
user
()
->
proponentes
==
null
)
{
if
(
Auth
()
->
user
()
->
proponentes
==
null
)
{
$validated
=
$request
->
validate
([
'senha'
=>
'required'
,
$validated
=
$request
->
validate
([
'cargo'
=>
'required'
,
'titulacaoMaxima'
=>
'required'
,
'anoTitulacao'
=>
'required'
,
'areaFormacao'
=>
'required'
,
'area'
=>
'required'
,
'bolsistaProdutividade'
=>
'required'
,
'nivel'
=>
'required'
,
'linkLattes'
=>
'required'
,
'vinculo'
=>
'required'
,
'outro'
=>
[
'required_if:vinculo,Outro'
],
'titulacaoMaxima'
=>
[
'required_with:anoTitulacao,areaFormacao,bolsistaProdutividade,linkLattes'
],
'titulacaoMaxima'
=>
Rule
::
requiredIf
(
(
isset
(
$request
[
'cargo'
])
&&
$request
[
'cargo'
]
!==
'Estudante'
)
||
(
isset
(
$request
[
'cargo'
])
&&
$request
[
'cargo'
]
===
'Estudante'
&&
isset
(
$request
[
'vinculo'
])
&&
$request
[
'vinculo'
]
===
'Pós-doutorando'
)),
'anoTitulacao'
=>
[
'required_with:titulacaoMaxima,areaFormacao,bolsistaProdutividade,linkLattes'
],
'anoTitulacao'
=>
Rule
::
requiredIf
(
(
isset
(
$request
[
'cargo'
])
&&
$request
[
'cargo'
]
!==
'Estudante'
)
||
(
isset
(
$request
[
'cargo'
])
&&
$request
[
'cargo'
]
===
'Estudante'
&&
isset
(
$request
[
'vinculo'
])
&&
$request
[
'vinculo'
]
===
'Pós-doutorando'
)),
'areaFormacao'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,bolsistaProdutividade,linkLattes'
],
'areaFormacao'
=>
Rule
::
requiredIf
(
(
isset
(
$request
[
'cargo'
])
&&
$request
[
'cargo'
]
!==
'Estudante'
)
||
(
isset
(
$request
[
'cargo'
])
&&
$request
[
'cargo'
]
===
'Estudante'
&&
isset
(
$request
[
'vinculo'
])
&&
$request
[
'vinculo'
]
===
'Pós-doutorando'
)),
'bolsistaProdutividade'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,areaFormacao,linkLattes'
],
'bolsistaProdutividade'
=>
Rule
::
requiredIf
(
(
isset
(
$request
[
'cargo'
])
&&
$request
[
'cargo'
]
!==
'Estudante'
)
||
(
isset
(
$request
[
'cargo'
])
&&
$request
[
'cargo'
]
===
'Estudante'
&&
isset
(
$request
[
'vinculo'
])
&&
$request
[
'vinculo'
]
===
'Pós-doutorando'
)),
'nivel'
=>
[
'required_if:bolsistaProdutividade,sim'
],
'linkLattes'
=>
[
'required_with:titulacaoMaxima,anoTitulacao,areaFormacao,bolsistaProdutividade'
],
'linkLattes'
=>
Rule
::
requiredIf
(
(
isset
(
$request
[
'cargo'
])
&&
$request
[
'cargo'
]
!==
'Estudante'
)
||
(
isset
(
$request
[
'cargo'
])
&&
$request
[
'cargo'
]
===
'Estudante'
&&
isset
(
$request
[
'vinculo'
])
&&
$request
[
'vinculo'
]
===
'Pós-doutorando'
)),
]);
$proponente
=
new
Proponente
();
$proponente
->
SIAPE
=
$request
->
SIAPE
;
$proponente
->
cargo
=
$request
->
cargo
;
$proponente
->
vinculo
=
$request
->
vinculo
;
$proponente
->
titulacaoMaxima
=
$request
->
titulacaoMaxima
;
$proponente
->
anoTitulacao
=
$request
->
anoTitulacao
;
$proponente
->
areaFormacao
=
$request
->
areaFormacao
;
$proponente
->
grandeArea
=
$request
->
area
;
$proponente
->
area
=
"teste"
;
$proponente
->
subArea
=
"teste"
;
$proponente
->
bolsistaProdutividade
=
$request
->
bolsistaProdutividade
;
$proponente
->
nivel
=
$request
->
nivel
;
$proponente
->
linkLattes
=
$request
->
linkLattes
;
$proponente
->
user_id
=
Auth
::
user
()
->
id
;
$proponente
->
save
();
$user
=
User
::
find
(
Auth
()
->
user
()
->
id
);
$user
->
tipo
=
"proponente"
;
$user
->
save
();
if
(
$request
[
'cargo'
]
===
"Estudante"
&&
$request
[
'vinculo'
]
!==
"Pós-doutorando"
){
return
redirect
(
route
(
'proponente.create'
))
->
with
([
'mensagem'
=>
'Operação não permitida para seu perfil'
]);
}
else
{
$proponente
=
new
Proponente
();
$proponente
->
SIAPE
=
$request
->
SIAPE
;
$proponente
->
cargo
=
$request
->
cargo
;
$proponente
->
vinculo
=
$request
->
vinculo
;
$proponente
->
titulacaoMaxima
=
$request
->
titulacaoMaxima
;
$proponente
->
anoTitulacao
=
$request
->
anoTitulacao
;
$proponente
->
areaFormacao
=
$request
->
areaFormacao
;
$proponente
->
bolsistaProdutividade
=
$request
->
bolsistaProdutividade
;
$proponente
->
nivel
=
$request
->
nivel
;
$proponente
->
linkLattes
=
$request
->
linkLattes
;
$proponente
->
user_id
=
Auth
::
user
()
->
id
;
$proponente
->
save
();
$user
=
User
::
find
(
Auth
()
->
user
()
->
id
);
$user
->
tipo
=
"proponente"
;
$user
->
save
();
$eventos
=
Evento
::
all
();
return
redirect
(
route
(
'admin.editais'
,
[
'eventos'
=>
$eventos
]))
->
with
([
'mensagem'
=>
'Cadastro feito com sucesso! Você já pode criar projetos'
]);
}
}
else
{
return
redirect
(
route
(
'proponente.create'
))
->
with
([
'mensagem'
=>
'Você já é proponente!'
]);
}
$eventos
=
Evento
::
all
();
return
redirect
(
route
(
'admin.editais'
,
[
'eventos'
=>
$eventos
]))
->
with
([
'mensagem'
=>
'Usuário cadastrado com sucesso'
]);
}
}
database/migrations/2020_05_20_211421_create_proponentes_table.php
View file @
873445f4
...
...
@@ -16,18 +16,15 @@ class CreateProponentesTable extends Migration
Schema
::
create
(
'proponentes'
,
function
(
Blueprint
$table
)
{
$table
->
bigIncrements
(
'id'
);
//$table->string('CPF');
$table
->
string
(
'SIAPE'
);
$table
->
string
(
'SIAPE'
)
->
nullable
()
;
//$table->string('email')->unique();
$table
->
string
(
'cargo'
);
$table
->
string
(
'vinculo'
);
$table
->
string
(
'titulacaoMaxima'
);
$table
->
string
(
'anoTitulacao'
);
$table
->
string
(
'areaFormacao'
);
$table
->
string
(
'grandeArea'
);
$table
->
string
(
'area'
);
$table
->
string
(
'subArea'
);
$table
->
string
(
'areaFormacao'
);
$table
->
string
(
'bolsistaProdutividade'
);
$table
->
string
(
'nivel'
);
$table
->
string
(
'nivel'
)
->
nullable
()
;
$table
->
string
(
'linkLattes'
);
$table
->
timestamps
();
...
...
database/seeds/ProponenteSeeder.php
View file @
873445f4
...
...
@@ -22,12 +22,9 @@ class ProponenteSeeder extends Seeder
//'email' => '123123123',
'cargo'
=>
'123123123'
,
'vinculo'
=>
'123123123'
,
'titulacaoMaxima'
=>
'
123123123
'
,
'titulacaoMaxima'
=>
'
Mestrado
'
,
'anoTitulacao'
=>
'123123123'
,
'areaFormacao'
=>
'123123123'
,
'grandeArea'
=>
'123123123'
,
'area'
=>
'123123123'
,
'subArea'
=>
'123123123'
,
'areaFormacao'
=>
'123123123'
,
'bolsistaProdutividade'
=>
'123123123'
,
'nivel'
=>
'123123123'
,
'linkLattes'
=>
'123123123'
,
...
...
resources/lang/en/validation.php
View file @
873445f4
...
...
@@ -56,10 +56,10 @@ return [
'not_in'
=>
'O :attribute selecionado é inválido.'
,
'numeric'
=>
':Attribute deve ser um número.'
,
'regex'
=>
'O formato de :attribute é inválido.'
,
'required'
=>
'O campo
:attribute
é obrigatório.'
,
'required_if'
=>
'O campo
:attribute
é obrigatório
quando :other é :value
.'
,
'required'
=>
'O campo é obrigatório.'
,
'required_if'
=>
'O campo é obrigatório.'
,
'required_unless'
=>
'O :attribute é necessário a menos que :other esteja em :values.'
,
'required_with'
=>
'O campo
:attribute
é obrigatório
quando :values está presente
.'
,
'required_with'
=>
'O campo é obrigatório.'
,
'required_with_all'
=>
'O campo :attribute é obrigatório quando :values estão presentes.'
,
'required_without'
=>
'O campo :attribute é obrigatório quando :values não está presente.'
,
'required_without_all'
=>
'O campo :attribute é obrigatório quando nenhum destes estão presentes: :values.'
,
...
...
resources/views/administrador/editar_user.blade.php
View file @
873445f4
...
...
@@ -52,9 +52,9 @@
<
option
value
=
"administrador"
>
Administrador
</
option
>
@
endif
@
if
(
$user
->
tipo
==
'administradorResponsavel'
)
<
option
value
=
"administradorResponsavel"
selected
>
Administrador
Respons
a
vel
</
option
>
<
option
value
=
"administradorResponsavel"
selected
>
Administrador
Respons
á
vel
</
option
>
@
else
<
option
value
=
"administradorResponsavel"
>
Administrador
Respons
a
vel
</
option
>
<
option
value
=
"administradorResponsavel"
>
Administrador
Respons
á
vel
</
option
>
@
endif
@
endif
@
if
(
$user
->
tipo
==
'avaliador'
)
...
...
@@ -112,25 +112,29 @@
<
label
class
=
"col-form-label"
>
{{
__
(
'Cargo'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->cargo}
}
"
id
=
"cargo"
type
=
"text"
class
=
"form-control @error('cargo') is-invalid @enderror"
name
=
"cargo"
autocomplete
=
"cargo"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'V
i
nculo'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'V
í
nculo'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->vinculo}
}
"
id
=
"vinculo"
type
=
"text"
class
=
"form-control @error('vinculo') is-invalid @enderror"
name
=
"vinculo"
autocomplete
=
"vinculo"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Titulação Maxima'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->titulacaoMaxima}
}
"
id
=
"titulacaoMaxima"
type
=
"text"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
autocomplete
=
"titulacaoMaxima"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Titulação Máxima'
)
}}
</
label
>
<
select
id
=
"titulacaoMaxima"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
autocomplete
=
"titulacaoMaxima"
>
<
option
value
=
""
disabled
selected
hidden
>--
Titulação
--</
option
>
<
option
@
if
(
$proponente
->
titulacaoMaxima
==
"Doutorado"
)
selected
@
endif
value
=
"Doutorado"
>
Doutorado
</
option
>
<
option
@
if
(
$proponente
->
titulacaoMaxima
==
"Mestrado"
)
selected
@
endif
value
=
"Mestrado"
>
Mestrado
</
option
>
<
option
@
if
(
$proponente
->
titulacaoMaxima
==
"Especialização"
)
selected
@
endif
value
=
"Especialização"
>
Especialização
</
option
>
<
option
@
if
(
$proponente
->
titulacaoMaxima
==
"Graduação"
)
selected
@
endif
value
=
"Graduação"
>
Graduação
</
option
>
<
option
@
if
(
$proponente
->
titulacaoMaxima
==
"Técnico"
)
selected
@
endif
value
=
"Técnico"
>
Técnico
</
option
>
</
select
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Ano Titulação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->anoTitulacao}
}
"
id
=
"anoTitulacao"
type
=
"text"
class
=
"form-control @error('anoTitulacao') is-invalid @enderror"
name
=
"anoTitulacao"
autocomplete
=
"anoTitulacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'
A
rea Formação'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'
Á
rea Formação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->areaFormacao}
}
"
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
autocomplete
=
"areaFormacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->grandeArea}
}
"
id
=
"grandeArea"
type
=
"text"
class
=
"form-control @error('grandeArea') is-invalid @enderror"
name
=
"grandeArea"
autocomplete
=
"grandeArea"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Bolsista Produtividade'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->bolsistaProdutividade}
}
"
id
=
"bolsistaProdutividade"
type
=
"text"
class
=
"form-control @error('bolsistaProdutividade') is-invalid @enderror"
name
=
"bolsistaProdutividade"
autocomplete
=
"bolsistaProdutividade"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'N
i
vel'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'N
í
vel'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->nivel}
}
"
id
=
"nivel"
type
=
"text"
class
=
"form-control @error('nivel') is-invalid @enderror"
name
=
"nivel"
autocomplete
=
"nivel"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Link do Lattes'
)
}}
</
label
>
...
...
@@ -144,25 +148,22 @@
<
label
class
=
"col-form-label"
>
{{
__
(
'Cargo'
)
}}
</
label
>
<
input
value
=
""
id
=
"cargo"
type
=
"text"
class
=
"form-control @error('cargo') is-invalid @enderror"
name
=
"cargo"
autocomplete
=
"cargo"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'V
i
nculo'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'V
í
nculo'
)
}}
</
label
>
<
input
value
=
""
id
=
"vinculo"
type
=
"text"
class
=
"form-control @error('vinculo') is-invalid @enderror"
name
=
"vinculo"
autocomplete
=
"vinculo"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Titulação M
a
xima'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Titulação M
á
xima'
)
}}
</
label
>
<
input
value
=
""
id
=
"titulacaoMaxima"
type
=
"text"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
autocomplete
=
"titulacaoMaxima"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Ano Titulação'
)
}}
</
label
>
<
input
value
=
""
id
=
"anoTitulacao"
type
=
"text"
class
=
"form-control @error('anoTitulacao') is-invalid @enderror"
name
=
"anoTitulacao"
autocomplete
=
"anoTitulacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'
A
rea Formação'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'
Á
rea Formação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->areaFormacao}
}
"
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
autocomplete
=
"areaFormacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
input
value
=
""
id
=
"grandeArea"
type
=
"text"
class
=
"form-control @error('grandeArea') is-invalid @enderror"
name
=
"grandeArea"
autocomplete
=
"grandeArea"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Bolsista Produtividade'
)
}}
</
label
>
<
input
value
=
""
id
=
"bolsistaProdutividade"
type
=
"text"
class
=
"form-control @error('bolsistaProdutividade') is-invalid @enderror"
name
=
"bolsistaProdutividade"
autocomplete
=
"bolsistaProdutividade"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'N
i
vel'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'N
í
vel'
)
}}
</
label
>
<
input
value
=
""
id
=
"nivel"
type
=
"text"
class
=
"form-control @error('nivel') is-invalid @enderror"
name
=
"nivel"
autocomplete
=
"nivel"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Link do Lattes'
)
}}
</
label
>
...
...
resources/views/administrador/novo_user.blade.php
View file @
873445f4
...
...
@@ -47,10 +47,10 @@
<
div
>
<
label
for
=
"tipo"
class
=
"col-form-label"
>
{{
__
(
'Tipo'
)
}}
</
label
>
<
select
name
=
"tipo"
id
=
"tipo"
onchange
=
"mudar()"
>
<
select
name
=
"tipo"
id
=
"tipo"
onchange
=
"mudar()"
class
=
"form-control"
>
@
if
(
auth
()
->
user
()
->
tipo
==
'administrador'
)
<
option
value
=
"administrador"
>
Administrador
</
option
>
<
option
value
=
"administradorResponsavel"
>
Administrador
respons
a
vel
</
option
>
<
option
value
=
"administradorResponsavel"
>
Administrador
respons
á
vel
</
option
>
@
endif
<
option
value
=
"avaliador"
>
Avaliador
</
option
>
<
option
value
=
"proponente"
>
Proponente
</
option
>
...
...
@@ -96,8 +96,9 @@
@
enderror
<
div
>
<
label
for
=
"vinculo"
class
=
"col-form-label"
>
{{
__
(
'Vinculo'
)
}}
</
label
>
<
select
name
=
"vinculo"
id
=
""
>
<
label
for
=
"vinculo"
class
=
"col-form-label"
>
{{
__
(
'Vínculo'
)
}}
</
label
>
<
select
name
=
"vinculo"
id
=
""
class
=
"form-control"
>
<
option
value
=
""
disabled
selected
hidden
>--
Vínculo
--</
option
>
<
option
value
=
"Servidor na ativa"
>
Servidor
na
ativa
</
option
>
<
option
value
=
"Servidor aposentado"
>
Servidor
aposentado
</
option
>
<
option
value
=
"Professor visitante"
>
Professor
visitante
</
option
>
...
...
@@ -105,8 +106,15 @@
</
select
>
</
div
>
<
label
for
=
"titulacaoMaxima"
class
=
"col-form-label"
>
{{
__
(
'Titulação Maxima'
)
}}
</
label
>
<
input
id
=
"titulacaoMaxima"
type
=
"text"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
value
=
""
autocomplete
=
"nome"
>
<
label
for
=
"titulacaoMaxima"
class
=
"col-form-label"
>
{{
__
(
'Titulação Máxima'
)
}}
</
label
>
<
select
id
=
"titulacaoMaxima"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
>
<
option
value
=
""
disabled
selected
hidden
>--
Titulação
--</
option
>
<
option
value
=
"Doutorado"
>
Doutorado
</
option
>
<
option
value
=
"Mestrado"
>
Mestrado
</
option
>
<
option
value
=
"Especialização"
>
Especialização
</
option
>
<
option
value
=
"Graduação"
>
Graduação
</
option
>
<
option
value
=
"Técnico"
>
Técnico
</
option
>
</
select
>
@
error
(
'titulacaoMaxima'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
...
...
@@ -123,37 +131,28 @@
</
span
>
@
enderror
<
label
for
=
"areaFormacao"
class
=
"col-form-label"
>
{{
__
(
'
A
rea de Formação'
)
}}
</
label
>
<
label
for
=
"areaFormacao"
class
=
"col-form-label"
>
{{
__
(
'
Á
rea de Formação'
)
}}
</
label
>
<
input
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
value
=
""
autocomplete
=
"nome"
>
@
error
(
'areaFormacao'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
<
div
>
<
label
for
=
"area"
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
select
name
=
"area"
id
=
""
>
@
foreach
(
$grandeAreas
as
$area
)
<
option
value
=
"
{
{$area->nome}}">{{$area->nome}
}
</option>
@endforeach
</select>
</div>
@
enderror
<
div
>
<
label
for
=
"bolsistaProdutividade"
class
=
"col-form-label"
>
{{
__
(
'Bolsista de Produtividade'
)
}}
</
label
><
br
>
<select name="
bolsistaProdutividade
" id="">
<option value="
sim
">Sim
</option>
<
select
name
=
"bolsistaProdutividade"
id
=
""
class
=
"form-control"
>
<
option
value
=
"
"
disabled
selected
hidden
>--
Bolsista
--
</
option
>
<
option
value
=
"nao"
>
Não
</
option
>
<
option
value
=
"sim"
>
Sim
</
option
>
</
select
>
</
div
>
<
div
>
<label for="
nivel
" class="
col
-
form
-
label
">{{ __('Nivel') }}</label>
<select name="
nivel
" id="">
<
label
for
=
"nivel"
class
=
"col-form-label"
>
{{
__
(
'Nível'
)
}}
</
label
>
<
select
name
=
"nivel"
id
=
""
class
=
"form-control"
>
<
option
value
=
""
disabled
selected
hidden
>--
Nível
--</
option
>
<
option
value
=
"2"
>
2
</
option
>
<
option
value
=
"1D"
>
1
D
</
option
>
<
option
value
=
"1D"
>
1
B
</
option
>
...
...
@@ -162,7 +161,7 @@
</
select
>
</
div
>
<label for="
linkLattes
" class="
col
-
form
-
label
">{{ __('Link do curr
i
cul
um l
attes') }}</label>
<
label
for
=
"linkLattes"
class
=
"col-form-label"
>
{{
__
(
'Link do curr
í
cul
o L
attes'
)
}}
</
label
>
<
input
id
=
"linkLattes"
type
=
"text"
class
=
"form-control @error('linkLattes') is-invalid @enderror"
name
=
"linkLattes"
value
=
""
autocomplete
=
"nome"
>
@
error
(
'linkLattes'
)
...
...
resources/views/auth/register.blade.php
View file @
873445f4
...
...
@@ -61,7 +61,7 @@
</
span
>
@
enderror
</
div
>
</
div
>
{{
--
Email
|
Senha
|
Confirmar
Senha
--
}}
...
...
@@ -76,7 +76,7 @@
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"password"
class
=
"col-form-label"
>
{{
__
(
'Senha*'
)
}}
</
label
>
...
...
@@ -93,16 +93,17 @@
<
label
for
=
"password-confirm"
class
=
"col-form-label"
>
{{
__
(
'Confirme a Senha*'
)
}}
</
label
>
<
input
id
=
"password-confirm"
type
=
"password"
class
=
"form-control"
name
=
"password_confirmation"
required
autocomplete
=
"new-password"
>
</
div
>
</
div
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"cargo"
class
=
"col-form-label"
>
{{
__
(
'Cargo*'
)
}}
</
label
>
<
select
id
=
"cargo"
name
=
"cargo"
class
=
"form-control"
onchange
=
"mudar()"
>
<
option
@
if
(
old
(
'cargo'
)
==
'Professor'
)
selected
@
endif
value
=
"Professor"
>
Professor
</
option
>
<
option
@
if
(
old
(
'cargo'
)
==
'Técnico'
)
selected
@
endif
value
=
"Técnico"
>
Técnico
</
option
>
<
option
@
if
(
old
(
'cargo'
)
==
'Estudante'
)
selected
@
endif
value
=
"Estudante"
>
Estudante
</
option
>
<
select
id
=
"cargo"
name
=
"cargo"
class
=
"form-control @error('cargo') is-invalid @enderror"
onchange
=
"mudar()"
>
<
option
value
=
""
disabled
selected
hidden
>--
Cargo
--</
option
>
<
option
@
if
(
old
(
'cargo'
)
==
'Professor'
)
selected
@
endif
value
=
"Professor"
>
Professor
</
option
>
<
option
@
if
(
old
(
'cargo'
)
==
'Técnico'
)
selected
@
endif
value
=
"Técnico"
>
Técnico
</
option
>
<
option
@
if
(
old
(
'cargo'
)
==
'Estudante'
)
selected
@
endif
value
=
"Estudante"
>
Estudante
</
option
>
</
select
>
@
error
(
'cargo'
)
...
...
@@ -113,40 +114,47 @@
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"vinculo"
class
=
"col-form-label"
>
{{
__
(
'Vinculo*'
)
}}
</
label
>
<
select
name
=
"vinculo"
id
=
"vinculo"
class
=
"form-control"
onchange
=
"mudar()"
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Servidor na ativa'
)
selected
@
endif
value
=
"Servidor na ativa"
>
Servidor
na
ativa
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Servidor aposentado'
)
selected
@
endif
value
=
"Servidor aposentado"
>
Servidor
aposentado
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Professor visitante'
)
selected
@
endif
value
=
"Professor visitante"
>
Professor
visitante
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Pós-doutorando'
)
selected
@
endif
value
=
"Pós-doutorando"
>
Pós
-
doutorando
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Outro'
)
selected
@
endif
value
=
"Outro"
>
Outro
</
option
>
<
label
for
=
"vinculo"
class
=
"col-form-label"
>
{{
__
(
'Vínculo*'
)
}}
</
label
>
<
select
name
=
"vinculo"
id
=
"vinculo"
class
=
"form-control @error('vinculo') is-invalid @enderror"
onchange
=
"mudar()"
>
<
option
value
=
""
disabled
selected
hidden
>--
Vínculo
--</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Servidor na ativa'
)
selected
@
endif
value
=
"Servidor na ativa"
>
Servidor
na
ativa
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Servidor aposentado'
)
selected
@
endif
value
=
"Servidor aposentado"
>
Servidor
aposentado
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Professor visitante'
)
selected
@
endif
value
=
"Professor visitante"
>
Professor
visitante
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Pós-doutorando'
)
selected
@
endif
value
=
"Pós-doutorando"
>
Pós
-
doutorando
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Outro'
)
selected
@
endif
value
=
"Outro"
>
Outro
</
option
>
</
select
>
@
error
(
'vinculo'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-4"
style
=
"display: none;"
id
=
"divOutro"
>
<
label
for
=
"outro"
class
=
"col-form-label"
>
{{
__
(
'Qual?'
)
}}
</
label
>
<
input
id
=
"outro"
type
=
"text"
class
=
"form-control @error('outro') is-invalid @enderror"
name
=
"outro"
>
<
div
class
=
"col-md-4"
style
=
"display: block;"
id
=
"divOutro"
>
<
label
for
=
"outro"
class
=
"col-form-label"
>
{{
__
(
'Qual?*'
)
}}
</
label
>
<
input
id
=
"outro"
type
=
"text"
class
=
"form-control @error('outro') is-invalid @enderror"
name
=
"outro"
value
=
"{{ old('outro') }}"
>
@
error
(
'outro'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
<
div
id
=
"proponente"
style
=
"display: block;"
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"SIAPE"
class
=
"col-form-label"
>
{{
__
(
'SIAPE'
)
}}
</
label
>
<
input
id
=
"SIAPE"
type
=
"text"
class
=
"form-control @error('SIAPE') is-invalid @enderror"
name
=
"SIAPE"
value
=
"{{ old('SIAPE') }}"
autocomplete
=
"nome"
>
@
error
(
'SIAPE'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"titulacaoMaxima"
class
=
"col-form-label"
>
{{
__
(
'Titulação Maxima*'
)
}}
</
label
>
<
input
id
=
"titulacaoMaxima"
type
=
"text"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
value
=
"{{ old('titulacaoMaxima') }}"
autocomplete
=
"nome"
>
<
label
for
=
"titulacaoMaxima"
class
=
"col-form-label"
>
{{
__
(
'Titulação Máxima*'
)
}}
</
label
>
<
select
id
=
"titulacaoMaxima"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
value
=
"{{ old('titulacaoMaxima') }}"
autocomplete
=
"nome"
>
<
option
value
=
""
disabled
selected
hidden
>--
Titulação
--</
option
>
<
option
@
if
(
old
(
'titulacaoMaxima'
)
==
'Doutorado'
)
selected
@
endif
value
=
"Doutorado"
>
Doutorado
</
option
>
<
option
@
if
(
old
(
'titulacaoMaxima'
)
==
'Mestrado'
)
selected
@
endif
value
=
"Mestrado"
>
Mestrado
</
option
>
<
option
@
if
(
old
(
'titulacaoMaxima'
)
==
'Especialização'
)
selected
@
endif
value
=
"Especialização"
>
Especialização
</
option
>
<
option
@
if
(
old
(
'titulacaoMaxima'
)
==
'Graduação'
)
selected
@
endif
value
=
"Graduação"
>
Graduação
</
option
>
<
option
@
if
(
old
(
'titulacaoMaxima'
)
==
'Técnico'
)
selected
@
endif
value
=
"Técnico"
>
Técnico
</
option
>
</
select
>
@
error
(
'titulacaoMaxima'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
...
...
@@ -165,11 +173,8 @@
</
span
>
@
enderror
</
div
>
</
div
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"areaFormacao"
class
=
"col-form-label"
>
{{
__
(
'
A
rea de Formação*'
)
}}
</
label
>
<
label
for
=
"areaFormacao"
class
=
"col-form-label"
>
{{
__
(
'
Á
rea de Formação*'
)
}}
</
label
>
<
input
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
value
=
"{{ old('areaFormacao') }}"
autocomplete
=
"nome"
>
@
error
(
'areaFormacao'
)
...
...
@@ -178,35 +183,15 @@
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Grande Área*'
)
}}
</
label
>
<
select
name
=
"grandeArea"
id
=
""
class
=
"form-control"
>
@
foreach
(
$grandeAreas
as
$area
)
<
option
@
if
(
old
(
'grandeArea'
)
==
$area
->
nome
)
selected
@
endif
value
=
"
{
{$area->nome}}">{{$area->nome}
}
</option>
@endforeach
</select>
</div>
<div class="
col
-
md
-
4
">
<label for="
area
" class="
col
-
form
-
label
">{{ __('Área*') }}</label>
<input id="
area
" type="
text
" class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" name="
area
" value="
{{
old
(
'area'
)
}}
">
@error('area')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</
div
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-4"
>
<label for="
subarea
" class="
col
-
form
-
label
">{{ __('S
ubárea*
') }}</label>
<input id="
subarea
" type="
text
" class="
form
-
control
@
error
(
'
subarea
'
)
is
-
invalid
@
enderror
" name="
subarea
" value="
{{
old
(
'
subarea'
)
}}
">
<
label
for
=
"
SIAPE
"
class
=
"col-form-label"
>
{{
__
(
'S
IAPE
'
)
}}
</
label
>
<
input
id
=
"
SIAPE
"
type
=
"text"
class
=
"form-control @error('
SIAPE
') is-invalid @enderror"
name
=
"
SIAPE
"
value
=
"{{ old('
SIAPE') }}"
autocomplete
=
"nome
"
>
@error('
subarea
')
@
error
(
'
SIAPE
'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
...
...
@@ -214,7 +199,7 @@
</
div
>
<
div
class
=
"col-md-4"
>
<label for="
linkLattes
" class="
col
-
form
-
label
">{{ __('Link do curr
i
cul
um l
attes*') }}</label>
<
label
for
=
"linkLattes"
class
=
"col-form-label"
>
{{
__
(
'Link do curr
í
cul
o L
attes*'
)
}}
</
label
>
<
input
id
=
"linkLattes"
type
=
"text"
class
=
"form-control @error('linkLattes') is-invalid @enderror"
name
=
"linkLattes"
value
=
"{{ old('linkLattes') }}"
autocomplete
=
"nome"
>
@
error
(
'linkLattes'
)
...
...
@@ -226,25 +211,37 @@
<
div
class
=
"col-md-3"
>
<
label
for
=
"bolsistaProdutividade"
class
=
"col-form-label"
>
{{
__
(
'Bolsista de Produtividade*'
)
}}
</
label
><
br
>
<select name="
bolsistaProdutividade
" id="
bolsistaProdutividade
" class="
form
-
control
" onchange="
mudarNivel
()
">
<option value="
sim
">Sim</option>
<option value="
nao
">Não</option>
<
select
name
=
"bolsistaProdutividade"
id
=
"bolsistaProdutividade"
class
=
"form-control @error('bolsistaProdutividade') is-invalid @enderror"
onchange
=
"mudarNivel()"
>
<
option
value
=
""
disabled
selected
hidden
>--
Bolsista
--</
option
>
<
option
@
if
(
old
(
'bolsistaProdutividade'
)
==
'nao'
)
selected
@
endif
value
=
"nao"
>
Não
</
option
>
<
option
@
if
(
old
(
'bolsistaProdutividade'
)
==
'sim'
)
selected
@
endif
value
=
"sim"
>
Sim
</
option
>
</
select
>
@
error
(
'bolsistaProdutividade'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-1"
id
=
"nivelInput"
style
=
"display: block;"
>
<label for="
nivel
" class="
col
-
form
-
label
">{{ __('Nivel') }}</label>
<select name="
nivel
" id="
nivel
" class="
form
-
control
">
<
label
for
=
"nivel"
class
=
"col-form-label"
>
{{
__
(
'Nível*'
)
}}
</
label
>
<
select
name
=
"nivel"
id
=
"nivel"
class
=
"form-control @error('nivel') is-invalid @enderror"
>
<
option
value
=
""
disabled
selected
hidden
></
option
>
<
option
value
=
"2"
>
2
</
option
>
<
option
value
=
"1D"
>
1
D
</
option
>
<
option
value
=
"1B"
>
1
B
</
option
>
<
option
value
=
"1C"
>
1
C
</
option
>
<
option
value
=
"1A"
>
1
A
</
option
>
</
select
>
</div>
@
error
(
'nivel'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
</
div
>
<
div
class
=
"row justify-content-center"
style
=
"margin: 20px 0 20px 0"
>
<
div
class
=
"col-md-6"
style
=
"padding-left:0"
>
...
...
@@ -291,27 +288,30 @@
outroVinculo
();
}
function outroVinculo(){
function
outroVinculo
()
{
var
comboBoxVinculo
=
document
.
getElementById
(
'vinculo'
);
var
divOutro
=
document
.
getElementById
(
'divOutro'
);
if(comboBoxVinculo.value === "
Outro
"){
if
(
comboBoxVinculo
.
value
===
"Outro"
)
{
divOutro
.
style
.
display
=
"block"
;
}else{
}
else
{
divOutro
.
style
.
display
=
"none"
;
}
}
function mudarNivel(){
window
.
onload
=
mudarNivel
();
window
.
onload
=
outroVinculo
();
window
.
onload
=
mudar
();
function
mudarNivel
()
{
var
bolsista
=
document
.
getElementById
(
'bolsistaProdutividade'
);
var
nivel
=
document
.
getElementById
(
'nivelInput'
);
if(bolsista.value === "
sim
"){
if
(
bolsista
.
value
===
"sim"
)
{
nivel
.
style
.
display
=
"block"
;
}else{
}
else
{
nivel
.
style
.
display
=
"none"
;
}
console.log("
a
");
}
</
script
>
@
endsection
\ No newline at end of file
resources/views/participante/editais.blade.php
0 → 100644
View file @
873445f4
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 100px;"
>
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-10"
>
<
h3
>
Meus
Editais
</
h3
>
</
div
>
</
div
>
</
div
>
<
hr
>
@
if
(
auth
()
->
user
()
->
tipo
===
"participante"
)
<
table
class
=
"table table-bordered"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
Edital
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Data
de
Criação
</
th
>
<
th
scope
=
"col"
>
Baixar
edital
</
th
>
<
th
scope
=
"col"
>
Opção
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$eventos
as
$evento
)
<
tr
>
<
td
>
<
a
href
=
"{{ route('evento.visualizar',['id'=>
$evento->id
]) }}"
class
=
"visualizarEvento"
>
{{
$evento
->
nome
}}
</
a
>
</
td
>
<
td
></
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
>
<
div
class
=
"btn-group dropright dropdown-options"
>
<
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"
>
</
a
>
<
div
class
=
"dropdown-menu"
>
<
a
href
=
"{{ route('projetos.edital', ['id' =>
$evento->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Projetos
submetidos
</
a
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Visualizar
resultado
</
a
>
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Resultado
preeliminar
</
a
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Resultado
final
</
a
>
--
}}
</
div
>
</
div
>
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
@
endif
</
div
>
\ No newline at end of file
resources/views/proponente/cadastro.blade.php
View file @
873445f4
...
...
@@ -7,65 +7,81 @@
<
div
class
=
"col-sm-12"
>
<
h2
style
=
"margin-top: 100px; "
>
{{
__
(
'Criar perfil de proponente'
)
}}
</
h2
>
</
div
>
@
if
(
session
(
'mensagem'
))
<
div
class
=
"col-sm-12"
>
<
br
>
<
div
class
=
"alert alert-danger"
>
<
p
>
{{
session
(
'mensagem'
)}}
</
p
>
</
div
>
</
div
>
@
endif
</
div
>
<
br
>
<
form
method
=
"POST"
action
=
"{{ route('proponente.store') }}"
>
@
csrf
<
div
class
=
"col-sm-11"
>
<
div
id
=
"proponente"
style
=
"display: block;"
>
<
div
>
<
h4
>
Dados
do
proponente
</
h4
>
<
div
>
<
h4
>
Dados
do
proponente
</
h4
>
</
div
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"cargo"
class
=
"col-form-label"
>
{{
__
(
'Cargo*'
)
}}
</
label
>
<
select
id
=
"cargo"
name
=
"cargo"
class
=
"form-control @error('cargo') is-invalid @enderror"
onchange
=
"mudar()"
>
<
option
value
=
""
disabled
selected
hidden
>--
Cargo
--</
option
>
<
option
@
if
(
old
(
'cargo'
)
==
'Professor'
)
selected
@
endif
value
=
"Professor"
>
Professor
</
option
>
<
option
@
if
(
old
(
'cargo'
)
==
'Técnico'
)
selected
@
endif
value
=
"Técnico"
>
Técnico
</
option
>
<
option
@
if
(
old
(
'cargo'
)
==
'Estudante'
)
selected
@
endif
value
=
"Estudante"
>
Estudante
</
option
>
</
select
>
@
error
(
'cargo'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"cargo"
class
=
"col-form-label"
>
{{
__
(
'Cargo*'
)
}}
</
label
>
<
select
id
=
"cargo"
name
=
"cargo"
class
=
"form-control"
onchange
=
"mudar()"
>
<
option
@
if
(
old
(
'cargo'
)
==
'Professor'
)
selected
@
endif
value
=
"Professor"
>
Professor
</
option
>
<
option
@
if
(
old
(
'cargo'
)
==
'Técnico'
)
selected
@
endif
value
=
"Técnico"
>
Técnico
</
option
>
<
option
@
if
(
old
(
'cargo'
)
==
'Estudante'
)
selected
@
endif
value
=
"Estudante"
>
Estudante
</
option
>
</
select
>
@
error
(
'cargo'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"vinculo"
class
=
"col-form-label"
>
{{
__
(
'Vínculo*'
)
}}
</
label
>
<
select
name
=
"vinculo"
id
=
"vinculo"
class
=
"form-control @error('vinculo') is-invalid @enderror"
onchange
=
"mudar()"
>
<
option
value
=
""
disabled
selected
hidden
>--
Vínculo
--</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Servidor na ativa'
)
selected
@
endif
value
=
"Servidor na ativa"
>
Servidor
na
ativa
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Servidor aposentado'
)
selected
@
endif
value
=
"Servidor aposentado"
>
Servidor
aposentado
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Professor visitante'
)
selected
@
endif
value
=
"Professor visitante"
>
Professor
visitante
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Pós-doutorando'
)
selected
@
endif
value
=
"Pós-doutorando"
>
Pós
-
doutorando
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Outro'
)
selected
@
endif
value
=
"Outro"
>
Outro
</
option
>
</
select
>
@
error
(
'vinculo'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"vinculo"
class
=
"col-form-label"
>
{{
__
(
'Vinculo*'
)
}}
</
label
>
<
select
name
=
"vinculo"
id
=
"vinculo"
class
=
"form-control"
onchange
=
"mudar()"
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Servidor na ativa'
)
selected
@
endif
value
=
"Servidor na ativa"
>
Servidor
na
ativa
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Servidor aposentado'
)
selected
@
endif
value
=
"Servidor aposentado"
>
Servidor
aposentado
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Professor visitante'
)
selected
@
endif
value
=
"Professor visitante"
>
Professor
visitante
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Pós-doutorando'
)
selected
@
endif
value
=
"Pós-doutorando"
>
Pós
-
doutorando
</
option
>
<
option
@
if
(
old
(
'vinculo'
)
==
'Outro'
)
selected
@
endif
value
=
"Outro"
>
Outro
</
option
>
</
select
>
</
div
>
<
div
class
=
"col-md-4"
style
=
"display: block;"
id
=
"divOutro"
>
<
label
for
=
"outro"
class
=
"col-form-label"
>
{{
__
(
'Qual?'
)
}}
</
label
>
<
input
id
=
"outro"
type
=
"text"
class
=
"form-control @error('outro') is-invalid @enderror"
name
=
"outro"
>
<
div
class
=
"col-md-4"
style
=
"display: none;"
id
=
"divOutro"
>
<
label
for
=
"outro"
class
=
"col-form-label"
>
{{
__
(
'Qual?'
)
}}
</
label
>
<
input
id
=
"outro"
type
=
"text"
class
=
"form-control @error('outro') is-invalid @enderror"
name
=
"outro"
>
</
div
>
@
error
(
'outro'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
<
div
id
=
"proponente"
style
=
"display: block;"
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"SIAPE"
class
=
"col-form-label"
>
{{
__
(
'SIAPE'
)
}}
</
label
>
<
input
id
=
"SIAPE"
type
=
"text"
class
=
"form-control @error('SIAPE') is-invalid @enderror"
name
=
"SIAPE"
value
=
"{{ old('SIAPE') }}"
autocomplete
=
"nome"
>
@
error
(
'SIAPE'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"titulacaoMaxima"
class
=
"col-form-label"
>
{{
__
(
'Titulação Maxima*'
)
}}
</
label
>
<
input
id
=
"titulacaoMaxima"
type
=
"text"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
value
=
"{{ old('titulacaoMaxima') }}"
autocomplete
=
"nome"
>
<
label
for
=
"titulacaoMaxima"
class
=
"col-form-label"
>
{{
__
(
'Titulação Máxima*'
)
}}
</
label
>
<
select
id
=
"titulacaoMaxima"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
value
=
"{{ old('titulacaoMaxima') }}"
>
<
option
value
=
""
disabled
selected
hidden
>--
Titulação
--</
option
>
<
option
@
if
(
old
(
'titulacaoMaxima'
)
==
'Doutorado'
)
selected
@
endif
value
=
"Doutorado"
>
Doutorado
</
option
>
<
option
@
if
(
old
(
'titulacaoMaxima'
)
==
'Mestrado'
)
selected
@
endif
value
=
"Mestrado"
>
Mestrado
</
option
>
<
option
@
if
(
old
(
'titulacaoMaxima'
)
==
'Especialização'
)
selected
@
endif
value
=
"Especialização"
>
Especialização
</
option
>
<
option
@
if
(
old
(
'titulacaoMaxima'
)
==
'Graduação'
)
selected
@
endif
value
=
"Graduação"
>
Graduação
</
option
>
<
option
@
if
(
old
(
'titulacaoMaxima'
)
==
'Técnico'
)
selected
@
endif
value
=
"Técnico"
>
Técnico
</
option
>
</
select
>
@
error
(
'titulacaoMaxima'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
...
...
@@ -84,11 +100,8 @@
</
span
>
@
enderror
</
div
>
</
div
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"areaFormacao"
class
=
"col-form-label"
>
{{
__
(
'
A
rea de Formação*'
)
}}
</
label
>
<
label
for
=
"areaFormacao"
class
=
"col-form-label"
>
{{
__
(
'
Á
rea de Formação*'
)
}}
</
label
>
<
input
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
value
=
"{{ old('areaFormacao') }}"
autocomplete
=
"nome"
>
@
error
(
'areaFormacao'
)
...
...
@@ -97,35 +110,15 @@
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Grande Área*'
)
}}
</
label
>
<
select
name
=
"grandeArea"
id
=
""
class
=
"form-control"
>
@
foreach
(
$grandeAreas
as
$area
)
<
option
@
if
(
old
(
'grandeArea'
)
==
$area
->
nome
)
selected
@
endif
value
=
"
{
{$area->nome}}">{{$area->nome}
}
</option>
@endforeach
</select>
</div>
<div class="
col
-
md
-
4
">
<label for="
area
" class="
col
-
form
-
label
">{{ __('Área*') }}</label>
<input id="
area
" type="
text
" class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" name="
area
" value="
{{
old
(
'area'
)
}}
">
@error('area')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</
div
>
<
div
class
=
"form-group row"
>
<
div
class
=
"col-md-4"
>
<label for="
subarea
" class="
col
-
form
-
label
">{{ __('S
ubárea*
') }}</label>
<input id="
subarea
" type="
text
" class="
form
-
control
@
error
(
'
subarea
'
)
is
-
invalid
@
enderror
" name="
subarea
" value="
{{
old
(
'
subarea'
)
}}
">
<
label
for
=
"
SIAPE
"
class
=
"col-form-label"
>
{{
__
(
'S
IAPE
'
)
}}
</
label
>
<
input
id
=
"
SIAPE
"
type
=
"text"
class
=
"form-control @error('
SIAPE
') is-invalid @enderror"
name
=
"
SIAPE
"
value
=
"{{ old('
SIAPE') }}"
autocomplete
=
"nome
"
>
@error('
subarea
')
@
error
(
'
SIAPE
'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
...
...
@@ -133,7 +126,7 @@
</
div
>
<
div
class
=
"col-md-4"
>
<label for="
linkLattes
" class="
col
-
form
-
label
">{{ __('Link do curr
i
cul
um l
attes*') }}</label>
<
label
for
=
"linkLattes"
class
=
"col-form-label"
>
{{
__
(
'Link do curr
í
cul
o L
attes*'
)
}}
</
label
>
<
input
id
=
"linkLattes"
type
=
"text"
class
=
"form-control @error('linkLattes') is-invalid @enderror"
name
=
"linkLattes"
value
=
"{{ old('linkLattes') }}"
autocomplete
=
"nome"
>
@
error
(
'linkLattes'
)
...
...
@@ -145,21 +138,33 @@
<
div
class
=
"col-md-3"
>
<
label
for
=
"bolsistaProdutividade"
class
=
"col-form-label"
>
{{
__
(
'Bolsista de Produtividade*'
)
}}
</
label
><
br
>
<select name="
bolsistaProdutividade
" id="
bolsistaProdutividade
" class="
form
-
control
" onchange="
mudarNivel
()
">
<option value="
sim
">Sim</option>
<option value="
nao
">Não</option>
<
select
name
=
"bolsistaProdutividade"
id
=
"bolsistaProdutividade"
class
=
"form-control @error('bolsistaProdutividade') is-invalid @enderror"
onchange
=
"mudarNivel()"
>
<
option
value
=
""
disabled
selected
hidden
>--
Bolsista
--</
option
>
<
option
@
if
(
old
(
'bolsistaProdutividade'
)
==
'nao'
)
selected
@
endif
value
=
"nao"
>
Não
</
option
>
<
option
@
if
(
old
(
'bolsistaProdutividade'
)
==
'sim'
)
selected
@
endif
value
=
"sim"
>
Sim
</
option
>
</
select
>
@
error
(
'bolsistaProdutividade'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-1"
id
=
"nivelInput"
style
=
"display: block;"
>
<label for="
nivel
" class="
col
-
form
-
label
">{{ __('Nivel') }}</label>
<select name="
nivel
" id="
nivel
" class="
form
-
control
">
<
label
for
=
"nivel"
class
=
"col-form-label"
>
{{
__
(
'Nível*'
)
}}
</
label
>
<
select
name
=
"nivel"
id
=
"nivel"
class
=
"form-control @error('nivel') is-invalid @enderror"
>
<
option
value
=
""
disabled
selected
hidden
></
option
>
<
option
value
=
"2"
>
2
</
option
>
<
option
value
=
"1D"
>
1
D
</
option
>
<
option
value
=
"1B"
>
1
B
</
option
>
<
option
value
=
"1C"
>
1
C
</
option
>
<
option
value
=
"1A"
>
1
A
</
option
>
</
select
>
@
error
(
'nivel'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
</
div
>
...
...
@@ -174,7 +179,7 @@
</
button
>
</
div
>
</
div
>
</
div
>
</
form
>
</
div
>
...
...
@@ -233,5 +238,8 @@
}
console
.
log
(
"a"
);
}
window
.
onload
=
mudarNivel
();
window
.
onload
=
outroVinculo
();
</
script
>
@
endsection
\ No newline at end of file
resources/views/user/perfilUser.blade.php
View file @
873445f4
...
...
@@ -91,13 +91,13 @@
@
if
(
!
(
is_null
(
$adminResp
)))
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Tem
pemissão
de
Administrador
Responsável
Tem
pe
r
missão
de
Administrador
Responsável
</
div
>
</
div
>
@
else
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Não
tem
pemissão
de
Administrador
Responsável
Não
tem
pe
r
missão
de
Administrador
Responsável
</
div
>
</
div
>
@
endif
...
...
@@ -105,13 +105,13 @@
@
if
(
!
(
is_null
(
$avaliador
)))
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Tem
pemissão
de
Av
á
liador
Tem
pe
r
missão
de
Av
a
liador
</
div
>
</
div
>
@
else
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Não
tem
pemissão
de
Av
á
liador
Não
tem
pe
r
missão
de
Av
a
liador
</
div
>
</
div
>
@
endif
...
...
@@ -119,7 +119,7 @@
@
if
(
!
(
is_null
(
$proponente
)))
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Tem
pemissão
de
proponente
Tem
pe
r
missão
de
proponente
</
div
>
</
div
>
<
div
class
=
"row subtitulo"
style
=
"margin-top:20px"
>
...
...
@@ -133,25 +133,29 @@
<
label
class
=
"col-form-label"
>
{{
__
(
'Cargo'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->cargo}
}
"
id
=
"cargo"
type
=
"text"
class
=
"form-control @error('cargo') is-invalid @enderror"
name
=
"cargo"
autocomplete
=
"cargo"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'V
i
nculo'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'V
í
nculo'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->vinculo}
}
"
id
=
"vinculo"
type
=
"text"
class
=
"form-control @error('vinculo') is-invalid @enderror"
name
=
"vinculo"
autocomplete
=
"vinculo"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Titulação Maxima'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->titulacaoMaxima}
}
"
id
=
"titulacaoMaxima"
type
=
"text"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
autocomplete
=
"titulacaoMaxima"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Titulação Máxima'
)
}}
</
label
>
<
select
id
=
"titulacaoMaxima"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
>
<
option
value
=
""
disabled
selected
hidden
>--
Titulação
--</
option
>
<
option
@
if
(
$proponente
->
titulacaoMaxima
==
"Doutorado"
)
selected
@
endif
value
=
"Doutorado"
>
Doutorado
</
option
>
<
option
@
if
(
$proponente
->
titulacaoMaxima
==
"Mestrado"
)
selected
@
endif
value
=
"Mestrado"
>
Mestrado
</
option
>
<
option
@
if
(
$proponente
->
titulacaoMaxima
==
"Especialização"
)
selected
@
endif
value
=
"Especialização"
>
Especialização
</
option
>
<
option
@
if
(
$proponente
->
titulacaoMaxima
==
"Graduação"
)
selected
@
endif
value
=
"Graduação"
>
Graduação
</
option
>
<
option
@
if
(
$proponente
->
titulacaoMaxima
==
"Técnico"
)
selected
@
endif
value
=
"Técnico"
>
Técnico
</
option
>
</
select
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Ano Titulação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->anoTitulacao}
}
"
id
=
"anoTitulacao"
type
=
"text"
class
=
"form-control @error('anoTitulacao') is-invalid @enderror"
name
=
"anoTitulacao"
autocomplete
=
"anoTitulacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'
A
rea de Formação'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'
Á
rea de Formação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->areaFormacao}
}
"
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
autocomplete
=
"areaFormacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->grandeArea}
}
"
id
=
"grandeArea"
type
=
"text"
class
=
"form-control @error('grandeArea') is-invalid @enderror"
name
=
"grandeArea"
autocomplete
=
"grandeArea"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Bolsista Produtividade'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->bolsistaProdutividade}
}
"
id
=
"bolsistaProdutividade"
type
=
"text"
class
=
"form-control @error('bolsistaProdutividade') is-invalid @enderror"
name
=
"bolsistaProdutividade"
autocomplete
=
"bolsistaProdutividade"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'N
i
vel'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'N
í
vel'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->nivel}
}
"
id
=
"nivel"
type
=
"text"
class
=
"form-control @error('nivel') is-invalid @enderror"
name
=
"nivel"
autocomplete
=
"nivel"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Link do Lattes'
)
}}
</
label
>
...
...
@@ -161,7 +165,7 @@
@
else
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Não
tem
pemissão
de
proponente
Não
tem
pe
r
missão
de
proponente
</
div
>
</
div
>
@
endif
...
...
@@ -169,13 +173,13 @@
@
if
(
!
(
is_null
(
$participante
)))
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Tem
pemissão
de
participante
Tem
pe
r
missão
de
participante
</
div
>
</
div
>
@
else
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Não
tem
pemissão
de
participante
Não
tem
pe
r
missão
de
participante
</
div
>
</
div
>
@
endif
...
...
@@ -375,13 +379,13 @@
@
if
(
!
(
is_null
(
$adminResp
)))
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Tem
pemissão
de
Administrador
Responsável
Tem
pe
r
missão
de
Administrador
Responsável
</
div
>
</
div
>
@
else
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Não
tem
pemissão
de
Administrador
Responsável
Não
tem
pe
r
missão
de
Administrador
Responsável
</
div
>
</
div
>
@
endif
...
...
@@ -389,13 +393,13 @@
@
if
(
!
(
is_null
(
$avaliador
)))
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Tem
pemissão
de
Av
á
liador
Tem
pe
r
missão
de
Av
a
liador
</
div
>
</
div
>
@
else
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Não
tem
pemissão
de
Av
á
liador
Não
tem
pe
r
missão
de
Av
a
liador
</
div
>
</
div
>
@
endif
...
...
@@ -403,7 +407,7 @@
@
if
(
!
(
is_null
(
$proponente
)))
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Tem
pemissão
de
proponente
Tem
pe
r
missão
de
proponente
</
div
>
</
div
>
...
...
@@ -418,25 +422,22 @@
<
label
class
=
"col-form-label"
>
{{
__
(
'Cargo'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->cargo}
}
"
id
=
"cargo"
type
=
"text"
class
=
"form-control @error('cargo') is-invalid @enderror"
name
=
"cargo"
autocomplete
=
"cargo"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'V
i
nculo'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'V
í
nculo'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->vinculo}
}
"
id
=
"vinculo"
type
=
"text"
class
=
"form-control @error('vinculo') is-invalid @enderror"
name
=
"vinculo"
autocomplete
=
"vinculo"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Titulação M
a
xima'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Titulação M
á
xima'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->titulacaoMaxima}
}
"
id
=
"titulacaoMaxima"
type
=
"text"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
autocomplete
=
"titulacaoMaxima"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Ano Titulação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->anoTitulacao}
}
"
id
=
"anoTitulacao"
type
=
"text"
class
=
"form-control @error('anoTitulacao') is-invalid @enderror"
name
=
"anoTitulacao"
autocomplete
=
"anoTitulacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'
A
rea de Formação'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'
Á
rea de Formação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->areaFormacao}
}
"
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
autocomplete
=
"areaFormacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->grandeArea}
}
"
id
=
"grandeArea"
type
=
"text"
class
=
"form-control @error('grandeArea') is-invalid @enderror"
name
=
"grandeArea"
autocomplete
=
"grandeArea"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Bolsista Produtividade'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->bolsistaProdutividade}
}
"
id
=
"bolsistaProdutividade"
type
=
"text"
class
=
"form-control @error('bolsistaProdutividade') is-invalid @enderror"
name
=
"bolsistaProdutividade"
autocomplete
=
"bolsistaProdutividade"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'N
i
vel'
)
}}
</
label
>
<
label
class
=
"col-form-label"
>
{{
__
(
'N
í
vel'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->nivel}
}
"
id
=
"nivel"
type
=
"text"
class
=
"form-control @error('nivel') is-invalid @enderror"
name
=
"nivel"
autocomplete
=
"nivel"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Link do Lattes'
)
}}
</
label
>
...
...
@@ -446,7 +447,7 @@
@
else
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Não
tem
pemissão
de
proponente
Não
tem
pe
r
missão
de
proponente
</
div
>
</
div
>
@
endif
...
...
@@ -454,13 +455,13 @@
@
if
(
!
(
is_null
(
$participante
)))
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Tem
pemissão
de
participante
Tem
pe
r
missão
de
participante
</
div
>
</
div
>
@
else
<
div
class
=
"form-group row justify-content-center"
>
<
div
class
=
"col-md-12"
>
Não
tem
pemissão
de
participante
Não
tem
pe
r
missão
de
participante
</
div
>
</
div
>
@
endif
...
...
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