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
pad-upe
Commits
db05d14c
Commit
db05d14c
authored
Feb 02, 2023
by
alissonalbuquerque
Browse files
mergin
parents
0e5ea578
07d2782b
Changes
114
Show whitespace changes
Inline
Side-by-side
resources/views/dashboard.blade.php
View file @
db05d14c
<x-app-layout>
@section('title', 'Home')
sdfsdfsdfsf
@section('title', 'Home')
<x-slot
name=
"main"
>
<div
class=
"tab-content"
>
@if(Auth::user()->isTypeAdmin())
...
...
@@ -7,7 +7,7 @@
@endif
@if(Auth::user()->isTypeTeacher())
@include('layouts.user-dashboard.dashboard_teacher', ['user' => Auth::user()])
@include('layouts.user-dashboard.dashboard_teacher', ['user' => Auth::user()
, 'userPads => $userPads'
])
@endif
@if(Auth::user()->isTypeDirector())
...
...
resources/views/layouts/header.blade.php
View file @
db05d14c
...
...
@@ -12,10 +12,9 @@
<!-- Authentication -->
<form
method=
"POST"
action=
"{{ route('logout') }}"
>
@csrf
<x-responsive-nav-link
:href=
"route('logout')"
onclick=
"event.preventDefault();
this.closest('form').submit();"
>
<button
class=
"btn btn-outline-danger btn-sm"
type=
"submit"
>
Sair
<i
class=
"bi bi-box-arrow-right"
></i>
</
x-responsive-nav-link
>
</
button
>
</form>
</div>
</header>
resources/views/layouts/navigation.blade.php
View file @
db05d14c
<nav
id=
"sidebar
M
enu"
class=
"col-md-3 col-lg-2 d-md-block sidebar collapse"
>
<nav
id=
"sidebar
_m
enu"
class=
"col-md-3 col-lg-2 d-md-block sidebar collapse"
>
<!-- SidebarMenu : Perfil -->
@php
use App\Models\Util\Menu;
$edit_active = 'btn btn-outline-primary btn-sm';
if(isset($menu)) {
$edit_active = $menu == Menu::USER ? 'btn btn-primary btn-sm' : 'btn btn-outline-primary btn-sm';
}
@endphp
@if (Auth::check())
<div
class=
"content mx-auto text-center"
>
<div
class=
"d-flex justify-content-center flex-column content-user-info"
>
<div
class=
"font-medium text-base text-gray-800"
>
{{ Auth::user()->name }}
</div>
<div
class=
"font-medium text-sm text-gray-500"
>
{{ Auth::user()->email }}
</div>
<a
id=
"btn-update-perfil"
class=
"btn"
href=
"{{ route('edit_perfil') }}"
>
<i
class=
"bi bi-gear"
></i>
<div
class=
"content"
>
<div
class=
"d-flex justify-content-center"
>
<div
class=
"content-user-info"
>
<div
class=
"text-center"
>
<div
class=
"font-medium text-base text-gray-800"
>
{{ Auth::user()->dashboardName() }}
</div>
<div
class=
"mt-3"
>
<a
class=
"{{ $edit_active }}"
href=
"{{ route('edit_perfil') }}"
>
<i
class=
"bi bi-gear-fill"
></i>
Editar Perfil
</a>
</div>
</div>
</div>
</div>
</div>
@endif
...
...
resources/views/layouts/user-dashboard/dashboard_admin.blade.php
View file @
db05d14c
...
...
@@ -3,17 +3,4 @@
class=
"d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"
>
<h1
class=
"h2"
>
Bem Vindo ao PAD
</h1>
</div>
<!-- <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3">
<h2 class="h3">
<i class="bi bi-exclamation-octagon-fill"></i>
Atividades a serem realizadas
</h2>
</div> -->
<!-- <div
class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-top">
<ul class="inf-list">
<li><a href="" rel="noopener" target="_blank">Cronograma de atividades PAD 2022</a></li>
<li><a href="" rel="noopener" target="_blank">Informações sobre o processo PAD 2022</a></li>
</ul>
</div> -->
</div>
\ No newline at end of file
resources/views/layouts/user-dashboard/dashboard_teacher.blade.php
View file @
db05d14c
@
php
use
App\Models\Util\Status
;
@
endphp
<
div
class
=
"tab-pane active"
id
=
"home"
role
=
"tabpanel"
aria
-
labelledby
=
"home-tab"
>
<
div
class
=
"d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"
>
<
h1
class
=
"h2"
>
Bem
Vindo
ao
PAD
</
h1
>
...
...
@@ -10,45 +14,23 @@
</
div
>
<
div
class
=
"d-flex"
>
@
foreach
(
$userPads
as
$userPad
)
@
if
(
$userPad
->
pad
->
status
===
Status
::
ATIVO
)
<
div
class
=
"card mx-2"
style
=
"width: 12rem;"
>
<div
class=
"card-body"
>
<h3
class=
"text-center"
>
<i
class=
"bi bi-book-half"
></i>
</h3>
<h5
class=
"text-center"
>
PAD: {{ $userPad->pad->nome }}
</h4>
<h5
class=
"text-center"
>
Status: {{ $userPad->pad->statusAsString() }}
</h4>
<a
class=
"stretched-link"
href=
"{{ route('pad_view', ['id' => $userPad->id]) }}"
></a>
</div>
</div>
@endforeach
</div>
</div>
<div
class=
"tab-pane"
id=
"pad"
role=
"tabpanel"
aria-labelledby=
"pad-tab"
>
<div
class=
"d-flex flex-column justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"
>
<h1
class=
"h2"
>
Dimenções-PAD
</h1>
</div>
<div
class=
"d-flex justify-content-start "
>
<div
class=
"card text-center"
style=
"width: 18rem;"
>
<div
class=
"card-body"
>
<h5
class=
"card-title"
>
Special title treatment
</h5>
<p
class=
"card-text"
>
With supporting text below as a natural lead-in to additional content.
</p>
<a
href=
"#"
class=
"btn btn-primary"
>
Go somewhere
</a>
</div>
</div>
<div
class=
"card text-center"
style=
"width: 18rem;"
>
<
div
class
=
"card-body"
>
<h5
class=
"card-title"
>
Special title treatment
</h5
>
<p
class=
"card-text"
>
With supporting text below as a natural lead-in to additional content.
</p
>
<
div
class
=
"text-end"
>
<
span
class
=
"badge bg-primary"
>
{{
$userPad
->
pad
->
statusAsString
()
}}
</
span
>
</
div
>
<
h1
class
=
"text-center"
>
<
i
class
=
"bi bi-book-half"
></
i
>
</
h1
>
<
h5
class
=
"text-center"
>
PAD
:
{{
$userPad
->
pad
->
nome
}}
</
h4
>
<
div
class
=
"text-center"
>
<
h4
class
=
"h5"
>
<
span
class
=
"badge bg-primary"
>
Horas
:
{{
$userPad
->
totalHoras
()
}}
</
span
>
</
h4
>
</
div
>
<div
class=
"card text-center"
style=
"width: 18rem;"
>
<div
class=
"card-body"
>
<h5
class=
"card-title"
>
Special title treatment
</h5>
<p
class=
"card-text"
>
With supporting text below as a natural lead-in to additional content.
</p>
<a
href=
"#"
class=
"btn btn-primary"
>
Go somewhere
</a>
<
a
class
=
"stretched-link"
href
=
"{{ route('pad_view', ['id' =>
$userPad->id
]) }}"
></
a
>
</
div
>
</
div
>
@
endif
@
endforeach
</
div
>
</
div
>
resources/views/layouts/user-navigation/navigation_admin.blade.php
View file @
db05d14c
@
php
use
App\Models\Util\Menu
;
if
(
!
isset
(
$menu
))
{
$menu
=
Menu
::
HOME
;
}
$home_active
=
$menu
==
Menu
::
HOME
?
'active'
:
''
;
$pads_active
=
$menu
==
Menu
::
PADS
?
'active'
:
''
;
$cursos_active
=
$menu
==
Menu
::
CURSOS
?
'active'
:
''
;
$campus_active
=
$menu
==
Menu
::
CAMPUS
?
'active'
:
''
;
$Unidades_active
=
$menu
==
Menu
::
UNIDADES
?
'active'
:
''
;
$users_active
=
$menu
==
Menu
::
USERS
?
'active'
:
''
;
@
endphp
<!--
SidebarMenu
:
Vertical
Options
-->
<
ul
class
=
"nav flex-column nav-pills"
id
=
"myTab"
role
=
"tablist"
aria
-
orientation
=
"vertical"
>
<
li
class
=
"nav-item"
>
<a
href=
"{{ route('dashboard') }}"
class=
"custom-nav-link {{
((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 0? "
active
"
:
"")
}}"
>
<
a
href
=
"{{ route('dashboard') }}"
class
=
"custom-nav-link {{
$home_active
}}"
>
<
i
class
=
"bi bi-house-fill"
></
i
>
Home
</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<a
href=
"{{ route('pad_index') }}"
class=
"custom-nav-link {{
((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 6? "
active
"
:
"")
}}"
>
<
a
href
=
"{{ route('pad_index') }}"
class
=
"custom-nav-link {{
$pads_active
}}"
>
<
i
class
=
"bi bi-book-half"
></
i
>
PADs
</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<a
href=
"{{ route('c
ampus
_index') }}"
class=
"custom-nav-link {{
((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 1? "
active
"
:
"")
}}"
>
<i
class=
"bi bi-
bank2
"
></i>
C
ampu
s
<
a
href
=
"{{ route('c
urso
_index') }}"
class
=
"custom-nav-link {{
$cursos_active
}}"
>
<
i
class
=
"bi bi-
mortarboard-fill
"
></
i
>
C
urso
s
</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<a
href=
"{{ route('c
urso
_index') }}"
class=
"custom-nav-link {{
((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 2? "
active
"
:
"")
}}"
>
<i
class=
"bi bi-
mortarboard-fill
"
></i>
C
urso
s
<
a
href
=
"{{ route('c
ampus
_index') }}"
class
=
"custom-nav-link {{
$campus_active
}}"
>
<
i
class
=
"bi bi-
bank2
"
></
i
>
C
ampu
s
</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<a
href=
"{{ route('unidade_index') }}"
class=
"custom-nav-link {{
((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 3? "
active
"
:
"")
}}"
>
<
a
href
=
"{{ route('unidade_index') }}"
class
=
"custom-nav-link {{
$Unidades_active
}}"
>
<
i
class
=
"bi bi-geo-fill"
></
i
>
Unidades
</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<a
href=
"{{ route('diretor_index') }}"
class=
"custom-nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 4? "
active
"
:
"")
}}"
>
<
a
href
=
"{{ route('user_index') }}"
class
=
"custom-nav-link {{
$users_active
}}"
>
<
i
class
=
"bi bi-person-fill"
></
i
>
Usuários
</
a
>
</
li
>
<
div
>
-
-
-
</
div
>
<
li
class
=
"nav-item"
>
<
a
href
=
"{{ route('diretor_index') }}"
class
=
"custom-nav-link {{ (((
$menu
?? 0) == 11 ? 0:
$menu
) == 4? "
active
": "") }}"
>
<
i
class
=
"bi bi-people-fill"
></
i
>
Diretores
</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<a
href=
"{{ route('coordenador_index') }}"
class=
"custom-nav-link {{ ((($
index_
menu ?? 0) ==
0
? 0: $
index_
menu ) == 5? "
active
"
:
"")
}}"
>
<
a
href
=
"{{ route('coordenador_index') }}"
class
=
"custom-nav-link {{ (((
$menu
?? 0) ==
11
? 0:
$menu
) == 5? "
active
": "") }}"
>
<
i
class
=
"bi bi-person-video3"
></
i
>
Coordenadores
</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<a
href=
"{{ route('professor_index') }}"
class=
"custom-nav-link {{ ((($
index_
menu ?? 0) ==
0
? 0: $
index_
menu ) == 7? "
active
"
:
"")
}}"
>
<
a
href
=
"{{ route('professor_index') }}"
class
=
"custom-nav-link {{ (((
$menu
?? 0) ==
11
? 0:
$menu
) == 7? "
active
": "") }}"
>
<
i
class
=
"bi bi-eyeglasses"
></
i
>
Professores
</
a
>
...
...
resources/views/layouts/user-navigation/navigation_teacher.blade.php
View file @
db05d14c
<!-- Botoes link lista vertical sidebarMenu -->
@
php
use
App\Models\Util\Menu
;
if
(
!
isset
(
$menu
))
{
$menu
=
Menu
::
HOME
;
}
$home_active
=
$menu
==
Menu
::
HOME
?
'active'
:
''
;
$pads_active
=
$menu
==
Menu
::
PADS
?
'active'
:
''
;
@
endphp
<!--
SidebarMenu
:
Vertical
Options
-->
<
ul
class
=
"nav flex-column nav-pills"
id
=
"myTab"
role
=
"tablist"
aria
-
orientation
=
"vertical"
>
<
li
class
=
"nav-item"
>
<a
class=
"custom-nav-link {{ ((!empty($index_menu) ? $index_menu : 0) == 0? "
active
"
:
"")
}}"
href=
"{{ route('dashboard') }}"
aria-selected=
"true"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-house-fill"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293l6-6zm5-.793V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z"
/>
<path
fill-rule=
"evenodd"
d=
"M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z"
/>
</svg>
<
a
href
=
"{{ route('dashboard') }}"
class
=
"custom-nav-link {{
$home_active
}}"
>
<
i
class
=
"bi bi-house-fill"
></
i
>
Home
</
a
>
</
li
>
<li
class=
"nav-item"
>
<a
class=
"custom-nav-link {{ ((!empty($index_menu) ? $index_menu : 0) == 1? "
active
"
:
"")
}}"
id=
"pad-tab"
href=
"{{ route('pad_index') }}"
aria-controls=
"pad"
aria-selected=
"false"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-book-half"
viewBox=
"0 0 16 16"
>
<path
d=
"M8.5 2.687c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492V2.687zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783z"
/>
</svg>
PAD
</a>
</li>
<
li
class
=
"nav-item"
>
<a
class=
"custom-nav-link"
id=
"update-perfil-tab"
data-toggle=
"tab"
href=
"#update-perfil"
role=
"tab"
aria-controls=
"update-perfil"
aria-selected=
"true"
>
<!-- Update Perfil - Hidden -->
<
a
href
=
"{{ route('pad_index') }}"
class
=
"custom-nav-link {{
$pads_active
}}"
>
<
i
class
=
"bi bi-book-half"
></
i
>
PADs
</
a
>
</
li
>
</
ul
>
resources/views/pad/admin/create.blade.php
View file @
db05d14c
...
...
@@ -10,12 +10,25 @@
@
include
(
'layouts.navigation'
,
[])
@
endsection
@
section
(
'body'
)
<
div
class
=
""
>
<
div
class
=
"mb-3"
>
<
h
2
class
=
"h
3
"
>
Pad
-
Criar
</
h
2
>
<
h
3
class
=
"h
4
"
>
PAD
-
Novo
</
h
3
>
</
div
>
<!--
Tabs
-->
<
div
>
<
ul
class
=
"nav nav-tabs"
>
<
li
class
=
"nav-item"
role
=
"presentation"
>
<
button
class
=
"nav-link active"
id
=
"pad-tab"
data
-
bs
-
toggle
=
"tab"
data
-
bs
-
target
=
"#pad-container"
type
=
"button"
role
=
"tab"
aria
-
controls
=
"pad-container"
arial
-
selected
=
"true"
>
PAD
</
button
>
</
li
>
</
ul
>
</
div
>
<!--
Panels
-->
<
div
id
=
"tab-containers"
class
=
"tab-content"
>
<
div
id
=
"pad-container"
class
=
"tab-pane fade show active"
role
=
"tabpanel"
aria
-
labelledby
=
"pad-tab"
>
<
div
class
=
"mt-2 px-2"
>
<
form
class
=
"form"
action
=
"
{
{route('pad_store')}
}
"
method
=
"post"
>
@
csrf
<
div
class
=
"row mb-3"
>
...
...
@@ -80,6 +93,9 @@
</div>
</form>
</div>
</div>
</div>
@endsection
resources/views/pad/admin/edit.blade.php
View file @
db05d14c
...
...
@@ -10,12 +10,31 @@
@
include
(
'layouts.navigation'
,
[])
@
endsection
@
section
(
'body'
)
<
div
class
=
""
>
@
include
(
'components.alerts'
)
<
div
class
=
"mb-3"
>
<
h2
class
=
"h3"
>
Pad
-
Atualizar
</
h2
>
<
h3
class
=
"h4"
>
PAD
-
Atualizar
</
h3
>
</
div
>
<!--
Tabs
-->
<
div
>
<
ul
class
=
"nav nav-tabs"
>
<
li
class
=
"nav-item"
role
=
"presentation"
>
<
button
class
=
"nav-link active"
id
=
"pad-tab"
data
-
bs
-
toggle
=
"tab"
data
-
bs
-
target
=
"#pad-container"
type
=
"button"
role
=
"tab"
aria
-
controls
=
"pad-container"
arial
-
selected
=
"true"
>
PAD
</
button
>
</
li
>
<
li
class
=
"nav-item"
role
=
"presentation"
>
<
button
class
=
"nav-link"
id
=
"user_pad-tab"
data
-
bs
-
toggle
=
"tab"
data
-
bs
-
target
=
"#user_pad-container"
type
=
"button"
role
=
"tab"
aria
-
controls
=
"user_pad-container"
arial
-
selected
=
"false"
>
Professores
</
button
>
</
li
>
</
ul
>
</
div
>
<!--
Panels
-->
<
div
id
=
"tab-containers"
class
=
"tab-content"
>
<
div
id
=
"pad-container"
class
=
"tab-pane fade show active"
role
=
"tabpanel"
aria
-
labelledby
=
"pad-tab"
>
<
div
class
=
"mt-2 px-2"
>
<
form
class
=
"form"
action
=
"{{route('pad_update', ['id' =>
$pad->id
])}}"
method
=
"post"
>
@
csrf
@
method
(
'PUT'
)
...
...
@@ -68,18 +87,68 @@
</div>
<div class="
mt
-
1
text
-
end
">
@include('components.buttons.btn-cancel', [
'route' => route('pad_index'),
'content' => 'Cancelar'
])
<div class="
mt
-
4
text
-
end
">
@include('components.buttons.btn-save', [
'btn_class' => 'btn btn-outline-success',
'content' => 'Atualizar',
])
@include('components.buttons.btn-cancel', [
'route' => route('pad_index'),
'content' => 'Cancelar'
])
</div>
</form>
</div>
</div>
<div id="
user_pad
-
container
" class="
tab
-
pane
fade
" role="
tabpanel
" aria-labelledby="
user_pad
-
tab
">
<div class="
border
rounded
px
-
2
">
<div class="
text
-
end
my
-
2
">
<button type="
button
" class="
btn
btn
-
success
user
-
pad
-
create
"> Cadastrar Professor </button>
</div>
<table id="
user_pad
-
table
" class="
table
table
-
hover
">
<thead>
<tr>
<th scope="
col
"> Professor </th>
<th scope="
col
"> PAD </th>
<th scope="
col
"> C.H </th>
<th scope="
col
"> Opções </th>
</tr>
</thead>
<tbody>
@foreach(
$userPads
as
$userPad
)
<tr>
<td>{{
$userPad->user
}}</td>
<td>{{
$userPad->pad
->nome }}</td>
<td> <span class="
badge
bg
-
primary
">{{
$userPad->totalHoras
() }}</span> </td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
@include('components.modal', ['size' => 'modal-lg'])
@endsection
@section('scripts')
@include('pad.components.scripts.dimensao.ensino.show_modal', [
'modal_id' => 'modal',
'route' => route('user-pad_create', ['pad_id' =>
$pad->id
]),
'btn_class' => 'user-pad-create',
])
@endsection
\ No newline at end of file
resources/views/pad/admin/index.blade.php
View file @
db05d14c
...
...
@@ -9,16 +9,16 @@
@
endsection
@
section
(
'nav'
)
@
include
(
'layouts.navigation'
,
[])
@
include
(
'layouts.navigation'
,
[
'menu'
=>
$menu
])
@
endsection
@
section
(
'body'
)
<
div
class
=
""
>
<
div
>
<
h3
>
PAD
-
Listagem
</
h3
>
<
h3
class
=
"h3"
>
PADs
</
h3
>
<
div
class
=
""
>
<
div
>
@
include
(
'components.alerts'
)
...
...
@@ -33,7 +33,7 @@
<
div
class
=
"border rounded px-4"
>
<
table
class
=
"table table-hover mt-4"
>
<
table
class
=
"table
table-responsive
table-hover mt-4"
>
<
thead
>
<
tr
>
<
th
scole
=
"col"
>
#</th>
...
...
@@ -57,16 +57,21 @@
<
td
>
{{
$pad
->
getDateFim
()
}}
</
td
>
<
td
>
{{
$pad
->
statusAsString
()
}}
</
td
>
<
td
>
<
div
class
=
"btn-group"
role
=
"group"
>
<
div
class
=
"me-1"
>
@
include
(
'components.buttons.btn-edit'
,
[
'btn_class'
=>
'btn btn-primary'
,
'route'
=>
route
(
'pad_edit'
,
[
'id'
=>
$pad
->
id
])
])
</
div
>
<
div
class
=
"me-1"
>
@
include
(
'components.buttons.btn-delete'
,
[
'id'
=>
$pad
->
id
,
'btn_class'
=>
'btn btn-danger'
,
'route'
=>
route
(
'pad_delete'
,
[
'id'
=>
$pad
->
id
])
])
</
div
>
</
div
>
</
td
>
</
tr
>
@
endforeach
...
...
resources/views/pad/components/templates/dimensao/ensino/atendimento_discente/form_create.blade.php
View file @
db05d14c
...
...
@@ -121,15 +121,20 @@
<td>{{
$atividade->nivelAsString
() }}</td>
<td>{{
$atividade->ch_semanal
}}</td>
<td>
<div class="
btn
-
group
" role="
group
">
<div class="
me
-
1
">
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_ensino_atendimento_discente',
'btn_id' =>
$atividade->id
,
])
</div>
<div class="
me
-
1
">
@include('components.buttons.btn-delete', [
'id' =>
$atividade->id
,
'route' => route('ensino_atendimento_discente_delete', ['id' =>
$atividade->id
])
])
</div>
</div>
</td>
</tr>
@endforeach
...
...
resources/views/pad/components/templates/dimensao/ensino/aulas/form_create.blade.php
View file @
db05d14c
...
...
@@ -160,15 +160,20 @@
<td>{{
$ensinoAula->modalidadeAsString
() }}</td>
<td>{{
$ensinoAula->ch_semanal
}}</td>
<td>
<div class="
btn
-
group
" role="
group
">
<div class="
me
-
1
">
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_ensino_aula',
'btn_id' =>
$ensinoAula->id
,
])
</div>
<div class="
me
-
1
">
@include('components.buttons.btn-delete', [
'id' =>
$ensinoAula->id
,
'route' => route('ensino_aula_delete', ['id' =>
$ensinoAula->id
])
])
</div>
</div>
</td>
</tr>
@endforeach
...
...
resources/views/pad/components/templates/dimensao/ensino/membro_docente/form_create.blade.php
View file @
db05d14c
...
...
@@ -122,15 +122,20 @@
<td>{{
$atividade->funcaoAsString
() }}</td>
<td>{{
$atividade->ch_semanal
}}</td>
<td>
<div class="
btn
-
group
" role="
group
">
<div class="
me
-
1
">
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_ensino_membro_docente',
'btn_id' =>
$atividade->id
,
])
</div>
<div class="
me
-
1
">
@include('components.buttons.btn-delete', [
'id' =>
$atividade->id
,
'route' => route('ensino_membro_docente_delete', ['id' =>
$atividade->id
])
])
</div>
</div>
</td>
</tr>
@endforeach
...
...
resources/views/pad/components/templates/dimensao/ensino/orientacao/form_create.blade.php
View file @
db05d14c
...
...
@@ -171,15 +171,20 @@
<td>{{
$ensinoOrientacao->orientacaoAsString
() }}</td>
<td>{{
$ensinoOrientacao->chSemanal
() }}</td>
<td>
<div class="
btn
-
group
" role="
group
">
<div class="
me
-
1
">
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_ensino_orientacao',
'btn_id' =>
$ensinoOrientacao->id
,
])
</div>
<div class="
me
-
1
">
@include('components.buttons.btn-delete', [
'id' =>
$ensinoOrientacao->id
,
'route' => route('ensino_orientacao_delete', ['id' =>
$ensinoOrientacao->id
])
])
</div>
</div>
</td>
</tr>
@endforeach
...
...
resources/views/pad/components/templates/dimensao/ensino/outros/form_create.blade.php
View file @
db05d14c
...
...
@@ -105,15 +105,20 @@
<
td
>
{{
$atividade
->
descricao
}}
</
td
>
<
td
>
{{
$atividade
->
ch_semanal
}}
</
td
>
<
td
>
<
div
class
=
"btn-group"
role
=
"group"
>
<
div
class
=
"me-1"
>
@
include
(
'components.buttons.btn-edit-task'
,
[
'btn_class'
=>
'btn-edit_ensino_outros'
,
'btn_id'
=>
$atividade
->
id
,
])
</
div
>
<
div
class
=
"me-1"
>
@
include
(
'components.buttons.btn-delete'
,
[
'id'
=>
$atividade
->
id
,
'route'
=>
route
(
'ensino_outros_delete'
,
[
'id'
=>
$atividade
->
id
])
])
</
div
>
</
div
>
</
td
>
</
tr
>
@
endforeach
...
...
resources/views/pad/components/templates/dimensao/ensino/participacao/form_create.blade.php
View file @
db05d14c
...
...
@@ -111,15 +111,20 @@
<td>{{
$atividade->nivelAsString
() }}</td>
<td>{{
$atividade->ch_semanal
}}</td>
<td>
<div class="
btn
-
group
" role="
group
">
<div class="
me
-
1
">
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_ensino_participacao',
'btn_id' =>
$atividade->id
,
])
</div>
<div class="
me
-
1
">
@include('components.buttons.btn-delete', [
'id' =>
$atividade->id
,
'route' => route('ensino_participacao_delete', ['id' =>
$atividade->id
])
])
</div>
</div>
</td>
</tr>
@endforeach
...
...
resources/views/pad/components/templates/dimensao/ensino/projeto/form_create.blade.php
View file @
db05d14c
...
...
@@ -141,15 +141,20 @@
<td>{{
$atividade->funcaoAsString
() }}</td>
<td>{{
$atividade->ch_semanal
}}</td>
<td>
<div class="
btn
-
group
" role="
group
">
<div class="
me
-
1
">
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_ensino_projeto',
'btn_id' =>
$atividade->id
,
])
</div>
<div class="
me
-
1
">
@include('components.buttons.btn-delete', [
'id' =>
$atividade->id
,
'route' => route('ensino_projeto_delete', ['id' =>
$atividade->id
])
])
</div>
</div>
</td>
</tr>
@endforeach
...
...
resources/views/pad/components/templates/dimensao/ensino/regencia/form_create.blade.php
View file @
db05d14c
...
...
@@ -161,15 +161,20 @@
<td>{{
$coordenacaoRegencia->modalidadeAsString
() }}</td>
<td>{{
$coordenacaoRegencia->ch_semanal
}}</td>
<td>
<div class="
btn
-
group
" role="
group
">
<div class="
me
-
1
">
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_ensino_coordenacao_regencia',
'btn_id' =>
$coordenacaoRegencia->id
,
])
</div>
<div class="
me
-
1
">
@include('components.buttons.btn-delete', [
'id' =>
$coordenacaoRegencia->id
,
'route' => route('ensino_coordenacao_regencia_delete', ['id' =>
$coordenacaoRegencia->id
])
])
</div>
</div>
</td>
</tr>
@endforeach
...
...
resources/views/pad/components/templates/dimensao/ensino/supervisao/form_create.blade.php
View file @
db05d14c
...
...
@@ -169,15 +169,20 @@
<td>{{
$atividade->supervisaoAsString
() }}</td>
<td>{{
$atividade->chSemanal
() }}</td>
<td>
<div class="
btn
-
group
" role="
group
">
<div class="
me
-
1
">
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_ensino_supervisao',
'btn_id' =>
$atividade->id
,
])
</div>
<div class="
me
-
1
">
@include('components.buttons.btn-delete', [
'id' =>
$atividade->id
,
'route' => route('ensino_supervisao_delete', ['id' =>
$atividade->id
])
])
</div>
</div>
</td>
</tr>
@endforeach
...
...
resources/views/pad/components/templates/dimensao/extensao/coordenacao/form_create.blade.php
View file @
db05d14c
...
...
@@ -42,7 +42,7 @@
<
input
class
=
"form-control @error('cod_atividade') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"cod_atividade"
id
=
"cod_atividade"
readonly
>
</
div
>
<
div
class
=
"mb-3 col-sm-
6
"
>
<
div
class
=
"mb-3 col-sm-
10
"
>
<
label
class
=
"form-label"
for
=
"programa_extensao"
>
Programa
de
Extensão
</
label
>
<
input
class
=
"form-control @error('programa_extensao') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"programa_extensao"
id
=
"programa_extensao"
value
=
"{{ old('programa_extensao') }}"
>
...
...
@@ -51,6 +51,15 @@
])
</
div
>
<
div
class
=
"mb-3 col-sm-8"
>
<
label
class
=
"form-label"
for
=
"titulo_projeto"
>
Título
do
Projeto
</
label
>
<
input
class
=
"form-control @error('titulo_projeto') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"titulo_projeto"
id
=
"titulo_projeto"
value
=
"{{ old('titulo_projeto') }}"
>
@
include
(
'components.divs.errors'
,
[
'field'
=>
'titulo_projeto_create'
,
])
</
div
>
<
div
class
=
"mb-3 col-sm-4"
>
<
label
class
=
"form-label"
for
=
"funcao"
>
Função
</
label
>
<
select
class
=
"form-select @error('funcao') is-invalid @enderror ajax-errors"
name
=
"funcao"
id
=
"funcao"
value
=
"{{ old('funcao') }}"
>
...
...
@@ -69,16 +78,25 @@
])
</div>
<div class="
mb
-
3
col
-
sm
-
9
">
<label class="
form
-
label
" for="
titulo_projeto
">Título do Projeto</label>
<input class="
form
-
control
@
error
(
'titulo_projeto'
)
is
-
invalid
@
enderror
ajax
-
errors
" type="
text
" name="
titulo_projeto
" id="
titulo_projeto
" value="
{{
old
(
'titulo_projeto'
)
}}
">
<div class="
mb
-
3
col
-
sm
-
8
">
<label class="
form
-
label
" for="
cod_dimensao
">Resolução</label>
<select class="
form
-
select
@
error
(
'cod_dimensao'
)
is
-
invalid
@
enderror
ajax
-
errors
" name="
cod_dimensao
" id="
cod_dimensao
" value="
{{
old
(
'cod_dimensao'
)
}}
">
<option value="
0
">Selecione uma Resolução</option>
@foreach(
$planejamentos
as
$value
=>
$cod_dimensao
)
@if(
$value
== old('cod_dimensao') )
<option selected value="
{{
$value
}}
">
{
{$cod_dimensao}
}
</option>
@else
<option value="
{{
$value
}}
">
{
{$cod_dimensao}
}
</option>
@endif
@endforeach
</select>
@include('components.divs.errors', [
'field' => '
titulo_projet
o_create'
,
'field' => '
cod_dimensa
o_create'
])
</div>
<div class="
mb
-
3
col
-
sm
-
3
">
<div class="
mb
-
3
col
-
sm
-
4
">
<label class="
form
-
label
" for="
ch_semanal
">CH. Semanal</label>
<input class="
form
-
control
@
error
(
'ch_semanal'
)
is
-
invalid
@
enderror
ajax
-
errors
" type="
number
" name="
ch_semanal
" id="
ch_semanal
" value="
{{
old
(
'ch_semanal'
)
}}
">
...
...
@@ -133,15 +151,20 @@
<td>{{
$atividade->funcaoAsString
() }}</td>
<td>{{
$atividade->ch_semanal
}}</td>
<td>
<div class="
btn
-
group
" role="
group
">
<div class="
me
-
1
">
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_extensao_coordenacao',
'btn_id' =>
$atividade->id
,
])
</div>
<div class="
me
-
1
">
@include('components.buttons.btn-delete', [
'id' =>
$atividade->id
,
'route' => route('extensao_coordenacao_delete', ['id' =>
$atividade->id
])
])
</div>
</div>
</td>
</tr>
@endforeach
...
...
Prev
1
2
3
4
5
6
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