[WIP] Refactor project
This commit is contained in:
@@ -8,7 +8,7 @@ return [
|
||||
'domain' => '',
|
||||
|
||||
// Redirect to this route after login
|
||||
'redirectTo' => 'Shop.Admin.dashboard',
|
||||
'redirectTo' => 'boilerplate.dashboard',
|
||||
|
||||
// Backend locale
|
||||
'locale' => config('app.locale'),
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
return [
|
||||
'register' => false, // Allow to register new users on backend login page
|
||||
'register_role' => 'customer', // Given role to new users (except the first one who is admin)
|
||||
'register_role' => 'backend_user', // Given role to new users (except the first one who is admin)
|
||||
'providers' => [
|
||||
'users' => [
|
||||
'driver' => 'eloquent',
|
||||
'model' => App\Models\Core\Auth\User::class,
|
||||
'model' => Sebastienheyd\Boilerplate\Models\User::class,
|
||||
'table' => 'users',
|
||||
],
|
||||
],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'user' => App\Models\Core\Auth\User::class,
|
||||
'role' => App\Models\Core\Auth\Role::class,
|
||||
'permission' => App\Models\Core\Auth\Permission::class,
|
||||
'user' => Sebastienheyd\Boilerplate\Models\User::class,
|
||||
'role' => Sebastienheyd\Boilerplate\Models\Role::class,
|
||||
'permission' => Sebastienheyd\Boilerplate\Models\Permission::class,
|
||||
];
|
||||
|
||||
@@ -6,7 +6,7 @@ return [
|
||||
'thumbs_dir' => 'thumbs',
|
||||
'hide_thumbs_dir' => true,
|
||||
'authorized' => [
|
||||
'size' => '32768',
|
||||
'size' => '2048',
|
||||
'mimes' => [// @see https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types)
|
||||
'jpg',
|
||||
'jpeg',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'dashboard' => \App\Http\Controllers\Shop\Admin\DashboardController::class, // Dashboard controller to use
|
||||
'dashboard' => \Sebastienheyd\Boilerplate\Controllers\DashboardController::class, // Dashboard controller to use
|
||||
'providers' => [], // Additional menu items providers
|
||||
];
|
||||
|
||||
@@ -21,15 +21,15 @@ return [
|
||||
'border' => false,
|
||||
'compact' => false,
|
||||
'links' => [
|
||||
'bg' => 'green',
|
||||
'bg' => 'blue',
|
||||
'shadow' => 1,
|
||||
],
|
||||
'brand' => [
|
||||
'bg' => 'gray-dark',
|
||||
'logo' => [
|
||||
'bg' => 'green',
|
||||
'icon' => '<i class="fa fa-leaf"></i>',
|
||||
'text' => '<strong>O</strong>pen<strong>S</strong>em',
|
||||
'bg' => 'blue',
|
||||
'icon' => '<i class="fa fa-cubes"></i>',
|
||||
'text' => '<strong>BO</strong>ilerplate',
|
||||
'shadow' => 2,
|
||||
],
|
||||
],
|
||||
@@ -39,8 +39,8 @@ return [
|
||||
],
|
||||
],
|
||||
'footer' => [
|
||||
'visible' => false,
|
||||
'vendorname' => 'OpenSem',
|
||||
'visible' => true,
|
||||
'vendorname' => 'Boilerplate',
|
||||
'vendorlink' => '',
|
||||
],
|
||||
'card' => [
|
||||
|
||||
Reference in New Issue
Block a user