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
738ddd4b
Commit
738ddd4b
authored
Mar 20, 2022
by
alissonalbuquerque
Browse files
add atualizações parciais de layout
parent
26815436
Changes
25
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/CampusController.php
View file @
738ddd4b
...
@@ -4,6 +4,7 @@ namespace App\Http\Controllers;
...
@@ -4,6 +4,7 @@ namespace App\Http\Controllers;
use
App\Models\Campus
;
use
App\Models\Campus
;
use
App\Models\Unidade
;
use
App\Models\Unidade
;
use
App\Queries\CampusQuery
;
use
Illuminate\Http\Request
;
use
Illuminate\Http\Request
;
class
CampusController
extends
Controller
class
CampusController
extends
Controller
...
@@ -86,4 +87,11 @@ class CampusController extends Controller
...
@@ -86,4 +87,11 @@ class CampusController extends Controller
{
{
//
//
}
}
public
function
findByUnidade
(
int
$unidade_id
)
{
return
CampusQuery
::
whereUnidadeId
(
$unidade_id
)
->
orderBy
(
'name'
)
->
get
();
}
}
}
app/Http/Controllers/UnidadeController.php
View file @
738ddd4b
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
namespace
App\Http\Controllers
;
namespace
App\Http\Controllers
;
use
App\Models\Unidade
;
use
App\Models\Unidade
;
use
App\Queries\UnidadeQuery
;
use
Illuminate\Http\Request
;
use
Illuminate\Http\Request
;
class
UnidadeController
extends
Controller
class
UnidadeController
extends
Controller
...
@@ -91,4 +92,12 @@ class UnidadeController extends Controller
...
@@ -91,4 +92,12 @@ class UnidadeController extends Controller
return
redirect
(
'/unidade/index'
);
return
redirect
(
'/unidade/index'
);
}
}
/**
* @return array
*/
public
function
getAll
()
{
return
UnidadeQuery
::
all
();
}
}
}
app/Models/User.php
View file @
738ddd4b
...
@@ -66,6 +66,35 @@ class User extends Authenticatable
...
@@ -66,6 +66,35 @@ class User extends Authenticatable
return
$this
->
belongsTo
(
Unidade
::
class
);
return
$this
->
belongsTo
(
Unidade
::
class
);
}
}
/**
* @return bool
*/
public
function
isTypeAdmin
()
{
return
$this
->
type
===
self
::
TYPE_ADMIN
;
}
/**
* @return bool
*/
public
function
isTypeTeacher
()
{
return
$this
->
type
===
self
::
TYPE_TEACHER
;
}
/**
* @return bool
*/
public
function
isTypeMenager
()
{
return
$this
->
type
===
self
::
TYPE_MANAGER
;
}
/**
* @return bool
*/
public
function
isTypeCoordinator
()
{
return
$this
->
type
===
self
::
TYPE_COORDINATOR
;
}
/**
/**
* @return string
* @return string
*/
*/
...
...
app/Queries/CampusQuery.php
0 → 100644
View file @
738ddd4b
<?php
namespace
App\Queries
;
use
App\Models\Campus
;
class
CampusQuery
extends
Campus
{
/**
* @param integer $id
* @param string $expression
* @return array|Campus|null
*/
public
static
function
whereUnidadeId
(
int
$id
,
string
$expression
=
'='
)
{
return
Campus
::
where
(
'unidade_id'
,
$expression
,
$id
);
}
}
\ No newline at end of file
app/Queries/UnidadeQuery.php
0 → 100644
View file @
738ddd4b
<?php
namespace
App\Queries
;
use
App\Models\Unidade
;
class
UnidadeQuery
extends
Unidade
{
}
\ No newline at end of file
app/Queries/UserQuery.php
0 → 100644
View file @
738ddd4b
<?php
namespace
App\Queries
;
use
App\Models\User
;
class
UserQuery
extends
User
{
// public static function whereType
}
\ No newline at end of file
resources/views/components/buttons/btn-create.blade.php
View file @
738ddd4b
<a
class=
"btn btn-primary"
href=
"{{$route}}"
>
Create
</a>
<a
class=
"{{$css}}"
href=
"{{$route}}"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-plus-circle"
viewBox=
"0 0 16 16"
>
<path
d=
"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
/>
<path
d=
"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"
/>
</svg>
{{$text}}
</a>
resources/views/components/tables/table.blade.php
0 → 100644
View file @
738ddd4b
<table
class=
"{{$css}}"
id=
"{{$id}}"
>
<thead>
<tr>
</tr>
</thead>
<tbody>
<tr>
</tr>
</tbody>
</table>
resources/views/dashboard.blade.php
View file @
738ddd4b
<x-app-layout>
<x-app-layout>
<x-slot
name=
"main"
>
<x-slot
name=
"main"
>
<div
class=
"tab-content"
>
<div
class=
"tab-content"
>
<div
class=
"tab-pane active"
id=
"home"
role=
"tabpanel"
aria-labelledby=
"home-tab"
>
<div
@if(Auth::check())
class=
"d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"
>
@include('layouts.user-dashboard.update_perfil', ['user' => Auth::user()])
<h1
class=
"h2"
>
Bem Vindo ao PAD
</h1>
@endif
</div>
<div
class=
"d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3"
>
@if(Auth::user()->isTypeAdmin())
<h2
class=
"h3"
>
@include('layouts.user-dashboard.dashboard_admin')
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"26"
height=
"26"
fill=
"currentColor"
@endif
class=
"bi bi-exclamation-octagon-fill"
viewBox=
"0 0 16 16"
>
<path
@if(Auth::user()->isTypeTeacher())
d=
"M11.46.146A.5.5 0 0 0 11.107 0H4.893a.5.5 0 0 0-.353.146L.146 4.54A.5.5 0 0 0 0 4.893v6.214a.5.5 0 0 0 .146.353l4.394 4.394a.5.5 0 0 0 .353.146h6.214a.5.5 0 0 0 .353-.146l4.394-4.394a.5.5 0 0 0 .146-.353V4.893a.5.5 0 0 0-.146-.353L11.46.146zM8 4c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995A.905.905 0 0 1 8 4zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"
/>
@include('layouts.user-dashboard.dashboard_teacher')
</svg>
@endif
Atividades a serem realizdas
</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>
<div
class=
"tab-pane"
id=
"coordenador"
role=
"tabpanel"
aria-labelledby=
"coordenador-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"
>
Gestão de Coordenador
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroCoordenador()"
@if(Auth::user()->isTypeMenager())
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Coordenador"
>
@include('layouts.user-dashboard.dashboard_menager')
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
@endif
class=
"bi bi-person-plus-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"
/>
<path
fill-rule=
"evenodd"
d=
"M13.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z"
/>
</svg>
Cadastrar Novo Coordenador
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaCoordenador()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Coordenador"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-lines-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z"
/>
</svg>
Listar Coordenador
</a>
</div>
<div
class=
"tab-pane"
id=
"campus"
role=
"tabpanel"
aria-labelledby=
"campus-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"
>
Gestão de Campus
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroCampos()"
data-toggle=
"tooltip"
@if(Auth::user()->isTypeCoordinator())
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Campus"
>
@include('layouts.user-dashboard.dashboard_coordinator')
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
@endif
class=
"bi bi-plus-circle"
viewBox=
"0 0 16 16"
>
<path
d=
"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
/>
<path
d=
"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"
/>
</svg>
Cadastrar Novo Campus
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaCampos()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Campus"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-list-task"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M2 2.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H2zM3 3H2v1h1V3z"
/>
<path
d=
"M5 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM5.5 7a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 4a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9z"
/>
<path
fill-rule=
"evenodd"
d=
"M1.5 7a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V7zM2 7h1v1H2V7zm0 3.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H2zm1 .5H2v1h1v-1z"
/>
</svg>
Listar Campus
</a>
</div>
<div
class=
"tab-pane"
id=
"cursos"
role=
"tabpanel"
aria-labelledby=
"cursos-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"
>
Gestão de Cursos
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroCurso()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Curso"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-plus-circle"
viewBox=
"0 0 16 16"
>
<path
d=
"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
/>
<path
d=
"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"
/>
</svg>
Cadastrar Novo Curso
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaCurso()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Cursos"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-list-task"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M2 2.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H2zM3 3H2v1h1V3z"
/>
<path
d=
"M5 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM5.5 7a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 4a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9z"
/>
<path
fill-rule=
"evenodd"
d=
"M1.5 7a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V7zM2 7h1v1H2V7zm0 3.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H2zm1 .5H2v1h1v-1z"
/>
</svg>
Listar Cursos
</a>
</div>
<div
class=
"tab-pane"
id=
"professor"
role=
"tabpanel"
aria-labelledby=
"professor-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"
>
Gestão de Professor
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroProfessor()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Professor"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-plus-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"
/>
<path
fill-rule=
"evenodd"
d=
"M13.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z"
/>
</svg>
Cadastrar Novo Professor
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaProfessor()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Professor"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-lines-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z"
/>
</svg>
Listar Professor
</a>
</div>
<div
class=
"tab-pane"
id=
"pad"
role=
"tabpanel"
aria-labelledby=
"pad-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"
>
Listagem PAD
</h1>
</div>
</div>
</div>
</div>
</x-slot>
</x-slot>
</x-app-layout>
</x-app-layout>
resources/views/layouts/app.blade.php
View file @
738ddd4b
...
@@ -11,6 +11,9 @@
...
@@ -11,6 +11,9 @@
<!-- Styles -->
<!-- Styles -->
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity=
"sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin=
"anonymous"
/>
integrity=
"sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin=
"anonymous"
/>
<!-- Font Awesome -->
<link
rel=
"stylesheet"
href=
"https://use.fontawesome.com/releases/v5.15.4/css/all.css"
integrity=
"sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm"
crossorigin=
"anonymous"
/>
<link
rel=
"stylesheet"
href=
"{{ asset('css/styles.css') }}"
>
<link
rel=
"stylesheet"
href=
"{{ asset('css/styles.css') }}"
>
<link
rel=
"stylesheet"
href=
"{{ asset('css/dashboard.css') }}"
>
<link
rel=
"stylesheet"
href=
"{{ asset('css/dashboard.css') }}"
>
...
@@ -37,23 +40,32 @@
...
@@ -37,23 +40,32 @@
<footer
class=
"pt-3 my-3 text-center text-muted align-items-center border-top"
>
<footer
class=
"pt-3 my-3 text-center text-muted align-items-center border-top"
>
Copyright
©
2022. Universidade de Pernambuco - Todos os direitos reservados
Copyright
©
2022. Universidade de Pernambuco - Todos os direitos reservados
</footer>
</footer>
<!-- Função JavaScript alterar telas/botoes -->
<script>
$
(
function
()
{
$
(
"
#myTab li:last-child a
"
).
tab
(
"
show
"
);
});
</script>
<!-- Optional JavaScript -->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script
src=
"https://code.jquery.com/jquery-3.2.1.slim.min.js"
<script
src=
"https://code.jquery.com/jquery-3.1.1.min.js"
></script>
integrity=
"sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin=
"anonymous"
>
</script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity=
"sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin=
"anonymous"
>
integrity=
"sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin=
"anonymous"
>
</script>
</script>
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity=
"sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin=
"anonymous"
>
integrity=
"sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin=
"anonymous"
>
</script>
</script>
@if(Auth::user()->isTypeAdmin())
@include('layouts.user-jquery.jquery_admin')
@endif
@if(Auth::user()->isTypeTeacher())
@include('layouts.user-jquery.jquery_teacher')
@endif
@if(Auth::user()->isTypeMenager())
@include('layouts.user-jquery.jquery_menager')
@endif
@if(Auth::user()->isTypeCoordinator())
@include('layouts.user-jquery.jquery_coordinator')
@endif
</body>
</body>
</html>
</html>
resources/views/layouts/navigation.blade.php
View file @
738ddd4b
<nav
id=
"sidebarMenu"
class=
"col-md-3 col-lg-2 d-md-block bg-light sidebar collapse"
>
<nav
id=
"sidebarMenu"
class=
"col-md-3 col-lg-2 d-md-block bg-light sidebar collapse"
>
<!-- previl perfil sidebarMenu -->
<!-- SidebarMenu : Perfil -->
@if(Auth::check())
<div
class=
"content mx-auto text-center"
>
<div
class=
"content mx-auto text-center"
>
<div
class=
"card mb-3"
>
<div
class=
"card mb-3"
>
<div
class=
"card-body text-dark"
>
<div
class=
"card-body text-dark"
>
...
@@ -7,66 +9,33 @@
...
@@ -7,66 +9,33 @@
<div
class=
"font-medium text-sm text-gray-500"
>
{{ Auth::user()->email }}
</div>
<div
class=
"font-medium text-sm text-gray-500"
>
{{ Auth::user()->email }}
</div>
</div>
</div>
</div>
</div>
<
a
href=
"#
"
class=
"btn btn-primary"
>
<
button
id=
"btn-update-perfil
"
class=
"btn btn-primary"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-gear-fill"
viewBox=
"0 0 16 16"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-gear-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z"
/>
<path
d=
"M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z"
/>
</svg>
</svg>
Editar
Editar
</
a
>
</
button
>
</div>
</div>
<!-- Botoes link lista vertical sidebarMenu -->
@endif
<ul
class=
"nav flex-column nav-pills"
id=
"myTab"
role=
"tablist"
aria-orientation=
"vertical"
>
<li
class=
"nav-item"
>
<!-- SidebarMenu : Admin -->
<a
class=
"nav-link active"
id=
"home-tab"
data-toggle=
"tab"
href=
"#home"
role=
"tab"
aria-controls=
"home"
aria-selected=
"true"
>
@if(Auth::user()->isTypeAdmin())
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-house-fill"
viewBox=
"0 0 16 16"
>
@include('layouts.user-navigation.navigation_admin')
<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"
/>
@endif
<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>
<!-- SidebarMenu : Professor -->
Home
@if(Auth::user()->isTypeTeacher())
</a>
@include('layouts.user-navigation.navigation_teacher')
</li>
@endif
<li
class=
"nav-item"
>
<a
class=
"nav-link"
id=
"coordenador-tab"
data-toggle=
"tab"
href=
"#coordenador"
role=
"tab"
aria-controls=
"coordenador"
aria-selected=
"false"
>
<!-- SidebarMenu : Diretor -->
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-person-badge"
viewBox=
"0 0 16 16"
>
@if(Auth::user()->isTypeMenager())
<path
d=
"M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"
/>
@include('layouts.user-navigation.navigation_menager')
<path
d=
"M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z"
/>
@endif
</svg>
Coordenador
<!-- SidebarMenu : Coordenador -->
</a>
@if(Auth::user()->isTypeCoordinator())
</li>
@include('layouts.user-navigation.navigation_coordinator')
<li
class=
"nav-item"
>
@endif
<a
class=
"nav-link"
id=
"campus-tab"
data-toggle=
"tab"
href=
"#campus"
role=
"tab"
aria-controls=
"campus"
aria-selected=
"false"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-bank2"
viewBox=
"0 0 16 16"
>
</nav>
<path
d=
"M8.277.084a.5.5 0 0 0-.554 0l-7.5 5A.5.5 0 0 0 .5 6h1.875v7H1.5a.5.5 0 0 0 0 1h13a.5.5 0 1 0 0-1h-.875V6H15.5a.5.5 0 0 0 .277-.916l-7.5-5zM12.375 6v7h-1.25V6h1.25zm-2.5 0v7h-1.25V6h1.25zm-2.5 0v7h-1.25V6h1.25zm-2.5 0v7h-1.25V6h1.25zM8 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2zM.5 15a.5.5 0 0 0 0 1h15a.5.5 0 1 0 0-1H.5z"
/>
</svg>
Campus
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
id=
"cursos-tab"
data-toggle=
"tab"
href=
"#cursos"
role=
"tab"
aria-controls=
"cursos"
aria-selected=
"false"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-mortarboard-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M8.211 2.047a.5.5 0 0 0-.422 0l-7.5 3.5a.5.5 0 0 0 .025.917l7.5 3a.5.5 0 0 0 .372 0L14 7.14V13a1 1 0 0 0-1 1v2h3v-2a1 1 0 0 0-1-1V6.739l.686-.275a.5.5 0 0 0 .025-.917l-7.5-3.5Z"
/>
<path
d=
"M4.176 9.032a.5.5 0 0 0-.656.327l-.5 1.7a.5.5 0 0 0 .294.605l4.5 1.8a.5.5 0 0 0 .372 0l4.5-1.8a.5.5 0 0 0 .294-.605l-.5-1.7a.5.5 0 0 0-.656-.327L8 10.466 4.176 9.032Z"
/>
</svg>
Cursos
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
id=
"professor-tab"
data-toggle=
"tab"
href=
"#professor"
role=
"tab"
aria-controls=
"professor"
aria-selected=
"false"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-person-video3"
viewBox=
"0 0 16 16"
>
<path
d=
"M14 9.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-6 5.7c0 .8.8.8.8.8h6.4s.8 0 .8-.8-.8-3.2-4-3.2-4 2.4-4 3.2Z"
/>
<path
d=
"M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h5.243c.122-.326.295-.668.526-1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v7.81c.353.23.656.496.91.783.059-.187.09-.386.09-.593V4a2 2 0 0 0-2-2H2Z"
/>
</svg>
Professor
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
id=
"pad-tab"
data-toggle=
"tab"
href=
"#pad"
role=
"tab"
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>
</ul>
</nav>
\ No newline at end of file
resources/views/layouts/user-dashboard/dashboard_admin.blade.php
0 → 100644
View file @
738ddd4b
<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>
</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"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"26"
height=
"26"
fill=
"currentColor"
class=
"bi bi-exclamation-octagon-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M11.46.146A.5.5 0 0 0 11.107 0H4.893a.5.5 0 0 0-.353.146L.146 4.54A.5.5 0 0 0 0 4.893v6.214a.5.5 0 0 0 .146.353l4.394 4.394a.5.5 0 0 0 .353.146h6.214a.5.5 0 0 0 .353-.146l4.394-4.394a.5.5 0 0 0 .146-.353V4.893a.5.5 0 0 0-.146-.353L11.46.146zM8 4c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995A.905.905 0 0 1 8 4zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"
/>
</svg>
Atividades a serem realizdas
</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>
<div
class=
"tab-pane"
id=
"campus"
role=
"tabpanel"
aria-labelledby=
"campus-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"
>
Gestão de Campus
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroCampos()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Campus"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-plus-circle"
viewBox=
"0 0 16 16"
>
<path
d=
"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
/>
<path
d=
"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"
/>
</svg>
Cadastrar Novo Campus
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaCampos()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Campus"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-list-task"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M2 2.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H2zM3 3H2v1h1V3z"
/>
<path
d=
"M5 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM5.5 7a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 4a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9z"
/>
<path
fill-rule=
"evenodd"
d=
"M1.5 7a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V7zM2 7h1v1H2V7zm0 3.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H2zm1 .5H2v1h1v-1z"
/>
</svg>
Listar Campus
</a>
@include('components.tables.table', ['id' => 'list_campus', 'css' => 'table'])
</div>
<div
class=
"tab-pane"
id=
"cursos"
role=
"tabpanel"
aria-labelledby=
"cursos-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"
>
Gestão de Cursos
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroCurso()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Curso"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-plus-circle"
viewBox=
"0 0 16 16"
>
<path
d=
"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
/>
<path
d=
"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"
/>
</svg>
Cadastrar Novo Curso
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaCurso()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Cursos"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-list-task"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M2 2.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H2zM3 3H2v1h1V3z"
/>
<path
d=
"M5 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM5.5 7a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 4a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9z"
/>
<path
fill-rule=
"evenodd"
d=
"M1.5 7a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V7zM2 7h1v1H2V7zm0 3.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H2zm1 .5H2v1h1v-1z"
/>
</svg>
Listar Cursos
</a>
</div>
<div
class=
"tab-pane"
id=
"unidade"
role=
"tabpanel"
aria-labelledby=
"unidade-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"
>
Gestão de Unidades
</h1>
</div>
@include('components.buttons.btn-create', ['route' => '', 'css' => 'btn btn-primary', 'text' => 'Cadastrar Nova Unidade'])
<div
class=
"mt-4"
>
@include('components.tables.table', ['id' => 'table_unidades', 'css' => 'table'])
</div>
</div>
<div
class=
"tab-pane"
id=
"diretoria"
role=
"tabpanel"
aria-labelledby=
"diretoria-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"
>
Gestão de Diretoria
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroCoordenador()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Coordenador"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-plus-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"
/>
<path
fill-rule=
"evenodd"
d=
"M13.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z"
/>
</svg>
Cadastrar Novo Diretor
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaCoordenador()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Coordenador"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-lines-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z"
/>
</svg>
Listar Diretores
</a>
</div>
<div
class=
"tab-pane"
id=
"coordenador"
role=
"tabpanel"
aria-labelledby=
"coordenador-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"
>
Gestão de Coordenador
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroCoordenador()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Coordenador"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-plus-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"
/>
<path
fill-rule=
"evenodd"
d=
"M13.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z"
/>
</svg>
Cadastrar Novo Coordenador
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaCoordenador()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Coordenador"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-lines-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z"
/>
</svg>
Listar Coordenador
</a>
</div>
\ No newline at end of file
resources/views/layouts/user-dashboard/dashboard_coordinator.blade.php
0 → 100644
View file @
738ddd4b
resources/views/layouts/user-dashboard/dashboard_menager.blade.php
0 → 100644
View file @
738ddd4b
resources/views/layouts/user-dashboard/dashboard_teacher.blade.php
0 → 100644
View file @
738ddd4b
<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>
</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"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"26"
height=
"26"
fill=
"currentColor"
class=
"bi bi-exclamation-octagon-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M11.46.146A.5.5 0 0 0 11.107 0H4.893a.5.5 0 0 0-.353.146L.146 4.54A.5.5 0 0 0 0 4.893v6.214a.5.5 0 0 0 .146.353l4.394 4.394a.5.5 0 0 0 .353.146h6.214a.5.5 0 0 0 .353-.146l4.394-4.394a.5.5 0 0 0 .146-.353V4.893a.5.5 0 0 0-.146-.353L11.46.146zM8 4c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995A.905.905 0 0 1 8 4zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"
/>
</svg>
Atividades a serem realizdas
</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>
<div
class=
"tab-pane"
id=
"coordenador"
role=
"tabpanel"
aria-labelledby=
"coordenador-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"
>
Gestão de Coordenador
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroCoordenador()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Coordenador"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-plus-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"
/>
<path
fill-rule=
"evenodd"
d=
"M13.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z"
/>
</svg>
Cadastrar Novo Coordenador
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaCoordenador()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Coordenador"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-lines-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z"
/>
</svg>
Listar Coordenador
</a>
</div>
<div
class=
"tab-pane"
id=
"campus"
role=
"tabpanel"
aria-labelledby=
"campus-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"
>
Gestão de Campus
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroCampos()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Campus"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-plus-circle"
viewBox=
"0 0 16 16"
>
<path
d=
"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
/>
<path
d=
"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"
/>
</svg>
Cadastrar Novo Campus
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaCampos()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Campus"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-list-task"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M2 2.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H2zM3 3H2v1h1V3z"
/>
<path
d=
"M5 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM5.5 7a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 4a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9z"
/>
<path
fill-rule=
"evenodd"
d=
"M1.5 7a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V7zM2 7h1v1H2V7zm0 3.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H2zm1 .5H2v1h1v-1z"
/>
</svg>
Listar Campus
</a>
@include('components.tables.table', ['id' => 'list_campus', 'css' => 'table'])
</div>
<div
class=
"tab-pane"
id=
"cursos"
role=
"tabpanel"
aria-labelledby=
"cursos-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"
>
Gestão de Cursos
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroCurso()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Curso"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-plus-circle"
viewBox=
"0 0 16 16"
>
<path
d=
"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
/>
<path
d=
"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"
/>
</svg>
Cadastrar Novo Curso
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaCurso()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Cursos"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-list-task"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M2 2.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H2zM3 3H2v1h1V3z"
/>
<path
d=
"M5 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM5.5 7a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 4a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9z"
/>
<path
fill-rule=
"evenodd"
d=
"M1.5 7a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V7zM2 7h1v1H2V7zm0 3.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H2zm1 .5H2v1h1v-1z"
/>
</svg>
Listar Cursos
</a>
</div>
<div
class=
"tab-pane"
id=
"professor"
role=
"tabpanel"
aria-labelledby=
"professor-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"
>
Gestão de Professor
</h1>
</div>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoCadastroProfessor()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Cadastrar Novo Professor"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-plus-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"
/>
<path
fill-rule=
"evenodd"
d=
"M13.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z"
/>
</svg>
Cadastrar Novo Professor
</a>
<a
class=
"btn btn-secondary btn-lg"
onclick=
"redirecionamentoListaProfessor()"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Click para Listar Professor"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"36"
height=
"36"
fill=
"currentColor"
class=
"bi bi-person-lines-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z"
/>
</svg>
Listar Professor
</a>
</div>
<div
class=
"tab-pane"
id=
"pad"
role=
"tabpanel"
aria-labelledby=
"pad-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"
>
Listagem PAD
</h1>
</div>
</div>
\ No newline at end of file
resources/views/layouts/user-dashboard/update_perfil.blade.php
0 → 100644
View file @
738ddd4b
<div
class=
"tab-pane"
id=
"update-perfil"
role=
"tabpanel"
aria-labelledby=
"update-perfil-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"
>
Atualizar Perfil
</h1>
</div>
</div>
\ No newline at end of file
resources/views/layouts/user-jquery/jquery_admin.blade.php
0 → 100644
View file @
738ddd4b
<script
type=
"text/javascript"
>
$
(
document
).
ready
(()
=>
{
$
(
"
#update-perfil-tab
"
).
hide
()
const
table_unidades
=
$
(
'
#table_unidades
'
)
$
.
ajax
({
type
:
'
get
'
,
url
:
"
{{ route('listar_unidades') }}
"
,
success
:
(
unidades
)
=>
{
table_unidades
.
append
(
`
<tr>
<th scope="col"> # <th>
<th scope="col"> Nome <th>
<th scope="col"> Opções <th>
</tr>
`
)
unidades
.
forEach
(
(
unidade
,
index
)
=>
{
table_unidades
.
append
(
`
<tr>
<td scope="row">
${
index
+
1
}
<td>
<td>
${
unidade
.
name
}
<td>
<td>
@include('components.buttons.btn-edit', ['route' => ''])
@include('components.buttons.btn-delete', ['route' => ''])
</td>
</tr>
`
)
})
}
})
const
table
=
$
(
'
#list_campus
'
)
@
if
(
false
)
$
.
ajax
({
type
:
'
get
'
,
url
:
"
{{ route('list_campus_by_unidade', ['unidade_id' => Auth::user()->unidade_id]) }}
"
,
success
:
(
campus
)
=>
{
table
.
append
(
`
<tr>
<th scope="col"> # <th>
<th scope="col"> Nome <th>
</tr>
`
)
campus
.
forEach
(
(
campi
,
index
)
=>
{
table
.
append
(
`
<tr>
<td scope="row">
${
index
+
1
}
<td>
<td>
${
campi
.
name
}
<td>
</tr>
`
)
})
}
})
@
endif
})
$
(
"
#btn-update-perfil
"
).
on
(
'
click
'
,
()
=>
{
$
(
"
#update-perfil-tab
"
).
click
()
})
</script>
resources/views/layouts/user-jquery/jquery_coordinator.blade.php
0 → 100644
View file @
738ddd4b
resources/views/layouts/user-jquery/jquery_menager.blade.php
0 → 100644
View file @
738ddd4b
resources/views/layouts/user-jquery/jquery_teacher.blade.php
0 → 100644
View file @
738ddd4b
Prev
1
2
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