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
a3eff63a
Unverified
Commit
a3eff63a
authored
Mar 17, 2022
by
Laboratório Multidisciplinar de Tecnologias Sociais
Committed by
GitHub
Mar 17, 2022
Browse files
Merge pull request #185 from GuilhermeGz/master
Atualizações do Sistema
parents
6ea824cf
04a775ec
Changes
54
Hide whitespace changes
Inline
Side-by-side
resources/views/projeto/Backupeditar.blade.php
View file @
a3eff63a
...
...
@@ -606,7 +606,7 @@
</select>
</div>
<div class="
form
-
group
col
-
md
-
6
">
<label for="
coeficienteDeRendimento1
">Coeficiente de rendimento <span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<label for="
coeficienteDeRendimento1
">Coeficiente de rendimento
(média geral)
<span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<input type="
number
" class="
form
-
control
" id="
coeficienteDeRendimento1
" min="
0
" max="
10
" step="
0.01
" name="
media_geral_curso
[]
" required value="
@
if
(
$resultado_participante_um
){{
$participantes
[
0
]
->
media_do_curso
}}
@
endif
">
@error('coeficienteDeRendimento1')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
...
...
@@ -866,7 +866,7 @@
</select>
</div>
<div class="
form
-
group
col
-
md
-
6
">
<label for="
coeficienteDeRendimento2
">Coeficiente de rendimento <span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<label for="
coeficienteDeRendimento2
">Coeficiente de rendimento
(média geral)
<span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<input type="
number
" class="
form
-
control
media
" id="
coeficienteDeRendimento2
" min="
0
" max="
10
" step="
0.01
" name="
media_geral_curso
[]
" required value="
@
if
(
$resultado_participante_dois
){{
$participantes
[
1
]
->
media_do_curso
}}
@
endif
">
@error('coeficienteDeRendimento2')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
...
...
@@ -1124,7 +1124,7 @@
</select>
</div>
<div class="
form
-
group
col
-
md
-
6
">
<label for="
coeficienteDeRendimento3
">Coeficiente de rendimento <span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<label for="
coeficienteDeRendimento3
">Coeficiente de rendimento
(média geral)
<span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<input type="
number
" class="
form
-
control
media
" id="
coeficienteDeRendimento3
" min="
0
" max="
10
" step="
0.01
" name="
media_geral_curso
[]
" required value="
@
if
(
$resultado_participante_tres
){{
$participantes
[
2
]
->
media_do_curso
}}
@
endif
">
@error('coeficienteDeRendimento3')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
...
...
resources/views/projeto/Backupvisualizar.blade.php
View file @
a3eff63a
...
...
@@ -604,7 +604,7 @@
</select>
</div>
<div class="
form
-
group
col
-
md
-
6
">
<label for="
coeficienteDeRendimento1
">Coeficiente de rendimento <span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<label for="
coeficienteDeRendimento1
">Coeficiente de rendimento
(média geral)
<span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<input type="
number
" class="
form
-
control
" id="
coeficienteDeRendimento1
" min="
0
" max="
10
" step="
0.01
" name="
media_geral_curso
[]
" disabled value="
@
if
(
$resultado_participante_um
){{
$participantes
[
0
]
->
media_do_curso
}}
@
endif
">
@error('coeficienteDeRendimento1')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
...
...
@@ -862,7 +862,7 @@
</select>
</div>
<div class="
form
-
group
col
-
md
-
6
">
<label for="
coeficienteDeRendimento2
">Coeficiente de rendimento <span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<label for="
coeficienteDeRendimento2
">Coeficiente de rendimento
(média geral)
<span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<input type="
number
" class="
form
-
control
media
" id="
coeficienteDeRendimento2
" min="
0
" max="
10
" step="
0.01
" name="
media_geral_curso
[]
" disabled value="
@
if
(
$resultado_participante_dois
){{
$participantes
[
1
]
->
media_do_curso
}}
@
endif
">
@error('coeficienteDeRendimento2')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
...
...
@@ -1118,7 +1118,7 @@
</select>
</div>
<div class="
form
-
group
col
-
md
-
6
">
<label for="
coeficienteDeRendimento3
">Coeficiente de rendimento <span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<label for="
coeficienteDeRendimento3
">Coeficiente de rendimento
(média geral)
<span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<input type="
number
" class="
form
-
control
media
" id="
coeficienteDeRendimento3
" min="
0
" max="
10
" step="
0.01
" name="
media_geral_curso
[]
" disabled value="
@
if
(
$resultado_participante_tres
){{
$participantes
[
2
]
->
media_do_curso
}}
@
endif
">
@error('coeficienteDeRendimento3')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
...
...
resources/views/projeto/editaFormulario/participantes.blade.php
View file @
a3eff63a
...
...
@@ -311,7 +311,7 @@
@endcomponent
</div>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'Coeficiente de rendimento'])
@component('componentes.input', ['label' => 'Coeficiente de rendimento
(média geral)
'])
<input
type=
"number"
class=
"form-control media"
value=
"{{old('media_do_curso')[$i] ?? $p->media_do_curso }}"
name=
"media_do_curso[{{$i}}]"
min=
"0"
max=
"10"
step=
"0.01"
>
@error('media_do_curso.'.$i)
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
...
...
@@ -648,7 +648,7 @@
@endcomponent
</div>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'Coeficiente de rendimento'])
@component('componentes.input', ['label' => 'Coeficiente de rendimento
(média geral)
'])
<input
type=
"number"
class=
"form-control media"
value=
"{{old('media_do_curso')[$i] ?? "
"
}}"
name=
"media_do_curso[{{$i}}]"
min=
"0"
max=
"10"
step=
"0.01"
>
@error('media_do_curso.'.$i)
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
...
...
resources/views/projeto/formularioVisualizar/anexos2.blade.php
0 → 100644
View file @
a3eff63a
<!--Anexos-->
<div
style=
"margin-top: 20px;"
>
<div
class=
"col-md-12"
>
<div
class=
"card"
style=
"border-radius: 5px"
>
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<div
class=
"container"
>
<div
class=
"form-row mt-3"
>
<div
class=
"col-md-12"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Anexos
</h5></div>
</div>
<hr
style=
"border-top: 1px solid#1492E6"
>
{{-- Anexo do Projeto --}}
<div
class=
"row justify-content-center"
>
{{-- Arquivo --}}
<div
class=
"col-sm-4"
>
<label
for=
"anexoProjeto"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Projeto: ') }}
</label>
<a
href=
"{{ route('baixar.anexo.projeto', ['id' => $projeto->id])}}"
><img
class=
""
src=
"{{asset('img/icons/pdf.ico')}}"
style=
"width:40px"
alt=
""
></a>
</div>
<div
class=
"col-sm-4"
>
<label
for=
"anexoLatterCoordenador"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Lattes do Coordenador: ') }}
</label>
<a
href=
"{{ route('baixar.anexo.lattes', ['id' => $projeto->id]) }}"
>
<img
class=
""
src=
"{{asset('img/icons/pdf.ico')}}"
style=
"width:40px"
alt=
""
></a>
</div>
<div
class=
"col-sm-4"
>
<label
for=
"nomeTrabalho"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Autorização do Comitê de Ética: ') }}
</label>
@if($projeto->anexoAutorizacaoComiteEtica != null)
<a
href=
"{{ route('baixar.anexo.comite', ['id' => $projeto->id]) }}"
>
<img
class=
""
src=
"{{asset('img/icons/pdf.ico')}}"
style=
"width:40px"
alt=
""
></a>
@else
-
@endif
</div>
<div
class=
"col-sm-4"
>
<label
for=
"anexoPlanilha"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Planilha de Pontuação: ') }}
</label>
<a
href=
"{{ route('baixar.anexo.planilha', ['id' => $projeto->id]) }}"
><img
class=
""
src=
"{{asset('img/icons/xlsx.ico')}}"
style=
"width:40px"
alt=
""
></a>
</div>
<div
class=
"col-sm-4"
>
<label
for=
"nomeTrabalho"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Justificativa: ') }}
</label>
@if($projeto->justificativaAutorizacaoEtica != null)
<a
href=
"{{ route('baixar.anexo.justificativa', ['id' => $projeto->id]) }}"
><img
class=
""
src=
"{{asset('img/icons/pdf.ico')}}"
style=
"width:40px"
alt=
""
></a>
@else
-
@endif
</div>
@if($edital->tipo == 'PIBIC' || $edital->tipo == 'PIBIC-EM')
{{-- Decisão do CONSU --}}
<div
class=
"col-sm-4"
>
<label
for=
"anexoCONSU"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Decisão do CONSU: ') }}
</label>
<a
href=
"{{ route('baixar.anexo.consu', ['id' => $projeto->id]) }}"
><img
class=
""
src=
"{{asset('img/icons/pdf.ico')}}"
style=
"width:40px"
alt=
""
></a>
</div>
@endif
</div>
</div>
</div>
</div>
</div>
</div>
<!--X Anexos X-->
\ No newline at end of file
resources/views/projeto/formularioVisualizar/participantes.blade.php
View file @
a3eff63a
...
...
@@ -64,7 +64,7 @@
</div>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'RG'])
<input
type=
"
number
"
class=
"form-control"
value=
"{{ $p->rg }}"
min=
"1"
maxlength=
"12"
name=
"rg[]"
placeholder=
"RG"
disabled
/>
<input
type=
"
text
"
class=
"form-control"
value=
"{{ $p->rg }}"
min=
"1"
maxlength=
"12"
name=
"rg[]"
placeholder=
"RG"
disabled
/>
@endcomponent
</div>
<div
class=
"col-6"
>
...
...
@@ -170,7 +170,7 @@
@endcomponent
</div>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'Coeficiente de rendimento'])
@component('componentes.input', ['label' => 'Coeficiente de rendimento
(média geral)
'])
<input
type=
"number"
class=
"form-control media"
value=
"{{ $p->media_do_curso }}"
name=
"media_geral_curso[]"
min=
"0"
max=
"10"
step=
"0.01"
disabled
>
@endcomponent
</div>
...
...
resources/views/projeto/formularioVisualizar/participantes2.blade.php
0 → 100644
View file @
a3eff63a
<!-- Participantes -->
<div
class=
"col-md-12"
style=
"margin-top: 20px"
>
<div
class=
"card"
style=
"border-radius: 5px"
>
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<div
class=
"container"
>
<div
class=
"form-row mt-3"
>
<div
class=
"col-sm-9"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Discentes
</h5></div>
<div
class=
"col-sm-3 text-sm-right"
>
<a
href=
"{{route('trabalho.trocaParticipante', ['evento_id' => $projeto->evento->id, 'projeto_id' => $projeto->id])}}"
class=
"button"
>
Solicitar Substituições
</a>
</div>
</div>
<hr
style=
"border-top: 1px solid#1492E6"
>
<div
class=
"row justify-content-start"
style=
"alignment: center"
>
@foreach($projeto->participantes as $participante)
<div
class=
"col-sm-1"
>
<img
src=
"{{asset('img/icons/usuario.svg')}}"
style=
"width:60px"
alt=
""
>
</div>
<div
class=
"col-sm-5"
>
<h5>
{{$participante->user->name}}
</h5>
<h9>
<a
href=
""
data-toggle=
"modal"
data-target=
"#modalVizuParticipante{{$participante->id}}"
class=
"button"
>
Informações
</a>
</h9>
</div>
<!-- Modal visualizar informações participante -->
<div
class=
"modal fade"
id=
"modalVizuParticipante{{$participante->id}}"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"exampleModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-dialog-centered modal-lg"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
style=
"overflow-x:auto; padding-left: 31px"
>
<h5
class=
"modal-title"
id=
"exampleModalLabel"
style=
"color:#1492E6"
>
Informações Participante
</h5>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
style=
"padding-top: 8px; color:#1492E6"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div
class=
"modal-body"
style=
"padding-right: 32px;padding-left: 32px;padding-top: 20px;padding-bottom: 32px;"
>
@include('administrador.substituirParticipanteForm', ['visualizarOnly' => 1])
</div>
</div>
</div>
</div>
@endforeach
</div>
</div>
</div>
</div>
</div>
<!--X Participantes X-->
resources/views/projeto/formularioVisualizar/projeto2.blade.php
0 → 100644
View file @
a3eff63a
<!-- projeto -->
<div
class=
"col-md-12"
>
@if (session('sucesso'))
<div
class=
"alert alert-success"
>
<strong>
{{ session('sucesso') }}
</strong>
</div>
@endif
<div
class=
"card"
style=
"border-radius: 5px"
>
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<div
class=
"container"
>
<div
class=
"form-row mt-3"
>
<div
class=
"col-md-12"
><h5
style=
"color: #1492E6;"
>
{{$projeto->titulo}}
</h5></div>
<div
class=
"col-md-12"
><h6
style=
"color: #234B8B; margin-bottom:-0.4rem; font-weight: bold"
>
{{$edital->nome}}
</h6></div>
</div>
</div>
</div>
</div>
</div>
<!--Areas-->
<div
class=
"col-md-12"
>
<div
class=
"card"
style=
"border-radius: 5px"
>
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<div
class=
"container"
>
<div
class=
"form-row mt-3"
>
<div
class=
"col-md-12"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Área de Ensino
</h5></div>
<div
class=
"col-md-12"
><h6
style=
"color: #234B8B; margin-bottom:-0.4rem"
>
{{App\GrandeArea::where('id', $projeto->grande_area_id)->first()->nome}} >
{{App\Area::where('id', $projeto->area_id)->first()->nome}}
@if(App\SubArea::where('id', $projeto->sub_area_id)->first() != null)> {{App\SubArea::where('id', $projeto->sub_area_id)->first()->nome}}@endif
</h6></div>
</div>
</div>
</div>
</div>
</div>
<!--X projeto X-->
\ No newline at end of file
resources/views/projeto/formularioVisualizar/proponente2.blade.php
0 → 100644
View file @
a3eff63a
<!-- Proponente -->
<div
class=
"col-md-12"
style=
"margin-top: 20px"
>
<div
class=
"card"
style=
"border-radius: 5px"
>
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<div
class=
"container"
>
<div
class=
"form-row mt-3"
>
<div
class=
"col-md-12"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Informações do Proponente
</h5></div>
</div>
<hr
style=
"border-top: 1px solid#1492E6"
>
<div
class=
"form-row mt-3"
>
<div
class=
"col-md-12"
>
<p
style=
"color: #4D4D4D; padding: 0px"
><b>
Nome:
</b>
{{ App\Proponente::find($projeto->proponente_id)->user->name }}
</p>
</div>
<div
class=
"col-md-12"
>
<b
style=
"color: #4D4D4D;"
>
Lattes:
</b>
@if(App\Proponente::where('id', $projeto->proponente_id)->first()->linkLattes != null)
<a
style=
"color: #4D4D4D;"
href=
"{{ App\Proponente::where('id', $projeto->proponente_id)->first()->linkLattes }}"
target=
"_blank"
>
{{ App\Proponente::where('id', $projeto->proponente_id)->first()->linkLattes }}
</a>
@endif
</div>
<div
class=
"col-md-12"
>
<br>
<b
style=
"color: #4D4D4D;"
>
Grupo de Pesquisa:
</b>
<a
style=
"color: #4D4D4D;"
href=
"{{ $projeto->linkGrupoPesquisa }}"
target=
"_blank"
>
{{ $projeto->linkGrupoPesquisa }}
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!--X Proponente X-->
\ No newline at end of file
resources/views/projeto/formularioVisualizar/relatório.blade.php
0 → 100644
View file @
a3eff63a
<!--Relatórios-->
<div
class=
"col-md-12"
style=
"margin-top: 20px;"
>
<div
class=
"card"
style=
"border-radius: 5px"
>
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<div
class=
"container"
>
<div
class=
"form-row mt-3"
>
<div
class=
"col-sm-9"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Relatórios
</h5></div>
<div
class=
"col-sm-3 text-sm-right"
>
<a
href=
"{{route('planos.listar', ['id' => $projeto->id])}}"
class=
"button"
>
Listar Relatórios
</a>
</div>
</div>
<hr
style=
"border-top: 1px solid#1492E6"
>
<div
class=
"row justify-content-center"
>
{{-- Relatório Parcial --}}
<div
class=
"col-sm-3"
>
<label
for=
"dt_inicioRelatorioParcial"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Início do Relatório Parcial: ') }}
</label>
</div>
<div
class=
"col-sm-3"
>
<input
id=
"dt_inicioRelatorioParcial{{$edital->id}}"
type=
"date"
class=
"form-control"
name=
"dt_inicioRelatorioParcial"
value=
"{{$edital->dt_inicioRelatorioParcial}}"
required
autocomplete=
"dt_inicioRelatorioParcial"
disabled
autofocus
>
</div>
<div
class=
"col-sm-3"
>
<label
for=
"dt_fimRelatorioParcial"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Fim do Relatório Parcial: ') }}
</label>
</div>
<div
class=
"col-sm-3"
>
<input
id=
"dt_fimRelatorioParcial{{$edital->id}}"
type=
"date"
class=
"form-control"
name=
"dt_fimRelatorioParcial"
value=
"{{$edital->dt_fimRelatorioParcial}}"
required
autocomplete=
"dt_fimRelatorioParcial"
disabled
autofocus
>
</div>
{{-- Relatório Final --}}
<div
class=
"col-sm-3"
>
<label
for=
"dt_inicioRelatorioFinal"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Início do Relatório Final:') }}
</label>
</div>
<div
class=
"col-sm-3"
>
<input
id=
"dt_inicioRelatorioFinal{{$edital->id}}"
type=
"date"
class=
"form-control"
name=
"dt_inicioRelatorioFinal"
value=
"{{$edital->dt_inicioRelatorioFinal}}"
required
autocomplete=
"dt_inicioRelatorioFinal"
disabled
autofocus
>
</div>
<div
class=
"col-sm-3"
>
<label
for=
"dt_fimRelatorioFinal"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Fim do Relatório Final:') }}
</label>
</div>
<div
class=
"col-sm-3"
>
<input
id=
"dt_fimRelatorioFinal{{$edital->id}}"
type=
"date"
class=
"form-control"
name=
"dt_fimRelatorioFinal"
value=
"{{$edital->dt_fimRelatorioFinal}}"
required
autocomplete=
"dt_fimRelatorioFinal"
disabled
autofocus
>
</div>
</div>
</div>
</div>
</div>
</div>
<!--X Relatórios X-->
\ No newline at end of file
resources/views/projeto/formularioVisualizar/resultado2.blade.php
0 → 100644
View file @
a3eff63a
<!-- projeto -->
<div
class=
"col-md-12"
style=
"margin-top: 20px"
>
<div
class=
"card"
style=
"border-radius: 5px"
>
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<div
class=
"container"
>
<div
class=
"form-row mt-3"
>
<div
class=
"col-md-11"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Aprovação
</h5></div>
</div>
<hr
style=
"border-top: 1px solid#1492E6"
>
<div
class=
"row"
>
<div
class=
"col-md-9"
>
<a
class=
"col-md-12 text-left"
style=
"padding-left: 0px;color: #234B8B; font-weight: bold;"
>
Comentário
</a>
<textarea
class=
"col-md-12"
id=
"comentario"
name=
"comentario"
style=
"border-radius:5px 5px 0 0;height: 71px;"
required
disabled
>
@if($projeto->comentario != null){{$projeto->comentario}}@endif
</textarea>
</div>
<div
class=
"col-md-3"
style=
"margin-top: 15px"
>
<input
class=
"col-md-1"
type=
"radio"
id=
"aprovado"
name=
"statusProp"
value=
"aprovado"
required
disabled
@
if
($
projeto-
>
status=="aprovado") checked @endif>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Aprovado
</a>
<br>
<input
class=
"col-md-1"
type=
"radio"
id=
"parcialAprovado"
name=
"statusProp"
value=
"corrigido"
required
disabled
@
if
($
projeto-
>
status=="corrigido") checked @endif>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Parcialmente Aprovado
</a>
<br>
<input
class=
"col-md-1"
type=
"radio"
id=
"reprovado"
name=
"statusProp"
value=
"reprovado"
required
disabled
@
if
($
projeto-
>
status=="reprovado") checked @endif>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Não Aprovado
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!--X projeto X-->
\ No newline at end of file
resources/views/projeto/visualizar.blade.php
View file @
a3eff63a
...
...
@@ -14,27 +14,28 @@
{{
session
(
'mensagem'
)
}}
</
div
>
@
endif
<
div
class
=
"row justify-content-center"
>
@
component
(
'projeto.formularioVisualizar.projeto'
,
[
'grandeAreas'
=>
$grandeAreas
,
'projeto'
=>
$projeto
,
'areas'
=>
$areas
,
'subareas'
=>
$subAreas
])
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 4rem"
>
@
component
(
'projeto.formularioVisualizar.projeto2'
,
[
'edital'
=>
$edital
,
'projeto'
=>
$projeto
])
@
endcomponent
@
component
(
'projeto.formularioVisualizar.proponente'
,
[
'projeto'
=>
$projeto
])
@
component
(
'projeto.formularioVisualizar.proponente
2
'
,
[
'projeto'
=>
$projeto
])
@
endcomponent
@
component
(
'projeto.formularioVisualizar.anexos'
,
[
'projeto'
=>
$projeto
])
@
component
(
'projeto.formularioVisualizar.anexos
2
'
,
[
'
edital'
=>
$edital
,
'
projeto'
=>
$projeto
])
@
endcomponent
@
component
(
'projeto.formularioVisualizar.participantes'
,
[
'estados'
=>
$estados
,
'enum_turno'
=>
$enum_turno
,
'projeto'
=>
$projeto
,
'participantes'
=>
$participantes
,
'arquivos'
=>
$arquivos
])
@
component
(
'projeto.formularioVisualizar.participantes2'
,
[
'projeto'
=>
$projeto
])
@
endcomponent
@
component
(
'projeto.formularioVisualizar.relatório'
,[
'edital'
=>
$edital
,
'projeto'
=>
$projeto
])
@
endcomponent
@
if
(
$projeto
->
comentario
!=
null
)
@
component
(
'projeto.formularioVisualizar.resultado'
,
@
component
(
'projeto.formularioVisualizar.resultado2'
,
[
'projeto'
=>
$projeto
])
@
endcomponent
@
endif
@
endcomponent
{{
--
@
component
(
'projeto.formularioVisualizar.finalizar'
,
[
'projeto'
=>
$projeto
])
@
endcomponent
--
}}
...
...
resources/views/proponente/projetos.blade.php
View file @
a3eff63a
...
...
@@ -76,46 +76,63 @@
{{
$projeto
->
titulo
}}
</
td
>
<
td
style
=
"text-align: center"
>
{{
date
(
'd-m-Y \à\s H:i\h'
,
strtotime
(
$projeto
->
updated_at
))
}}
</
td
>
@
if
(
$projeto
->
status
==
'avaliado'
)
<
td
style
=
"color: rgb(6, 85, 6); text-align: center"
>
Avaliado
</
td
>
@
elseif
(
$projeto
->
status
==
'submetido'
||
$projeto
->
status
==
'submetido'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Submetido
</
td
>
@
elseif
(
$projeto
->
status
==
'rascunho'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Rascunho
</
td
>
@
elseif
(
$projeto
->
status
==
'aprovado'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Aprovado
</
td
>
@
elseif
(
$projeto
->
status
==
'negado'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Negado
</
td
>
@
endif
@
if
(
$projeto
->
status
!=
null
)
<
td
style
=
"color: rgb(6, 85, 6); text-align: center;text-transform: capitalize;"
>
{{
$projeto
->
status
}}
</
td
>
@
else
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Submetido
</
td
>
@
endif
<
td
>
<
div
class
=
"dropright dropdown-options"
style
=
"width: 100%; text-align:center; float:none"
>
<
a
id
=
"options"
class
=
"dropdown-toggle btn btn-light"
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"
>
@
if
(
$projeto
->
evento
->
inicioSubmissao
<=
$hoje
&&
$hoje
<=
$projeto
->
evento
->
fimSubmissao
)
<
a
href
=
"{{ route('trabalho.editar', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Editar
</
a
>
<
hr
class
=
"dropdown-hr"
>
@
elseif
(
$projeto
->
evento
->
resultado_final
<=
$hoje
||
$projeto
->
status
==
'aprovado'
)
<
a
href
=
"{{route('trabalho.trocaParticipante', ['evento_id' =>
$projeto->evento
->id, 'projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Solicitar
Substituição
</
a
>
@
endif
@
if
(
$projeto
->
status
==
'aprovado'
)
<
a
href
=
"{{route('trabalho.trocaParticipante', ['evento_id' =>
$projeto->evento
->id, 'projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Solicitar
Substituições
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
"{{route('docComplementar.listar', ['projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Documentos
Complementares
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Solicitar
Certificado
</
a
>
<
hr
class
=
"dropdown-hr"
>
@
endif
<
a
href
=
"{{ route('trabalho.show', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Visualizar
Visualizar
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
"{{route('planos.listar', ['id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Relatórios
</
a
>
<
hr
class
=
"dropdown-hr"
>
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Recorrer
</
a
>
--
}}
<!--
Button
trigger
modal
deletar
-->
<
button
type
=
"button"
class
=
"dropdown-item dropdown-item-delete"
data
-
toggle
=
"modal"
data
-
target
=
"#modal
{
{$projeto->id}
}
"
style
=
"text-align: center"
>
<
img
src
=
"
{
{asset('img/icons/logo_lixeira.png')}
}
"
alt
=
""
>
Deletar
</
button
>
{{
--
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Recorrer
</
a
>
--
}}
<!--
Button
trigger
modal
-->
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col text-center"
style
=
"margin-left: 20px"
>
<
button
type
=
"button"
class
=
"dropdown-item dropdown-item-delete"
data
-
toggle
=
"modal"
data
-
target
=
"#modal
{
{$projeto->id}
}
"
style
=
"text-align: center"
>
<
img
src
=
"
{
{asset('img/icons/logo_lixeira.png')}
}
"
alt
=
""
>
Deletar
</
button
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
td
>
</
tr
>
...
...
resources/views/proponente/projetosEdital.blade.php
View file @
a3eff63a
...
...
@@ -78,6 +78,7 @@
<
th
scope
=
"col"
style
=
"width:100%"
>
Nome
do
projeto
</
th
>
<
th
scope
=
"col"
>
Data
de
Criação
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Status
</
th
>
<
th
scope
=
"col"
style
=
"text-align:center"
>
Opção
</
th
>
</
tr
>
</
thead
>
<
tbody
id
=
"projetos"
>
...
...
@@ -88,13 +89,12 @@
{{
$projeto
->
titulo
}}
</
td
>
<
td
style
=
"text-align: center"
>
{{
date
(
'd-m-Y'
,
strtotime
(
$projeto
->
updated_at
))
}}
</
td
>
@
if
(
$projeto
->
status
==
'Avaliado'
||
$projeto
->
status
==
'avaliado'
)
<
td
style
=
"color: rgb(6, 85, 6); text-align: center
"
>
Avaliado
</
td
>
@
else
if
(
$projeto
->
status
==
'Submetido'
||
$projeto
->
status
==
'submetido'
)
@
if
(
$projeto
->
status
!=
null
)
<
td
style
=
"color: rgb(6, 85, 6); text-align: center
;text-transform: capitalize;"
>
{{
$projeto
->
status
}}
</
td
>
@
else
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Submetido
</
td
>
@
elseif
(
$projeto
->
status
==
'Rascunho'
||
$projeto
->
status
==
'rascunho'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Rascunho
</
td
>
@
endif
<
td
>
<
div
class
=
"dropright dropdown-options"
style
=
"width: 100%; text-align:center; float:none"
>
<
a
id
=
"options"
class
=
"dropdown-toggle btn btn-light"
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
...
...
@@ -112,6 +112,17 @@
Solicitar
Substituições
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
"{{route('docComplementar.listar', ['projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Documentos
Complementares
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Solicitar
Certificado
</
a
>
<
hr
class
=
"dropdown-hr"
>
@
endif
<
a
href
=
"{{ route('trabalho.show', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Visualizar
...
...
@@ -129,9 +140,16 @@
--
}}
<!--
Button
trigger
modal
-->
<
button
type
=
"button"
class
=
"dropdown-item dropdown-item-delete"
data
-
toggle
=
"modal"
data
-
target
=
"#modal
{
{$projeto->id}
}
"
style
=
"text-align: center"
>
<
img
src
=
"
{
{asset('img/icons/logo_lixeira.png')}
}
"
alt
=
""
>
Deletar
</
button
>
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col text-center"
style
=
"margin-left: 20px"
>
<
button
type
=
"button"
class
=
"dropdown-item dropdown-item-delete"
data
-
toggle
=
"modal"
data
-
target
=
"#modal
{
{$projeto->id}
}
"
style
=
"text-align: center"
>
<
img
src
=
"
{
{asset('img/icons/logo_lixeira.png')}
}
"
alt
=
""
>
Deletar
</
button
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
td
>
...
...
routes/web.php
View file @
a3eff63a
...
...
@@ -69,6 +69,7 @@ Route::group(['middleware' => ['isTemp', 'auth', 'verified']], function(){
Route
::
get
(
'/notificacao/listar'
,
'NotificacaoController@listar'
)
->
name
(
'notificacao.listar'
)
->
middleware
(
'auth'
);
Route
::
get
(
'/notificacao/lista'
,
'NotificacaoController@listarTrab'
)
->
name
(
'notificacao.listarTrab'
)
->
middleware
(
'auth'
);
Route
::
get
(
'/notificacao/ler/{id}'
,
'NotificacaoController@ler'
)
->
name
(
'notificacao.ler'
);
Route
::
get
(
'/home/edital'
,
'EventoController@index'
)
->
name
(
'visualizarEvento'
);
...
...
@@ -149,6 +150,10 @@ Route::group(['middleware' => ['isTemp', 'auth', 'verified']], function(){
Route
::
get
(
'/projeto/planosTrabalho/{id}'
,
'ArquivoController@listar'
)
->
name
(
'planos.listar'
);
Route
::
post
(
'/projeto/planosTrabalho/anexarRelatorio'
,
'ArquivoController@anexarRelatorio'
)
->
name
(
'planos.anexar.relatorio'
);
//########## Documentação Complementar
Route
::
get
(
'/documentacaoComplementar'
,
'ParticipanteController@listarParticipanteProjeto'
)
->
name
(
'docComplementar.listar'
);
Route
::
post
(
'/documentacaoComplementar/enviar'
,
'DocumentacaoComplementarController@criar'
)
->
name
(
'docComplementar.enviar'
);
//######### Atribuição #######################################
Route
::
get
(
'/atribuir'
,
'AtribuicaoController@distribuicaoAutomatica'
)
->
name
(
'distribuicao'
);
Route
::
get
(
'/atribuirPorArea'
,
'AtribuicaoController@distribuicaoPorArea'
)
->
name
(
'distribuicaoAutomaticaPorArea'
);
...
...
Prev
1
2
3
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