Commit db05d14c authored by alissonalbuquerque's avatar alissonalbuquerque
Browse files

mergin

parents 0e5ea578 07d2782b
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterExtensaoOrientacaoAddCodDimensaoTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('extensao_orientacao', function(Blueprint $table) {
$table->string('cod_dimensao')->after('funcao');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('extensao_orientacao', function (Blueprint $table) {
$table->dropColumn('cod_dimensao');
});
}
}
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterChColumnExtensaoOrientacaoTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('extensao_orientacao', function(Blueprint $table) {
$table->decimal('ch_semanal', 4, 2)->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('extensao_orientacao', function(Blueprint $table) {
$table->integer('ch_semanal')->change();
});
}
}
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterUserTypeAddDeletedTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('user_type', function (Blueprint $table) {
$table->softDeletes()->after('updated_at');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('user_type', function (Blueprint $table) {
$table->dropColumn('deleted_at');
});
}
}
...@@ -16,15 +16,15 @@ class DatabaseSeeder extends Seeder ...@@ -16,15 +16,15 @@ class DatabaseSeeder extends Seeder
// \App\Models\User::factory(10)->create(); // \App\Models\User::factory(10)->create();
$this->call([ $this->call([
UnidadeSeeder::class, // UnidadeSeeder::class,
CampusSeeder::class, // CampusSeeder::class,
CursoSeeder::class, // CursoSeeder::class,
UserSeeder::class, // UserSeeder::class,
PlanejamentoSeeder::class, // PlanejamentoSeeder::class,
PadSeeder::class, // PadSeeder::class,
DisciplinaSeeder::class, // DisciplinaSeeder::class,
EvaluatorSeeder::class, // EvaluatorSeeder::class,
UserTypeSeeder::class // UserTypeSeeder::class
]); ]);
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
namespace Database\Seeders; namespace Database\Seeders;
use App\Models\PAD; use App\Models\Pad;
use App\Models\User; use App\Models\User;
use App\Models\Util\Status; use App\Models\Util\Status;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;
...@@ -15,21 +15,6 @@ class PadSeeder extends Seeder ...@@ -15,21 +15,6 @@ class PadSeeder extends Seeder
* @return void * @return void
*/ */
public function run() public function run()
{ {
PAD::create([
'id' => 1,
'nome' => "2022.1",
'data_inicio' => "2022-02-01",
'data_fim' => "2022-06-01",
'status' => Status::ATIVO,
]);
PAD::create([
'id' => 2,
'nome' => "2022.2",
'data_inicio' => "2022-07-01",
'data_fim' => "2022-12-01",
'status' => Status::ATIVO,
]);
} }
} }
...@@ -44,9 +44,24 @@ class PlanejamentoSeeder extends Seeder ...@@ -44,9 +44,24 @@ class PlanejamentoSeeder extends Seeder
]; ];
$list_extensao = [ $list_extensao = [
['cod_dimensao' => 'X-1', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Coordenação e/ou participação em atividades de Extensão homologadas na PROEC', 'ch_semanal' => null, 'ch_maxima' => 12], // ['cod_dimensao' => 'X-1', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Coordenação e/ou participação em atividades de Extensão homologadas na PROEC', 'ch_semanal' => null, 'ch_maxima' => 12],
['cod_dimensao' => 'X-2', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Orientação ou acompanhamento de estudantes em atividades de extensão homologados na PROEC', 'ch_semanal' => 2, 'ch_maxima' => 6], // ['cod_dimensao' => 'X-2', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Orientação ou acompanhamento de estudantes em atividades de extensão homologados na PROEC', 'ch_semanal' => 2, 'ch_maxima' => 6],
['cod_dimensao' => 'X-3', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Atividades fora dos padrões de preenchimento apresentados anteriormente', 'ch_semanal' => null, 'ch_maxima' => null], // ['cod_dimensao' => 'X-3', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Atividades fora dos padrões de preenchimento apresentados anteriormente', 'ch_semanal' => null, 'ch_maxima' => null],
['cod_dimensao' => 'X-4', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Programa: 01h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 1, 'ch_maxima' => 10],
['cod_dimensao' => 'X-5', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Projeto: 01h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 1, 'ch_maxima' => 6],
['cod_dimensao' => 'X-6', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Curso: 01h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 1, 'ch_maxima' => 3],
['cod_dimensao' => 'X-7', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Oficina: 01h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 1, 'ch_maxima' => 3],
['cod_dimensao' => 'X-8', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Evento: 01h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 1, 'ch_maxima' => 3],
['cod_dimensao' => 'X-9', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Prestação de Serviço: 01h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 1, 'ch_maxima' => 4],
['cod_dimensao' => 'X-10', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Programa: ½ h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 0.5, 'ch_maxima' => 5],
['cod_dimensao' => 'X-11', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Projeto: ½ h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 0.5, 'ch_maxima' => 3],
['cod_dimensao' => 'X-12', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Curso: ½ h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 0.5, 'ch_maxima' => 1.5],
['cod_dimensao' => 'X-13', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Oficina: ½ h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 0.5, 'ch_maxima' => 1.5],
['cod_dimensao' => 'X-14', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Evento: ½ h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 0.5, 'ch_maxima' => 1.5],
['cod_dimensao' => 'X-15', 'dimensao' => Planejamento::EXTENSAO, 'descricao' => 'Prestação de Serviço: ½ h para o mínimo de 2 estudantes participantes da atividade', 'ch_semanal' => 0.5, 'ch_maxima' => 2],
]; ];
$list_gestao = [ $list_gestao = [
...@@ -59,21 +74,21 @@ class PlanejamentoSeeder extends Seeder ...@@ -59,21 +74,21 @@ class PlanejamentoSeeder extends Seeder
['cod_dimensao' => 'G-7', 'dimensao' => Planejamento::GESTAO, 'descricao' => 'Atividades fora dos padrões de preenchimento apresentados anteriormente', 'ch_semanal' => null, 'ch_maxima' => null], ['cod_dimensao' => 'G-7', 'dimensao' => Planejamento::GESTAO, 'descricao' => 'Atividades fora dos padrões de preenchimento apresentados anteriormente', 'ch_semanal' => null, 'ch_maxima' => null],
]; ];
foreach($list_ensino as $ensino) { // foreach($list_ensino as $ensino) {
Planejamento::create($ensino); // Planejamento::create($ensino);
} // }
foreach($list_pesquisa as $pesquisa) { // foreach($list_pesquisa as $pesquisa) {
Planejamento::create($pesquisa); // Planejamento::create($pesquisa);
} // }
foreach($list_extensao as $extensao) { foreach($list_extensao as $extensao) {
Planejamento::create($extensao); Planejamento::create($extensao);
} }
foreach($list_gestao as $gestao) { // foreach($list_gestao as $gestao) {
Planejamento::create($gestao); // Planejamento::create($gestao);
} // }
} }
} }
...@@ -28,7 +28,6 @@ class UserSeeder extends Seeder ...@@ -28,7 +28,6 @@ class UserSeeder extends Seeder
'email' => "professor{$id}@upe.br", 'email' => "professor{$id}@upe.br",
'email_verified_at' => null, 'email_verified_at' => null,
'password' => Hash::make('@professor'), 'password' => Hash::make('@professor'),
'document' => "00000000{$id}",
'status' => Status::ATIVO, 'status' => Status::ATIVO,
'campus_id' => 3, 'campus_id' => 3,
'curso_id' => 1, 'curso_id' => 1,
...@@ -41,7 +40,6 @@ class UserSeeder extends Seeder ...@@ -41,7 +40,6 @@ class UserSeeder extends Seeder
'email' => "admin@upe.br", 'email' => "admin@upe.br",
'email_verified_at' => null, 'email_verified_at' => null,
'password' => Hash::make('@admin'), 'password' => Hash::make('@admin'),
'document' => "100000000",
'status' => Status::ATIVO, 'status' => Status::ATIVO,
'campus_id' => NULL, 'campus_id' => NULL,
'curso_id' => NULL, 'curso_id' => NULL,
...@@ -53,7 +51,6 @@ class UserSeeder extends Seeder ...@@ -53,7 +51,6 @@ class UserSeeder extends Seeder
'email' => "director@upe.br", 'email' => "director@upe.br",
'email_verified_at' => null, 'email_verified_at' => null,
'password' => Hash::make('@director'), 'password' => Hash::make('@director'),
'document' => "100000000",
'status' => Status::ATIVO, 'status' => Status::ATIVO,
'campus_id' => 1, 'campus_id' => 1,
'curso_id' => 1, 'curso_id' => 1,
...@@ -65,7 +62,6 @@ class UserSeeder extends Seeder ...@@ -65,7 +62,6 @@ class UserSeeder extends Seeder
'email' => "coordinator@upe.br", 'email' => "coordinator@upe.br",
'email_verified_at' => null, 'email_verified_at' => null,
'password' => Hash::make('@coordinator'), 'password' => Hash::make('@coordinator'),
'document' => "100000000",
'status' => Status::ATIVO, 'status' => Status::ATIVO,
'campus_id' => 1, 'campus_id' => 1,
'curso_id' => 1, 'curso_id' => 1,
......
/*
! tailwindcss v3.0.16 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
box-sizing: border-box; /* 1 */
border-width: 0; /* 2 */
border-style: solid; /* 2 */
border-color: #e5e7eb; /* 2 */
}
::before,
::after {
--tw-content: '';
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
*/
html {
line-height: 1.5; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
-moz-tab-size: 4; /* 3 */
-o-tab-size: 4;
tab-size: 4; /* 3 */
font-family: Nunito, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
margin: 0; /* 1 */
line-height: inherit; /* 2 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
height: 0; /* 1 */
color: inherit; /* 2 */
border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
color: inherit;
text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
font-weight: bolder;
}
/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
font-size: 1em; /* 2 */
}
/*
Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
text-indent: 0; /* 1 */
border-color: inherit; /* 2 */
border-collapse: collapse; /* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: inherit; /* 1 */
color: inherit; /* 1 */
margin: 0; /* 2 */
padding: 0; /* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
[type='button'],
[type='reset'],
[type='submit'] {
-webkit-appearance: button; /* 1 */
background-color: transparent; /* 2 */
background-image: none; /* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
-webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
margin: 0;
}
fieldset {
margin: 0;
padding: 0;
}
legend {
padding: 0;
}
ol,
ul,
menu {
list-style: none;
margin: 0;
padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::-moz-placeholder, textarea::-moz-placeholder {
opacity: 1; /* 1 */
color: #9ca3af; /* 2 */
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
opacity: 1; /* 1 */
color: #9ca3af; /* 2 */
}
input::placeholder,
textarea::placeholder {
opacity: 1; /* 1 */
color: #9ca3af; /* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
display: block; /* 1 */
vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
max-width: 100%;
height: auto;
}
/*
Ensure the default browser behavior of the `hidden` attribute.
*/
[hidden] {
display: none;
}
[type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: #fff;
border-color: #6b7280;
border-width: 1px;
border-radius: 0px;
padding-top: 0.5rem;
padding-right: 0.75rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
font-size: 1rem;
line-height: 1.5rem;
--tw-shadow: 0 0 #0000;
}
[type='text']:focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
outline: 2px solid transparent;
outline-offset: 2px;
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: #2563eb;
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
border-color: #2563eb;
}
input::-moz-placeholder, textarea::-moz-placeholder {
color: #6b7280;
opacity: 1;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
color: #6b7280;
opacity: 1;
}
input::placeholder,textarea::placeholder {
color: #6b7280;
opacity: 1;
}
::-webkit-datetime-edit-fields-wrapper {
padding: 0;
}
::-webkit-date-and-time-value {
min-height: 1.5em;
}
select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
padding-right: 2.5rem;
-webkit-print-color-adjust: exact;
color-adjust: exact;
}
[multiple] {
background-image: initial;
background-position: initial;
background-repeat: unset;
background-size: initial;
padding-right: 0.75rem;
-webkit-print-color-adjust: unset;
color-adjust: unset;
}
[type='checkbox'],[type='radio'] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding: 0;
-webkit-print-color-adjust: exact;
color-adjust: exact;
display: inline-block;
vertical-align: middle;
background-origin: border-box;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
flex-shrink: 0;
height: 1rem;
width: 1rem;
color: #2563eb;
background-color: #fff;
border-color: #6b7280;
border-width: 1px;
--tw-shadow: 0 0 #0000;
}
[type='checkbox'] {
border-radius: 0px;
}
[type='radio'] {
border-radius: 100%;
}
[type='checkbox']:focus,[type='radio']:focus {
outline: 2px solid transparent;
outline-offset: 2px;
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
--tw-ring-offset-width: 2px;
--tw-ring-offset-color: #fff;
--tw-ring-color: #2563eb;
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
[type='checkbox']:checked,[type='radio']:checked {
border-color: transparent;
background-color: currentColor;
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}
[type='checkbox']:checked {
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}
[type='radio']:checked {
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}
[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
border-color: transparent;
background-color: currentColor;
}
[type='checkbox']:indeterminate {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
border-color: transparent;
background-color: currentColor;
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}
[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
border-color: transparent;
background-color: currentColor;
}
[type='file'] {
background: unset;
border-color: inherit;
border-width: 0;
border-radius: 0;
padding: 0;
font-size: unset;
line-height: inherit;
}
[type='file']:focus {
outline: 1px auto -webkit-focus-ring-color;
}
*, ::before, ::after {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
--tw-scroll-snap-strictness: proximity;
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgb(59 130 246 / 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
}
.container {
width: 100%;
}
@media (min-width: 640px) {
.container {
max-width: 640px;
}
}
@media (min-width: 768px) {
.container {
max-width: 768px;
}
}
@media (min-width: 1024px) {
.container {
max-width: 1024px;
}
}
@media (min-width: 1280px) {
.container {
max-width: 1280px;
}
}
@media (min-width: 1536px) {
.container {
max-width: 1536px;
}
}
.fixed {
position: fixed;
}
.absolute {
position: absolute;
}
.relative {
position: relative;
}
.top-0 {
top: 0px;
}
.right-0 {
right: 0px;
}
.left-0 {
left: 0px;
}
.z-0 {
z-index: 0;
}
.z-50 {
z-index: 50;
}
.mx-auto {
margin-left: auto;
margin-right: auto;
}
.mx-2 {
margin-left: 0.5rem;
margin-right: 0.5rem;
}
.my-3 {
margin-top: 0.75rem;
margin-bottom: 0.75rem;
}
.my-2 {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.ml-3 {
margin-left: 0.75rem;
}
.-ml-px {
margin-left: -1px;
}
.ml-1 {
margin-left: 0.25rem;
}
.mt-2 {
margin-top: 0.5rem;
}
.mr-2 {
margin-right: 0.5rem;
}
.ml-2 {
margin-left: 0.5rem;
}
.mt-4 {
margin-top: 1rem;
}
.ml-4 {
margin-left: 1rem;
}
.mt-8 {
margin-top: 2rem;
}
.ml-12 {
margin-left: 3rem;
}
.-mt-px {
margin-top: -1px;
}
.mb-3 {
margin-bottom: 0.75rem;
}
.mt-1 {
margin-top: 0.25rem;
}
.mb-2 {
margin-bottom: 0.5rem;
}
.mt-3 {
margin-top: 0.75rem;
}
.mt-5 {
margin-top: 1.25rem;
}
.mr-3 {
margin-right: 0.75rem;
}
.mb-4 {
margin-bottom: 1rem;
}
.mb-0 {
margin-bottom: 0px;
}
.mb-5 {
margin-bottom: 1.25rem;
}
.mt-6 {
margin-top: 1.5rem;
}
.block {
display: block;
}
.flex {
display: flex;
}
.inline-flex {
display: inline-flex;
}
.table {
display: table;
}
.grid {
display: grid;
}
.hidden {
display: none;
}
.h-5 {
height: 1.25rem;
}
.h-8 {
height: 2rem;
}
.h-16 {
height: 4rem;
}
.h-20 {
height: 5rem;
}
.min-h-screen {
min-height: 100vh;
}
.w-5 {
width: 1.25rem;
}
.w-8 {
width: 2rem;
}
.w-auto {
width: auto;
}
.w-20 {
width: 5rem;
}
.w-full {
width: 100%;
}
.w-48 {
width: 12rem;
}
.max-w-xl {
max-width: 36rem;
}
.max-w-6xl {
max-width: 72rem;
}
.flex-1 {
flex: 1 1 0%;
}
.origin-top-left {
transform-origin: top left;
}
.origin-top {
transform-origin: top;
}
.origin-top-right {
transform-origin: top right;
}
.scale-95 {
--tw-scale-x: .95;
--tw-scale-y: .95;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.scale-100 {
--tw-scale-x: 1;
--tw-scale-y: 1;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cursor-default {
cursor: default;
}
.list-inside {
list-style-position: inside;
}
.list-disc {
list-style-type: disc;
}
.grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.flex-col {
flex-direction: column;
}
.flex-wrap {
flex-wrap: wrap;
}
.items-center {
align-items: center;
}
.justify-end {
justify-content: flex-end;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.overflow-hidden {
overflow: hidden;
}
.rounded-md {
border-radius: 0.375rem;
}
.rounded {
border-radius: 0.25rem;
}
.rounded-l-md {
border-top-left-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
}
.rounded-r-md {
border-top-right-radius: 0.375rem;
border-bottom-right-radius: 0.375rem;
}
.border {
border-width: 1px;
}
.border-t {
border-top-width: 1px;
}
.border-r {
border-right-width: 1px;
}
.border-l-4 {
border-left-width: 4px;
}
.border-b-2 {
border-bottom-width: 2px;
}
.border-gray-300 {
--tw-border-opacity: 1;
border-color: rgb(209 213 219 / var(--tw-border-opacity));
}
.border-gray-200 {
--tw-border-opacity: 1;
border-color: rgb(229 231 235 / var(--tw-border-opacity));
}
.border-gray-400 {
--tw-border-opacity: 1;
border-color: rgb(156 163 175 / var(--tw-border-opacity));
}
.border-indigo-400 {
--tw-border-opacity: 1;
border-color: rgb(129 140 248 / var(--tw-border-opacity));
}
.border-transparent {
border-color: transparent;
}
.bg-white {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-gray-100 {
--tw-bg-opacity: 1;
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}
.bg-indigo-50 {
--tw-bg-opacity: 1;
background-color: rgb(238 242 255 / var(--tw-bg-opacity));
}
.bg-gray-800 {
--tw-bg-opacity: 1;
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}
.fill-current {
fill: currentColor;
}
.p-6 {
padding: 1.5rem;
}
.p-0 {
padding: 0px;
}
.p-3 {
padding: 0.75rem;
}
.p-4 {
padding: 1rem;
}
.p-2 {
padding: 0.5rem;
}
.px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.py-4 {
padding-top: 1rem;
padding-bottom: 1rem;
}
.px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.px-3 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
.py-1 {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.px-1 {
padding-left: 0.25rem;
padding-right: 0.25rem;
}
.pt-8 {
padding-top: 2rem;
}
.pt-3 {
padding-top: 0.75rem;
}
.pl-3 {
padding-left: 0.75rem;
}
.pr-4 {
padding-right: 1rem;
}
.pt-4 {
padding-top: 1rem;
}
.pb-4 {
padding-bottom: 1rem;
}
.pb-2 {
padding-bottom: 0.5rem;
}
.pt-6 {
padding-top: 1.5rem;
}
.pt-1 {
padding-top: 0.25rem;
}
.pt-5 {
padding-top: 1.25rem;
}
.text-left {
text-align: left;
}
.text-center {
text-align: center;
}
.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
}
.text-lg {
font-size: 1.125rem;
line-height: 1.75rem;
}
.text-base {
font-size: 1rem;
line-height: 1.5rem;
}
.text-xs {
font-size: 0.75rem;
line-height: 1rem;
}
.font-medium {
font-weight: 500;
}
.font-semibold {
font-weight: 600;
}
.uppercase {
text-transform: uppercase;
}
.leading-5 {
line-height: 1.25rem;
}
.leading-7 {
line-height: 1.75rem;
}
.tracking-wider {
letter-spacing: 0.05em;
}
.tracking-widest {
letter-spacing: 0.1em;
}
.text-gray-500 {
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity));
}
.text-gray-700 {
--tw-text-opacity: 1;
color: rgb(55 65 81 / var(--tw-text-opacity));
}
.text-gray-200 {
--tw-text-opacity: 1;
color: rgb(229 231 235 / var(--tw-text-opacity));
}
.text-gray-300 {
--tw-text-opacity: 1;
color: rgb(209 213 219 / var(--tw-text-opacity));
}
.text-gray-400 {
--tw-text-opacity: 1;
color: rgb(156 163 175 / var(--tw-text-opacity));
}
.text-gray-600 {
--tw-text-opacity: 1;
color: rgb(75 85 99 / var(--tw-text-opacity));
}
.text-gray-900 {
--tw-text-opacity: 1;
color: rgb(17 24 39 / var(--tw-text-opacity));
}
.text-gray-800 {
--tw-text-opacity: 1;
color: rgb(31 41 55 / var(--tw-text-opacity));
}
.text-indigo-700 {
--tw-text-opacity: 1;
color: rgb(67 56 202 / var(--tw-text-opacity));
}
.text-green-600 {
--tw-text-opacity: 1;
color: rgb(22 163 74 / var(--tw-text-opacity));
}
.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.underline {
-webkit-text-decoration-line: underline;
text-decoration-line: underline;
}
.antialiased {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.opacity-0 {
opacity: 0;
}
.opacity-100 {
opacity: 1;
}
.shadow-sm {
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow {
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-md {
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.ring-1 {
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-gray-300 {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
}
.ring-black {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity));
}
.ring-opacity-5 {
--tw-ring-opacity: 0.05;
}
.filter {
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.duration-150 {
transition-duration: 150ms;
}
.duration-200 {
transition-duration: 200ms;
}
.duration-75 {
transition-duration: 75ms;
}
.ease-in-out {
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-out {
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.ease-in {
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.hover\:border-gray-300:hover {
--tw-border-opacity: 1;
border-color: rgb(209 213 219 / var(--tw-border-opacity));
}
.hover\:bg-gray-700:hover {
--tw-bg-opacity: 1;
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
}
.hover\:bg-gray-100:hover {
--tw-bg-opacity: 1;
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}
.hover\:text-gray-500:hover {
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity));
}
.hover\:text-gray-400:hover {
--tw-text-opacity: 1;
color: rgb(156 163 175 / var(--tw-text-opacity));
}
.hover\:text-gray-900:hover {
--tw-text-opacity: 1;
color: rgb(17 24 39 / var(--tw-text-opacity));
}
.hover\:text-gray-700:hover {
--tw-text-opacity: 1;
color: rgb(55 65 81 / var(--tw-text-opacity));
}
.focus\:z-10:focus {
z-index: 10;
}
.focus\:border-blue-300:focus {
--tw-border-opacity: 1;
border-color: rgb(147 197 253 / var(--tw-border-opacity));
}
.focus\:border-indigo-700:focus {
--tw-border-opacity: 1;
border-color: rgb(67 56 202 / var(--tw-border-opacity));
}
.focus\:border-gray-900:focus {
--tw-border-opacity: 1;
border-color: rgb(17 24 39 / var(--tw-border-opacity));
}
.focus\:border-indigo-300:focus {
--tw-border-opacity: 1;
border-color: rgb(165 180 252 / var(--tw-border-opacity));
}
.focus\:border-gray-300:focus {
--tw-border-opacity: 1;
border-color: rgb(209 213 219 / var(--tw-border-opacity));
}
.focus\:bg-indigo-100:focus {
--tw-bg-opacity: 1;
background-color: rgb(224 231 255 / var(--tw-bg-opacity));
}
.focus\:bg-gray-100:focus {
--tw-bg-opacity: 1;
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}
.focus\:text-indigo-800:focus {
--tw-text-opacity: 1;
color: rgb(55 48 163 / var(--tw-text-opacity));
}
.focus\:text-gray-700:focus {
--tw-text-opacity: 1;
color: rgb(55 65 81 / var(--tw-text-opacity));
}
.focus\:outline-none:focus {
outline: 2px solid transparent;
outline-offset: 2px;
}
.focus\:ring:focus {
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-indigo-200:focus {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(199 210 254 / var(--tw-ring-opacity));
}
.focus\:ring-opacity-50:focus {
--tw-ring-opacity: 0.5;
}
.active\:bg-gray-100:active {
--tw-bg-opacity: 1;
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}
.active\:bg-gray-900:active {
--tw-bg-opacity: 1;
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}
.active\:text-gray-700:active {
--tw-text-opacity: 1;
color: rgb(55 65 81 / var(--tw-text-opacity));
}
.active\:text-gray-500:active {
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity));
}
.disabled\:opacity-25:disabled {
opacity: 0.25;
}
@media (prefers-color-scheme: dark) {
.dark\:border-gray-700 {
--tw-border-opacity: 1;
border-color: rgb(55 65 81 / var(--tw-border-opacity));
}
.dark\:bg-gray-900 {
--tw-bg-opacity: 1;
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}
.dark\:bg-gray-800 {
--tw-bg-opacity: 1;
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}
.dark\:text-gray-500 {
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity));
}
.dark\:text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.dark\:text-gray-400 {
--tw-text-opacity: 1;
color: rgb(156 163 175 / var(--tw-text-opacity));
}
}
@media (min-width: 640px) {
.sm\:ml-0 {
margin-left: 0px;
}
.sm\:block {
display: block;
}
.sm\:flex {
display: flex;
}
.sm\:hidden {
display: none;
}
.sm\:h-20 {
height: 5rem;
}
.sm\:max-w-md {
max-width: 28rem;
}
.sm\:flex-1 {
flex: 1 1 0%;
}
.sm\:items-center {
align-items: center;
}
.sm\:justify-start {
justify-content: flex-start;
}
.sm\:justify-center {
justify-content: center;
}
.sm\:justify-between {
justify-content: space-between;
}
.sm\:rounded-lg {
border-radius: 0.5rem;
}
.sm\:px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.sm\:pt-0 {
padding-top: 0px;
}
.sm\:text-left {
text-align: left;
}
.sm\:text-right {
text-align: right;
}
}
@media (min-width: 768px) {
.md\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.md\:border-t-0 {
border-top-width: 0px;
}
.md\:border-l {
border-left-width: 1px;
}
}
@media (min-width: 1024px) {
.lg\:px-8 {
padding-left: 2rem;
padding-right: 2rem;
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -15,52 +15,44 @@ ...@@ -15,52 +15,44 @@
<x-auth-validation-errors class="alert alert-danger mb-2" :errors="$errors" /> <x-auth-validation-errors class="alert alert-danger mb-2" :errors="$errors" />
<form action="{{ route('login') }}" method="POST" class="signin-form d-md-flex"> <form action="{{ route('login') }}" method="POST" class="signin-form d-md-flex">
@csrf @csrf
<!-- Informações --> <!-- Informações -->
<div class="half p-4 py-md-5 bg-primary"> <div class="half p-4 py-md-5 bg-primary">
<div class="w-100"> <div class="w-100">
<h4 class="mb-4">Informações</h4> <h4 class="mb-4"> Informações </h4>
</div> </div>
<p class="w-100 text-center">&mdash; Atenção &mdash;</p> <p class="w-100 text-center"> Bem-Vindo(a) ao PAD </p>
<p class="w-100 text-center">O primeiro acesso deve ser realizado utilizando seu e-mail <!-- <p class="w-100 text-center text-danger"> Serviço em ajuste. Em breve, será novamente liberado </p> -->
e CPF, nos campos de login e senha respectivamente</p> <p class="w-100 text-center"> O primeiro acesso deve ser realizado utilizando o seu e-mail institucional como login e parte local do email como senha. </p>
<p class="w-100 font-weight-bold"> Exemplo: </p>
<p class="w-100 font-weight-bold"> <span class="bold"> Login: </span> usuario.email@upe.br </p>
<p class="w-100 font-weight-bold"> <span class="bold"> Senha: </span> usuario.email </p>
<!-- <p class="w-100 text-center">O primeiro acesso deve ser realizado utilizando seu e-mail
e CPF, nos campos de login e senha respectivamente</p> -->
</div> </div>
<!-- Login --> <!-- Login -->
<div class="half p-4 py-md-5"> <div class="half p-4 py-md-5">
<div class="w-100"> <div class="w-100">
<h4 class="mb-4">Acesso PAD</h4> <h4 class="mb-4"> Login </h4>
</div> </div>
<div class="form-group mt-3"> <div class="form-group mt-3">
<label class="label" for="name">Endereço de email</label> <label class="label" for="name"> E-mail </label>
<input type="email" name="email" class="form-control" placeholder="ex: nome@upe.br" :value="old('email')" required <input type="email" name="email" class="form-control" placeholder="email@upe.br" :value="old('email')" required
autofocus /> autofocus />
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="label" for="password">Senha</label> <label class="label" for="password"> Senha </label>
<input id="password-field" type="password" name="password" class="form-control" <input id="password-field" type="password" name="password" class="form-control"
:value="__('Password')" placeholder="Senha" required /> :value="__('Password')" placeholder="senha" required />
<span toggle="#password-field" <span toggle="#password-field"
class="fa fa-fw fa-eye field-icon toggle-password"></span> class="fa fa-fw fa-eye field-icon toggle-password"></span>
</div> </div>
<div class="form-group"> <div class="form-group">
<button type="submit" class="form-control btn btn-secondary rounded submit px-3">Entrar</button> <button type="submit" class="form-control btn btn-secondary rounded submit px-3">Entrar</button>
</div> </div>
<div class="form-group d-md-flex">
<div class="w-50 text-left">
<label class="checkbox-wrap checkbox-primary mb-0"
style="color: rgb(22, 21, 21);">
Lembrar-me
<input type="checkbox" checked />
<span class="checkmark"></span>
</label>
</div>
<div class="w-50 text-md-right">
<a href="#" style="color: rgb(22, 21, 21);"></a>
</div>
</div>
<a href="{{ route('password.request') }}">Esqueci minha senha</a>
</div> </div>
</form> </form>
</div> </div>
......
...@@ -8,50 +8,63 @@ ...@@ -8,50 +8,63 @@
@endsection @endsection
@section('nav') @section('nav')
@include('layouts.navigation', [ @include('layouts.navigation', [
'index_menu' => $index_menu, 'menu' => $menu,
]) ])
@endsection @endsection
@section('body') @section('body')
@include('components.alerts')
<div class="d-flex justify-content-between align-items-center border-bottom">
<h2 class="">TODOS OS CAMPUS</h2>
@include('components.buttons.btn-create', [
'route' => route('campus_create'),
'class' => 'btn btn-success',
'content' => 'Novo Campus',
'id' => 'campus_create',
])
</div>
<!-- Tabela --> <div>
<div class="table-responsive mt-5">
<table class="table table-hover table-striped"> <h3 class="h3"> Campus </h3>
<thead class="thead-dark">
<tr> <div>
<th scope="col">Nome</th>
<th scope="col">Unidade</th> @include('components.alerts')
<th scope="col">Ações</th>
</tr> <div class="d-flex justify-content-end mb-2">
</thead> @include('components.buttons.btn-create', [
'id' => 'campus_create',
<tbody> 'route' => route('campus_create'),
@foreach ($campus as $camp) 'content' => 'Cadastrar',
])
</div>
<div class="border rounded px-4">
<table class="table table-hover mt-4">
<thead class="thead-dark">
<tr> <tr>
<td>{{ $camp->name }}</td> <th scope="col">Nome</th>
<td>{{ $camp->unidade }}</td> <th scope="col">Unidade</th>
<td> <th scope="col">Ações</th>
@include('components.buttons.btn-edit', [
'route' => route('campus_edit', ['id' => $camp->id]),
])
@include('components.buttons.btn-delete', [
'id' => $camp->id,
'route' => route('campus_delete', ['id' => $camp->id])
])
</td>
</tr> </tr>
@endforeach </thead>
</tbody>
</table> <tbody>
@foreach ($campus as $camp)
<tr>
<td>{{ $camp->name }}</td>
<td>{{ $camp->unidade }}</td>
<td>
<div class="btn-group" role="group">
<div class="me-1">
@include('components.buttons.btn-edit', [
'route' => route('campus_edit', ['id' => $camp->id]),
])
</div>
<div class="me-1">
@include('components.buttons.btn-delete', [
'id' => $camp->id,
'route' => route('campus_delete', ['id' => $camp->id])
])
</div>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div> </div>
</div>
@endsection @endsection
...@@ -22,3 +22,10 @@ ...@@ -22,3 +22,10 @@
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div> </div>
@endif @endif
@if( Session::has('warning') )
<div class="alert alert-warning alert-dismissible fade show" role="alert">
{{ Session::get('warning') }}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
@endif
\ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
]) ])
--}} --}}
<a class="btn btn-secondary" href="{{ $route }}"> <a class="btn btn-danger" href="{{ $route }}">
<i class="bi bi-x-circle"></i> <i class="bi bi-x-circle"></i>
{{ $content }} {{ $content }}
</a> </a>
{{-- {{--
@include('components.buttons.btn-close_modal') @include('components.buttons.btn-close_modal')
--}} --}}
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal"> <button type="button" class="btn btn-danger" data-bs-dismiss="modal">
<i class="bi bi-x-circle"></i>
Cancelar Cancelar
</button> </button>
\ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
--}} --}}
<!-- Button trigger modal --> <!-- Button trigger modal -->
<button type="button" class="btn btn-danger" data-bs-toggle="modal" data-bs-target="#modal-delete-{{ $id }}"> <button type="button" class="btn btn-danger btn-sm" data-bs-toggle="modal" data-bs-target="#modal-delete-{{ $id }}">
<i class="bi bi-trash"></i> <i class="bi bi-trash"></i>
</button> </button>
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
Você tem certeza que deseja excluir esse item? Você tem certeza que deseja excluir esse item?
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
@include('components.buttons.btn-close_modal')
<form action="{{ $route }}" method="post"> <form action="{{ $route }}" method="post">
@method('DELETE') @method('DELETE')
@csrf @csrf
...@@ -34,6 +33,7 @@ ...@@ -34,6 +33,7 @@
'content' => 'Excluir', 'content' => 'Excluir',
]) ])
</form> </form>
@include('components.buttons.btn-close_modal')
</div> </div>
</div> </div>
</div> </div>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
--}} --}}
<div class="btn-edit-tasks"> <div class="btn-edit-tasks">
<button type="button" class="btn btn-primary {{ $btn_class }}" id="{{ $btn_id }}"> <button type="button" class="btn btn-primary btn-sm {{ $btn_class }}" id="{{ $btn_id }}">
<i class="bi bi-pencil-square"></i> <i class="bi bi-pencil-square"></i>
</button> </button>
</div> </div>
\ No newline at end of file
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
'route' => '' 'route' => ''
]) ])
--}} --}}
<a class="btn btn-warning" href="{{$route}}"> <a class="btn btn-primary btn-sm" href="{{$route}}">
<i class="bi bi-pencil-square"></i> <i class="bi bi-pencil-square"></i>
</a> </a>
\ No newline at end of file
...@@ -17,3 +17,7 @@ ...@@ -17,3 +17,7 @@
<!-- Toastfy --> <!-- Toastfy -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script> <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css"> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
<!-- Select2 -->
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
} }
if(!isset($header)) { if(!isset($header)) {
$header = 'Modal'; $header = '';
} }
if(!isset($title)) { if(!isset($title)) {
......
@extends('layouts.main') @extends('layouts.main')
@section('title', 'Cursos') @section('title', 'Cursos')
@section('header') @section('header')
@include('layouts.header', [ @include('layouts.header', [
'user' => Auth::user(), 'user' => Auth::user(),
]) ])
@endsection @endsection
@section('nav') @section('nav')
@include('layouts.navigation', [ @include('layouts.navigation', [
'index_menu' => $index_menu, 'menu' => $menu,
]) ])
@endsection @endsection
@section('body') @section('body')
@include('components.alerts')
<div class="d-flex justify-content-between align-items-center border-bottom"> <div>
<h2 class="">TODOS OS CURSO</h2> <h3 class="h3"> Cursos </h3>
@include('components.buttons.btn-create', [
'route' => route('curso_create'), <div>
'class' => '', @include('components.alerts')
'content' => 'Novo Curso',
'id' => '', <div class="d-flex justify-content-end mb-2">
]) @include('components.buttons.btn-create', [
</div> 'route' => route('curso_create'),
<!-- Tabela --> 'content' => 'Cadastrar',
<div class="table-responsive mt-5"> 'id' => '',
<table class="table table-hover table-striped"> 'class' => '',
<thead class="thead-dark"> ])
<tr> </div>
<th scope="col">Nome</th>
<th scope="col">Campus</th> <div class="border rounded px-4">
<th scope="col">Ações</th> <table class="table table-hover mt-4">
</tr> <thead class="thead-dark">
</thead> <tr>
<tbody> <th scope="col">Nome</th>
@foreach ($campusWithCursos as $campusWithCurso) <th scope="col">Campus</th>
@foreach ($campusWithCurso->cursos as $curso) <th scope="col">Ações</th>
<tr> </tr>
<td>{{ $curso->name }}</td> </thead>
<td>{{ $curso->campus }}</td> <tbody>
<td> @foreach ($campusWithCursos as $campusWithCurso)
@include('components.buttons.btn-edit', [ @foreach ($campusWithCurso->cursos as $curso)
'route' => route('curso_edit', ['id' => $curso->id]), <tr>
]) <td>{{ $curso->name }}</td>
<td>{{ $curso->campus }}</td>
@include('components.buttons.btn-delete', [ <td>
'id' => $curso->id, <div class="btn-group" role="group">
'route' => route('curso_delete', ['id' => $curso->id]), <div class="me-1">
]) @include('components.buttons.btn-edit', [
</td> 'route' => route('curso_edit', ['id' => $curso->id]),
</tr> ])
</div>
<div class="me-1">
@include('components.buttons.btn-delete', [
'id' => $curso->id,
'route' => route('curso_delete', ['id' => $curso->id]),
])
</div>
</div>
</td>
</tr>
@endforeach
@endforeach @endforeach
@endforeach </tbody>
</tbody> </table>
</table> </div>
</div> </div>
</div>
@endsection @endsection
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment