From 9d8736dcfca6873b6c6397f987f37493d3e1a755 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 15 Jun 2020 18:20:41 +0200 Subject: [PATCH] wip #3706 @1 --- app/Models/BackpackUser.php | 38 -------- app/Models/User.php | 13 +++ app/User.php | 43 --------- config/backpack/base.php | 2 +- config/elfinder.php | 81 ----------------- public/images/logo.svg | 177 ++++++++++++++++++++---------------- 6 files changed, 114 insertions(+), 240 deletions(-) delete mode 100644 app/Models/BackpackUser.php create mode 100644 app/Models/User.php delete mode 100644 app/User.php delete mode 100644 config/elfinder.php diff --git a/app/Models/BackpackUser.php b/app/Models/BackpackUser.php deleted file mode 100644 index eac1bf656..000000000 --- a/app/Models/BackpackUser.php +++ /dev/null @@ -1,38 +0,0 @@ -notify(new ResetPasswordNotification($token)); - } - - /** - * Get the e-mail address where password reset links are sent. - * - * @return string - */ - public function getEmailForPasswordReset() - { - return $this->email; - } -} diff --git a/app/Models/User.php b/app/Models/User.php new file mode 100644 index 000000000..e6fecc122 --- /dev/null +++ b/app/Models/User.php @@ -0,0 +1,13 @@ + 'users', + 'singular' => 'user', + 'plural' => 'users']; +} diff --git a/app/User.php b/app/User.php deleted file mode 100644 index f3505e6e8..000000000 --- a/app/User.php +++ /dev/null @@ -1,43 +0,0 @@ - 'datetime', - ]; -} diff --git a/config/backpack/base.php b/config/backpack/base.php index 6750b314f..93b9083a5 100644 --- a/config/backpack/base.php +++ b/config/backpack/base.php @@ -201,7 +201,7 @@ return [ */ // Fully qualified namespace of the User model - 'user_model_fqn' => App\Models\BackpackUser::class, + 'user_model_fqn' => App\Models\User::class, // The classes for the middleware to check if the visitor is an admin // Can be a single class or an array of clases diff --git a/config/elfinder.php b/config/elfinder.php deleted file mode 100644 index 4515d5eb2..000000000 --- a/config/elfinder.php +++ /dev/null @@ -1,81 +0,0 @@ - ['uploads'], - - /* - |-------------------------------------------------------------------------- - | Filesystem disks (Flysytem) - |-------------------------------------------------------------------------- - | - | Define an array of Filesystem disks, which use Flysystem. - | You can set extra options, example: - | - | 'my-disk' => [ - | 'URL' => url('to/disk'), - | 'alias' => 'Local storage', - | ] - */ - 'disks' => [ - // 'uploads', - ], - - /* - |-------------------------------------------------------------------------- - | Routes group config - |-------------------------------------------------------------------------- - | - | The default group settings for the elFinder routes. - | - */ - - 'route' => [ - 'prefix' => config('backpack.base.route_prefix', 'admin').'/elfinder', - 'middleware' => ['web', config('backpack.base.middleware_key', 'admin')], //Set to null to disable middleware filter - ], - - /* - |-------------------------------------------------------------------------- - | Access filter - |-------------------------------------------------------------------------- - | - | Filter callback to check the files - | - */ - - 'access' => 'Barryvdh\Elfinder\Elfinder::checkAccess', - - /* - |-------------------------------------------------------------------------- - | Roots - |-------------------------------------------------------------------------- - | - | By default, the roots file is LocalFileSystem, with the above public dir. - | If you want custom options, you can set your own roots below. - | - */ - - 'roots' => null, - - /* - |-------------------------------------------------------------------------- - | Options - |-------------------------------------------------------------------------- - | - | These options are merged, together with 'roots' and passed to the Connector. - | See https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options-2.1 - | - */ - - 'options' => [], - -]; diff --git a/public/images/logo.svg b/public/images/logo.svg index 355f80f66..26863ff23 100644 --- a/public/images/logo.svg +++ b/public/images/logo.svg @@ -1,95 +1,118 @@ - + + viewBox="0 0 232.5 34" style="enable-background:new 0 0 232.5 34;" xml:space="preserve"> + - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + -- 2.39.5