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
f6dcd4ce
Commit
f6dcd4ce
authored
Jun 18, 2022
by
alissonalbuquerque
Browse files
add views de cadastro de ensino
parent
8547bd21
Changes
24
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/Dimensao/EnsinoController.php
View file @
f6dcd4ce
...
...
@@ -3,10 +3,8 @@
namespace
App\Http\Controllers\Dimensao
;
use
App\Http\Controllers\Controller
;
use
App\Models\Curso
;
use
App\Models\Tabelas\Ensino\EnsinoAula
;
use
App\Models\Tabelas\Constants
;
use
App\Models\Util\PadTables
;
use
App\Queries\CursoQuery
;
use
Illuminate\Http\Request
;
use
Illuminate\Support\Facades\Auth
;
...
...
@@ -24,19 +22,24 @@ class EnsinoController extends Controller
public
function
index
()
{
$user
=
Auth
::
user
();
$niveis
=
Constants
::
listNivel
();
$modalidades
=
Constants
::
listModalidade
();
$orientacoes
=
Constants
::
listOrientacao
();
$funcoes_projeto
=
Constants
::
listFuncao
();
$funcoes_ensino
=
Constants
::
listFuncao
();
$naturezas
=
Constants
::
listNatureza
();
$cursos
=
(
new
CursoQuery
())
->
getQuery
()
->
get
();
$niveis
=
EnsinoAula
::
listNivel
();
$modalidades
=
EnsinoAula
::
listModalidade
();
$ensinoAulas
=
EnsinoAula
::
all
();
$divs
=
PadTables
::
tablesEnsino
();
return
view
(
'pad.dimensao.ensino'
,
[
'pad_id'
=>
1
,
'cursos'
=>
$cursos
,
'niveis'
=>
$niveis
,
'ensinoAulas'
=>
$ensinoAulas
,
'modalidades'
=>
$modalidades
,
'categorias'
=>
$orientacoes
,
'funcoes_ensino'
=>
array_diff
(
$funcoes_ensino
,
[
Constants
::
listFuncao
(
Constants
::
FUNCAO_COLABORADOR
)]),
'funcoes_projeto'
=>
array_diff
(
$funcoes_projeto
,
[
Constants
::
listFuncao
(
Constants
::
FUNCAO_MEMBRO
)]),
'naturezas'
=>
$naturezas
,
'divs'
=>
$divs
,
'index_menu'
=>
self
::
MENU_PAD
,
]);
...
...
app/Http/Controllers/Tabelas/Ensino/EnsinoAulaController.php
→
app/Http/Controllers/
Dimensao/
Tabelas/Ensino/EnsinoAulaController.php
View file @
f6dcd4ce
<?php
namespace
App\Http\Controllers\Tabelas\Ensino
;
namespace
App\Http\Controllers\
Dimensao\
Tabelas\Ensino
;
use
App\Http\Controllers\Controller
;
use
App\Models\Tabelas\Ensino\EnsinoAula
;
use
Illuminate\Http\Request
;
use
Illuminate\Support\Facades\Response
;
class
EnsinoAulaController
extends
Controller
{
...
...
@@ -14,6 +15,9 @@ class EnsinoAulaController extends Controller
* @return \Illuminate\Http\Response
*/
public
function
create
(
Request
$request
)
{
dd
(
$request
->
all
());
$model
=
new
EnsinoAula
();
$model
->
fill
(
$request
->
all
());
$model
->
save
();
...
...
@@ -21,9 +25,20 @@ class EnsinoAulaController extends Controller
return
redirect
()
->
route
(
'dimensao_ensino'
);
}
public
function
update
(
integer
$id
,
Request
$request
)
{
dd
(
'UPDATE'
);
}
public
function
delete
(
$id
){
dd
(
'DELETE'
);
$model
=
EnsinoAula
::
find
(
$id
);
$model
->
delete
();
return
redirect
()
->
route
(
'dimensao_ensino'
);
}
public
function
getAll
(
$pad_id
=
null
)
{
return
Response
::
json
([
'message'
=>
'teste'
]);
}
}
app/Models/Tabelas/Constants.php
0 → 100644
View file @
f6dcd4ce
<?php
namespace
App\Models\Tabelas
;
class
Constants
{
const
NIVEL_GRADUACAO
=
1
;
const
NIVEL_POS_GRADUACAO_LATO_SENSU
=
2
;
const
NIVEL_POS_GRADUACAO_STRICTO_SENSU
=
3
;
const
MODALIDADE_EAD
=
1
;
const
MODALIDADE_PRESENCIAL
=
2
;
const
ORIENTACAO_GRUPO
=
1
;
const
ORIENTACAO_INDIVIDUAL
=
2
;
const
FUNCAO_COORDENADOR
=
1
;
const
FUNCAO_COLABORADOR
=
2
;
const
FUNCAO_MEMBRO
=
3
;
const
NATUREZA_INOVACAO
=
1
;
const
NATUREZA_PEDAGOGICA
=
2
;
const
NATUREZA_VIVENCIA
=
4
;
const
NATUREZA_OUTROS
=
5
;
/**
* @return array|string
*/
public
static
function
listNivel
(
$value
=
null
)
{
$values
=
[
self
::
NIVEL_GRADUACAO
=>
'Graduação'
,
self
::
NIVEL_POS_GRADUACAO_LATO_SENSU
=>
'Pós-graduação Stricto Sensu'
,
self
::
NIVEL_POS_GRADUACAO_STRICTO_SENSU
=>
'Pós-Graduação Lato Sensu'
,
];
return
$value
!==
null
?
$values
[
$value
]
:
$values
;
}
/**
* @return array|string
*/
public
static
function
listModalidade
(
$value
=
null
)
{
$values
=
[
self
::
MODALIDADE_EAD
=>
'EAD'
,
self
::
MODALIDADE_PRESENCIAL
=>
'Presencial'
,
];
return
$value
!==
null
?
$values
[
$value
]
:
$values
;
}
/**
* @return array|string
*/
public
function
listOrientacao
(
$value
=
null
)
{
$values
=
[
self
::
ORIENTACAO_GRUPO
=>
'Grupo'
,
self
::
ORIENTACAO_INDIVIDUAL
=>
'Individual'
,
];
return
$value
!==
null
?
$values
[
$value
]
:
$values
;
}
/**
* @return array|string
*/
public
function
listFuncao
(
$value
=
null
)
{
$values
=
[
self
::
FUNCAO_COORDENADOR
=>
'Coordenador'
,
self
::
FUNCAO_COLABORADOR
=>
'Colaborador'
,
self
::
FUNCAO_MEMBRO
=>
'Membro'
,
];
return
$value
!==
null
?
$values
[
$value
]
:
$values
;
}
/**
* @return array|string
*/
public
function
listNatureza
(
$value
=
null
)
{
$values
=
[
self
::
NATUREZA_INOVACAO
=>
'Inovação'
,
self
::
NATUREZA_PEDAGOGICA
=>
'Pedagógica'
,
self
::
NATUREZA_VIVENCIA
=>
'Vivência'
,
self
::
NATUREZA_OUTROS
=>
'Outros'
];
return
$value
!==
null
?
$values
[
$value
]
:
$values
;
}
}
\ No newline at end of file
app/Models/Tabelas/Ensino/EnsinoAula.php
View file @
f6dcd4ce
...
...
@@ -12,13 +12,6 @@ class EnsinoAula extends Model
{
use
HasFactory
;
const
NIVEL_GRADUACAO
=
1
;
const
NIVEL_POS_GRADUACAO_LATO_SENSU
=
2
;
const
NIVEL_POS_GRADUACAO_STRICTO_SENSU
=
3
;
const
MODALIDADE_EAD
=
1
;
const
MODALIDADE_PRESENCIAL
=
2
;
/**
* References table ensino_aulas
*
...
...
@@ -31,7 +24,7 @@ class EnsinoAula extends Model
*
* @var array
*/
protected
$fillable
=
[
'cod_atividade'
,
'componente_curricular'
,
'curso
_id
'
,
'nivel'
,
'modalidade'
,
'ch_semanal'
,
'ch_total'
,
'pad_id'
];
protected
$fillable
=
[
'pad_id'
,
'cod_atividade'
,
'componente_curricular'
,
'curso'
,
'nivel'
,
'modalidade'
,
'ch_semanal'
,
'ch_total'
];
/**
...
...
@@ -40,34 +33,6 @@ class EnsinoAula extends Model
*/
private
$codesDimensao
=
[
'E-1'
,
'E-2'
,
'E-3'
];
/**
* @return array|string
*/
public
static
function
listNivel
(
$value
=
null
)
{
$values
=
[
self
::
NIVEL_GRADUACAO
=>
'Graduação'
,
self
::
NIVEL_POS_GRADUACAO_LATO_SENSU
=>
'Pós-graduação Stricto Sensu'
,
self
::
NIVEL_POS_GRADUACAO_STRICTO_SENSU
=>
'Pós-Graduação Lato Sensu'
,
];
return
$value
!==
null
?
$values
[
$value
]
:
$values
;
}
/**
* @return array|string
*/
public
static
function
listModalidade
(
$value
=
null
)
{
$values
=
[
self
::
MODALIDADE_EAD
=>
'EAD'
,
self
::
MODALIDADE_PRESENCIAL
=>
'Presencial'
,
];
return
$value
!==
null
?
$values
[
$value
]
:
$values
;
}
/**
* @return array
*/
...
...
@@ -93,15 +58,15 @@ class EnsinoAula extends Model
return
$this
->
belongsTo
(
PAD
::
class
);
}
/**
* Get Curso with curso.id = ensino_aulas.curso_id
*
* @return Curso
*/
public
function
curso
()
{
return
$this
->
belongsTo
(
Curso
::
class
);
}
//
/**
//
* Get Curso with curso.id = ensino_aulas.curso_id
//
*
//
* @return Curso
//
*/
//
public function curso()
//
{
//
return $this->belongsTo(Curso::class);
//
}
// /**
// * Get Disciplina with diciplina.id = ensino_aulas.displina_id
...
...
app/Models/UserPad.php
0 → 100644
View file @
f6dcd4ce
<?php
namespace
App\Models
;
use
Illuminate\Database\Eloquent\Factories\HasFactory
;
use
Illuminate\Database\Eloquent\Model
;
class
UserPad
extends
Model
{
use
HasFactory
;
protected
$table
=
'user_pad'
;
protected
$fillable
=
[
'user_id'
,
'pad_id'
];
public
function
user
()
{
$this
->
belongsTo
(
User
::
class
);
}
public
function
pad
()
{
$this
->
belongsTo
(
PAD
::
class
);
}
}
database/migrations/2022_03_22_225548_create_ensino_aulas_table.php
View file @
f6dcd4ce
...
...
@@ -15,14 +15,14 @@ class CreateEnsinoAulasTable extends Migration
{
Schema
::
create
(
'ensino_aulas'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'pad_id'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'componente_curricular'
)
->
notNull
();
$table
->
foreignId
(
'curso
_id
'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
tinyInteger
(
'nivel'
)
->
notNull
();
$table
->
tinyInteger
(
'modalidade'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
integer
(
'ch_total'
)
->
notNull
();
$table
->
foreignId
(
'pad_id'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
...
...
database/migrations/2022_06_14_155542_create_user_pad_table.php
0 → 100644
View file @
f6dcd4ce
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateUserPadTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'user_pad'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_id'
);
$table
->
foreignId
(
'pad_id'
);
$table
->
timestamps
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'user_pad'
);
}
}
resources/views/layouts/main.blade.php
View file @
f6dcd4ce
...
...
@@ -54,7 +54,7 @@
@include('layouts.user-jquery.jquery_coordinator')
@endif
@section('scripts
-jquery
')
@section('scripts')
@show
</body>
...
...
resources/views/layouts/pad-ensino-jquery/ensino-aula.blade.php
deleted
100644 → 0
View file @
8547bd21
<script
type=
"text/javascript"
>
$
(
document
).
ready
(()
=>
{
if
(
$
(
'
#curso_id
'
).
val
()
===
'
0
'
)
{
$
(
'
#componente_curricular
'
).
prop
(
'
disabled
'
,
true
)
}
})
$
(
'
#curso_id
'
).
change
(()
=>
{
$
(
'
#componente_curricular
'
).
children
(
'
option
'
).
remove
()
const
_curso_id
=
$
(
'
#curso_id
'
).
val
();
const
_endpoint
=
"
{{ route('get_disciplina_by_curso', 'curso_id') }}
"
const
_url
=
_endpoint
.
replace
(
'
curso_id
'
,
_curso_id
)
if
(
$
(
'
#curso_id
'
).
val
()
===
'
0
'
)
{
$
(
'
#componente_curricular
'
).
prop
(
'
disabled
'
,
true
)
}
else
{
$
(
'
#componente_curricular
'
).
prop
(
'
disabled
'
,
false
)
}
$
.
ajax
({
type
:
"
get
"
,
url
:
_url
,
success
:
(
disciplinas
)
=>
{
console
.
log
(
disciplinas
);
$
(
'
#componente_curricular
'
).
append
(
`<option disabled selected value> Selecionar Disciplina </option>`
)
disciplinas
.
forEach
((
disciplina
)
=>
{
$
(
'
#componente_curricular
'
).
append
(
`<option value=
${
disciplina
.
id
}
>
${
disciplina
.
name
}
</option>`
)
})
},
})
})
</script>
resources/views/pad/components/scripts/dimensao/ensino/ensino_orientacao.blade.php
0 → 100644
View file @
f6dcd4ce
@
php
use
App\Models\Tabelas\Constants
;
$type_group
=
Constants
::
ORIENTACAO_GRUPO
;
@
endphp
<
script
type
=
"text/javascript"
>
const
orientacao_numero_individuos
=
$
(
'#container_ensino_orientacao-numero_individuos'
);
$
(
'#ensino_orientacao-categoria'
)
.
change
(
function
()
{
if
(
$
(
this
)
.
val
()
==
{{
$type_group
}})
{
orientacao_numero_individuos
.
show
()
}
else
{
orientacao_numero_individuos
.
hide
()
}
})
.
change
()
</
script
>
\ No newline at end of file
resources/views/pad/components/scripts/dimensao/ensino/ensino_supervisao.blade.php
0 → 100644
View file @
f6dcd4ce
@
php
use
App\Models\Tabelas\Constants
;
$type_group
=
Constants
::
ORIENTACAO_GRUPO
;
@
endphp
<
script
type
=
"text/javascript"
>
const
supervisao_numero_individuos
=
$
(
'#container_ensino_supervisao-numero_individuos'
);
$
(
'#ensino_supervisao-categoria'
)
.
change
(
function
()
{
if
(
$
(
this
)
.
val
()
==
{{
$type_group
}})
{
supervisao_numero_individuos
.
show
()
}
else
{
supervisao_numero_individuos
.
hide
()
}
})
.
change
()
</
script
>
\ No newline at end of file
resources/views/components/
pad
/dropdown-eixo
-script
.blade.php
→
resources/views/
pad/
components/
scripts
/dropdown-eixo.blade.php
View file @
f6dcd4ce
...
...
@@ -25,12 +25,10 @@
if
(
self
.
val
()
!==
'0'
)
{
div
=
$
(
'#'
+
self
.
val
());
console
.
log
(
self
.
val
());
div
.
show
();
}
})
.
change
();
$
(
'#ensino_aulas'
)
.
show
();
</
script
>
resources/views/pad/components/templates/dimensao/ensino/ensino_atendimento_discente.blade.php
0 → 100644
View file @
f6dcd4ce
<div
id=
"ensino_atendimento_discente"
class=
""
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Atendimento ao Discente
</h3
class="h3"
>
</div>
<form
action=
"{{--route('')--}}"
method=
"post"
id=
"ensino_atendimento_discente-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
name=
"pad_id"
value=
{{1}}
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
disabled
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"componente_curricular"
>
Componente Curricular
</label>
<input
class=
"form-control"
type=
"text"
name=
"componente_curricular"
id=
"componente_curricular"
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Curso
</label>
<input
class=
"form-control"
type=
"text"
name=
"curso"
id=
"curso"
>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"nivel"
>
Nível
</label>
<select
class=
"form-select"
name=
"nivel"
id=
"nivel"
>
<option
selected
value=
"0"
>
Selecione um Nível
</option>
@foreach($niveis as $value => $nivel)
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
>
</div>
</div>
<div
class=
"mt-1 text-end"
>
<button
type=
"submit"
class=
"btn btn-success rounded"
>
Cadastrar
</button>
</div>
</form>
</div>
<div
class=
""
id=
""
>
@include('pad.components.templates.table', ['table_id' => 'ensino_atendimento_discente-table'])
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/ensino/ensino_aulas.blade.php
0 → 100644
View file @
f6dcd4ce
<div
id=
"ensino_aulas"
class=
""
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Aulas
</h3
class="h3"
>
</div>
<form
action=
"{{route('ensino_aula_create')}}"
method=
"post"
id=
"ensino_aulas-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
name=
"pad_id"
value=
{{1}}
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
disabled
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"componente_curricular"
>
Componente Curricular
</label>
<input
class=
"form-control"
type=
"text"
name=
"componente_curricular"
id=
"componente_curricular"
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Curso
</label>
<input
class=
"form-control"
type=
"text"
name=
"curso"
id=
"curso"
>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"nivel"
>
Nível
</label>
<select
class=
"form-select"
name=
"nivel"
id=
"nivel"
>
<option
selected
value=
"0"
>
Selecione um Nível
</option>
@foreach($niveis as $value => $nivel)
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"modalidade"
>
Modalidade
</label>
<select
class=
"form-select"
name=
"modalidade"
id=
"modalidade"
>
<option
selected
value=
"0"
>
Selecione uma Modalidade
</option>
@foreach($modalidades as $value => $modalidade)
<option
value=
"{{$value}}"
>
{{$modalidade}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ch_total"
>
CH. Total
</label>
<input
class=
"form-control"
type=
"number"
name=
"ch_total"
id=
"ch_total"
>
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
>
</div>
</div>
<div
class=
"mt-1 text-end"
>
<button
type=
"submit"
class=
"btn btn-success rounded"
>
Cadastrar
</button>
</div>
</form>
</div>
<div
class=
""
id=
""
>
@include('pad.components.templates.table', ['table_id' => 'ensino_aulas-table'])
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/ensino/ensino_coordenacao_disciplina.blade.php
0 → 100644
View file @
f6dcd4ce
<div
id=
"ensino_coordenacao_disciplina"
class=
""
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Coordenação (disciplinas)
</h3
class="h3"
>
</div>
<form
action=
"{{-- route('') --}}"
method=
"post"
id=
"ensino_coordenacao_disciplina-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
name=
"pad_id"
value=
{{1}}
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
disabled
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"componente_curricular"
>
Componente Curricular
</label>
<input
class=
"form-control"
type=
"text"
name=
"componente_curricular"
id=
"componente_curricular"
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Curso
</label>
<input
class=
"form-control"
type=
"text"
name=
"curso"
id=
"curso"
>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"nivel"
>
Nível
</label>
<select
class=
"form-select"
name=
"nivel"
id=
"nivel"
>
<option
selected
value=
"0"
>
Selecione um Nível
</option>
@foreach($niveis as $value => $nivel)
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"modalidade"
>
Modalidade
</label>
<select
class=
"form-select"
name=
"modalidade"
id=
"modalidade"
>
<option
selected
value=
"0"
>
Selecione uma Modalidade
</option>
@foreach($modalidades as $value => $modalidade)
<option
value=
"{{$value}}"
>
{{$modalidade}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ensino_aulas-ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control"
type=
"number"
name=
"ensino_aulas-ch_semanal"
id=
"ensino_aulas-ch_semanal"
>
</div>
</div>
<div
class=
"mt-1 text-end"
>
<button
type=
"submit"
class=
"btn btn-success rounded"
>
Cadastrar
</button>
</div>
</form>
</div>
<div
class=
""
id=
""
>
@include('pad.components.templates.table', ['table_id' => 'ensino_coordenacao_disciplina-table'])
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/ensino/ensino_coordenacao_docente.blade.php
0 → 100644
View file @
f6dcd4ce
<div
id=
"ensino_coordenacao_docente"
class=
""
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Coordenação Docente
</h3
class="h3"
>
</div>
<form
action=
"{{--route('')--}}"
method=
"post"
id=
"ensino_coordenacao_docente-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
name=
"pad_id"
value=
{{1}}
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
disabled
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"nucleo_docente"
>
Núcleo Docente Estruturante / Assistencial
</label>
<input
class=
"form-control"
type=
"text"
name=
"nucleo_docente"
id=
"nucleo_docente"
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"doc_designador"
>
Documento que o Designa
</label>
<input
class=
"form-control"
type=
"text"
name=
"doc_designador"
id=
"doc_designador"
>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"funcao"
>
Função
</label>
<select
class=
"form-select"
name=
"funcao"
id=
"funcao"
>
<option
selected
value=
"0"
>
Selecione uma Função
</option>
@foreach($funcoes_ensino as $value => $funcao)
<option
value=
"{{$value}}"
>
{{$funcao}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
>
</div>
</div>
<div
class=
"mt-1 text-end"
>
<button
type=
"submit"
class=
"btn btn-success rounded"
>
Cadastrar
</button>
</div>
</form>
</div>
<div
class=
""
id=
""
>
@include('pad.components.templates.table', ['table_id' => 'ensino_coordenacao_docente-table'])
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/ensino/ensino_orientacao.blade.php
0 → 100644
View file @
f6dcd4ce
<div
id=
"ensino_orientacao"
class=
""
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Orientação
</h3
class="h3"
>
</div>
<form
action=
"{{-- route('') --}}"
method=
"post"
id=
"ensino_orientacao-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
name=
"pad_id"
value=
{{1}}
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
disabled
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"atividade"
>
Atividade: Orientação / Coorientação
</label>
<input
class=
"form-control"
type=
"text"
name=
"atividade"
id=
"atividade"
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Curso
</label>
<input
class=
"form-control"
type=
"text"
name=
"curso"
id=
"curso"
>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"nivel"
>
Nível
</label>
<select
class=
"form-select"
name=
"nivel"
id=
"nivel"
>
<option
selected
value=
"0"
>
Selecione um Nível
</option>
@foreach($niveis as $value => $nivel)
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"ensino_orientacao-categoria"
>
Categoria
</label>
<select
class=
"form-select"
name=
"categoria"
id=
"ensino_orientacao-categoria"
>
<option
selected
value=
"0"
>
Selecione uma Categoria
</option>
@foreach($categorias as $value => $categoria)
<option
value=
"{{$value}}"
>
{{$categoria}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-2"
id=
"container_ensino_orientacao-numero_individuos"
>
<label
class=
"form-label"
for=
"ensino_orientacao-numero_individuos"
>
Nº Individuos
</label>
<input
class=
"form-control"
type=
"number"
name=
"numero_individuos"
id=
"ensino_orientacao-numero_individuos"
>
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
>
</div>
</div>
<div
class=
"mt-1 text-end"
>
<button
type=
"submit"
class=
"btn btn-success rounded"
>
Cadastrar
</button>
</div>
</form>
</div>
<div
class=
""
id=
""
>
@include('pad.components.templates.table', ['table_id' => 'ensino_orientacao-table'])
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/ensino/ensino_participacao.blade.php
0 → 100644
View file @
f6dcd4ce
<div
id=
"ensino_participacao"
class=
""
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Participação
</h3
class="h3"
>
</div>
<form
action=
"{{--route('')--}}"
method=
"post"
id=
"ensino_participacao-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
name=
"pad_id"
value=
{{1}}
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
disabled
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Nome do Curso
</label>
<input
class=
"form-control"
type=
"text"
name=
"curso"
id=
"curso"
>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"nivel"
>
Nível
</label>
<select
class=
"form-select"
name=
"nivel"
id=
"nivel"
>
<option
selected
value=
"0"
>
Selecione um Nível
</option>
@foreach($niveis as $value => $nivel)
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
>
</div>
</div>
<div
class=
"mt-1 text-end"
>
<button
type=
"submit"
class=
"btn btn-success rounded"
>
Cadastrar
</button>
</div>
</form>
</div>
<div
class=
""
id=
""
>
@include('pad.components.templates.table', ['table_id' => 'ensino_aulas-table'])
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/ensino/ensino_projeto.blade.php
0 → 100644
View file @
f6dcd4ce
<div
id=
"ensino_projeto"
class=
""
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Projetos
</h3
class="h3"
>
</div>
<form
action=
"{{--route('')--}}"
method=
"post"
id=
"ensino_projeto-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
name=
"pad_id"
value=
{{1}}
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
disabled
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"titulo_projeto"
>
Título do Projeto
</label>
<input
class=
"form-control"
type=
"text"
name=
"titulo_projeto"
id=
"titulo_projeto"
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Curso(s) que Desenvolve
</label>
<input
class=
"form-control"
type=
"text"
name=
"curso"
id=
"curso"
>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"natureza"
>
Natureza
</label>
<select
class=
"form-select"
name=
"natureza"
id=
"natureza"
>
<option
selected
value=
"0"
>
Selecione uma Natureza
</option>
@foreach($naturezas as $value => $natureza)
<option
value=
"{{$value}}"
>
{{$natureza}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"funcao"
>
Função
</label>
<select
class=
"form-select"
name=
"funcao"
id=
"funcao"
>
<option
selected
value=
"0"
>
Selecione uma Função
</option>
@foreach($funcoes_projeto as $value => $funcao)
<option
value=
"{{$value}}"
>
{{$funcao}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
>
</div>
</div>
<div
class=
"mt-1 text-end"
>
<button
type=
"submit"
class=
"btn btn-success rounded"
>
Cadastrar
</button>
</div>
</form>
</div>
<div
class=
""
id=
""
>
@include('pad.components.templates.table', ['table_id' => 'ensino_projeto-table'])
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/ensino/ensino_supervisao.blade.php
0 → 100644
View file @
f6dcd4ce
<div
id=
"ensino_supervisao"
class=
""
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Supervisão
</h3
class="h3"
>
</div>
<form
action=
"{{--route('')--}}"
method=
"post"
id=
"ensino_supervisao-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
name=
"pad_id"
value=
{{1}}
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
disabled
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"atividade"
>
Atividade
</label>
<input
class=
"form-control"
type=
"text"
name=
"atividade"
id=
"atividade"
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Curso
</label>
<input
class=
"form-control"
type=
"text"
name=
"curso"
id=
"curso"
>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"nivel"
>
Nível
</label>
<select
class=
"form-select"
name=
"nivel"
id=
"nivel"
>
<option
selected
value=
"0"
>
Selecione um Nível
</option>
@foreach($niveis as $value => $nivel)
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"ensino_supervisao-categoria"
>
Categoria
</label>
<select
class=
"form-select"
name=
"categoria"
id=
"ensino_supervisao-categoria"
>
<option
selected
value=
"0"
>
Selecione uma Categoria
</option>
@foreach($categorias as $value => $categoria)
<option
value=
"{{$value}}"
>
{{$categoria}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-2"
id=
"container_ensino_supervisao-numero_individuos"
>
<label
class=
"form-label"
for=
"ensino_supervisao-numero_individuos"
>
Nº Individuos
</label>
<input
class=
"form-control"
type=
"number"
name=
"numero_individuos"
id=
"ensino_supervisao-numero_individuos"
>
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
>
</div>
</div>
<div
class=
"mt-1 text-end"
>
<button
type=
"submit"
class=
"btn btn-success rounded"
>
Cadastrar
</button>
</div>
</form>
</div>
<div
class=
""
id=
""
>
@include('pad.components.templates.table', ['table_id' => 'ensino_supervisao-table'])
</div>
</div>
\ No newline at end of file
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