├── src ├── light-bootstrap-stubs │ ├── resources │ │ ├── assets │ │ │ ├── favicon.ico │ │ │ ├── robots.txt │ │ │ ├── img │ │ │ │ ├── bg5.jpg │ │ │ │ ├── mask.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── new_logo.png │ │ │ │ ├── apple-icon.png │ │ │ │ ├── sidebar-1.jpg │ │ │ │ ├── sidebar-2.jpg │ │ │ │ ├── sidebar-3.jpg │ │ │ │ ├── sidebar-4.jpg │ │ │ │ ├── sidebar-5.jpg │ │ │ │ ├── tim_80x80.png │ │ │ │ ├── faces │ │ │ │ │ ├── face-0.jpg │ │ │ │ │ ├── face-1.jpg │ │ │ │ │ ├── face-2.jpg │ │ │ │ │ ├── face-3.jpg │ │ │ │ │ ├── face-4.jpg │ │ │ │ │ ├── face-5.jpg │ │ │ │ │ ├── face-6.jpg │ │ │ │ │ ├── face-7.jpg │ │ │ │ │ └── tim_vector.jpe │ │ │ │ ├── default-avatar.png │ │ │ │ ├── full-screen-image-2.jpg │ │ │ │ ├── full-screen-image-3.jpg │ │ │ │ ├── laravel.svg │ │ │ │ └── loading-bubbles.svg │ │ │ ├── fonts │ │ │ │ ├── nucleo-icons.eot │ │ │ │ ├── nucleo-icons.ttf │ │ │ │ ├── nucleo-icons.woff │ │ │ │ └── nucleo-icons.woff2 │ │ │ ├── js │ │ │ │ ├── light-bootstrap-dashboard.js │ │ │ │ └── core │ │ │ │ │ └── popper.min.js │ │ │ └── css │ │ │ │ └── demo.css │ │ └── views │ │ │ ├── layouts │ │ │ ├── navbars │ │ │ │ ├── navbar.blade.php │ │ │ │ ├── navs │ │ │ │ │ ├── guest.blade.php │ │ │ │ │ └── auth.blade.php │ │ │ │ └── sidebar.blade.php │ │ │ ├── footer │ │ │ │ └── nav.blade.php │ │ │ └── app.blade.php │ │ │ ├── alerts │ │ │ ├── feedback.blade.php │ │ │ ├── migrations_check.blade.php │ │ │ ├── success.blade.php │ │ │ ├── error_self_update.blade.php │ │ │ └── errors.blade.php │ │ │ ├── pages │ │ │ ├── maps.blade.php │ │ │ ├── sidebarstyle.blade.php │ │ │ ├── typography.blade.php │ │ │ ├── table.blade.php │ │ │ ├── upgrade.blade.php │ │ │ └── notifications.blade.php │ │ │ ├── welcome.blade.php │ │ │ ├── auth │ │ │ ├── verify.blade.php │ │ │ ├── passwords │ │ │ │ ├── email.blade.php │ │ │ │ └── reset.blade.php │ │ │ ├── login.blade.php │ │ │ └── register.blade.php │ │ │ ├── profile │ │ │ └── edit.blade.php │ │ │ └── dashboard.blade.php │ ├── database │ │ ├── .gitignore │ │ └── seeds │ │ │ ├── DatabaseSeeder.php │ │ │ └── UsersTableSeeder.php │ └── app │ │ ├── Http │ │ ├── Middleware │ │ │ ├── EncryptCookies.php │ │ │ ├── TrimStrings.php │ │ │ ├── CheckForMaintenanceMode.php │ │ │ ├── TrustProxies.php │ │ │ ├── Authenticate.php │ │ │ ├── VerifyCsrfToken.php │ │ │ └── RedirectIfAuthenticated.php │ │ ├── Controllers │ │ │ ├── PageController.php │ │ │ ├── UserController.php │ │ │ ├── HomeController.php │ │ │ └── ProfileController.php │ │ ├── Requests │ │ │ ├── ProfileRequest.php │ │ │ ├── UserRequest.php │ │ │ └── PasswordRequest.php │ │ └── Kernel.php │ │ └── Rules │ │ └── CurrentPasswordCheckRule.php ├── LightBootstrapPresetServiceProvider.php └── LightBootstrapPreset.php ├── screens ├── Login.png ├── Users.png ├── Profile.png ├── Tables.png ├── Dashboard.png └── Register.png ├── .vscode └── settings.json ├── changelog.md ├── composer.json ├── license.md ├── ISSUE_TEMPLATE.md └── documentation ├── tutorial-components.html └── template.html /src/light-bootstrap-stubs/resources/assets/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | *.sqlite-journal 3 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /screens/Login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/screens/Login.png -------------------------------------------------------------------------------- /screens/Users.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/screens/Users.png -------------------------------------------------------------------------------- /screens/Profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/screens/Profile.png -------------------------------------------------------------------------------- /screens/Tables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/screens/Tables.png -------------------------------------------------------------------------------- /screens/Dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/screens/Dashboard.png -------------------------------------------------------------------------------- /screens/Register.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/screens/Register.png -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/bg5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/bg5.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/mask.png -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/favicon.ico -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/new_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/new_logo.png -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/apple-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/apple-icon.png -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/sidebar-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/sidebar-1.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/sidebar-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/sidebar-2.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/sidebar-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/sidebar-3.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/sidebar-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/sidebar-4.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/sidebar-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/sidebar-5.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/tim_80x80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/tim_80x80.png -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/faces/face-0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/faces/face-0.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/faces/face-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/faces/face-1.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/faces/face-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/faces/face-2.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/faces/face-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/faces/face-3.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/faces/face-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/faces/face-4.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/faces/face-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/faces/face-5.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/faces/face-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/faces/face-6.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/faces/face-7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/faces/face-7.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/fonts/nucleo-icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/fonts/nucleo-icons.eot -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/fonts/nucleo-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/fonts/nucleo-icons.ttf -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/fonts/nucleo-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/fonts/nucleo-icons.woff -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/fonts/nucleo-icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/fonts/nucleo-icons.woff2 -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/default-avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/default-avatar.png -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/faces/tim_vector.jpe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/faces/tim_vector.jpe -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "workbench.colorCustomizations": { 3 | "activityBar.background": "#0F313D", 4 | "titleBar.activeBackground": "#154556", 5 | "titleBar.activeForeground": "#F6FBFD" 6 | } 7 | } -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/full-screen-image-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/full-screen-image-2.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/full-screen-image-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/light-bootstrap-dashboard-laravel/HEAD/src/light-bootstrap-stubs/resources/assets/img/full-screen-image-3.jpg -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/layouts/navbars/navbar.blade.php: -------------------------------------------------------------------------------- 1 | @if (auth()->check() && request()->route()->getName() != null) 2 | @include('layouts.navbars.navs.auth') 3 | @else 4 | @include('layouts.navbars.navs.guest') 5 | @endif -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/alerts/feedback.blade.php: -------------------------------------------------------------------------------- 1 | @if ($errors->has($field)) 2 | 3 | {{ $errors->first($field) }} 4 | 5 | @endif -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/alerts/migrations_check.blade.php: -------------------------------------------------------------------------------- 1 | @if (!\Schema::hasTable((new \App\Models\User)->getTable())) 2 | 5 | @endif -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/alerts/success.blade.php: -------------------------------------------------------------------------------- 1 | @if (session($key ?? 'status')) 2 | 8 | @endif -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/alerts/error_self_update.blade.php: -------------------------------------------------------------------------------- 1 | @if ($errors->has($key)) 2 | 8 | @endif -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | call([UsersTableSeeder::class]); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/alerts/errors.blade.php: -------------------------------------------------------------------------------- 1 | @if (!$errors->isEmpty()) 2 | 10 | @endif -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- 1 | exists("pages.{$page}")) { 17 | return view("pages.{$page}"); 18 | } 19 | return abort(404); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to `Light Bootstrap Dashboard` frontend preset for Laravel will be documented in this file. 4 | 5 | ### Added 6 | - Light Bootstrap Dashboard v1.0.0 frontend theme 7 | - Laravel Auth preset 8 | - Change user profile 9 | - User CRUD 10 | 11 | ## Version 1.0.1 - 2019-09-23 12 | 13 | - Update to Laravel 6.x 14 | 15 | ## Version 1.0.2 - 2020-03-18 16 | 17 | - Update to Laravel 7.x 18 | 19 | ## Version 1.0.3 - 2020-09-23 20 | 21 | - Update to Laravel 8.x 22 | 23 | ## Version 1.0.4 - 2022-03-28 24 | 25 | - Update to Laravel 9.x 26 | 27 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Controllers/UserController.php: -------------------------------------------------------------------------------- 1 | $model->paginate(15)]); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Middleware/TrustProxies.php: -------------------------------------------------------------------------------- 1 | expectsJson()) { 18 | return route('login'); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | 'maps', 'title' => 'Light Bootstrap Dashboard Laravel by Creative Tim & UPDIVISION', 'navName' => 'Maps', 'activeButton' => 'laravel']) 2 | 3 | @section('content') 4 |
5 |
6 |
7 | @endsection 8 | 9 | @push('js') 10 | 17 | @endpush -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Controllers/HomeController.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 17 | } 18 | 19 | /** 20 | * Show the application dashboard. 21 | * 22 | * @return \Illuminate\Contracts\Support\Renderable 23 | */ 24 | public function index() 25 | { 26 | return view('dashboard'); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | check()) { 21 | return redirect('/home'); 22 | } 23 | 24 | return $next($request); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/database/seeds/UsersTableSeeder.php: -------------------------------------------------------------------------------- 1 | insert([ 18 | 'name' => 'Admin Admin', 19 | 'email' => 'admin@lightbp.com', 20 | 'email_verified_at' => now(), 21 | 'password' => Hash::make('secret'), 22 | 'created_at' => now(), 23 | 'updated_at' => now() 24 | ]); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "laravel-frontend-presets/light-bootstrap-dashboard", 3 | "description": "Laravel 10.x Front-end preset for argon", 4 | "license": "MIT", 5 | "homepage": "https://github.com/creativetimofficial/light-bootstrap-dashboard-laravel", 6 | "keywords": ["Laravel", "Preset", "Light Bootstrap"], 7 | "require": { 8 | "laravel/framework": "^10.0", 9 | "laravel/legacy-factories": "^1.0" 10 | }, 11 | "autoload": { 12 | "psr-4": { 13 | "LaravelFrontendPresets\\LightBootstrapPreset\\": "src/" 14 | } 15 | }, 16 | "extra": { 17 | "laravel": { 18 | "providers": [ 19 | "LaravelFrontendPresets\\LightBootstrapPreset\\LightBootstrapPresetServiceProvider" 20 | ] 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Rules/CurrentPasswordCheckRule.php: -------------------------------------------------------------------------------- 1 | user()->password); 20 | } 21 | 22 | /** 23 | * Get the validation error message. 24 | * 25 | * @return string 26 | */ 27 | public function message() 28 | { 29 | return __('The current password field does not match your password'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Requests/ProfileRequest.php: -------------------------------------------------------------------------------- 1 | check(); 19 | } 20 | 21 | /** 22 | * Get the validation rules that apply to the request. 23 | * 24 | * @return array 25 | */ 26 | public function rules() 27 | { 28 | return [ 29 | 'name' => ['required', 'min:3'], 30 | 'email' => ['required', 'email', Rule::unique((new User)->getTable())->ignore(auth()->id())], 31 | ]; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/LightBootstrapPresetServiceProvider.php: -------------------------------------------------------------------------------- 1 | info('Light Bootstrap scaffolding installed successfully.'); 22 | }); 23 | } 24 | 25 | /** 26 | * Register any package services. 27 | * 28 | * @return void 29 | */ 30 | public function register() 31 | { 32 | // 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/laravel.svg: -------------------------------------------------------------------------------- 1 | laravel -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/img/loading-bubbles.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 9 | 10 | 11 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Requests/UserRequest.php: -------------------------------------------------------------------------------- 1 | check(); 19 | } 20 | 21 | /** 22 | * Get the validation rules that apply to the request. 23 | * 24 | * @return array 25 | */ 26 | public function rules() 27 | { 28 | return [ 29 | 'name' => [ 30 | 'required', 'min:3' 31 | ], 32 | 'email' => [ 33 | 'required', 'email', Rule::unique((new User)->getTable())->ignore($this->route()->user->id ?? null) 34 | ], 35 | 'password' => [ 36 | $this->route()->user ? 'nullable' : 'required', 'confirmed', 'min:6' 37 | ] 38 | ]; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /license.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 [Updivision](https://updivision.com) [Creative Tim](https://www.creative-tim.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/welcome.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts/app', ['activePage' => 'welcome', 'title' => 'Light Bootstrap Dashboard Laravel by Creative Tim & UPDIVISION']) 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 |

{{ __('Welcome to Light Bootstrap Dashboard FREE Laravel Live Preview.') }}

10 |
11 |
12 |
13 |
14 |
15 | @endsection 16 | 17 | @push('js') 18 | 28 | @endpush -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | # Prerequisites 2 | 3 | Please answer the following questions for yourself before submitting an issue. 4 | 5 | - [ ] I am running the latest version 6 | - [ ] I checked the documentation and found no answer 7 | - [ ] I checked to make sure that this issue has not already been filed 8 | - [ ] I'm reporting the issue to the correct repository (for multi-repository projects) 9 | 10 | # Expected Behavior 11 | 12 | Please describe the behavior you are expecting 13 | 14 | # Current Behavior 15 | 16 | What is the current behavior? 17 | 18 | # Failure Information (for bugs) 19 | 20 | Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template. 21 | 22 | ## Steps to Reproduce 23 | 24 | Please provide detailed steps for reproducing the issue. 25 | 26 | 1. step 1 27 | 2. step 2 28 | 3. you get it... 29 | 30 | ## Context 31 | 32 | Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. 33 | 34 | * Device: 35 | * Operating System: 36 | * Browser and Version: 37 | 38 | ## Failure Logs 39 | 40 | Please include any relevant log snippets or files here. 41 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Requests/PasswordRequest.php: -------------------------------------------------------------------------------- 1 | check(); 18 | } 19 | 20 | /** 21 | * Get the validation rules that apply to the request. 22 | * 23 | * @return array 24 | */ 25 | public function rules() 26 | { 27 | return [ 28 | 'old_password' => ['required', 'min:6', new CurrentPasswordCheckRule], 29 | 'password' => ['required', 'min:6', 'confirmed', 'different:old_password'], 30 | 'password_confirmation' => ['required', 'min:6'], 31 | ]; 32 | } 33 | 34 | /** 35 | * Get the validation attributes that apply to the request. 36 | * 37 | * @return array 38 | */ 39 | public function attributes() 40 | { 41 | return [ 42 | 'old_password' => __('current password'), 43 | ]; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/auth/verify.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
{{ __('Verify Your Email Address') }}
9 | 10 |
11 | @if (session('resent')) 12 | 15 | @endif 16 | 17 | {{ __('Before proceeding, please check your email for a verification link.') }} 18 | {{ __('If you did not receive the email') }}, 19 |
20 | @csrf 21 | . 22 |
23 |
24 |
25 |
26 |
27 |
28 | @endsection 29 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Controllers/ProfileController.php: -------------------------------------------------------------------------------- 1 | user()->update($request->all()); 30 | 31 | return back()->withStatus(__('Profile successfully updated.')); 32 | } 33 | 34 | /** 35 | * Change the password 36 | * 37 | * @param \App\Http\Requests\PasswordRequest $request 38 | * @return \Illuminate\Http\RedirectResponse 39 | */ 40 | public function password(PasswordRequest $request) 41 | { 42 | auth()->user()->update(['password' => Hash::make($request->get('password'))]); 43 | 44 | return back()->withPasswordStatus(__('Password successfully updated.')); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/layouts/footer/nav.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/layouts/navbars/navs/guest.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/app/Http/Kernel.php: -------------------------------------------------------------------------------- 1 | [ 31 | \App\Http\Middleware\EncryptCookies::class, 32 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, 33 | \Illuminate\Session\Middleware\StartSession::class, 34 | // \Illuminate\Session\Middleware\AuthenticateSession::class, 35 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 36 | \App\Http\Middleware\VerifyCsrfToken::class, 37 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 38 | ], 39 | 40 | 'api' => [ 41 | 'throttle:60,1', 42 | 'bindings', 43 | ], 44 | ]; 45 | 46 | /** 47 | * The application's route middleware. 48 | * 49 | * These middleware may be assigned to groups or used individually. 50 | * 51 | * @var array 52 | */ 53 | protected $routeMiddleware = [ 54 | 'auth' => \App\Http\Middleware\Authenticate::class, 55 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 56 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, 57 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 58 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, 59 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 60 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 61 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 62 | 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 63 | ]; 64 | 65 | /** 66 | * The priority-sorted list of middleware. 67 | * 68 | * This forces non-global middleware to always be in the given order. 69 | * 70 | * @var array 71 | */ 72 | protected $middlewarePriority = [ 73 | \Illuminate\Session\Middleware\StartSession::class, 74 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 75 | \App\Http\Middleware\Authenticate::class, 76 | \Illuminate\Session\Middleware\AuthenticateSession::class, 77 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 78 | \Illuminate\Auth\Middleware\Authorize::class, 79 | ]; 80 | } 81 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/auth/passwords/email.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app', ['activePage' => 'login', 'title' => 'Light Bootstrap Dashboard Laravel by Creative Tim & UPDIVISION']) 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 |
10 | @csrf 11 | 41 |
42 |
43 |
44 |
45 |
46 |
47 | @endsection 48 | 49 | @push('js') 50 | 60 | @endpush -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/layouts/navbars/navs/auth.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/layouts/navbars/sidebar.blade.php: -------------------------------------------------------------------------------- 1 | 88 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/pages/sidebarstyle.blade.php: -------------------------------------------------------------------------------- 1 |
2 | 76 |
-------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/auth/passwords/reset.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app', ['activePage' => 'login', 'title' => 'Light Bootstrap Dashboard Laravel by Creative Tim & UPDIVISION']) 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 |
10 |
{{ __('Reset Password') }}
11 | 12 |
13 |
14 | @csrf 15 | 16 | 17 |
18 | 19 | 20 |
21 | 22 | 23 | @error('email') 24 | 25 | {{ $message }} 26 | 27 | @enderror 28 |
29 |
30 | 31 |
32 | 33 | 34 |
35 | 36 | 37 | @error('password') 38 | 39 | {{ $message }} 40 | 41 | @enderror 42 |
43 |
44 | 45 |
46 | 47 | 48 |
49 | 50 |
51 |
52 | 53 |
54 |
55 | 58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 | @endsection 69 | 70 | @push('js') 71 | 81 | @endpush -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/auth/login.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts/app', ['activePage' => 'login', 'title' => 'Light Bootstrap Dashboard Laravel by Creative Tim & UPDIVISION']) 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 | @csrf 10 | 68 |
69 |
70 |
71 |
72 |
73 | @endsection 74 | 75 | @push('js') 76 | 86 | @endpush -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/layouts/app.blade.php: -------------------------------------------------------------------------------- 1 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | {{ $title }} 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |
37 | 38 | @if (auth()->check() && request()->route()->getName() != "") 39 | @include('layouts.navbars.sidebar') 40 | @include('pages/sidebarstyle') 41 | @endif 42 | 43 |
44 | @include('layouts.navbars.navbar') 45 | @yield('content') 46 | @include('layouts.footer.nav') 47 |
48 | 49 |
50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | @stack('js') 73 | 127 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/pages/typography.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app', ['activePage' => 'typography', 'title' => 'Light Bootstrap Dashboard Laravel by Creative Tim & UPDIVISION', 'navName' => 'Typography', 'activeButton' => 'laravel']) 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 |
10 |

Light Bootstrap Table Heading

11 |

Created using Montserrat Font Family

12 |
13 |
14 |
15 |

16 | Header 1The Life of LB Dashboard

17 |
18 |
19 |

20 | Header 2The Life of Light Bootstrap Dashboard

21 |
22 |
23 |

24 | Header 3The Life of Light Bootstrap Dashboard

25 |
26 |
27 |

28 | Header 4The Life of Light Bootstrap Dashboard

29 |
30 |
31 |
32 | Header 5The Life of Light Bootstrap Dashboard
33 |
34 |
35 |
36 | Header 6The Life of Light Bootstrap Dashboard
37 |
38 |
39 |

40 | Paragraph 41 | I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. 42 |

43 |
44 |
45 | Quote 46 |
47 |

48 | "I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at." 49 |
50 |
51 | 52 | - Noaa 53 | 54 |

55 |
56 |
57 |
58 | Muted Text 59 |

60 | I will be the leader of a company that ends up being worth billions of dollars, because I got the answers... 61 |

62 |
63 |
64 | Primary Text 65 |

66 | I will be the leader of a company that ends up being worth billions of dollars, because I got the answers...

67 |
68 |
69 | Info Text 70 |

71 | I will be the leader of a company that ends up being worth billions of dollars, because I got the answers...

72 |
73 |
74 | Success Text 75 |

76 | I will be the leader of a company that ends up being worth billions of dollars, because I got the answers...

77 |
78 |
79 | Warning Text 80 |

81 | I will be the leader of a company that ends up being worth billions of dollars, because I got the answers... 82 |

83 |
84 |
85 | Danger Text 86 |

87 | I will be the leader of a company that ends up being worth billions of dollars, because I got the answers...

88 |
89 |
90 |

91 | Small Tag 92 | Header with small subtitle 93 |
94 | Use "small" tag for the headers 95 |

96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 | @endsection -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/auth/register.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app', ['activePage' => 'register', 'title' => 'Light Bootstrap Dashboard Laravel by Creative Tim & UPDIVISION']) 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | 15 |
16 |
17 |
18 |

{{ __('Free Account') }}

19 |

{{ __('Here you can write a feature description for your dashboard, let the users know what is the value that you give them.') }}

20 |
21 |
22 |
23 |
24 |
25 | 26 |
27 |
28 |
29 |

{{ __('Awesome Performances') }}

30 |

{{ __('Here you can write a feature description for your dashboard, let the users know what is the value that you give them.') }}

31 |
32 |
33 |
34 |
35 |
36 | 37 |
38 |
39 |
40 |

{{ __('Global Support') }}

41 |

{{ __('Here you can write a feature description for your dashboard, let the users know what is the value that you give them.') }}

42 |
43 |
44 |
45 |
46 |
47 | @csrf 48 |
49 |
50 |
51 | 52 |
53 | 54 |
{{-- is-invalid make border red --}} 55 | 56 |
57 | 58 |
59 | 60 |
61 |
62 | 63 |
64 |
65 |
66 | 71 |
72 |
73 | 74 | 77 |
78 |
79 |
80 |
81 |
82 | @foreach ($errors->all() as $error) 83 |
84 | × 85 | {{ $error }} 86 |
87 | @endforeach 88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 | @endsection 96 | 97 | @push('js') 98 | 108 | @endpush -------------------------------------------------------------------------------- /src/LightBootstrapPreset.php: -------------------------------------------------------------------------------- 1 | name('dashboard');\n\n", 108 | FILE_APPEND 109 | ); 110 | 111 | // Copy light bootstrap auth views from the stubs folder 112 | static::deleteResource('views/home.blade.php'); 113 | static::copyDirectory('resources/views/auth', resource_path('views/auth')); 114 | } 115 | 116 | /** 117 | * Copy user management and profile edit files 118 | * 119 | * @return void 120 | */ 121 | public static function addUserManagement() 122 | { 123 | // Add seeder, controllers, requests and rules 124 | static::copyDirectory('database/seeds', app_path('../database/seeders')); 125 | 126 | static::copyFile('app/Http/Controllers/UserController.php', app_path('Http/Controllers/UserController.php')); 127 | static::copyFile('app/Http/Controllers/ProfileController.php', app_path('Http/Controllers/ProfileController.php')); 128 | static::copyDirectory('app/Http/Requests', app_path('Http/Requests')); 129 | static::copyDirectory('app/Rules', app_path('Rules')); 130 | 131 | // Add routes 132 | file_put_contents( 133 | './routes/web.php', 134 | "Route::group(['middleware' => 'auth'], function () {\n\tRoute::resource('user', 'App\Http\Controllers\UserController', ['except' => ['show']]);\n\tRoute::get('profile', ['as' => 'profile.edit', 'uses' => 'App\Http\Controllers\ProfileController@edit']);\n\tRoute::patch('profile', ['as' => 'profile.update', 'uses' => 'App\Http\Controllers\ProfileController@update']);\n\tRoute::patch('profile/password', ['as' => 'profile.password', 'uses' => 'App\Http\Controllers\ProfileController@password']);\n});\n\n", 135 | FILE_APPEND 136 | ); 137 | 138 | // Copy views 139 | static::copyDirectory('resources/views/users', resource_path('views/users')); 140 | static::copyDirectory('resources/views/profile', resource_path('views/profile')); 141 | } 142 | 143 | /** 144 | * Copy pages files 145 | * 146 | * @return void 147 | */ 148 | public static function addPages() 149 | { 150 | // Add controller 151 | static::copyFile('app/Http/Controllers/PageController.php', app_path('Http/Controllers/PageController.php')); 152 | 153 | // Add routes 154 | file_put_contents( 155 | './routes/web.php', 156 | "Route::group(['middleware' => 'auth'], function () {\n\tRoute::get('{page}', ['as' => 'page.index', 'uses' => 'App\Http\Controllers\PageController@index']);\n});\n\n", 157 | FILE_APPEND 158 | ); 159 | 160 | // Copy views 161 | static::copyDirectory('resources/views/pages', resource_path('views/pages')); 162 | } 163 | /** 164 | * Delete a resource 165 | * 166 | * @param string $resource 167 | * @return void 168 | */ 169 | private static function deleteResource($resource) 170 | { 171 | (new Filesystem)->delete(resource_path($resource)); 172 | } 173 | 174 | /** 175 | * Copy a directory 176 | * 177 | * @param string $file 178 | * @param string $destination 179 | * @return void 180 | */ 181 | private static function copyFile($file, $destination) 182 | { 183 | (new Filesystem)->copy(static::STUBSPATH.$file, $destination); 184 | } 185 | 186 | /** 187 | * Copy a directory 188 | * 189 | * @param string $directory 190 | * @param string $destination 191 | * @return void 192 | */ 193 | private static function copyDirectory($directory, $destination) 194 | { 195 | (new Filesystem)->copyDirectory(static::STUBSPATH.$directory, $destination); 196 | } 197 | } 198 | -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/views/pages/table.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app', ['activePage' => 'table', 'title' => 'Light Bootstrap Dashboard Laravel by Creative Tim & UPDIVISION', 'navName' => 'Table List', 'activeButton' => 'laravel']) 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 |
10 |

Striped Table with Hover

11 |

Here is a subtitle for this table

12 |
13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
IDNameSalaryCountryCity
1Dakota Rice$36,738NigerOud-Turnhout
2Minerva Hooper$23,789CuraçaoSinaai-Waas
3Sage Rodriguez$56,142NetherlandsBaileux
4Philip Chaney$38,735Korea, SouthOverland Park
5Doris Greene$63,542MalawiFeldkirchen in Kärnten
6Mason Porter$78,615ChileGloucester
67 |
68 |
69 |
70 |
71 |
72 |
73 |

Table on Plain Background

74 |

Here is a subtitle for this table

75 |
76 |
77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 |
IDNameSalaryCountryCity
1Dakota Rice$36,738NigerOud-Turnhout
2Minerva Hooper$23,789CuraçaoSinaai-Waas
3Sage Rodriguez$56,142NetherlandsBaileux
4Philip Chaney$38,735Korea, SouthOverland Park
5Doris Greene$63,542MalawiFeldkirchen in Kärnten
6Mason Porter$78,615ChileGloucester
130 |
131 |
132 |
133 |
134 |
135 |
136 | @endsection -------------------------------------------------------------------------------- /src/light-bootstrap-stubs/resources/assets/js/light-bootstrap-dashboard.js: -------------------------------------------------------------------------------- 1 | // ========================================================= 2 | // Light Bootstrap Dashboard - v2.0.1 3 | // ========================================================= 4 | // 5 | // Product Page: https://www.creative-tim.com/product/light-bootstrap-dashboard-laravel 6 | // Copyright 2019 Creative Tim (https://www.creative-tim.com) & Updivision (https://www.updivision.com) 7 | // Licensed under MIT (https://github.com/creativetimofficial/light-bootstrap-dashboard-laravel/blob/master/LICENSE) 8 | // 9 | // Coded by Creative Tim & Updivision 10 | // 11 | // ========================================================= 12 | // 13 | // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 14 | 15 | var searchVisible = 0; 16 | var transparent = true; 17 | 18 | var transparentDemo = true; 19 | var fixedTop = false; 20 | 21 | var navbar_initialized = false; 22 | var mobile_menu_visible = 0, 23 | mobile_menu_initialized = false, 24 | toggle_initialized = false, 25 | bootstrap_nav_initialized = false, 26 | $sidebar, 27 | isWindows; 28 | 29 | $(document).ready(function() { 30 | window_width = $(window).width(); 31 | 32 | // check if there is an image set for the sidebar's background 33 | lbd.checkSidebarImage(); 34 | 35 | // Init navigation toggle for small screens 36 | if (window_width <= 991) { 37 | lbd.initRightMenu(); 38 | } 39 | 40 | // Activate the tooltips 41 | $('[rel="tooltip"]').tooltip(); 42 | 43 | // Activate regular switches 44 | if ($("[data-toggle='switch']").length != 0) { 45 | $("[data-toggle='switch']").bootstrapSwitch(); 46 | } 47 | 48 | $('.form-control').on("focus", function() { 49 | $(this).parent('.input-group').addClass("input-group-focus"); 50 | }).on("blur", function() { 51 | $(this).parent(".input-group").removeClass("input-group-focus"); 52 | }); 53 | 54 | // Fixes sub-nav not working as expected on IOS 55 | $('body').on('touchstart.dropdown', '.dropdown-menu', function(e) { 56 | e.stopPropagation(); 57 | }); 58 | }); 59 | 60 | // activate collapse right menu when the windows is resized 61 | $(window).resize(function() { 62 | if ($(window).width() <= 991) { 63 | lbd.initRightMenu(); 64 | } 65 | }); 66 | 67 | lbd = { 68 | misc: { 69 | navbar_menu_visible: 0 70 | }, 71 | checkSidebarImage: function() { 72 | $sidebar = $('.sidebar'); 73 | image_src = $sidebar.data('image'); 74 | 75 | if (image_src !== undefined) { 76 | sidebar_container = '