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
a037d173
Commit
a037d173
authored
Mar 23, 2022
by
Abraão Barbosa
Browse files
Merge branch 'update_dashboard'
parents
ba3f1d59
a98e4e5d
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
1000 of 1000+
files are displayed.
Plain diff
Email patch
app/Http/Controllers/DashboardController.php
View file @
a037d173
...
@@ -17,6 +17,11 @@ class DashboardController extends Controller
...
@@ -17,6 +17,11 @@ class DashboardController extends Controller
{
{
return
view
(
'dashboard'
,
[
'unidades'
=>
UnidadeQuery
::
all
(),
'unidade_index'
=>
1
]);
return
view
(
'dashboard'
,
[
'unidades'
=>
UnidadeQuery
::
all
(),
'unidade_index'
=>
1
]);
}
}
if
(
$user
->
isTypeTeacher
())
{
return
view
(
'dashboard'
);
}
}
}
}
}
app/Models/PAD.php
0 → 100644
View file @
a037d173
<?php
namespace
App\Models
;
use
Illuminate\Database\Eloquent\Factories\HasFactory
;
use
Illuminate\Database\Eloquent\Model
;
class
PAD
extends
Model
{
use
HasFactory
;
}
app/Models/RefPlanejamentoCh.php
0 → 100644
View file @
a037d173
<?php
namespace
App\Models
;
use
Illuminate\Database\Eloquent\Factories\HasFactory
;
use
Illuminate\Database\Eloquent\Model
;
class
RefPlanejamentoCh
extends
Model
{
use
HasFactory
;
}
database/migrations/2022_03_12_020002_update_user_table.php
View file @
a037d173
...
@@ -17,9 +17,6 @@ class UpdateUserTable extends Migration
...
@@ -17,9 +17,6 @@ class UpdateUserTable extends Migration
$table
->
integer
(
'type'
)
->
default
(
0
)
->
change
();
$table
->
integer
(
'type'
)
->
default
(
0
)
->
change
();
$table
->
string
(
'document'
)
->
default
(
""
)
->
change
();
$table
->
string
(
'document'
)
->
default
(
""
)
->
change
();
$table
->
integer
(
'status'
)
->
default
(
1
)
->
change
();
$table
->
integer
(
'status'
)
->
default
(
1
)
->
change
();
$table
->
string
(
'unidade'
)
->
default
(
""
)
->
change
();
$table
->
integer
(
'curso_id'
)
->
default
(
0
)
->
change
();
});
});
}
}
...
...
database/migrations/2022_03_20_233337_create_p_a_d_s_table.php
0 → 100644
View file @
a037d173
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreatePADSTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'p_a_d_s'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
timestamps
();
$table
->
integer
(
'ano'
);
$table
->
integer
(
'semestre'
);
$table
->
integer
(
'carga_horaria'
);
$table
->
string
(
'categoria'
,
20
);
$table
->
boolean
(
'afastamento_total'
)
->
default
(
false
);
$table
->
boolean
(
'afastamento_parcial'
)
->
default
(
false
);
$table
->
boolean
(
'exerce_funcao_admin'
)
->
default
(
false
);
$table
->
boolean
(
'exerce_funcao_sindical'
)
->
default
(
false
);
$table
->
string
(
'licenca_de_acor_legais'
,
50
)
->
default
(
null
);
$table
->
string
(
'outras_observacoes'
,
200
)
->
nullable
(
true
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'p_a_d_s'
);
}
}
database/migrations/2022_03_20_233345_create_ref_planejamento_ches_table.php
0 → 100644
View file @
a037d173
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateRefPlanejamentoChesTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'ref_planejamento_ches'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
timestamps
();
$table
->
string
(
"descricao_atividade"
,
50
);
$table
->
float
(
"ch_semanal"
,
5
,
2
);
$table
->
float
(
"ch_maxima"
,
5
,
2
);
$table
->
foreignId
(
'p_a_d_s_id'
)
->
constrained
()
->
onUpdate
(
'cascade'
)
->
onDelete
(
'cascade'
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'ref_planejamento_ches'
);
}
}
public/bootstrap-icons-1.8.1/123.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-123"
viewBox=
"0 0 16 16"
>
<path
d=
"M2.873 11.297V4.142H1.699L0 5.379v1.137l1.64-1.18h.06v5.961h1.174Zm3.213-5.09v-.063c0-.618.44-1.169 1.196-1.169.676 0 1.174.44 1.174 1.106 0 .624-.42 1.101-.807 1.526L4.99 10.553v.744h4.78v-.99H6.643v-.069L8.41 8.252c.65-.724 1.237-1.332 1.237-2.27C9.646 4.849 8.723 4 7.308 4c-1.573 0-2.36 1.064-2.36 2.15v.057h1.138Zm6.559 1.883h.786c.823 0 1.374.481 1.379 1.179.01.707-.55 1.216-1.421 1.21-.77-.005-1.326-.419-1.379-.953h-1.095c.042 1.053.938 1.918 2.464 1.918 1.478 0 2.642-.839 2.62-2.144-.02-1.143-.922-1.651-1.551-1.714v-.063c.535-.09 1.347-.66 1.326-1.678-.026-1.053-.933-1.855-2.359-1.845-1.5.005-2.317.88-2.348 1.898h1.116c.032-.498.498-.944 1.206-.944.703 0 1.206.435 1.206 1.07.005.64-.504 1.106-1.2 1.106h-.75v.96Z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/activity.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-activity"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M6 2a.5.5 0 0 1 .47.33L10 12.036l1.53-4.208A.5.5 0 0 1 12 7.5h3.5a.5.5 0 0 1 0 1h-3.15l-1.88 5.17a.5.5 0 0 1-.94 0L6 3.964 4.47 8.171A.5.5 0 0 1 4 8.5H.5a.5.5 0 0 1 0-1h3.15l1.88-5.17A.5.5 0 0 1 6 2Z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/alarm-fill.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-alarm-fill"
viewBox=
"0 0 16 16"
>
<path
d=
"M6 .5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1H9v1.07a7.001 7.001 0 0 1 3.274 12.474l.601.602a.5.5 0 0 1-.707.708l-.746-.746A6.97 6.97 0 0 1 8 16a6.97 6.97 0 0 1-3.422-.892l-.746.746a.5.5 0 0 1-.707-.708l.602-.602A7.001 7.001 0 0 1 7 2.07V1h-.5A.5.5 0 0 1 6 .5zm2.5 5a.5.5 0 0 0-1 0v3.362l-1.429 2.38a.5.5 0 1 0 .858.515l1.5-2.5A.5.5 0 0 0 8.5 9V5.5zM.86 5.387A2.5 2.5 0 1 1 4.387 1.86 8.035 8.035 0 0 0 .86 5.387zM11.613 1.86a2.5 2.5 0 1 1 3.527 3.527 8.035 8.035 0 0 0-3.527-3.527z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/alarm.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-alarm"
viewBox=
"0 0 16 16"
>
<path
d=
"M8.5 5.5a.5.5 0 0 0-1 0v3.362l-1.429 2.38a.5.5 0 1 0 .858.515l1.5-2.5A.5.5 0 0 0 8.5 9V5.5z"
/>
<path
d=
"M6.5 0a.5.5 0 0 0 0 1H7v1.07a7.001 7.001 0 0 0-3.273 12.474l-.602.602a.5.5 0 0 0 .707.708l.746-.746A6.97 6.97 0 0 0 8 16a6.97 6.97 0 0 0 3.422-.892l.746.746a.5.5 0 0 0 .707-.708l-.601-.602A7.001 7.001 0 0 0 9 2.07V1h.5a.5.5 0 0 0 0-1h-3zm1.038 3.018a6.093 6.093 0 0 1 .924 0 6 6 0 1 1-.924 0zM0 3.5c0 .753.333 1.429.86 1.887A8.035 8.035 0 0 1 4.387 1.86 2.5 2.5 0 0 0 0 3.5zM13.5 1c-.753 0-1.429.333-1.887.86a8.035 8.035 0 0 1 3.527 3.527A2.5 2.5 0 0 0 13.5 1z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/align-bottom.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-align-bottom"
viewBox=
"0 0 16 16"
>
<rect
width=
"4"
height=
"12"
x=
"6"
y=
"1"
rx=
"1"
/>
<path
d=
"M1.5 14a.5.5 0 0 0 0 1v-1zm13 1a.5.5 0 0 0 0-1v1zm-13 0h13v-1h-13v1z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/align-center.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-align-center"
viewBox=
"0 0 16 16"
>
<path
d=
"M8 1a.5.5 0 0 1 .5.5V6h-1V1.5A.5.5 0 0 1 8 1zm0 14a.5.5 0 0 1-.5-.5V10h1v4.5a.5.5 0 0 1-.5.5zM2 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/align-end.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-align-end"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M14.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5z"
/>
<path
d=
"M13 7a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/align-middle.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-align-middle"
viewBox=
"0 0 16 16"
>
<path
d=
"M6 13a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10zM1 8a.5.5 0 0 0 .5.5H6v-1H1.5A.5.5 0 0 0 1 8zm14 0a.5.5 0 0 1-.5.5H10v-1h4.5a.5.5 0 0 1 .5.5z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/align-start.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-align-start"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M1.5 1a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-1 0v-13a.5.5 0 0 1 .5-.5z"
/>
<path
d=
"M3 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/align-top.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-align-top"
viewBox=
"0 0 16 16"
>
<rect
width=
"4"
height=
"12"
rx=
"1"
transform=
"matrix(1 0 0 -1 6 15)"
/>
<path
d=
"M1.5 2a.5.5 0 0 1 0-1v1zm13-1a.5.5 0 0 1 0 1V1zm-13 0h13v1h-13V1z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/alt.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-alt"
viewBox=
"0 0 16 16"
>
<path
d=
"M1 13.5a.5.5 0 0 0 .5.5h3.797a.5.5 0 0 0 .439-.26L11 3h3.5a.5.5 0 0 0 0-1h-3.797a.5.5 0 0 0-.439.26L5 13H1.5a.5.5 0 0 0-.5.5zm10 0a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.5.5z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/app-indicator.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-app-indicator"
viewBox=
"0 0 16 16"
>
<path
d=
"M5.5 2A3.5 3.5 0 0 0 2 5.5v5A3.5 3.5 0 0 0 5.5 14h5a3.5 3.5 0 0 0 3.5-3.5V8a.5.5 0 0 1 1 0v2.5a4.5 4.5 0 0 1-4.5 4.5h-5A4.5 4.5 0 0 1 1 10.5v-5A4.5 4.5 0 0 1 5.5 1H8a.5.5 0 0 1 0 1H5.5z"
/>
<path
d=
"M16 3a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/app.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-app"
viewBox=
"0 0 16 16"
>
<path
d=
"M11 2a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h6zM5 1a4 4 0 0 0-4 4v6a4 4 0 0 0 4 4h6a4 4 0 0 0 4-4V5a4 4 0 0 0-4-4H5z"
/>
</svg>
\ No newline at end of file
public/bootstrap-icons-1.8.1/apple.svg
0 → 100644
View file @
a037d173
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-apple"
viewBox=
"0 0 16 16"
>
<path
d=
"M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282z"
/>
<path
d=
"M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282z"
/>
</svg>
\ No newline at end of file
Prev
1
2
3
4
5
…
50
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