Commit 89a754fa authored by Abraão Barbosa's avatar Abraão Barbosa
Browse files

Correções no layout, ajuste de nome de layouts e ajuste na migration de panejamentos_pads

parent 509b3e44
...@@ -14,15 +14,16 @@ class DashboardController extends Controller ...@@ -14,15 +14,16 @@ class DashboardController extends Controller
$user = Auth::user(); $user = Auth::user();
if($user->isTypeAdmin()) if($user->isTypeAdmin()){
{
return view('dashboard', ['unidades' => UnidadeQuery::all(), 'unidade_index' => 1]); return view('dashboard', ['unidades' => UnidadeQuery::all(), 'unidade_index' => 1]);
} }elseif ($user->isTypeTeacher()) {
return view('dashboard', ['PADs' => PAD::all(), 'menu_index'=> 0]);
if($user->isTypeTeacher()) }elseif ($user->isTypeDirector()) {
{ return view('dashboard', ['PADs' => PAD::all(), 'menu_index'=> 0]);
}elseif ($user->isTypeCoordinator()) {
return view('dashboard', ['PADs' => PAD::all(), 'menu_index'=> 0]); return view('dashboard', ['PADs' => PAD::all(), 'menu_index'=> 0]);
}
} }
//return redirect()->route('login');
}
} }
...@@ -16,7 +16,7 @@ class User extends Authenticatable ...@@ -16,7 +16,7 @@ class User extends Authenticatable
const TYPE_ADMIN = 1; // Administrador const TYPE_ADMIN = 1; // Administrador
const TYPE_TEACHER = 2; // Professor const TYPE_TEACHER = 2; // Professor
const TYPE_MANAGER = 3; // Diretor const TYPE_DIRECTOR= 3; // Diretor
const TYPE_COORDINATOR = 4; // Coordenador const TYPE_COORDINATOR = 4; // Coordenador
const STATUS_ACTIVE = 1; const STATUS_ACTIVE = 1;
...@@ -117,8 +117,8 @@ class User extends Authenticatable ...@@ -117,8 +117,8 @@ class User extends Authenticatable
/** /**
* @return bool * @return bool
*/ */
public function isTypeMenager() { public function isTypeDirector() {
return $this->type === self::TYPE_MANAGER; return $this->type === self::TYPE_DIRECTOR;
} }
/** /**
......
...@@ -292,16 +292,16 @@ ...@@ -292,16 +292,16 @@
}, },
{ {
"name": "doctrine/dbal", "name": "doctrine/dbal",
"version": "3.3.6", "version": "3.3.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/dbal.git", "url": "https://github.com/doctrine/dbal.git",
"reference": "9e7f76dd1cde81c62574fdffa5a9c655c847ad21" "reference": "9f79d4650430b582f4598fe0954ef4d52fbc0a8a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/9e7f76dd1cde81c62574fdffa5a9c655c847ad21", "url": "https://api.github.com/repos/doctrine/dbal/zipball/9f79d4650430b582f4598fe0954ef4d52fbc0a8a",
"reference": "9e7f76dd1cde81c62574fdffa5a9c655c847ad21", "reference": "9f79d4650430b582f4598fe0954ef4d52fbc0a8a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -316,11 +316,11 @@ ...@@ -316,11 +316,11 @@
"require-dev": { "require-dev": {
"doctrine/coding-standard": "9.0.0", "doctrine/coding-standard": "9.0.0",
"jetbrains/phpstorm-stubs": "2022.1", "jetbrains/phpstorm-stubs": "2022.1",
"phpstan/phpstan": "1.6.3", "phpstan/phpstan": "1.7.13",
"phpstan/phpstan-strict-rules": "^1.2", "phpstan/phpstan-strict-rules": "^1.2",
"phpunit/phpunit": "9.5.20", "phpunit/phpunit": "9.5.20",
"psalm/plugin-phpunit": "0.16.1", "psalm/plugin-phpunit": "0.16.1",
"squizlabs/php_codesniffer": "3.6.2", "squizlabs/php_codesniffer": "3.7.0",
"symfony/cache": "^5.2|^6.0", "symfony/cache": "^5.2|^6.0",
"symfony/console": "^2.7|^3.0|^4.0|^5.0|^6.0", "symfony/console": "^2.7|^3.0|^4.0|^5.0|^6.0",
"vimeo/psalm": "4.23.0" "vimeo/psalm": "4.23.0"
...@@ -383,7 +383,7 @@ ...@@ -383,7 +383,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/dbal/issues", "issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.3.6" "source": "https://github.com/doctrine/dbal/tree/3.3.7"
}, },
"funding": [ "funding": [
{ {
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-02T17:21:01+00:00" "time": "2022-06-13T21:43:03+00:00"
}, },
{ {
"name": "doctrine/deprecations", "name": "doctrine/deprecations",
...@@ -977,22 +977,22 @@ ...@@ -977,22 +977,22 @@
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
"version": "7.4.3", "version": "7.4.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/guzzle.git", "url": "https://github.com/guzzle/guzzle.git",
"reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab" "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab", "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82",
"reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab", "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"guzzlehttp/promises": "^1.5", "guzzlehttp/promises": "^1.5",
"guzzlehttp/psr7": "^1.8.3 || ^2.1", "guzzlehttp/psr7": "^1.9 || ^2.4",
"php": "^7.2.5 || ^8.0", "php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0", "psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0" "symfony/deprecation-contracts": "^2.2 || ^3.0"
...@@ -1081,7 +1081,7 @@ ...@@ -1081,7 +1081,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/guzzle/issues", "issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.4.3" "source": "https://github.com/guzzle/guzzle/tree/7.4.5"
}, },
"funding": [ "funding": [
{ {
...@@ -1097,7 +1097,7 @@ ...@@ -1097,7 +1097,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-25T13:24:33+00:00" "time": "2022-06-20T22:16:13+00:00"
}, },
{ {
"name": "guzzlehttp/promises", "name": "guzzlehttp/promises",
...@@ -1185,16 +1185,16 @@ ...@@ -1185,16 +1185,16 @@
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
"version": "2.2.1", "version": "2.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/psr7.git", "url": "https://github.com/guzzle/psr7.git",
"reference": "c94a94f120803a18554c1805ef2e539f8285f9a2" "reference": "13388f00956b1503577598873fffb5ae994b5737"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/c94a94f120803a18554c1805ef2e539f8285f9a2", "url": "https://api.github.com/repos/guzzle/psr7/zipball/13388f00956b1503577598873fffb5ae994b5737",
"reference": "c94a94f120803a18554c1805ef2e539f8285f9a2", "reference": "13388f00956b1503577598873fffb5ae994b5737",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1218,7 +1218,7 @@ ...@@ -1218,7 +1218,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.2-dev" "dev-master": "2.4-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -1280,7 +1280,7 @@ ...@@ -1280,7 +1280,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/psr7/issues", "issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.2.1" "source": "https://github.com/guzzle/psr7/tree/2.4.0"
}, },
"funding": [ "funding": [
{ {
...@@ -1296,20 +1296,20 @@ ...@@ -1296,20 +1296,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-03-20T21:55:58+00:00" "time": "2022-06-20T21:43:11+00:00"
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v8.83.15", "version": "v8.83.18",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "bf8fbdd9061611b2c05562fa14f6987cc5145d78" "reference": "db8188e9cc8359a5c6706fa9d9f55aad7f235077"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/bf8fbdd9061611b2c05562fa14f6987cc5145d78", "url": "https://api.github.com/repos/laravel/framework/zipball/db8188e9cc8359a5c6706fa9d9f55aad7f235077",
"reference": "bf8fbdd9061611b2c05562fa14f6987cc5145d78", "reference": "db8188e9cc8359a5c6706fa9d9f55aad7f235077",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1469,7 +1469,7 @@ ...@@ -1469,7 +1469,7 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2022-05-31T14:57:02+00:00" "time": "2022-06-28T14:30:38+00:00"
}, },
{ {
"name": "laravel/sanctum", "name": "laravel/sanctum",
...@@ -1665,16 +1665,16 @@ ...@@ -1665,16 +1665,16 @@
}, },
{ {
"name": "league/commonmark", "name": "league/commonmark",
"version": "2.3.2", "version": "2.3.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/commonmark.git", "url": "https://github.com/thephpleague/commonmark.git",
"reference": "6eddb90a9e4a1a8c5773226068fcfb48cb36812a" "reference": "0da1dca5781dd3cfddbe328224d9a7a62571addc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/6eddb90a9e4a1a8c5773226068fcfb48cb36812a", "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/0da1dca5781dd3cfddbe328224d9a7a62571addc",
"reference": "6eddb90a9e4a1a8c5773226068fcfb48cb36812a", "reference": "0da1dca5781dd3cfddbe328224d9a7a62571addc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1767,7 +1767,7 @@ ...@@ -1767,7 +1767,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-06-03T14:07:39+00:00" "time": "2022-06-07T21:28:26+00:00"
}, },
{ {
"name": "league/config", "name": "league/config",
...@@ -2003,16 +2003,16 @@ ...@@ -2003,16 +2003,16 @@
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
"version": "2.6.0", "version": "2.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Seldaek/monolog.git", "url": "https://github.com/Seldaek/monolog.git",
"reference": "247918972acd74356b0a91dfaa5adcaec069b6c0" "reference": "5579edf28aee1190a798bfa5be8bc16c563bd524"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/247918972acd74356b0a91dfaa5adcaec069b6c0", "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5579edf28aee1190a798bfa5be8bc16c563bd524",
"reference": "247918972acd74356b0a91dfaa5adcaec069b6c0", "reference": "5579edf28aee1190a798bfa5be8bc16c563bd524",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2091,7 +2091,7 @@ ...@@ -2091,7 +2091,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/Seldaek/monolog/issues", "issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/2.6.0" "source": "https://github.com/Seldaek/monolog/tree/2.7.0"
}, },
"funding": [ "funding": [
{ {
...@@ -2103,7 +2103,7 @@ ...@@ -2103,7 +2103,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-10T09:36:00+00:00" "time": "2022-06-09T08:59:12+00:00"
}, },
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
...@@ -3324,16 +3324,16 @@ ...@@ -3324,16 +3324,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v5.4.9", "version": "v5.4.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb" "reference": "4d671ab4ddac94ee439ea73649c69d9d200b5000"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/829d5d1bf60b2efeb0887b7436873becc71a45eb", "url": "https://api.github.com/repos/symfony/console/zipball/4d671ab4ddac94ee439ea73649c69d9d200b5000",
"reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb", "reference": "4d671ab4ddac94ee439ea73649c69d9d200b5000",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3403,7 +3403,7 @@ ...@@ -3403,7 +3403,7 @@
"terminal" "terminal"
], ],
"support": { "support": {
"source": "https://github.com/symfony/console/tree/v5.4.9" "source": "https://github.com/symfony/console/tree/v5.4.10"
}, },
"funding": [ "funding": [
{ {
...@@ -3419,7 +3419,7 @@ ...@@ -3419,7 +3419,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-18T06:17:34+00:00" "time": "2022-06-26T13:00:04+00:00"
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
...@@ -3489,7 +3489,7 @@ ...@@ -3489,7 +3489,7 @@
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
"version": "v2.5.1", "version": "v2.5.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git", "url": "https://github.com/symfony/deprecation-contracts.git",
...@@ -3536,7 +3536,7 @@ ...@@ -3536,7 +3536,7 @@
"description": "A generic function and convention to trigger deprecation notices", "description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2"
}, },
"funding": [ "funding": [
{ {
...@@ -3712,7 +3712,7 @@ ...@@ -3712,7 +3712,7 @@
}, },
{ {
"name": "symfony/event-dispatcher-contracts", "name": "symfony/event-dispatcher-contracts",
"version": "v2.5.1", "version": "v2.5.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git", "url": "https://github.com/symfony/event-dispatcher-contracts.git",
...@@ -3771,7 +3771,7 @@ ...@@ -3771,7 +3771,7 @@
"standards" "standards"
], ],
"support": { "support": {
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.1" "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.2"
}, },
"funding": [ "funding": [
{ {
...@@ -3854,16 +3854,16 @@ ...@@ -3854,16 +3854,16 @@
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v5.4.9", "version": "v5.4.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "6b0d0e4aca38d57605dcd11e2416994b38774522" "reference": "e7793b7906f72a8cc51054fbca9dcff7a8af1c1e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/6b0d0e4aca38d57605dcd11e2416994b38774522", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e7793b7906f72a8cc51054fbca9dcff7a8af1c1e",
"reference": "6b0d0e4aca38d57605dcd11e2416994b38774522", "reference": "e7793b7906f72a8cc51054fbca9dcff7a8af1c1e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3907,7 +3907,7 @@ ...@@ -3907,7 +3907,7 @@
"description": "Defines an object-oriented layer for the HTTP specification", "description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-foundation/tree/v5.4.9" "source": "https://github.com/symfony/http-foundation/tree/v5.4.10"
}, },
"funding": [ "funding": [
{ {
...@@ -3923,20 +3923,20 @@ ...@@ -3923,20 +3923,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-17T15:07:29+00:00" "time": "2022-06-19T13:13:40+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
"version": "v5.4.9", "version": "v5.4.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "34b121ad3dc761f35fe1346d2f15618f8cbf77f8" "reference": "255ae3b0a488d78fbb34da23d3e0c059874b5948"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/34b121ad3dc761f35fe1346d2f15618f8cbf77f8", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/255ae3b0a488d78fbb34da23d3e0c059874b5948",
"reference": "34b121ad3dc761f35fe1346d2f15618f8cbf77f8", "reference": "255ae3b0a488d78fbb34da23d3e0c059874b5948",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -4019,7 +4019,7 @@ ...@@ -4019,7 +4019,7 @@
"description": "Provides a structured process for converting a Request into a Response", "description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-kernel/tree/v5.4.9" "source": "https://github.com/symfony/http-kernel/tree/v5.4.10"
}, },
"funding": [ "funding": [
{ {
...@@ -4035,20 +4035,20 @@ ...@@ -4035,20 +4035,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-27T07:09:08+00:00" "time": "2022-06-26T16:57:59+00:00"
}, },
{ {
"name": "symfony/mime", "name": "symfony/mime",
"version": "v5.4.9", "version": "v5.4.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mime.git", "url": "https://github.com/symfony/mime.git",
"reference": "2b3802a24e48d0cfccf885173d2aac91e73df92e" "reference": "02265e1e5111c3cd7480387af25e82378b7ab9cc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/2b3802a24e48d0cfccf885173d2aac91e73df92e", "url": "https://api.github.com/repos/symfony/mime/zipball/02265e1e5111c3cd7480387af25e82378b7ab9cc",
"reference": "2b3802a24e48d0cfccf885173d2aac91e73df92e", "reference": "02265e1e5111c3cd7480387af25e82378b7ab9cc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -4102,7 +4102,7 @@ ...@@ -4102,7 +4102,7 @@
"mime-type" "mime-type"
], ],
"support": { "support": {
"source": "https://github.com/symfony/mime/tree/v5.4.9" "source": "https://github.com/symfony/mime/tree/v5.4.10"
}, },
"funding": [ "funding": [
{ {
...@@ -4118,7 +4118,7 @@ ...@@ -4118,7 +4118,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-21T10:24:18+00:00" "time": "2022-06-09T12:22:40+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
...@@ -5091,16 +5091,16 @@ ...@@ -5091,16 +5091,16 @@
}, },
{ {
"name": "symfony/service-contracts", "name": "symfony/service-contracts",
"version": "v2.5.1", "version": "v2.5.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/service-contracts.git", "url": "https://github.com/symfony/service-contracts.git",
"reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c" "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/24d9dc654b83e91aa59f9d167b131bc3b5bea24c", "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c",
"reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c", "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -5154,7 +5154,7 @@ ...@@ -5154,7 +5154,7 @@
"standards" "standards"
], ],
"support": { "support": {
"source": "https://github.com/symfony/service-contracts/tree/v2.5.1" "source": "https://github.com/symfony/service-contracts/tree/v2.5.2"
}, },
"funding": [ "funding": [
{ {
...@@ -5170,20 +5170,20 @@ ...@@ -5170,20 +5170,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-03-13T20:07:29+00:00" "time": "2022-05-30T19:17:29+00:00"
}, },
{ {
"name": "symfony/string", "name": "symfony/string",
"version": "v5.4.9", "version": "v5.4.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/string.git", "url": "https://github.com/symfony/string.git",
"reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99" "reference": "4432bc7df82a554b3e413a8570ce2fea90e94097"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", "url": "https://api.github.com/repos/symfony/string/zipball/4432bc7df82a554b3e413a8570ce2fea90e94097",
"reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", "reference": "4432bc7df82a554b3e413a8570ce2fea90e94097",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -5240,7 +5240,7 @@ ...@@ -5240,7 +5240,7 @@
"utf8" "utf8"
], ],
"support": { "support": {
"source": "https://github.com/symfony/string/tree/v5.4.9" "source": "https://github.com/symfony/string/tree/v5.4.10"
}, },
"funding": [ "funding": [
{ {
...@@ -5256,7 +5256,7 @@ ...@@ -5256,7 +5256,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-04-19T10:40:37+00:00" "time": "2022-06-26T15:57:47+00:00"
}, },
{ {
"name": "symfony/translation", "name": "symfony/translation",
...@@ -5357,16 +5357,16 @@ ...@@ -5357,16 +5357,16 @@
}, },
{ {
"name": "symfony/translation-contracts", "name": "symfony/translation-contracts",
"version": "v2.5.1", "version": "v2.5.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation-contracts.git", "url": "https://github.com/symfony/translation-contracts.git",
"reference": "1211df0afa701e45a04253110e959d4af4ef0f07" "reference": "136b19dd05cdf0709db6537d058bcab6dd6e2dbe"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/1211df0afa701e45a04253110e959d4af4ef0f07", "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/136b19dd05cdf0709db6537d058bcab6dd6e2dbe",
"reference": "1211df0afa701e45a04253110e959d4af4ef0f07", "reference": "136b19dd05cdf0709db6537d058bcab6dd6e2dbe",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -5415,7 +5415,7 @@ ...@@ -5415,7 +5415,7 @@
"standards" "standards"
], ],
"support": { "support": {
"source": "https://github.com/symfony/translation-contracts/tree/v2.5.1" "source": "https://github.com/symfony/translation-contracts/tree/v2.5.2"
}, },
"funding": [ "funding": [
{ {
...@@ -5431,7 +5431,7 @@ ...@@ -5431,7 +5431,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-01-02T09:53:40+00:00" "time": "2022-06-27T16:58:25+00:00"
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
...@@ -6246,16 +6246,16 @@ ...@@ -6246,16 +6246,16 @@
}, },
{ {
"name": "laravel/breeze", "name": "laravel/breeze",
"version": "v1.9.2", "version": "v1.10.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/breeze.git", "url": "https://github.com/laravel/breeze.git",
"reference": "6f6a2588c429ea39821ec9add48442b05fe343f7" "reference": "e98e855ab4bde5bf0083c4a4d73c0f5b474241ae"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/breeze/zipball/6f6a2588c429ea39821ec9add48442b05fe343f7", "url": "https://api.github.com/repos/laravel/breeze/zipball/e98e855ab4bde5bf0083c4a4d73c0f5b474241ae",
"reference": "6f6a2588c429ea39821ec9add48442b05fe343f7", "reference": "e98e855ab4bde5bf0083c4a4d73c0f5b474241ae",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -6299,20 +6299,20 @@ ...@@ -6299,20 +6299,20 @@
"issues": "https://github.com/laravel/breeze/issues", "issues": "https://github.com/laravel/breeze/issues",
"source": "https://github.com/laravel/breeze" "source": "https://github.com/laravel/breeze"
}, },
"time": "2022-05-30T13:21:35+00:00" "time": "2022-06-28T11:52:06+00:00"
}, },
{ {
"name": "laravel/sail", "name": "laravel/sail",
"version": "v1.14.8", "version": "v1.15.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/sail.git", "url": "https://github.com/laravel/sail.git",
"reference": "04b425968c6a76940bddd2cfa40bf9e9ce78eee8" "reference": "676e1ff33c1b8af657779f62f57360c376cba666"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/sail/zipball/04b425968c6a76940bddd2cfa40bf9e9ce78eee8", "url": "https://api.github.com/repos/laravel/sail/zipball/676e1ff33c1b8af657779f62f57360c376cba666",
"reference": "04b425968c6a76940bddd2cfa40bf9e9ce78eee8", "reference": "676e1ff33c1b8af657779f62f57360c376cba666",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -6359,7 +6359,7 @@ ...@@ -6359,7 +6359,7 @@
"issues": "https://github.com/laravel/sail/issues", "issues": "https://github.com/laravel/sail/issues",
"source": "https://github.com/laravel/sail" "source": "https://github.com/laravel/sail"
}, },
"time": "2022-05-31T14:48:21+00:00" "time": "2022-06-24T13:56:11+00:00"
}, },
{ {
"name": "mockery/mockery", "name": "mockery/mockery",
...@@ -7237,16 +7237,16 @@ ...@@ -7237,16 +7237,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "9.5.20", "version": "9.5.21",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba" "reference": "0e32b76be457de00e83213528f6bb37e2a38fcb1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/12bc8879fb65aef2138b26fc633cb1e3620cffba", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0e32b76be457de00e83213528f6bb37e2a38fcb1",
"reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba", "reference": "0e32b76be457de00e83213528f6bb37e2a38fcb1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -7280,7 +7280,6 @@ ...@@ -7280,7 +7280,6 @@
"sebastian/version": "^3.0.2" "sebastian/version": "^3.0.2"
}, },
"require-dev": { "require-dev": {
"ext-pdo": "*",
"phpspec/prophecy-phpunit": "^2.0.1" "phpspec/prophecy-phpunit": "^2.0.1"
}, },
"suggest": { "suggest": {
...@@ -7324,7 +7323,7 @@ ...@@ -7324,7 +7323,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.20" "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.21"
}, },
"funding": [ "funding": [
{ {
...@@ -7336,7 +7335,7 @@ ...@@ -7336,7 +7335,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-04-01T12:37:26+00:00" "time": "2022-06-19T12:14:25+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",
......
...@@ -20,7 +20,7 @@ class CreateRefPlanejamentoChesTable extends Migration ...@@ -20,7 +20,7 @@ class CreateRefPlanejamentoChesTable extends Migration
$table->float("ch_semanal", 5, 2); $table->float("ch_semanal", 5, 2);
$table->float("ch_maxima", 5, 2); $table->float("ch_maxima", 5, 2);
$table->foreignId('PAD_id') $table->foreignId('PAD_id')
->constrained() ->constrained('pads')
->onUpdate('cascade') ->onUpdate('cascade')
->onDelete('cascade'); ->onDelete('cascade');
......
...@@ -47,5 +47,31 @@ class UserSeeder extends Seeder ...@@ -47,5 +47,31 @@ class UserSeeder extends Seeder
'campus_id' => NULL, 'campus_id' => NULL,
'curso_id' => NULL, 'curso_id' => NULL,
]); ]);
//UserDirector
User::create([
'type' => User::TYPE_DIRECTOR,
'name' => "Director",
'email' => "director@upe.br",
'email_verified_at' => null,
'password' => Hash::make('@director'),
'document' => "100000000",
'status' => User::STATUS_ACTIVE,
'campus_id' => 1,
'curso_id' => 1,
]);
//UserDirector
User::create([
'type' => User::TYPE_COORDINATOR,
'name' => "Coordinator",
'email' => "coordinator@upe.br",
'email_verified_at' => null,
'password' => Hash::make('@coordinator'),
'document' => "100000000",
'status' => User::STATUS_ACTIVE,
'campus_id' => 1,
'curso_id' => 1,
]);
} }
} }
...@@ -29,9 +29,9 @@ header { ...@@ -29,9 +29,9 @@ header {
} }
header .header-left-side { header .header-left-side {
width: 60vw; background-color: #f7f7f7;
background: linear-gradient(110deg, #f7f7f7 60%, #dfdfdf 60%); padding: 1em 3em 1em 15vh;
padding-left: 15vh; background: linear-gradient(110deg, #f7f7f7 90%, #dfdfdf 0%);
} }
header .header-right-side { header .header-right-side {
...@@ -53,7 +53,9 @@ nav { ...@@ -53,7 +53,9 @@ nav {
margin-left: 13vh; margin-left: 13vh;
margin-right: 1em; margin-right: 1em;
border-radius: 0.5em; border-radius: 0.5em;
border: 1px solid #dee2e6 !important; border: 2px solid #dee2e6 !important;
padding: .5em;
} }
nav ul li a { nav ul li a {
...@@ -65,6 +67,7 @@ nav ul .active { ...@@ -65,6 +67,7 @@ nav ul .active {
background-color: #dfdfdf !important; background-color: #dfdfdf !important;
color: #17223b !important; color: #17223b !important;
font-weight: bold; font-weight: bold;
border-left: solid 3px #0d6efd;
/* border: 1px solid #007bff; */ /* border: 1px solid #007bff; */
} }
...@@ -72,6 +75,19 @@ nav .content-user-info { ...@@ -72,6 +75,19 @@ nav .content-user-info {
font-weight: bold; font-weight: bold;
} }
nav .custom-nav-link{
display: block;
padding: .5rem 1rem;
color: #2e4363;
text-decoration: none;
border-radius: .2em;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
nav .custom-nav-link:hover{
color: #0d6efd;
}
@media (min-width: 768px) { @media (min-width: 768px) {
.bd-placeholder-img-lg { .bd-placeholder-img-lg {
font-size: 3.5rem; font-size: 3.5rem;
......
/* content que contem o preview do perfil */
.content {
position: relative;
top: 0px;
width: 100%;
padding: 18px 6% 10px 6%;
margin: 0 0 30px 0;
border-bottom: 1px solid #dee2e6!important;
}
header{
background-color: #DFDFDF;
margin-bottom: 30px;
}
header .header-left-side{
width: 60vw;
font-family: 'Electrolize', sans-serif;
background: linear-gradient(110deg, #F7F7F7 60%, #DFDFDF 60%);
padding-left: 15vh;
}
header .header-right-side{
padding-right: 15vh;
}
.main-container{
display: flex;
flex-direction: row;
}
main{
min-height: 70vh;
}
nav{
margin-left: 13vh;
margin-right: 1em;
border-radius: .5em;
border: 1px solid #dee2e6!important;
}
nav ul li a{
color: #17223b;
font-size: large;
}
nav ul .active{
background-color: #DFDFDF!important;
color: #17223b!important;
font-weight: bold;
}
nav .content-user-info{
font-weight: bold;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
\ No newline at end of file
<x-app-layout> <x-app-layout>
@section('title', 'Home') @section('title', 'Home')sdfsdfsdfsf
<x-slot name="main"> <x-slot name="main">
<div class="tab-content"> <div class="tab-content">
@if(Auth::user()->isTypeAdmin()) @if(Auth::user()->isTypeAdmin())
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
@include('layouts.user-dashboard.dashboard_teacher', ['user' => Auth::user()]) @include('layouts.user-dashboard.dashboard_teacher', ['user' => Auth::user()])
@endif @endif
@if(Auth::user()->isTypeMenager()) @if(Auth::user()->isTypeDirector())
@include('layouts.user-dashboard.dashboard_menager') @include('layouts.user-dashboard.dashboard_director')
@endif @endif
@if(Auth::user()->isTypeCoordinator()) @if(Auth::user()->isTypeCoordinator())
......
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
@include('layouts.user-jquery.jquery_teacher') @include('layouts.user-jquery.jquery_teacher')
@endif @endif
@if(Auth::user()->isTypeMenager()) @if(Auth::user()->isTypeDirector())
@include('layouts.user-jquery.jquery_menager') @include('layouts.user-jquery.jquery_director')
@endif @endif
@if(Auth::user()->isTypeCoordinator()) @if(Auth::user()->isTypeCoordinator())
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
class="img-fluid" width="268" height="100" alt="" /> class="img-fluid" width="268" height="100" alt="" />
</a> </a>
</div> </div>
<div class="header-divider"></div>
<div class="mt-3 space-y-1 header-right-side"> <div class="mt-3 space-y-1 header-right-side">
<!-- Authentication --> <!-- Authentication -->
<form method="POST" action="{{ route('logout') }}"> <form method="POST" action="{{ route('logout') }}">
......
...@@ -46,8 +46,8 @@ ...@@ -46,8 +46,8 @@
@include('layouts.user-jquery.jquery_teacher') @include('layouts.user-jquery.jquery_teacher')
@endif @endif
@if (Auth::user()->isTypeMenager()) @if (Auth::user()->isTypeDirector())
@include('layouts.user-jquery.jquery_menager') @include('layouts.user-jquery.jquery_director')
@endif @endif
@if (Auth::user()->isTypeCoordinator()) @if (Auth::user()->isTypeCoordinator())
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
@endif @endif
<!-- SidebarMenu : Diretor --> <!-- SidebarMenu : Diretor -->
@if (Auth::user()->isTypeMenager()) @if (Auth::user()->isTypeDirector())
@include('layouts.user-navigation.navigation_menager') @include('layouts.user-navigation.navigation_director')
@endif @endif
<!-- SidebarMenu : Coordenador --> <!-- SidebarMenu : Coordenador -->
......
<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="pad" role="tabpanel" aria-labelledby="pad-tab">
<div
class="d-flex flex-column justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 class="h2">Dimenções-PAD</h1>
</div>
<div class="d-flex justify-content-start ">
<div class="card text-center" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
<div class="card text-center" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
</div>
</div>
<div class="card text-center" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
<!-- SidebarMenu : Vertical Options --> <!-- SidebarMenu : Vertical Options -->
<ul class="nav flex-column nav-pills" id="myTab" role="tablist" aria-orientation="vertical"> <ul class="nav flex-column nav-pills" id="myTab" role="tablist" aria-orientation="vertical">
<li class="nav-item"> <li class="nav-item">
<a href="{{ route('dashboard') }}" class="nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 0? "active": "") }}"> <a href="{{ route('dashboard') }}" class="custom-nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 0? "active": "") }}">
<i class="bi bi-house-fill"></i> <i class="bi bi-house-fill"></i>
Home Home
</a> </a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="{{ route('campus_index') }}" class="nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 1? "active": "") }}"> <a href="{{ route('campus_index') }}" class="custom-nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 1? "active": "") }}">
<i class="bi bi-bank2"></i> <i class="bi bi-bank2"></i>
Campus Campus
</a> </a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="{{ route('curso_index') }}" class="nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 2? "active": "") }}"> <a href="{{ route('curso_index') }}" class="custom-nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 2? "active": "") }}">
<i class="bi bi-mortarboard-fill"></i> <i class="bi bi-mortarboard-fill"></i>
Cursos Cursos
</a> </a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="{{ route('unidade_index') }}" class="nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 3? "active": "") }}"> <a href="{{ route('unidade_index') }}" class="custom-nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 3? "active": "") }}">
<i class="bi bi-geo-fill"></i> <i class="bi bi-geo-fill"></i>
Unidades Unidades
</a> </a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="{{ route('diretor_index') }}" class="nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 4? "active": "") }}"> <a href="{{ route('diretor_index') }}" class="custom-nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 4? "active": "") }}">
<i class="bi bi-people-fill"></i> <i class="bi bi-people-fill"></i>
Diretores Diretores
</a> </a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="{{ route('coordenador_index') }}" class="nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 5? "active": "") }}"> <a href="{{ route('coordenador_index') }}" class="custom-nav-link {{ ((($index_menu ?? 0) == 0 ? 0: $index_menu ) == 5? "active": "") }}">
<i class="bi bi-person-video3"></i> <i class="bi bi-person-video3"></i>
Coordenadores Coordenadores
</a> </a>
......
<!-- SidebarMenu : Vertical Options --> <!-- Botoes link lista vertical sidebarMenu -->
<ul class="nav flex-column nav-pills" id="myTab" role="tablist" aria-orientation="vertical"> <ul class="nav flex-column nav-pills" id="myTab" role="tablist" aria-orientation="vertical">
<li class="nav-item">
<a class="custom-nav-link {{ ((!empty($index_menu) ? $index_menu : 0) == 0? "active": "") }}" href="{{ route('dashboard') }}"
aria-selected="true">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house-fill"
viewBox="0 0 16 16">
<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" />
<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>
Home
</a>
</li>
<li class="nav-item">
<a class="custom-nav-link {{ ((!empty($index_menu) ? $index_menu : 0) == 1? "active": "") }}" id="pad-tab" href="{{ route('pad_index') }}"
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>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" id="update-perfil-tab" data-toggle="tab" href="#update-perfil" role="tab" aria-controls="update-perfil" aria-selected="true"> <a class="custom-nav-link" id="update-perfil-tab" data-toggle="tab" href="#update-perfil" role="tab"
aria-controls="update-perfil" aria-selected="true">
<!-- Update Perfil - Hidden --> <!-- Update Perfil - Hidden -->
</a> </a>
</li> </li>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<ul class="nav flex-column nav-pills" id="myTab" role="tablist" aria-orientation="vertical"> <ul class="nav flex-column nav-pills" id="myTab" role="tablist" aria-orientation="vertical">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" id="update-perfil-tab" data-toggle="tab" href="#update-perfil" role="tab" aria-controls="update-perfil" aria-selected="true"> <a class="custom-nav-link" id="update-perfil-tab" data-toggle="tab" href="#update-perfil" role="tab" aria-controls="update-perfil" aria-selected="true">
<!-- Update Perfil - Hidden --> <!-- Update Perfil - Hidden -->
</a> </a>
</li> </li>
......
<!-- Botoes link lista vertical sidebarMenu --> <!-- Botoes link lista vertical sidebarMenu -->
<ul class="nav flex-column nav-pills" id="myTab" role="tablist" aria-orientation="vertical"> <ul class="nav flex-column nav-pills" id="myTab" role="tablist" aria-orientation="vertical">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link {{ ((!empty($index_menu) ? $index_menu : 0) == 0? "active": "") }}" href="{{ route('dashboard') }}" <a class="custom-nav-link {{ ((!empty($index_menu) ? $index_menu : 0) == 0? "active": "") }}" href="{{ route('dashboard') }}"
aria-selected="true"> aria-selected="true">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house-fill" <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house-fill"
viewBox="0 0 16 16"> viewBox="0 0 16 16">
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link {{ ((!empty($index_menu) ? $index_menu : 0) == 1? "active": "") }}" id="pad-tab" href="{{ route('pad_index') }}" <a class="custom-nav-link {{ ((!empty($index_menu) ? $index_menu : 0) == 1? "active": "") }}" id="pad-tab" href="{{ route('pad_index') }}"
aria-controls="pad" aria-selected="false"> 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" <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-book-half"
viewBox="0 0 16 16"> viewBox="0 0 16 16">
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" id="update-perfil-tab" data-toggle="tab" href="#update-perfil" role="tab" <a class="custom-nav-link" id="update-perfil-tab" data-toggle="tab" href="#update-perfil" role="tab"
aria-controls="update-perfil" aria-selected="true"> aria-controls="update-perfil" aria-selected="true">
<!-- Update Perfil - Hidden --> <!-- Update Perfil - Hidden -->
</a> </a>
......
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