diff --git a/resources/themes/adminlte/views/auth/passwords/email.blade.php b/resources/themes/adminlte/views/auth/passwords/email.blade.php new file mode 100644 index 0000000..e1ce641 --- /dev/null +++ b/resources/themes/adminlte/views/auth/passwords/email.blade.php @@ -0,0 +1,59 @@ +@extends('adminlte::layouts.auth') + +@section('htmlheader_title') + Password recovery +@endsection + +@section('content') + + +
+ +
+ + + @if (session('status')) +
+ {{ session('status') }} +
+ @endif + + @if (count($errors) > 0) +
+ Whoops! {{ trans('adminlte_lang::message.someproblems') }}

+
    + @foreach ($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+ @endif + + + +
+
+ + @include('adminlte::layouts.partials.scripts_auth') + + + + +@endsection diff --git a/resources/themes/adminlte/views/errors/403.blade.php b/resources/themes/adminlte/views/errors/403.blade.php new file mode 100644 index 0000000..d973682 --- /dev/null +++ b/resources/themes/adminlte/views/errors/403.blade.php @@ -0,0 +1,20 @@ +@extends('adminlte::layouts.errors') + +@section('htmlheader_title') + {{ trans('adminlte_lang::message.servererror') }} +@endsection + +@section('main-content') + +
+

403

+
+

Oops! Bad Authentication

+

+ Sorry, your authentication failed. + {{ trans('adminlte_lang::message.mainwhile') }} {{ trans('adminlte_lang::message.returndashboard') }}. +

+
+
+
+@endsection diff --git a/resources/themes/adminlte/views/errors/404.blade.php b/resources/themes/adminlte/views/errors/404.blade.php new file mode 100644 index 0000000..b802caf --- /dev/null +++ b/resources/themes/adminlte/views/errors/404.blade.php @@ -0,0 +1,20 @@ +@extends('adminlte::layouts.errors') + +@section('htmlheader_title') + {{ trans('adminlte_lang::message.pagenotfound') }} +@endsection + +@section('main-content') + +
+

404

+
+

Oops! {{ trans('adminlte_lang::message.pagenotfound') }}.

+

+ {{ trans('adminlte_lang::message.notfindpage') }} + {{ trans('adminlte_lang::message.mainwhile') }} {{ trans('adminlte_lang::message.returndashboard') }}. +

+
+
+
+@endsection \ No newline at end of file diff --git a/resources/themes/adminlte/views/errors/500.blade.php b/resources/themes/adminlte/views/errors/500.blade.php new file mode 100644 index 0000000..cbb2be1 --- /dev/null +++ b/resources/themes/adminlte/views/errors/500.blade.php @@ -0,0 +1,20 @@ +@extends('adminlte::layouts.errors') + +@section('htmlheader_title') + {{ trans('adminlte_lang::message.servererror') }} +@endsection + +@section('main-content') + +
+

500

+
+

Oops! {{ trans('adminlte_lang::message.somethingwrong') }}

+

{{ trans($msg) }}

+

+ {{ trans('adminlte_lang::message.wewillwork') }} + {{ trans('adminlte_lang::message.mainwhile') }} {{ trans('adminlte_lang::message.returndashboard') }}. +

+
+
+@endsection diff --git a/resources/themes/adminlte/views/layouts/partials/contentheader.blade.php b/resources/themes/adminlte/views/layouts/partials/contentheader.blade.php new file mode 100644 index 0000000..6d580aa --- /dev/null +++ b/resources/themes/adminlte/views/layouts/partials/contentheader.blade.php @@ -0,0 +1,17 @@ + +
+
+

+ @yield('contentheader_title', 'Content Title') + @yield('contentheader_description') +

+ +
\ No newline at end of file diff --git a/resources/themes/adminlte/views/layouts/partials/footer.blade.php b/resources/themes/adminlte/views/layouts/partials/footer.blade.php new file mode 100644 index 0000000..f6e732d --- /dev/null +++ b/resources/themes/adminlte/views/layouts/partials/footer.blade.php @@ -0,0 +1,8 @@ + + diff --git a/resources/themes/adminlte/views/layouts/partials/scripts.blade.php b/resources/themes/adminlte/views/layouts/partials/scripts.blade.php new file mode 100644 index 0000000..b68e3f7 --- /dev/null +++ b/resources/themes/adminlte/views/layouts/partials/scripts.blade.php @@ -0,0 +1,13 @@ + + + + + + +@yield('page-scripts') + + + diff --git a/src/Providers/LeenooksServiceProvider.php b/src/Providers/LeenooksServiceProvider.php index b7c743a..40135cd 100644 --- a/src/Providers/LeenooksServiceProvider.php +++ b/src/Providers/LeenooksServiceProvider.php @@ -22,11 +22,8 @@ class LeenooksServiceProvider extends ServiceProvider */ public function boot(Router $router) { - $this->loadViewsFrom($this->_path.'/resources/themes/adminlte/views/', 'adminlte'); -# $this->loadViewsFrom($this->_path.'/resources/views/', 'adminlte'); $this->loadTranslationsFrom($this->_path.'/resources/themes/adminlte/lang/', 'adminlte_lang'); -//dd($this->views()); } /** @@ -38,9 +35,7 @@ class LeenooksServiceProvider extends ServiceProvider { if (! $this->_path) { $this->_path = realpath(__DIR__.'/../../'); -define('LEENOOKS',realpath(__DIR__.'/../../')); } -//$this->publishes($this->views()); } /** @@ -51,7 +46,7 @@ define('LEENOOKS',realpath(__DIR__.'/../../')); public function views() { return [ - LEENOOKS.'/resources/views/auth' => + $this->_path.'/resources/views/auth' => resource_path('views/vendor/adminlte/auth'), $this->_path.'/resources/views/errors' => resource_path('views/vendor/adminlte/errors'),