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
a95e9172
Commit
a95e9172
authored
Jun 29, 2022
by
Abraão Barbosa
Browse files
View bug fixes
parent
89a754fa
Changes
6
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/DiretorController.php
View file @
a95e9172
...
...
@@ -16,7 +16,7 @@ class DiretorController extends Controller
*/
public
function
index
()
{
$diretores
=
User
::
where
(
'type'
,
'='
,
User
::
TYPE_
MANAGE
R
)
->
get
();
$diretores
=
User
::
where
(
'type'
,
'='
,
User
::
TYPE_
DIRECTO
R
)
->
get
();
return
view
(
'diretor.index'
,
[
'index_menu'
=>
MenuItemsAdmin
::
DIRETORES
,
'diretores'
=>
$diretores
...
...
public/css/dashboard.css
View file @
a95e9172
...
...
@@ -55,7 +55,6 @@ nav {
border-radius
:
0.5em
;
border
:
2px
solid
#dee2e6
!important
;
padding
:
.5em
;
}
nav
ul
li
a
{
...
...
resources/views/campus/index.blade.php
View file @
a95e9172
...
...
@@ -17,7 +17,7 @@
<
h2
class
=
""
>
TODOS
OS
CAMPUS
</
h2
>
@
include
(
'components.buttons.btn-create'
,
[
'route'
=>
route
(
'campus_create'
),
'css'
=>
''
,
'c
la
ss'
=>
''
,
'content'
=>
'Novo Campus'
,
'id'
=>
''
,
])
...
...
@@ -33,6 +33,7 @@
<
th
scope
=
"col"
>
Ações
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$campus
as
$camp
)
<
tr
>
...
...
resources/views/coordenador/index.blade.php
View file @
a95e9172
...
...
@@ -42,7 +42,7 @@
'btn_class'
=>
'btn btn-warning'
,
'route'
=>
route
(
'coordenador_edit'
,
[
'id'
=>
$coordenador
->
id
]),
])
@
include
(
'components.buttons.btn-delete'
,
[
@
include
(
'components.buttons.btn-
soft-
delete'
,
[
'route'
=>
route
(
'coordenador_delete'
,
[
'id'
=>
$coordenador
->
id
]),
'modal_id'
=>
$coordenador
->
id
,
])
...
...
resources/views/diretor/index.blade.php
View file @
a95e9172
...
...
@@ -33,6 +33,7 @@
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$diretores
as
$diretor
)
<
tr
>
<
td
>
{{
$diretor
->
name
}}
</
td
>
...
...
@@ -42,9 +43,8 @@
'btn_class'
=>
'btn btn-warning'
,
'route'
=>
route
(
'diretor_edit'
,
[
'id'
=>
$diretor
->
id
]),
])
@
include
(
'components.buttons.btn-delete'
,
[
@
include
(
'components.buttons.btn-
soft-
delete'
,
[
'route'
=>
route
(
'diretor_delete'
,
[
'id'
=>
$diretor
->
id
]),
'btn_class'
=>
'btn btn-danger'
,
'modal_id'
=>
$diretor
->
id
,
])
</
td
>
...
...
resources/views/unidade/index.blade.php
View file @
a95e9172
...
...
@@ -37,6 +37,7 @@
<
td
>
{{
$unidade
->
name
}}
</
td
>
<
td
>
@
include
(
'components.buttons.btn-edit'
,
[
'btn_class'
=>
'btn btn-warning'
,
'route'
=>
route
(
'unidade_edit'
,
[
'id'
=>
$unidade
->
id
]),
])
@
include
(
'components.buttons.btn-soft-delete'
,
[
...
...
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