Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
8ce78503
Commit
8ce78503
authored
2 years ago
by
unknown
Browse files
Options
Download
Plain Diff
Merge branch 'master' of
https://github.com/antonioDurval/submeta
parents
a97eab2f
49dc8838
master
carl-branch
dependabot/composer/symfony/http-kernel-4.4.50
dependabot/npm_and_yarn/decode-uri-component-0.2.2
dependabot/npm_and_yarn/express-4.18.2
dependabot/npm_and_yarn/json5-and-json5-2.2.3
dependabot/npm_and_yarn/loader-utils-and-webpack-cli-1.4.2
dependabot/npm_and_yarn/minimist-and-mkdirp-1.2.8
dependabot/npm_and_yarn/qs-and-express-6.11.0
excluir_projeto_submetido
updates_mar
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
resources/views/administrador/analisarProposta.blade.php
+1
-1
resources/views/administrador/analisarProposta.blade.php
resources/views/administrador/editar_user.blade.php
+3
-2
resources/views/administrador/editar_user.blade.php
resources/views/evento/formulario/participantes.blade.php
+11
-9
resources/views/evento/formulario/participantes.blade.php
resources/views/evento/submeterTrabalho.blade.php
+5
-3
resources/views/evento/submeterTrabalho.blade.php
resources/views/projeto/editaFormulario/participantes.blade.php
+3
-2
...ces/views/projeto/editaFormulario/participantes.blade.php
with
23 additions
and
17 deletions
+23
-17
resources/views/administrador/analisarProposta.blade.php
View file @
8ce78503
...
@@ -620,7 +620,7 @@
...
@@ -620,7 +620,7 @@
</
div
>
</
div
>
@
php
@
php
$avaliacoesId
=
\
App\AvaliacaoRelatorio
::
where
(
"arquivo_id"
,
$participante
->
planoTrabalho
->
id
)
->
where
(
"tipo"
,
$tipoTemp
)
->
pluck
(
'user_id'
);
$avaliacoesId
=
\
App\AvaliacaoRelatorio
::
where
(
"arquivo_id"
,
$participante
->
planoTrabalho
->
id
)
->
where
(
"tipo"
,
$tipoTemp
)
->
pluck
(
'user_id'
);
$avalProjeto
=
\
App\User
::
whereNotIn
(
'id'
,
$avaliacoesId
)
->
where
(
'tipo'
,
'
!='
,
'participante'
)
->
where
(
'id'
,
'!='
,
$trabalho
->
proponente_id
)
->
get
();
$avalProjeto
=
\
App\User
::
whereNotIn
(
'id'
,
$avaliacoesId
)
->
where
(
'tipo'
,
'
avaliador'
)
->
get
();
@
endphp
@
endphp
<
select
name
=
"avaliadores_
{
{$participante->planoTrabalho->id}
}
_id[]"
multiple
<
select
name
=
"avaliadores_
{
{$participante->planoTrabalho->id}
}
_id[]"
multiple
...
...
This diff is collapsed.
Click to expand it.
resources/views/administrador/editar_user.blade.php
View file @
8ce78503
...
@@ -66,7 +66,8 @@
...
@@ -66,7 +66,8 @@
</
div
>
</
div
>
<
div
class
=
"col-md-4"
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"tipo"
class
=
"col-form-label"
>
{{
__
(
'Tipo*'
)
}}
</
label
>
<
label
for
=
"tipo"
class
=
"col-form-label"
>
{{
__
(
'Tipo*'
)
}}
</
label
>
<
select
name
=
"tipo"
id
=
"tipo"
onchange
=
"mudar()"
class
=
"form-control"
>
<
input
readonly
id
=
"tipo"
type
=
"text"
name
=
"tipo"
value
=
"
{
{$user->tipo}
}
"
class
=
"form-control"
autofocus
/>
<!--
<
select
disabled
name
=
"tipo"
id
=
"tipo"
onchange
=
"mudar()"
class
=
"form-control"
>
@
if
(
auth
()
->
user
()
->
tipo
==
'administrador'
)
@
if
(
auth
()
->
user
()
->
tipo
==
'administrador'
)
<
option
@
if
(
$user
->
tipo
==
'administradorResponsavel'
)
selected
@
endif
value
=
"administradorResponsavel"
>
Administrador
responsável
</
option
>
<
option
@
if
(
$user
->
tipo
==
'administradorResponsavel'
)
selected
@
endif
value
=
"administradorResponsavel"
>
Administrador
responsável
</
option
>
@
endif
@
endif
...
@@ -74,7 +75,7 @@
...
@@ -74,7 +75,7 @@
<
option
@
if
(
$user
->
tipo
==
'avaliador'
)
selected
@
endif
value
=
"avaliador"
>
Avaliador
</
option
>
<
option
@
if
(
$user
->
tipo
==
'avaliador'
)
selected
@
endif
value
=
"avaliador"
>
Avaliador
</
option
>
<
option
@
if
(
$user
->
tipo
==
'proponente'
)
selected
@
endif
value
=
"proponente"
>
Proponente
</
option
>
<
option
@
if
(
$user
->
tipo
==
'proponente'
)
selected
@
endif
value
=
"proponente"
>
Proponente
</
option
>
<
option
@
if
(
$user
->
tipo
==
'participante'
)
selected
@
endif
value
=
"participante"
>
Discente
</
option
>
<
option
@
if
(
$user
->
tipo
==
'participante'
)
selected
@
endif
value
=
"participante"
>
Discente
</
option
>
</
select
>
</
select
>
-->
</
div
>
</
div
>
<
div
class
=
"col-md-2"
>
<
div
class
=
"col-md-2"
>
<
label
for
=
"celular"
class
=
"col-form-label"
>
{{
__
(
'Celular*'
)
}}
</
label
>
<
label
for
=
"celular"
class
=
"col-form-label"
>
{{
__
(
'Celular*'
)
}}
</
label
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/evento/formulario/participantes.blade.php
View file @
8ce78503
...
@@ -26,12 +26,14 @@
...
@@ -26,12 +26,14 @@
</div>
</div>
<div
class=
"col-sm-10"
style=
"display: flex; align-items: center;"
>
<div
class=
"col-sm-10"
style=
"display: flex; align-items: center;"
>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<a
href=
""
style=
""
class=
"justify-content-center"
data-toggle=
"modal"
data-target=
"#exampleModal{{$i}}"
id=
"nomePart{{$i+1}}"
>
@if(isset(old('marcado')[$i]))
@if(isset(old('marcado')[$i]))
@if(isset(old('name')[$i]))Nome: {{old('name')[$i]}} @else Discente {{$i+1}} @endif
@if(isset(old('name')[$i]))Nome: {{old('name')[$i]}} @else Discente {{$i+1}} @endif
@if(isset(old('nomePlanoTrabalho')[$i]))
<br>
Plano: {{old('nomePlanoTrabalho')[$i]}} @endif
@if(isset(old('nomePlanoTrabalho')[$i]))
<br>
Plano: {{old('nomePlanoTrabalho')[$i]}} @endif
@endif
@endif
</a>
<h6>
<a
id=
"nomePlano{{$i+1}}"
></a><br>
<a
href=
""
style=
""
class=
"justify-content-center"
data-toggle=
"modal"
data-target=
"#exampleModal{{$i}}"
id=
"nomePart{{$i+1}}"
>
Informações
</a>
</h6>
<div
class=
"col-sm-5 pl-0"
style=
"margin-top: 10px; text-align: left;"
>
<div
class=
"col-sm-5 pl-0"
style=
"margin-top: 10px; text-align: left;"
>
<button
data-dismiss=
"modal"
type=
"button"
id=
"cancelar{{$i}}"
class=
" btn btn-danger"
style=
"font-size: 12px"
onclick=
"desmarcar({{$i}})"
@
if
(
isset
(
old
('
marcado
')[$
i
+1]))
disabled
@
endif
>
Excluir
</button>
<button
data-dismiss=
"modal"
type=
"button"
id=
"cancelar{{$i}}"
class=
" btn btn-danger"
style=
"font-size: 12px"
onclick=
"desmarcar({{$i}})"
@
if
(
isset
(
old
('
marcado
')[$
i
+1]))
disabled
@
endif
>
Excluir
</button>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
resources/views/evento/submeterTrabalho.blade.php
View file @
8ce78503
...
@@ -190,16 +190,18 @@
...
@@ -190,16 +190,18 @@
function
marcar
(
id
){
function
marcar
(
id
){
let
nome
=
document
.
getElementById
(
"nome"
+
id
);
let
nome
=
document
.
getElementById
(
"nome"
+
id
);
let
linkNome
=
document
.
getElementById
(
"nomePart"
+
(
id
+
1
));
let
linkNome
=
document
.
getElementById
(
"nomePart"
+
(
id
+
1
));
let
nomePlano
=
document
.
getElementById
(
"nomePlano"
+
(
id
+
1
));
let
linkTituloProj
=
document
.
getElementById
(
"tituloProj"
+
(
id
+
1
));
let
linkTituloProj
=
document
.
getElementById
(
"tituloProj"
+
(
id
+
1
));
let
planoTrabalho
=
document
.
getElementById
(
"nomePlanoTrabalho"
+
id
);
let
planoTrabalho
=
document
.
getElementById
(
"nomePlanoTrabalho"
+
id
);
if
(
nome
.
value
!=
""
){
if
(
nome
.
value
!=
""
){
if
(
planoTrabalho
.
value
!=
""
){
if
(
planoTrabalho
.
value
!=
""
){
linkNome
.
innerText
=
`Nome: ${nome.value} \n Plano: ${planoTrabalho.value}`
;
nomePlano
.
innerText
=
`Nome: ${nome.value} \n Plano: ${planoTrabalho.value}`
;
}
else
{
}
else
{
linkNome
.
innerText
=
`Nome: ${nome.value}`
;
nomePlano
.
innerText
=
`Nome: ${nome.value}`
;
}
}
}
else
{
}
else
{
linkNome
.
innerText
=
`Discente `
+
(
id
+
1
);
nomePlano
.
innerText
=
`Discente `
+
(
id
+
1
);
}
}
if
(
id
>=
1
){
if
(
id
>=
1
){
document
.
getElementById
(
"cancelar"
+
(
id
-
1
))
.
setAttribute
(
"disabled"
,
true
);
document
.
getElementById
(
"cancelar"
+
(
id
-
1
))
.
setAttribute
(
"disabled"
,
true
);
...
...
This diff is collapsed.
Click to expand it.
resources/views/projeto/editaFormulario/participantes.blade.php
View file @
8ce78503
...
@@ -32,14 +32,15 @@
...
@@ -32,14 +32,15 @@
</div>
</div>
<div
class=
"col-sm-8"
style=
"display: flex; align-items: center;"
>
<div
class=
"col-sm-8"
style=
"display: flex; align-items: center;"
>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<a
href=
""
style=
""
class=
"justify-content-center"
data-toggle=
"modal"
data-target=
"#exampleModal{{$i}}"
id=
"nomePart{{$i+1}}"
>
@if($participante)
@if($participante)
@if(isset(old('name')[$i]))Nome: {{old('name')[$i]}} @else Nome: {{$participante->user->name}} @endif
@if(isset(old('name')[$i]))Nome: {{old('name')[$i]}} @else Nome: {{$participante->user->name}} @endif
@if(isset(old('nomePlanoTrabalho')[$i]))
<br>
Plano: {{old('nomePlanoTrabalho')[$i]}} @else
<br>
Plano: {{$participante->planoTrabalho->titulo ?? 'Não informado'}} @endif
@if(isset(old('nomePlanoTrabalho')[$i]))
<br>
Plano: {{old('nomePlanoTrabalho')[$i]}} @else
<br>
Plano: {{$participante->planoTrabalho->titulo ?? 'Não informado'}} @endif
@else
@else
Discente
Discente
@endif
@endif
</a>
<h6>
<a
href=
""
style=
""
class=
"justify-content-center"
data-toggle=
"modal"
data-target=
"#exampleModal{{$i}}"
id=
"nomePart{{$i+1}}"
>
Informações
</a>
</h6>
<div
class=
"col-sm-5 pl-0"
style=
"margin-top: 10px; text-align: left;"
>
<div
class=
"col-sm-5 pl-0"
style=
"margin-top: 10px; text-align: left;"
>
<button
data-dismiss=
"modal"
type=
"button"
id=
"cancelar{{$i}}"
class=
" btn btn-danger"
style=
"font-size: 12px"
onclick=
"desmarcar({{$i}})"
@
if
(
isset
(
old
('
marcado
')[$
i
+1]))
disabled
@
endif
>
Excluir
</button>
<button
data-dismiss=
"modal"
type=
"button"
id=
"cancelar{{$i}}"
class=
" btn btn-danger"
style=
"font-size: 12px"
onclick=
"desmarcar({{$i}})"
@
if
(
isset
(
old
('
marcado
')[$
i
+1]))
disabled
@
endif
>
Excluir
</button>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help