├── .editorconfig ├── .env.example ├── .env.travis ├── .gitattributes ├── .github ├── FUNDING.yml └── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── project-questions-and-help.md ├── .gitignore ├── .styleci.yml ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── _config.yml ├── app ├── Console │ ├── Commands │ │ └── DeleteExpiredActivations.php │ └── Kernel.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── AdminDetailsController.php │ │ ├── Auth │ │ │ ├── ActivateController.php │ │ │ ├── ForgotPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── RegisterController.php │ │ │ ├── ResetPasswordController.php │ │ │ └── SocialController.php │ │ ├── Controller.php │ │ ├── ProfilesController.php │ │ ├── RestoreUserController.php │ │ ├── SoftDeletesController.php │ │ ├── TermsController.php │ │ ├── ThemesManagementController.php │ │ ├── UserController.php │ │ ├── UsersManagementController.php │ │ └── WelcomeController.php │ ├── Kernel.php │ ├── Middleware │ │ ├── Authenticate.php │ │ ├── CheckCurrentUser.php │ │ ├── CheckForMaintenanceMode.php │ │ ├── CheckIsUserActivated.php │ │ ├── EncryptCookies.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── TrimStrings.php │ │ ├── TrustProxies.php │ │ └── VerifyCsrfToken.php │ ├── Requests │ │ ├── DeleteUserAccount.php │ │ ├── UpdateUserPasswordRequest.php │ │ └── UpdateUserProfile.php │ └── ViewComposers │ │ └── ThemeComposer.php ├── Logic │ ├── Activation │ │ └── ActivationRepository.php │ └── Macros │ │ └── HtmlMacros.php ├── Mail │ └── ExceptionOccured.php ├── Models │ ├── Activation.php │ ├── Profile.php │ ├── Social.php │ ├── Theme.php │ └── User.php ├── Notifications │ ├── SendActivationEmail.php │ └── SendGoodbyeEmail.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── ComposerServiceProvider.php │ ├── EventServiceProvider.php │ ├── LocalEnvironmentServiceProvider.php │ ├── MacroServiceProvider.php │ └── RouteServiceProvider.php └── Traits │ ├── ActivationTrait.php │ ├── CaptchaTrait.php │ └── CaptureIpTrait.php ├── artisan ├── bootstrap ├── app.php ├── autoload.php └── cache │ └── .gitignore ├── composer.json ├── config ├── app.php ├── auth.php ├── broadcasting.php ├── cache.php ├── cors.php ├── database.php ├── debugbar.php ├── exceptions.php ├── filesystems.php ├── gravatar.php ├── hashing.php ├── laravel2step.php ├── laravelPhpInfo.php ├── laravelblocker.php ├── logging.php ├── mail.php ├── queue.php ├── roles.php ├── services.php ├── session.php ├── settings.php ├── usersmanagement.php └── view.php ├── database ├── .gitignore ├── factories │ └── ModelFactory.php ├── migrations │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2016_01_15_105324_create_roles_table.php │ ├── 2016_01_15_114412_create_role_user_table.php │ ├── 2016_01_26_115212_create_permissions_table.php │ ├── 2016_01_26_115523_create_permission_role_table.php │ ├── 2016_02_09_132439_create_permission_user_table.php │ ├── 2017_03_09_082449_create_social_logins_table.php │ ├── 2017_03_09_082526_create_activations_table.php │ ├── 2017_03_20_213554_create_themes_table.php │ ├── 2017_03_21_042918_create_profiles_table.php │ ├── 2017_12_09_070937_create_two_step_auth_table.php │ ├── 2019_02_19_032636_create_laravel_blocker_types_table.php │ ├── 2019_02_19_045158_create_laravel_blocker_table.php │ └── 2019_08_19_000000_create_failed_jobs_table.php └── seeders │ ├── BlockedItemsTableSeeder.php │ ├── BlockedTypeTableSeeder.php │ ├── ConnectRelationshipsSeeder.php │ ├── DatabaseSeeder.php │ ├── PermissionsTableSeeder.php │ ├── RolesTableSeeder.php │ ├── ThemesTableSeeder.php │ └── UsersTableSeeder.php ├── license.svg ├── package.json ├── phpunit.xml ├── public ├── .htaccess ├── css │ ├── app.css │ └── laravel2step │ │ ├── app.css │ │ └── app.min.css ├── favicon.ico ├── fonts │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ ├── glyphicons-halflings-regular.woff2 │ └── vendor │ │ ├── bootstrap-sass │ │ └── bootstrap │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── font-awesome │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 ├── images │ ├── wink.png │ └── wink.svg ├── index.php ├── js │ ├── app.99230f42ad184f498ce6.js │ ├── app.js │ └── app.js.LICENSE.txt ├── mix-manifest.json ├── robots.txt └── web.config ├── resources ├── assets │ ├── js │ │ ├── app.js │ │ ├── bootstrap.js │ │ └── components │ │ │ ├── ExampleComponent.vue │ │ │ └── UsersCount.vue │ ├── sass │ │ ├── _avatar.scss │ │ ├── _badges.scss │ │ ├── _bootstrap-social.scss │ │ ├── _buttons.scss │ │ ├── _forms.scss │ │ ├── _helpers.scss │ │ ├── _hideShowPassword.scss │ │ ├── _lists.scss │ │ ├── _logs.scss │ │ ├── _margins.scss │ │ ├── _mixins.scss │ │ ├── _modals.scss │ │ ├── _panels.scss │ │ ├── _password.scss │ │ ├── _socials.scss │ │ ├── _typography.scss │ │ ├── _user-profile.scss │ │ ├── _variables.scss │ │ ├── _visibility.scss │ │ ├── _wells.scss │ │ └── app.scss │ └── scss │ │ └── laravel2step │ │ ├── _animations.scss │ │ ├── _mixins.scss │ │ ├── _modals.scss │ │ ├── _variables.scss │ │ ├── _verification.scss │ │ └── app.scss ├── lang │ ├── en │ │ ├── auth.php │ │ ├── emails.php │ │ ├── forms.php │ │ ├── modals.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ ├── permsandroles.php │ │ ├── profile.php │ │ ├── socials.php │ │ ├── terms.php │ │ ├── themes.php │ │ ├── titles.php │ │ ├── usersmanagement.php │ │ └── validation.php │ ├── fr │ │ ├── auth.php │ │ ├── emails.php │ │ ├── forms.php │ │ ├── modals.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ ├── permsandroles.php │ │ ├── profile.php │ │ ├── socials.php │ │ ├── titles.php │ │ ├── usersmanagement.php │ │ └── validation.php │ ├── pt-br │ │ ├── auth.php │ │ ├── emails.php │ │ ├── forms.php │ │ ├── modals.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ ├── permsandroles.php │ │ ├── profile.php │ │ ├── socials.php │ │ ├── themes.php │ │ ├── titles.php │ │ ├── usersmanagement.php │ │ └── validation.php │ └── vendor │ │ ├── laravel2step │ │ └── en │ │ │ └── laravel-verification.php │ │ ├── laravelPhpInfo │ │ └── en │ │ │ └── laravel-phpinfo.php │ │ └── laravelblocker │ │ └── en │ │ └── laravelblocker.php └── views │ ├── auth │ ├── activation.blade.php │ ├── exceeded.blade.php │ ├── login.blade.php │ ├── passwords │ │ ├── email.blade.php │ │ └── reset.blade.php │ └── register.blade.php │ ├── emails │ └── exception.blade.php │ ├── errors │ ├── 401.blade.php │ ├── 403.blade.php │ ├── 404.blade.php │ ├── 500.blade.php │ └── 503.blade.php │ ├── home.blade.php │ ├── layouts │ └── app.blade.php │ ├── modals │ ├── modal-delete.blade.php │ ├── modal-form.blade.php │ └── modal-save.blade.php │ ├── pages │ ├── admin │ │ ├── active-users.blade.php │ │ ├── home.blade.php │ │ └── route-details.blade.php │ ├── public │ │ └── terms.blade.php │ ├── status.blade.php │ └── user │ │ └── home.blade.php │ ├── panels │ └── welcome-panel.blade.php │ ├── partials │ ├── errors.blade.php │ ├── form-status.blade.php │ ├── nav.blade.php │ ├── search-users-form.blade.php │ ├── socials-icons.blade.php │ ├── socials.blade.php │ ├── status-panel.blade.php │ └── status.blade.php │ ├── profiles │ ├── edit.blade.php │ └── show.blade.php │ ├── scripts │ ├── check-changed.blade.php │ ├── datatables.blade.php │ ├── delete-modal-script.blade.php │ ├── form-modal-script.blade.php │ ├── ga-analytics.blade.php │ ├── gmaps-address-lookup-api3.blade.php │ ├── google-maps-geocode-and-map.blade.php │ ├── save-modal-script.blade.php │ ├── search-users.blade.php │ ├── toggleStatus.blade.php │ ├── tooltips.blade.php │ └── user-avatar-dz.blade.php │ ├── themesmanagement │ ├── add-theme.blade.php │ ├── edit-theme.blade.php │ ├── show-theme.blade.php │ └── show-themes.blade.php │ ├── usersmanagement │ ├── create-user.blade.php │ ├── edit-user.blade.php │ ├── show-deleted-user.blade.php │ ├── show-deleted-users.blade.php │ ├── show-user.blade.php │ └── show-users.blade.php │ ├── vendor │ ├── forms │ │ ├── create-new.blade.php │ │ ├── delete-full.blade.php │ │ ├── delete-item.blade.php │ │ ├── delete-sm.blade.php │ │ ├── destroy-all.blade.php │ │ ├── destroy-full.blade.php │ │ ├── destroy-sm.blade.php │ │ ├── edit-form.blade.php │ │ ├── partials │ │ │ ├── item-blocked-user-select.blade.php │ │ │ ├── item-note-input.blade.php │ │ │ ├── item-type-select.blade.php │ │ │ └── item-value-input.blade.php │ │ ├── restore-all.blade.php │ │ ├── restore-item.blade.php │ │ └── search-blocked.blade.php │ ├── laravel-log-viewer │ │ ├── .gitkeep │ │ └── log.blade.php │ ├── laravel2step │ │ ├── layouts │ │ │ └── app.blade.php │ │ ├── scripts │ │ │ └── input-parsing-auto-stepper.blade.php │ │ └── twostep │ │ │ ├── exceeded.blade.php │ │ │ └── verification.blade.php │ ├── laravelPhpInfo │ │ └── phpinfo │ │ │ └── php-info.blade.php │ ├── laravelblocker │ │ ├── create.blade.php │ │ ├── deleted │ │ │ └── index.blade.php │ │ ├── edit.blade.php │ │ ├── index.blade.php │ │ └── show.blade.php │ ├── mail │ │ ├── html │ │ │ ├── button.blade.php │ │ │ ├── footer.blade.php │ │ │ ├── header.blade.php │ │ │ ├── layout.blade.php │ │ │ ├── message.blade.php │ │ │ ├── panel.blade.php │ │ │ ├── subcopy.blade.php │ │ │ ├── table.blade.php │ │ │ └── themes │ │ │ │ └── default.css │ │ └── text │ │ │ ├── button.blade.php │ │ │ ├── footer.blade.php │ │ │ ├── header.blade.php │ │ │ ├── layout.blade.php │ │ │ ├── message.blade.php │ │ │ ├── panel.blade.php │ │ │ ├── subcopy.blade.php │ │ │ └── table.blade.php │ ├── modals │ │ └── confirm-modal.blade.php │ ├── notifications │ │ └── email.blade.php │ ├── pagination │ │ ├── bootstrap-4.blade.php │ │ ├── default.blade.php │ │ ├── simple-bootstrap-4.blade.php │ │ └── simple-default.blade.php │ ├── partials │ │ ├── blocked-items-table.blade.php │ │ ├── bs-visibility-css.blade.php │ │ ├── flash-messages.blade.php │ │ ├── form-status.blade.php │ │ └── styles.blade.php │ └── scripts │ │ ├── blocked-form.blade.php │ │ ├── confirm-modal.blade.php │ │ ├── datatables.blade.php │ │ ├── search-blocked.blade.php │ │ └── tooltips.blade.php │ └── welcome.blade.php ├── routes ├── api.php ├── channels.php ├── console.php └── web.php ├── server.php ├── tests ├── CreatesApplication.php ├── Feature │ ├── PublicPagesTest.php │ └── ThemesTest.php ├── TestCase.php └── Unit │ └── ExampleTest.php └── webpack.mix.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = space 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | 14 | [*.{yml,yaml}] 15 | indent_size = 2 16 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [huniko519] 4 | patreon: huniko519 5 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **First, take look at:** 11 | 1. https://github.com/jeremykenedy/laravel-auth#opening-an-issue 12 | 2. https://github.com/jeremykenedy/laravel-auth/issues?q=is%3Aissue+is%3Aclosed 13 | 14 | **Did you star the repo?** 15 | Yes or No 16 | 17 | **Describe the bug** 18 | A clear and concise description of what the bug is. 19 | 20 | **To Reproduce** 21 | Steps to reproduce the behavior: 22 | 1. Go to '...' 23 | 2. Click on '....' 24 | 3. Scroll down to '....' 25 | 4. See error 26 | 27 | **Expected behavior** 28 | A clear and concise description of what you expected to happen. 29 | 30 | **Screenshots** 31 | If applicable, add screenshots to help explain your problem. 32 | 33 | **Desktop (please complete the following information):** 34 | - OS: [e.g. iOS] 35 | - Browser [e.g. chrome, safari] 36 | - Version [e.g. 22] 37 | 38 | **Smartphone (please complete the following information):** 39 | - Device: [e.g. iPhone6] 40 | - OS: [e.g. iOS8.1] 41 | - Browser [e.g. stock browser, safari] 42 | - Version [e.g. 22] 43 | 44 | **Additional context** 45 | Add any other context about the problem here. 46 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **First, take a look at:** 11 | 1. https://github.com/jeremykenedy/laravel-auth#opening-an-issue 12 | 2. https://github.com/jeremykenedy/laravel-auth/issues?q=is%3Aissue+is%3Aclosed 13 | 14 | **Did you star the repo?** 15 | Yes or No 16 | 17 | **Is your feature request related to a problem? Please describe.** 18 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 19 | 20 | **Describe the solution you'd like** 21 | A clear and concise description of what you want to happen. 22 | 23 | **Describe alternatives you've considered** 24 | A clear and concise description of any alternative solutions or features you've considered. 25 | 26 | **Additional context** 27 | Add any other context or screenshots about the feature request here. 28 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/project-questions-and-help.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Project Questions and Help 3 | about: This is for general questions and help. 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **First, take a look at:** 11 | 1. https://github.com/jeremykenedy/laravel-auth#opening-an-issue 12 | 2. https://github.com/jeremykenedy/laravel-auth/issues?q=is%3Aissue+is%3Aclosed 13 | 14 | **Did you star the repo?** 15 | Yes or No 16 | 17 | **Please describe what you are needing help with below:** 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ### OSX Vendor Configs ### 2 | .DS_Store 3 | *._DS_Store 4 | ._.DS_Store 5 | *._ 6 | ._* 7 | ._.* 8 | 9 | ### Windows Vendor Configs ### 10 | Thumbs.db 11 | 12 | ### Sass ### 13 | #bower_components/* 14 | /.sass-cache/* 15 | .sass-cache 16 | 17 | ### Editor Configs ### 18 | *.sublime-workspace 19 | .idea/* 20 | /.idea/* 21 | .phpintel/* 22 | /.phpintel/* 23 | /.vscode 24 | 25 | ### Vagrant/Homestead Vendor Configs ### 26 | /.vagrant 27 | Homestead.yaml 28 | Homestead.json 29 | 30 | ### Master Configs ### 31 | .env 32 | composer.lock 33 | package-lock.json 34 | yarn.lock 35 | 36 | ### Assets ### 37 | /node_modules 38 | /public/hot 39 | /public/storage 40 | /storage/*.key 41 | /vendor 42 | /storage/debugbar 43 | /storage/framework 44 | /storage/logs 45 | /storage/users 46 | packages/ 47 | .phpunit.result.cache 48 | .env.backup 49 | 50 | # Debug Files 51 | npm-debug.log 52 | yarn-error.log 53 | 54 | -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- 1 | preset: laravel 2 | 3 | enabled: 4 | - align_double_arrow 5 | 6 | disabled: 7 | - unused_use 8 | 9 | finder: 10 | not-name: 11 | - index.php 12 | - server.php 13 | - CheckIsUserActivated.php 14 | - SocialController.php 15 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 7.3 5 | - 7.4 6 | 7 | services: 8 | - mysql 9 | 10 | before_script: 11 | - cp .env.travis .env 12 | - mysql -u root -e 'create database laravelAuth;' 13 | - composer self-update 14 | - composer install --dev --prefer-source --no-interaction 15 | - php artisan vendor:publish --tag=laravelroles 16 | - php artisan vendor:publish --tag=laravel2step 17 | - php artisan key:generate 18 | - php artisan migrate:install --env=testing --no-interaction 19 | - composer dump-autoload 20 | - sudo chgrp -R www-data storage bootstrap/cache 21 | - sudo chmod -R ug+rwx storage bootstrap/cache 22 | - php artisan migrate 23 | - php artisan db:seed 24 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2017-2020 jeremykenedy 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman -------------------------------------------------------------------------------- /app/Console/Commands/DeleteExpiredActivations.php: -------------------------------------------------------------------------------- 1 | activationRepository = $activationRepository; 37 | } 38 | 39 | /** 40 | * Execute the console command. 41 | * 42 | * @return mixed 43 | */ 44 | public function handle() 45 | { 46 | $this->activationRepository->deleteExpiredActivations(); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | command('inspire')->hourly(); 29 | 30 | $schedule->command('activations:clean')->daily(); 31 | } 32 | 33 | /** 34 | * Register the Closure based commands for the application. 35 | * 36 | * @return void 37 | */ 38 | protected function commands() 39 | { 40 | require base_path('routes/console.php'); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /app/Http/Controllers/AdminDetailsController.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 18 | } 19 | 20 | /** 21 | * Display a listing of the resource. 22 | * 23 | * @return \Illuminate\Http\Response 24 | */ 25 | public function listRoutes() 26 | { 27 | $routes = Route::getRoutes(); 28 | $data = [ 29 | 'routes' => $routes, 30 | ]; 31 | 32 | return view('pages.admin.route-details', $data); 33 | } 34 | 35 | /** 36 | * Display active users page. 37 | * 38 | * @return \Illuminate\Http\Response 39 | */ 40 | public function activeUsers() 41 | { 42 | $users = User::count(); 43 | 44 | return view('pages.admin.active-users', ['users' => $users]); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ForgotPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/LoginController.php: -------------------------------------------------------------------------------- 1 | middleware('guest', ['except' => 'logout']); 41 | } 42 | 43 | /** 44 | * Logout, Clear Session, and Return. 45 | * 46 | * @return void 47 | */ 48 | public function logout() 49 | { 50 | // $user = Auth::user(); 51 | // Log::info('User Logged Out. ', [$user]); 52 | Auth::logout(); 53 | Session::flush(); 54 | 55 | return redirect(property_exists($this, 'redirectAfterLogout') ? $this->redirectAfterLogout : '/'); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ResetPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 17 | } 18 | 19 | /** 20 | * Show the application dashboard. 21 | * 22 | * @return \Illuminate\Http\Response 23 | */ 24 | public function index() 25 | { 26 | $user = Auth::user(); 27 | 28 | if ($user->isAdmin()) { 29 | return view('pages.admin.home'); 30 | } 31 | 32 | return view('pages.user.home'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/Http/Controllers/WelcomeController.php: -------------------------------------------------------------------------------- 1 | user()) { 24 | abort(403, 'Unauthorized action.'); 25 | } 26 | 27 | return $next($request); 28 | } 29 | 30 | public function terminate($request, $response) 31 | { 32 | $user = Auth::user(); 33 | $currentRoute = Route::currentRouteName(); 34 | Log::info('CheckCurrentUser middlware was used: '.$currentRoute.'. ', [$user]); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/Http/Middleware/CheckForMaintenanceMode.php: -------------------------------------------------------------------------------- 1 | check()) { 22 | return redirect('/home'); 23 | } 24 | 25 | return $next($request); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- 1 | 'required', 28 | ]; 29 | } 30 | 31 | /** 32 | * Get the error messages for the defined validation rules. 33 | * 34 | * @return array 35 | */ 36 | public function messages() 37 | { 38 | return [ 39 | 'checkConfirmDelete.required' => trans('profile.confirmDeleteRequired'), 40 | ]; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /app/Http/Requests/UpdateUserPasswordRequest.php: -------------------------------------------------------------------------------- 1 | 'required|min:6|max:20|confirmed', 28 | 'password_confirmation' => 'required|same:password', 29 | ]; 30 | } 31 | 32 | /** 33 | * Get the error messages for the defined validation rules. 34 | * 35 | * @return array 36 | */ 37 | public function messages() 38 | { 39 | return [ 40 | 'password.required' => trans('auth.passwordRequired'), 41 | 'password.min' => trans('auth.PasswordMin'), 42 | 'password.max' => trans('auth.PasswordMax'), 43 | ]; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /app/Http/Requests/UpdateUserProfile.php: -------------------------------------------------------------------------------- 1 | '', 28 | 'location' => '', 29 | 'bio' => 'max:500', 30 | 'twitter_username' => 'max:50', 31 | 'github_username' => 'max:50', 32 | 'avatar' => '', 33 | 'avatar_status' => '', 34 | ]; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/Http/ViewComposers/ThemeComposer.php: -------------------------------------------------------------------------------- 1 | user = Auth::user(); 22 | } 23 | 24 | /** 25 | * Bind data to the view. 26 | * 27 | * @param View $view 28 | * 29 | * @return void 30 | */ 31 | public function compose(View $view) 32 | { 33 | $theme = null; 34 | 35 | if (Auth::check()) { 36 | $user = $this->user; 37 | 38 | if ($user->profile) { 39 | $theme = Theme::find($user->profile->theme_id); 40 | 41 | if ($theme->status === 0) { 42 | $theme = Theme::find(Theme::default); 43 | } 44 | } 45 | } 46 | 47 | $view->with('theme', $theme); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /app/Models/Activation.php: -------------------------------------------------------------------------------- 1 | 'integer', 71 | 'user_id' => 'integer', 72 | 'token' => 'string', 73 | 'ip_address' => 'string', 74 | ]; 75 | 76 | /** 77 | * Get the user that owns the activation. 78 | */ 79 | public function user() 80 | { 81 | return $this->belongsTo(\App\Models\User::class); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /app/Models/Profile.php: -------------------------------------------------------------------------------- 1 | 'integer', 43 | ]; 44 | 45 | /** 46 | * A profile belongs to a user. 47 | * 48 | * @return mixed 49 | */ 50 | public function user() 51 | { 52 | return $this->belongsTo(\App\Models\User::class); 53 | } 54 | 55 | /** 56 | * Profile Theme Relationships. 57 | * 58 | * @var array 59 | */ 60 | public function theme() 61 | { 62 | return $this->hasOne(\App\Models\Theme::class); 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /app/Models/Social.php: -------------------------------------------------------------------------------- 1 | 'integer', 67 | 'user_id' => 'integer', 68 | 'provider' => 'string', 69 | 'social_id' => 'string', 70 | ]; 71 | 72 | /** 73 | * Get the user that owns the social. 74 | */ 75 | public function user() 76 | { 77 | return $this->belongsTo(\App\Models\User::class); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /app/Notifications/SendGoodbyeEmail.php: -------------------------------------------------------------------------------- 1 | token = $token; 22 | } 23 | 24 | /** 25 | * Get the notification's delivery channels. 26 | * 27 | * @param mixed $notifiable 28 | * 29 | * @return array 30 | */ 31 | public function via($notifiable) 32 | { 33 | return ['mail']; 34 | } 35 | 36 | /** 37 | * Get the mail representation of the notification. 38 | * 39 | * @param mixed $notifiable 40 | * 41 | * @return \Illuminate\Notifications\Messages\MailMessage 42 | */ 43 | public function toMail($notifiable) 44 | { 45 | $message = new MailMessage(); 46 | $message->subject(trans('emails.goodbyeSubject')) 47 | ->greeting(trans('emails.goodbyeGreeting', ['username' => \Auth::User()->name])) 48 | ->line(trans('emails.goodbyeMessage')) 49 | ->action(trans('emails.goodbyeButton'), route('user.reactivate', ['token' => $this->token])) 50 | ->line(trans('emails.goodbyeThanks')); 51 | 52 | return $message; 53 | } 54 | 55 | /** 56 | * Get the array representation of the notification. 57 | * 58 | * @param mixed $notifiable 59 | * 60 | * @return array 61 | */ 62 | public function toArray($notifiable) 63 | { 64 | return [ 65 | // 66 | ]; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- 1 | 'App\Policies\ModelPolicy', 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | $this->registerPolicies(); 27 | 28 | // 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | [ 19 | SendEmailVerificationNotification::class, 20 | ], 21 | 'App\Events\SomeEvent' => [ 22 | 'App\Listeners\EventListener', 23 | ], 24 | \SocialiteProviders\Manager\SocialiteWasCalled::class => [ 25 | 'SocialiteProviders\\YouTube\\YouTubeExtendSocialite@handle', 26 | 'SocialiteProviders\\Twitch\\TwitchExtendSocialite@handle', 27 | 'SocialiteProviders\\Instagram\\InstagramExtendSocialite@handle', 28 | 'SocialiteProviders\\ThirtySevenSignals\\ThirtySevenSignalsExtendSocialite@handle', 29 | 'SocialiteProviders\\LinkedIn\\LinkedInExtendSocialite@handle', 30 | ], 31 | ]; 32 | 33 | /** 34 | * Register any events for your application. 35 | * 36 | * @return void 37 | */ 38 | public function boot() 39 | { 40 | parent::boot(); 41 | 42 | // 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /app/Providers/LocalEnvironmentServiceProvider.php: -------------------------------------------------------------------------------- 1 | \Barryvdh\Debugbar\Facade::class, 26 | ]; 27 | 28 | /** 29 | * Bootstrap the application services. 30 | * 31 | * @return void 32 | */ 33 | public function boot() 34 | { 35 | if (\App::environment(config('debugbar.enabled_environment'))) { 36 | $this->registerServiceProviders(); 37 | $this->registerFacadeAliases(); 38 | } 39 | } 40 | 41 | /** 42 | * Register the application services. 43 | * 44 | * @return void 45 | */ 46 | public function register() 47 | { 48 | // 49 | } 50 | 51 | /** 52 | * Load local service providers. 53 | */ 54 | protected function registerServiceProviders() 55 | { 56 | foreach ($this->localProviders as $provider) { 57 | $this->app->register($provider); 58 | } 59 | } 60 | 61 | /** 62 | * Load additional Aliases. 63 | */ 64 | public function registerFacadeAliases() 65 | { 66 | $loader = AliasLoader::getInstance(); 67 | foreach ($this->facadeAliases as $alias => $facade) { 68 | $loader->alias($alias, $facade); 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /app/Providers/MacroServiceProvider.php: -------------------------------------------------------------------------------- 1 | configureRateLimiting(); 39 | 40 | $this->routes(function () { 41 | Route::middleware('web') 42 | ->group(base_path('routes/web.php')); 43 | 44 | Route::prefix('api') 45 | ->middleware('api') 46 | ->group(base_path('routes/api.php')); 47 | }); 48 | } 49 | 50 | /** 51 | * Configure the rate limiters for the application. 52 | * 53 | * @return void 54 | */ 55 | protected function configureRateLimiting() 56 | { 57 | RateLimiter::for('api', function (Request $request) { 58 | return Limit::perMinute(60); 59 | }); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /app/Traits/ActivationTrait.php: -------------------------------------------------------------------------------- 1 | validateEmail($user)) { 22 | return true; 23 | } 24 | 25 | $activationRepostory = new ActivationRepository(); 26 | $activationRepostory->createTokenAndSendEmail($user); 27 | } 28 | 29 | /** 30 | * Validate the Users Email. 31 | * 32 | * @param User $user 33 | * 34 | * @return bool 35 | */ 36 | protected function validateEmail(User $user) 37 | { 38 | $validator = Validator::make(['email' => $user->email], ['email' => 'required|email']); 39 | 40 | if ($validator->fails()) { 41 | return false; 42 | } 43 | 44 | return true; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /app/Traits/CaptchaTrait.php: -------------------------------------------------------------------------------- 1 | verify($response, $remoteip); 23 | 24 | if ($resp->isSuccess()) { 25 | return true; 26 | } 27 | 28 | return false; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/Traits/CaptureIpTrait.php: -------------------------------------------------------------------------------- 1 | make(Illuminate\Contracts\Console\Kernel::class); 34 | 35 | $status = $kernel->handle( 36 | $input = new Symfony\Component\Console\Input\ArgvInput, 37 | new Symfony\Component\Console\Output\ConsoleOutput 38 | ); 39 | 40 | /* 41 | |-------------------------------------------------------------------------- 42 | | Shutdown The Application 43 | |-------------------------------------------------------------------------- 44 | | 45 | | Once Artisan has finished running, we will fire off the shutdown events 46 | | so that any final work may be done by the application before we shut 47 | | down the process. This is the last thing to happen to the request. 48 | | 49 | */ 50 | 51 | $kernel->terminate($input, $status); 52 | 53 | exit($status); 54 | -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- 1 | singleton( 30 | Illuminate\Contracts\Http\Kernel::class, 31 | App\Http\Kernel::class 32 | ); 33 | 34 | $app->singleton( 35 | Illuminate\Contracts\Console\Kernel::class, 36 | App\Console\Kernel::class 37 | ); 38 | 39 | $app->singleton( 40 | Illuminate\Contracts\Debug\ExceptionHandler::class, 41 | App\Exceptions\Handler::class 42 | ); 43 | 44 | /* 45 | |-------------------------------------------------------------------------- 46 | | Return The Application 47 | |-------------------------------------------------------------------------- 48 | | 49 | | This script returns the application instance. The instance is given to 50 | | the calling script so we can separate the building of the instances 51 | | from the actual running of the application and sending responses. 52 | | 53 | */ 54 | 55 | return $app; 56 | -------------------------------------------------------------------------------- /bootstrap/autoload.php: -------------------------------------------------------------------------------- 1 | env('BROADCAST_DRIVER', 'null'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Broadcast Connections 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the broadcast connections that will be used 26 | | to broadcast events to other systems or over websockets. Samples of 27 | | each available type of connection are provided inside this array. 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'pusher' => [ 34 | 'driver' => 'pusher', 35 | 'key' => env('PUSHER_APP_KEY'), 36 | 'secret' => env('PUSHER_APP_SECRET'), 37 | 'app_id' => env('PUSHER_APP_ID'), 38 | 'options' => [ 39 | 'cluster' => env('PUSHER_APP_CLUSTER'), 40 | 'encrypted' => true, 41 | ], 42 | ], 43 | 44 | 'redis' => [ 45 | 'driver' => 'redis', 46 | 'connection' => 'default', 47 | ], 48 | 49 | 'log' => [ 50 | 'driver' => 'log', 51 | ], 52 | 53 | 'null' => [ 54 | 'driver' => 'null', 55 | ], 56 | 57 | ], 58 | 59 | ]; 60 | -------------------------------------------------------------------------------- /config/cors.php: -------------------------------------------------------------------------------- 1 | ['api/*'], 19 | 20 | 'allowed_methods' => ['*'], 21 | 22 | 'allowed_origins' => ['*'], 23 | 24 | 'allowed_origins_patterns' => [], 25 | 26 | 'allowed_headers' => ['*'], 27 | 28 | 'exposed_headers' => [], 29 | 30 | 'max_age' => 0, 31 | 32 | 'supports_credentials' => false, 33 | 34 | ]; 35 | -------------------------------------------------------------------------------- /config/debugbar.php: -------------------------------------------------------------------------------- 1 | env('DEBUG_BAR_ENVIRONMENT'), 9 | 10 | ]; 11 | -------------------------------------------------------------------------------- /config/gravatar.php: -------------------------------------------------------------------------------- 1 | [ 5 | 6 | // By default, images are presented at 80px by 80px if no size parameter is supplied. 7 | // You may request a specific image size, which will be dynamically delivered from Gravatar 8 | // by passing a single pixel dimension (since the images are square): 9 | 'size' => env('DEFAULT_GRAVATAR_SIZE', false), 10 | 11 | // the fallback image, can be a string or a url 12 | // for more info, visit: http://en.gravatar.com/site/implement/images/#default-image 13 | 'fallback' => env('DEFAULT_GRAVATAR_FALLBACK', false), 14 | 15 | // would you like to return a https://... image 16 | 'secure' => env('DEFAULT_GRAVATAR_SECURE', false), 17 | 18 | // Gravatar allows users to self-rate their images so that they can indicate if an image 19 | // is appropriate for a certain audience. By default, only 'G' rated images are displayed 20 | // unless you indicate that you would like to see higher ratings. 21 | // Available options: 22 | // g: suitable for display on all websites with any audience type. 23 | // pg: may contain rude gestures, provocatively dressed individuals, the lesser swear words, or mild violence. 24 | // r: may contain such things as harsh profanity, intense violence, nudity, or hard drug use. 25 | // x: may contain hardcore sexual imagery or extremely disturbing violence. 26 | 'maximumRating' => env('DEFAULT_GRAVATAR_MAX_RATING', 'g'), 27 | 28 | // If for some reason you wanted to force the default image to always load, you can do that setting this to true 29 | 'forceDefault' => env('DEFAULT_GRAVATAR_FORCE_DEFAULT', false), 30 | 31 | // If you require a file-type extension (some places do) then you may also add an (optional) .jpg extension to that URL 32 | 'forceExtension' => env('DEFAULT_GRAVATAR_FORCE_EXTENSION', 'jpg'), 33 | ], 34 | ]; 35 | -------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- 1 | 'bcrypt', 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Bcrypt Options 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may specify the configuration options that should be used when 26 | | passwords are hashed using the Bcrypt algorithm. This will allow you 27 | | to control the amount of time it takes to hash the given password. 28 | | 29 | */ 30 | 31 | 'bcrypt' => [ 32 | 'rounds' => env('BCRYPT_ROUNDS', 10), 33 | ], 34 | 35 | /* 36 | |-------------------------------------------------------------------------- 37 | | Argon Options 38 | |-------------------------------------------------------------------------- 39 | | 40 | | Here you may specify the configuration options that should be used when 41 | | passwords are hashed using the Argon algorithm. These will allow you 42 | | to control the amount of time it takes to hash the given password. 43 | | 44 | */ 45 | 46 | 'argon' => [ 47 | 'memory' => 1024, 48 | 'threads' => 2, 49 | 'time' => 2, 50 | ], 51 | 52 | ]; 53 | -------------------------------------------------------------------------------- /config/laravelPhpInfo.php: -------------------------------------------------------------------------------- 1 | 'layouts.app', 13 | 14 | // Enable `auth` middleware 15 | 'authEnabled' => true, 16 | 17 | // Enable Optional Roles Middleware 18 | 'rolesEnabled' => true, 19 | 20 | // Optional Roles Middleware 21 | 'rolesMiddlware' => ['activated', 'role:admin', 'activity', 'twostep'], 22 | 23 | // Switch Between bootstrap 3 `panel` and bootstrap 4 `card` classes 24 | 'bootstapVersion' => '4', 25 | 26 | // Additional Card classes for styling - 27 | // See: https://getbootstrap.com/docs/4.0/components/card/#background-and-color 28 | // Example classes: 'text-white bg-primary mb-3' 29 | 'bootstrapCardClasses' => '', 30 | 31 | // Inline CSS 32 | 'usePHPinfoCSS' => true, 33 | 34 | ]; 35 | -------------------------------------------------------------------------------- /config/usersmanagement.php: -------------------------------------------------------------------------------- 1 | true, 13 | 'paginateListSize' => env('USER_LIST_PAGINATION_SIZE', 25), 14 | 15 | // Enable Search Users- Uses jQuery Ajax 16 | 'enableSearchUsers' => true, 17 | 18 | // Users List JS DataTables - not recommended use with pagination 19 | 'enabledDatatablesJs' => false, 20 | 'datatablesJsStartCount' => 25, 21 | 'datatablesCssCDN' => 'https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css', 22 | 'datatablesJsCDN' => 'https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js', 23 | 'datatablesJsPresetCDN' => 'https://cdn.datatables.net/1.10.12/js/dataTables.bootstrap.min.js', 24 | 25 | // Bootstrap Tooltips 26 | 'tooltipsEnabled' => true, 27 | 'enableBootstrapPopperJsCdn' => true, 28 | 'bootstrapPopperJsCdn' => 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js', 29 | 30 | ]; 31 | -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- 1 | [ 17 | resource_path('views'), 18 | ], 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Compiled View Path 23 | |-------------------------------------------------------------------------- 24 | | 25 | | This option determines where all the compiled Blade templates will be 26 | | stored for your application. Typically, this is within the storage 27 | | directory. However, as usual, you are free to change this value. 28 | | 29 | */ 30 | 31 | 'compiled' => env( 32 | 'VIEW_COMPILED_PATH', 33 | realpath(storage_path('framework/views')) 34 | ), 35 | 36 | ]; 37 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | *.sqlite-journal 3 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 18 | $table->string('name')->unique(); 19 | $table->string('first_name')->nullable(); 20 | $table->string('last_name')->nullable(); 21 | $table->string('email')->unique()->nullable(); 22 | $table->timestamp('email_verified_at')->nullable(); 23 | $table->string('password'); 24 | $table->rememberToken(); 25 | $table->boolean('activated')->default(false); 26 | $table->string('token'); 27 | $table->ipAddress('signup_ip_address')->nullable(); 28 | $table->ipAddress('signup_confirmation_ip_address')->nullable(); 29 | $table->ipAddress('signup_sm_ip_address')->nullable(); 30 | $table->ipAddress('admin_ip_address')->nullable(); 31 | $table->ipAddress('updated_ip_address')->nullable(); 32 | $table->ipAddress('deleted_ip_address')->nullable(); 33 | $table->timestamps(); 34 | $table->softDeletes(); 35 | }); 36 | } 37 | 38 | /** 39 | * Reverse the migrations. 40 | * 41 | * @return void 42 | */ 43 | public function down() 44 | { 45 | Schema::dropIfExists('users'); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_100000_create_password_resets_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->string('email')->index(); 19 | $table->string('token')->index(); 20 | $table->timestamp('created_at')->nullable(); 21 | }); 22 | } 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::dropIfExists('password_resets'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2016_01_15_105324_create_roles_table.php: -------------------------------------------------------------------------------- 1 | hasTable($table); 19 | 20 | if (! $tableCheck) { 21 | Schema::connection($connection)->create($table, function (Blueprint $table) { 22 | $table->increments('id')->unsigned(); 23 | $table->string('name'); 24 | $table->string('slug')->unique(); 25 | $table->string('description')->nullable(); 26 | $table->integer('level')->default(1); 27 | $table->timestamps(); 28 | $table->softDeletes(); 29 | }); 30 | } 31 | } 32 | 33 | /** 34 | * Reverse the migrations. 35 | * 36 | * @return void 37 | */ 38 | public function down() 39 | { 40 | $connection = config('roles.connection'); 41 | $table = config('roles.rolesTable'); 42 | Schema::connection($connection)->dropIfExists($table); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /database/migrations/2016_01_15_114412_create_role_user_table.php: -------------------------------------------------------------------------------- 1 | hasTable($table); 20 | 21 | if (! $tableCheck) { 22 | Schema::connection($connection)->create($table, function (Blueprint $table) use ($rolesTable) { 23 | $table->increments('id')->unsigned(); 24 | $table->integer('role_id')->unsigned()->index(); 25 | $table->foreign('role_id')->references('id')->on($rolesTable)->onDelete('cascade'); 26 | $table->unsignedBigInteger('user_id')->unsigned()->index(); 27 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 28 | $table->timestamps(); 29 | $table->softDeletes(); 30 | }); 31 | } 32 | } 33 | 34 | /** 35 | * Reverse the migrations. 36 | * 37 | * @return void 38 | */ 39 | public function down() 40 | { 41 | $connection = config('roles.connection'); 42 | $table = config('roles.roleUserTable'); 43 | Schema::connection($connection)->dropIfExists($table); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /database/migrations/2016_01_26_115212_create_permissions_table.php: -------------------------------------------------------------------------------- 1 | hasTable($table); 19 | 20 | if (! $tableCheck) { 21 | Schema::connection($connection)->create($table, function (Blueprint $table) { 22 | $table->increments('id')->unsigned(); 23 | $table->string('name'); 24 | $table->string('slug')->unique(); 25 | $table->string('description')->nullable(); 26 | $table->string('model')->nullable(); 27 | $table->timestamps(); 28 | $table->softDeletes(); 29 | }); 30 | } 31 | } 32 | 33 | /** 34 | * Reverse the migrations. 35 | * 36 | * @return void 37 | */ 38 | public function down() 39 | { 40 | $connection = config('roles.connection'); 41 | $table = config('roles.permissionsTable'); 42 | Schema::connection($connection)->dropIfExists($table); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /database/migrations/2016_01_26_115523_create_permission_role_table.php: -------------------------------------------------------------------------------- 1 | hasTable($table); 21 | 22 | if (! $tableCheck) { 23 | Schema::connection($connection)->create($table, function (Blueprint $table) use ($permissionsTable, $rolesTable) { 24 | $table->increments('id')->unsigned(); 25 | $table->integer('permission_id')->unsigned()->index(); 26 | $table->foreign('permission_id')->references('id')->on($permissionsTable)->onDelete('cascade'); 27 | $table->integer('role_id')->unsigned()->index(); 28 | $table->foreign('role_id')->references('id')->on($rolesTable)->onDelete('cascade'); 29 | $table->timestamps(); 30 | $table->softDeletes(); 31 | }); 32 | } 33 | } 34 | 35 | /** 36 | * Reverse the migrations. 37 | * 38 | * @return void 39 | */ 40 | public function down() 41 | { 42 | $connection = config('roles.connection'); 43 | $table = config('roles.permissionsRoleTable'); 44 | Schema::connection($connection)->dropIfExists($table); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /database/migrations/2016_02_09_132439_create_permission_user_table.php: -------------------------------------------------------------------------------- 1 | hasTable($table); 20 | 21 | if (! $tableCheck) { 22 | Schema::connection($connection)->create($table, function (Blueprint $table) use ($permissionsTable) { 23 | $table->increments('id')->unsigned(); 24 | $table->integer('permission_id')->unsigned()->index(); 25 | $table->foreign('permission_id')->references('id')->on($permissionsTable)->onDelete('cascade'); 26 | $table->unsignedBigInteger('user_id')->unsigned()->index(); 27 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 28 | $table->timestamps(); 29 | $table->softDeletes(); 30 | }); 31 | } 32 | } 33 | 34 | /** 35 | * Reverse the migrations. 36 | * 37 | * @return void 38 | */ 39 | public function down() 40 | { 41 | $connection = config('roles.connection'); 42 | $table = config('roles.permissionsUserTable'); 43 | Schema::connection($connection)->dropIfExists($table); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /database/migrations/2017_03_09_082449_create_social_logins_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 19 | $table->unsignedBigInteger('user_id')->unsigned()->index(); 20 | $table->string('provider', 100); 21 | $table->text('social_id'); 22 | $table->timestamps(); 23 | 24 | // Relationships 25 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 26 | }); 27 | } 28 | 29 | /** 30 | * Reverse the migrations. 31 | * 32 | * @return void 33 | */ 34 | public function down() 35 | { 36 | Schema::dropIfExists('social_logins'); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /database/migrations/2017_03_09_082526_create_activations_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 19 | $table->unsignedBigInteger('user_id')->unsigned()->index(); 20 | $table->string('token'); 21 | $table->ipAddress('ip_address'); 22 | $table->timestamps(); 23 | 24 | //Relationships 25 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 26 | }); 27 | } 28 | 29 | /** 30 | * Reverse the migrations. 31 | * 32 | * @return void 33 | */ 34 | public function down() 35 | { 36 | Schema::dropIfExists('activations'); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /database/migrations/2017_03_20_213554_create_themes_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 18 | $table->string('name')->index()->unique(); 19 | $table->string('link')->unique(); 20 | $table->string('notes')->nullable(); 21 | $table->boolean('status')->default(1); 22 | $table->morphs('taggable'); 23 | $table->timestamps(); 24 | $table->softDeletes(); 25 | }); 26 | } 27 | 28 | /** 29 | * Reverse the migrations. 30 | * 31 | * @return void 32 | */ 33 | public function down() 34 | { 35 | Schema::dropIfExists('themes'); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /database/migrations/2017_03_21_042918_create_profiles_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 19 | $table->unsignedBigInteger('user_id')->unsigned()->index(); 20 | $table->unsignedBigInteger('theme_id')->unsigned()->default(1); 21 | $table->string('location')->nullable(); 22 | $table->text('bio')->nullable(); 23 | $table->string('twitter_username')->nullable(); 24 | $table->string('github_username')->nullable(); 25 | $table->string('avatar')->nullable(); 26 | $table->boolean('avatar_status')->default(0); 27 | $table->timestamps(); 28 | 29 | //Relationships 30 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 31 | $table->foreign('theme_id')->references('id')->on('themes'); 32 | }); 33 | } 34 | 35 | /** 36 | * Reverse the migrations. 37 | * 38 | * @return void 39 | */ 40 | public function down() 41 | { 42 | Schema::dropIfExists('profiles'); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /database/migrations/2017_12_09_070937_create_two_step_auth_table.php: -------------------------------------------------------------------------------- 1 | getConnectionName(); 19 | $table = $twoStepAuth->getTableName(); 20 | $tableCheck = Schema::connection($connection)->hasTable($table); 21 | 22 | if (! $tableCheck) { 23 | Schema::connection($connection)->create($table, function (Blueprint $table) { 24 | $table->increments('id'); 25 | $table->unsignedBigInteger('userId')->unsigned()->index(); 26 | $table->foreign('userId')->references('id')->on('users')->onDelete('cascade'); 27 | $table->string('authCode')->nullable(); 28 | $table->integer('authCount'); 29 | $table->boolean('authStatus')->default(false); 30 | $table->dateTime('authDate')->nullable(); 31 | $table->dateTime('requestDate')->nullable(); 32 | $table->timestamps(); 33 | }); 34 | } 35 | } 36 | 37 | /** 38 | * Reverse the migrations. 39 | * 40 | * @return void 41 | */ 42 | public function down() 43 | { 44 | $twoStepAuth = new TwoStepAuth(); 45 | $connection = $twoStepAuth->getConnectionName(); 46 | $table = $twoStepAuth->getTableName(); 47 | 48 | Schema::connection($connection)->dropIfExists($table); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /database/migrations/2019_02_19_032636_create_laravel_blocker_types_table.php: -------------------------------------------------------------------------------- 1 | getConnectionName(); 19 | $table = $blocked->getTableName(); 20 | $tableCheck = Schema::connection($connection)->hasTable($table); 21 | 22 | if (! $tableCheck) { 23 | Schema::connection($connection)->create($table, function (Blueprint $table) { 24 | $table->increments('id'); 25 | $table->string('slug')->unique(); 26 | $table->string('name'); 27 | $table->timestamps(); 28 | $table->softDeletes(); 29 | }); 30 | } 31 | } 32 | 33 | /** 34 | * Reverse the migrations. 35 | * 36 | * @return void 37 | */ 38 | public function down() 39 | { 40 | $blockedType = new BlockedType(); 41 | $connection = $blockedType->getConnectionName(); 42 | $table = $blockedType->getTableName(); 43 | 44 | Schema::connection($connection)->dropIfExists($table); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /database/migrations/2019_08_19_000000_create_failed_jobs_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 18 | $table->text('connection'); 19 | $table->text('queue'); 20 | $table->longText('payload'); 21 | $table->longText('exception'); 22 | $table->timestamp('failed_at')->useCurrent(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::dropIfExists('failed_jobs'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/seeders/ConnectRelationshipsSeeder.php: -------------------------------------------------------------------------------- 1 | first(); 25 | foreach ($permissions as $permission) { 26 | $roleAdmin->attachPermission($permission); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /database/seeders/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call(PermissionsTableSeeder::class); 20 | $this->call(RolesTableSeeder::class); 21 | $this->call(ConnectRelationshipsSeeder::class); 22 | $this->call(ThemesTableSeeder::class); 23 | $this->call(UsersTableSeeder::class); 24 | 25 | Model::reguard(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /database/seeders/RolesTableSeeder.php: -------------------------------------------------------------------------------- 1 | 'Admin', 23 | 'slug' => 'admin', 24 | 'description' => 'Admin Role', 25 | 'level' => 5, 26 | ], 27 | [ 28 | 'name' => 'User', 29 | 'slug' => 'user', 30 | 'description' => 'User Role', 31 | 'level' => 1, 32 | ], 33 | [ 34 | 'name' => 'Unverified', 35 | 'slug' => 'unverified', 36 | 'description' => 'Unverified Role', 37 | 'level' => 0, 38 | ], 39 | ]; 40 | 41 | /* 42 | * Add Role Items 43 | * 44 | */ 45 | foreach ($RoleItems as $RoleItem) { 46 | $newRoleItem = config('roles.models.role')::where('slug', '=', $RoleItem['slug'])->first(); 47 | if ($newRoleItem === null) { 48 | $newRoleItem = config('roles.models.role')::create([ 49 | 'name' => $RoleItem['name'], 50 | 'slug' => $RoleItem['slug'], 51 | 'description' => $RoleItem['description'], 52 | 'level' => $RoleItem['level'], 53 | ]); 54 | } 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /license.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | license 16 | license 17 | MIT 18 | MIT 19 | 20 | 21 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "scripts": { 4 | "dev": "npm run development", 5 | "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", 6 | "watch": "npm run development -- --watch", 7 | "watch-poll": "npm run watch -- --watch-poll", 8 | "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", 9 | "prod": "npm run production", 10 | "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" 11 | }, 12 | "devDependencies": { 13 | "axios": "^0.19.2", 14 | "bootstrap": "^4.4.1", 15 | "cross-env": "^7.0", 16 | "font-awesome": "^4.7.0", 17 | "jquery": "^3.2", 18 | "laravel-mix": "^5.0.1", 19 | "lodash": "^4.17.13", 20 | "popper.js": "^1.16.1", 21 | "resolve-url-loader": "^3.1.0", 22 | "sass": "^1.26.3", 23 | "sass-loader": "^8.0.0", 24 | "vue": "^2.6.11", 25 | "vue-template-compiler": "^2.6.11" 26 | }, 27 | "dependencies": { 28 | "chart.js": "^2.9.3", 29 | "dropzone": "^5.7.0", 30 | "hideshowpassword": "^2.2.0", 31 | "laravel-echo": "^1.6.1", 32 | "moment": "^2.24.0", 33 | "password-strength-meter": "^1.2.2", 34 | "pusher-js": "^4.4.0" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | ./tests/Unit 9 | 10 | 11 | ./tests/Feature 12 | 13 | 14 | 15 | 16 | ./app 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews -Indexes 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Handle Authorization Header 9 | RewriteCond %{HTTP:Authorization} . 10 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 11 | 12 | # Redirect Trailing Slashes If Not A Folder... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_URI} (.+)/$ 15 | RewriteRule ^ %1 [L,R=301] 16 | 17 | # Send Requests To Front Controller... 18 | RewriteCond %{REQUEST_FILENAME} !-d 19 | RewriteCond %{REQUEST_FILENAME} !-f 20 | RewriteRule ^ index.php [L] 21 | 22 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/favicon.ico -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /public/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /public/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /public/fonts/vendor/font-awesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/vendor/font-awesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /public/fonts/vendor/font-awesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/vendor/font-awesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /public/fonts/vendor/font-awesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/vendor/font-awesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /public/fonts/vendor/font-awesome/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/fonts/vendor/font-awesome/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /public/images/wink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/public/images/wink.png -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class); 50 | 51 | $response = tap($kernel->handle( 52 | $request = Request::capture() 53 | ))->send(); 54 | 55 | $kernel->terminate($request, $response); 56 | -------------------------------------------------------------------------------- /public/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/js/app.js": "/js/app.js?id=c9dbc53eb32d9bef53d0", 3 | "/css/app.css": "/css/app.css?id=88d5cfd3c98d263f4a1a" 4 | } 5 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /public/web.config: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /resources/assets/js/components/ExampleComponent.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 24 | -------------------------------------------------------------------------------- /resources/assets/sass/_avatar.scss: -------------------------------------------------------------------------------- 1 | .user-avatar { 2 | width: 80px; 3 | height: 80px; 4 | margin: 2em auto; 5 | display: block; 6 | @include vendor(border-radius, 50%); 7 | @include draggless(); 8 | } 9 | .user-avatar-nav { 10 | margin-top: -3px; 11 | margin-right: 1em; 12 | float: left; 13 | width: 30px; 14 | height: 30px; 15 | @include vendor(border-radius, 50%); 16 | @include draggless(); 17 | } 18 | 19 | #avatar_container { 20 | 21 | height: 202px; 22 | 23 | .dz-preview{ 24 | display: none; 25 | } 26 | .dropzone { 27 | border: 1px dashed rgba(0,0,0,0.3); 28 | background: rgba($white, .05); 29 | height: 180px; 30 | padding: 0; 31 | @include vendor(border-radius, $standard-radius); 32 | } 33 | .dz-message { 34 | margin-top: -20px 1em 0; 35 | padding: 0; 36 | text-align: center; 37 | 38 | &.dz-default { 39 | margin: 0 2em; 40 | } 41 | } 42 | } 43 | 44 | .user-image { 45 | width: 100px; 46 | height: 100px; 47 | border:2px solid $brand-info; 48 | } -------------------------------------------------------------------------------- /resources/assets/sass/_badges.scss: -------------------------------------------------------------------------------- 1 | .badge { 2 | &.badge-primary { 3 | background-color: $brand-primary; 4 | } 5 | } 6 | 7 | // A Good time for an @extend 8 | .panel-default > .panel-heading { 9 | .badge { 10 | &.badge-primary { 11 | background-color: $brand-primary; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /resources/assets/sass/_helpers.scss: -------------------------------------------------------------------------------- 1 | .no-padding { 2 | padding: 0; 3 | } 4 | 5 | .start-hidden { 6 | display: none; 7 | } 8 | 9 | .no-shadow { 10 | @include vendor(box-shadow, none !important); 11 | @include vendor(outline, none !important); 12 | -webkit-appearance: none !important; 13 | } 14 | 15 | .border-bottom { 16 | border-bottom:1px #f8f8f8 solid; 17 | margin:5px 0 5px 0; 18 | } 19 | 20 | .border-radius { 21 | @include vendor(border-radius, $standard-radius); 22 | } 23 | 24 | @media(max-width: $mq-tiny) { 25 | .hidden-xxxs { 26 | display: none; 27 | } 28 | } 29 | 30 | @media(max-width: $phone) { 31 | .hidden-xxs { 32 | display: none; 33 | } 34 | } 35 | .center-block { 36 | display: block; 37 | margin-right: auto; 38 | margin-left: auto; 39 | } 40 | @media(min-width: $bs4-phone) { 41 | .rounded-left-sm-up { 42 | border-top-left-radius: $border-radius !important; 43 | border-bottom-left-radius: $border-radius !important; 44 | } 45 | } 46 | @media(min-width: $tablet) { 47 | .rounded-left-md-up { 48 | border-top-left-radius: $border-radius !important; 49 | border-bottom-left-radius: $border-radius !important; 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /resources/assets/sass/_hideShowPassword.scss: -------------------------------------------------------------------------------- 1 | ::-ms-reveal, 2 | ::-ms-clear { 3 | display: none !important; 4 | } 5 | 6 | .hideShowPassword-wrapper { 7 | width: 100%; 8 | 9 | &.pass-strength-visible { 10 | 11 | .hideShowPassword-toggle { 12 | top: 13px !important; 13 | } 14 | 15 | } 16 | 17 | } 18 | 19 | .hideShowPassword-toggle { 20 | background-color: transparent; 21 | background-image: url('/images/wink.png'); /* fallback */ 22 | background-image: url('/images/wink.svg'), none; 23 | background-position: 0 center; 24 | background-repeat: no-repeat; 25 | border: 2px solid transparent; 26 | border-radius: 0.25em; 27 | cursor: pointer; 28 | font-size: 100%; 29 | height: 44px; 30 | margin: 0; 31 | max-height: 100%; 32 | padding: 0; 33 | overflow: 'hidden'; 34 | text-indent: -999em; 35 | width: 46px; 36 | margin-top: -18px !important; 37 | top: 18px !important; 38 | -moz-appearance: none; 39 | -webkit-appearance: none; 40 | border: none; 41 | 42 | &:hover, 43 | &:focus { 44 | border-color: #0088cc; 45 | outline: transparent; 46 | } 47 | 48 | } 49 | 50 | .hideShowPassword-toggle-hide { 51 | background-position: -44px center; 52 | } 53 | 54 | 55 | -------------------------------------------------------------------------------- /resources/assets/sass/_lists.scss: -------------------------------------------------------------------------------- 1 | .list-group-responsive { 2 | span{ 3 | display: block; 4 | overflow-y: auto; 5 | } 6 | } 7 | 8 | .theme-details-list { 9 | strong { 10 | width: 5.5em; 11 | display: inline-block; 12 | position: absolute; 13 | } 14 | span { 15 | margin-left: 5.5em; 16 | } 17 | } -------------------------------------------------------------------------------- /resources/assets/sass/_logs.scss: -------------------------------------------------------------------------------- 1 | .logs-container { 2 | .stack { 3 | font-size: 0.85em; 4 | } 5 | .date { 6 | min-width: 75px; 7 | } 8 | .text { 9 | word-break: break-all; 10 | } 11 | a.llv-active { 12 | z-index: 2; 13 | background-color: $brand-primary; 14 | border-color: $brand-primary; 15 | color: $white; 16 | 17 | .badge { 18 | background: $white; 19 | color: $text-color; 20 | margin-top: .2em; 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /resources/assets/sass/_margins.scss: -------------------------------------------------------------------------------- 1 | .margin-half { 2 | margin: .5em; 3 | } 4 | 5 | .margin-bottom-half { 6 | margin-bottom: 1em; 7 | } 8 | 9 | @media(max-width: $phone) { 10 | 11 | .margin-half-phone { 12 | margin: .5em; 13 | } 14 | 15 | .margin-bottom-half-phone { 16 | margin-bottom: 1em; 17 | } 18 | 19 | .margin-top-half-phone { 20 | margin-top: 1em; 21 | } 22 | 23 | } 24 | 25 | @media(max-width: $tablet) { 26 | 27 | .margin-half-tablet { 28 | margin: .5em; 29 | } 30 | 31 | .margin-bottom-half-tablet { 32 | margin-bottom: 1em; 33 | } 34 | 35 | .margin-top-half-tablet { 36 | margin-top: 1em; 37 | } 38 | 39 | } 40 | 41 | @mixin generate-margins { 42 | @each $type in $types { 43 | @each $direction in $directions { 44 | @for $i from 0 through ($num-of-classes) - 1 { 45 | .#{$type}-#{$direction}-#{$i} { 46 | #{$type}-#{$direction}: (#{$i}em); 47 | } 48 | } 49 | } 50 | @each $query, $z in $queries { 51 | @media(min-width: #{$query}) { 52 | @each $direction in $directions { 53 | @for $i from 0 through ($num-of-classes) - 1 { 54 | .#{$type}-#{$direction}-#{$z}-#{$i} { 55 | #{$type}-#{$direction}: (#{$i}em); 56 | } 57 | } 58 | } 59 | } 60 | } 61 | } 62 | } 63 | @include generate-margins(); -------------------------------------------------------------------------------- /resources/assets/sass/_mixins.scss: -------------------------------------------------------------------------------- 1 | @mixin vendor($property, $value) { 2 | -webkit-#{$property}: $value; 3 | -moz-#{$property}: $value; 4 | -ms-#{$property}: $value; 5 | -o-#{$property}: $value; 6 | #{$property}: $value; 7 | } 8 | 9 | @mixin transitions() { 10 | @include vendor(transition, all $transitionSpeed ease-in-out); 11 | } 12 | 13 | @mixin transitionless() { 14 | @include vendor(transition, none); 15 | } 16 | 17 | @mixin draggless() { 18 | @include vendor(user-drag, none); 19 | @include vendor(user-select, none); 20 | } -------------------------------------------------------------------------------- /resources/assets/sass/_modals.scss: -------------------------------------------------------------------------------- 1 | .modal { 2 | .modal-header { 3 | border-top-left-radius: 3px; 4 | -moz-border-radius-top-left: 3px; 5 | -webkit-border-top-left-radius: 3px; 6 | border-top-right-radius: 3px; 7 | -moz-border-radius-top-right: 3px; 8 | -webkit-border-top-right-radius: 3px; 9 | } 10 | &.modal-success { 11 | .modal-header { 12 | color: $white; 13 | background-color: $brand-success; 14 | } 15 | } 16 | &.modal-warning { 17 | .modal-header { 18 | color: $white; 19 | background-color: $brand-warning; 20 | } 21 | } 22 | &.modal-danger { 23 | .modal-header { 24 | color: $white; 25 | background-color: $brand-danger; 26 | } 27 | } 28 | &.modal-info { 29 | .modal-header { 30 | color: $white; 31 | background-color: $brand-info; 32 | } 33 | } 34 | &.modal-primary { 35 | .modal-header { 36 | color: $white; 37 | background-color: $brand-primary; 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /resources/assets/sass/_panels.scss: -------------------------------------------------------------------------------- 1 | .panel-primary { 2 | border-color: $brand-primary; 3 | > .panel-heading { 4 | color: $white; 5 | background-color: $brand-primary; 6 | border-color: $brand-primary; 7 | } 8 | } 9 | 10 | .panel-info { 11 | border-color: $brand-info; 12 | > .panel-heading { 13 | color: $white; 14 | background-color: $brand-info; 15 | border-color: $brand-info; 16 | } 17 | } 18 | 19 | .panel-success { 20 | border-color: $brand-success; 21 | > .panel-heading { 22 | color: $white; 23 | background-color: $brand-success; 24 | border-color: $brand-success; 25 | } 26 | } 27 | 28 | .panel-warning { 29 | border-color: $brand-warning; 30 | > .panel-heading { 31 | color: $white; 32 | background-color: $brand-warning; 33 | border-color: $brand-warning; 34 | } 35 | } 36 | 37 | .panel-danger { 38 | border-color: $brand-danger; 39 | > .panel-heading { 40 | color: $white; 41 | background-color: $brand-danger; 42 | border-color: $brand-danger; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /resources/assets/sass/_socials.scss: -------------------------------------------------------------------------------- 1 | .facebook { 2 | background-color: $facebook; 3 | border-color: $facebook; 4 | &:hover { 5 | background-color: lighten($facebook, 10%); 6 | border-color: lighten($facebook, 10%); 7 | } 8 | &:focus, 9 | &:active { 10 | background-color: darken($facebook, 10%) !important; 11 | border-color: darken($facebook, 10%) !important; 12 | } 13 | } 14 | .twitter { 15 | background-color: $twitter; 16 | border-color: $twitter; 17 | &:hover { 18 | background-color: lighten($twitter, 10%) ; 19 | border-color: lighten($twitter, 10%); 20 | } 21 | &:focus, 22 | &:active { 23 | background-color: darken($twitter, 10%) !important; 24 | border-color: darken($twitter, 10%) !important; 25 | } 26 | } 27 | .google { 28 | background-color: $google; 29 | border-color: $google; 30 | &:hover { 31 | background-color: lighten($google, 10%); 32 | border-color: lighten($google, 10%); 33 | } 34 | &:focus, 35 | &:active { 36 | background-color: darken($google, 10%) !important; 37 | border-color: darken($google, 10%) !important; 38 | } 39 | } 40 | .github { 41 | background-color: $github; 42 | border-color: $github; 43 | &:hover { 44 | background-color: lighten($github, 10%); 45 | border-color: lighten($github, 10%); 46 | } 47 | &:focus, 48 | &:active { 49 | background-color: darken($github, 10%) !important; 50 | border-color: darken($github, 10%) !important; 51 | } 52 | } -------------------------------------------------------------------------------- /resources/assets/sass/_typography.scss: -------------------------------------------------------------------------------- 1 | .text-danger { 2 | color: $brand-danger 3 | } 4 | .text-warning { 5 | color: $brand-warning 6 | } 7 | 8 | .text-muted { 9 | color: #00b1b1; 10 | } 11 | 12 | .text-larger { 13 | font-size: 1.15em; 14 | } 15 | 16 | @media(min-width: $tablet + 1) { 17 | 18 | .text-left-tablet { 19 | text-align: left; 20 | } 21 | 22 | } 23 | 24 | 25 | 26 | // $brand-primary: #3097D1; 27 | // $brand-info: #8eb4cb; 28 | // $brand-success: #2ab27b; 29 | // $brand-warning: #cbb956; 30 | // $brand-danger: #bf5329; -------------------------------------------------------------------------------- /resources/assets/sass/_user-profile.scss: -------------------------------------------------------------------------------- 1 | .profile-sidebar { 2 | border-right: 2px solid $body-bg; 3 | padding: 0 !important; 4 | .nav-pills { 5 | a { 6 | border-radius: 0 !important; 7 | border-bottom: 2px solid $body-bg; 8 | &:first-child{ 9 | border-radius: $border-radius $border-radius 0 0 !important; 10 | @media(min-width: $bs4-phone) { 11 | border-radius: $border-radius 0 0 0 !important; 12 | } 13 | } 14 | &.active { 15 | background: $secondary; 16 | } 17 | } 18 | } 19 | } 20 | 21 | .account-admin-subnav { 22 | li { 23 | &:first-child { 24 | border-radius: $border-radius 0 0 $border-radius; 25 | } 26 | &:last-child { 27 | border-radius: 0 $border-radius $border-radius 0; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /resources/assets/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | // Body 2 | $white: #ffffff; 3 | $body-bg: #f5f8fa; 4 | 5 | // Social Media 6 | $facebook: #4863ae; 7 | $twitter: #46c0fb; 8 | $google: #DD4B39; 9 | $github: #4183C4; 10 | 11 | // Brands 12 | $brand-primary: #3097D1; 13 | $brand-info: #8eb4cb; 14 | $brand-success: #2ab27b; 15 | $brand-warning: #cbb956; 16 | $brand-danger: #bf5329; 17 | $text-color: #636b6f; 18 | 19 | // Typography 20 | $font-family-sans-serif: "Raleway", sans-serif; 21 | $font-size-base: 0.9rem; 22 | $line-height-base: 1.6; 23 | 24 | // Transitions 25 | $transitionSpeed: 0.35s; 26 | 27 | // Radius' 28 | $standard-radius: 3px; 29 | 30 | // MQ's 31 | $mq-tiny: 320px; 32 | $phone: 480px; 33 | $bs4-phone: 576px; 34 | $tablet: 767px; 35 | $desktop: 992px; 36 | $lg-desktop: 1200px; 37 | 38 | // Margins and Padding 39 | $num-of-classes: 5; 40 | $directions: ('top', 'bottom', 'left', 'right'); 41 | $types: ('margin', 'padding'); 42 | $queries: ( 43 | $mq-tiny: 'xxs', 44 | $phone: 'xs', 45 | $tablet: 'sm', 46 | $desktop: 'md', 47 | $lg-desktop: 'lg' 48 | ); 49 | 50 | // // Buttons 51 | $btn-default-color: $text-color; 52 | 53 | // Inputs 54 | $input-border: lighten($text-color, 40%); 55 | $input-border-focus: lighten($brand-primary, 25%); 56 | $input-color-placeholder: lighten($text-color, 30%); 57 | 58 | // Panels / Cards 59 | $panel-default-heading-bg: $white; 60 | -------------------------------------------------------------------------------- /resources/assets/sass/_wells.scss: -------------------------------------------------------------------------------- 1 | // .well { 2 | // min-height: 20px; 3 | // padding: 19px; 4 | // margin-bottom: 20px; 5 | // background-color: $well-bg; 6 | // border: 1px solid $well-border; 7 | // border-radius: $border-radius-base; 8 | // @include box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 9 | // blockquote { 10 | // border-color: #ddd; 11 | // border-color: rgba(0,0,0,.15); 12 | // } 13 | 14 | .well { 15 | 16 | &.well-white { 17 | background-color: $white; 18 | } 19 | 20 | &.well-primary { 21 | background-color: $brand-primary; 22 | border-color: $brand-primary; 23 | color: $white; 24 | } 25 | 26 | &.well-info { 27 | background-color: $brand-info; 28 | border-color: $brand-info; 29 | color: $white; 30 | } 31 | 32 | &.well-success { 33 | background-color: $brand-success; 34 | border-color: $brand-success; 35 | color: $white; 36 | } 37 | 38 | 39 | &.well-warning { 40 | background-color: $brand-warning; 41 | border-color: $brand-warning; 42 | color: $white; 43 | } 44 | 45 | &.well-danger { 46 | background-color: $brand-danger; 47 | border-color: $brand-danger; 48 | color: $white; 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | // Fonts 2 | @import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600"); 3 | 4 | // Variables 5 | @import "variables"; 6 | 7 | // Bootstrap 8 | @import '~bootstrap/scss/bootstrap'; 9 | 10 | .navbar-laravel { 11 | background-color: #fff; 12 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04); 13 | } 14 | 15 | // Font Awesome 16 | @import '~font-awesome/scss/font-awesome'; 17 | 18 | // Dropzone 19 | @import "~dropzone/dist/basic"; 20 | @import "~dropzone/dist/dropzone"; 21 | 22 | @import "mixins"; 23 | @import "margins"; 24 | @import "helpers"; 25 | @import "typography"; 26 | @import "buttons"; 27 | @import "bootstrap-social"; 28 | @import "badges"; 29 | @import "panels"; 30 | @import "wells"; 31 | @import "modals"; 32 | @import "socials"; 33 | @import "forms"; 34 | @import "lists"; 35 | @import "avatar"; 36 | @import "logs"; 37 | @import "password"; 38 | @import "hideShowPassword"; 39 | @import "visibility"; 40 | @import "user-profile"; 41 | -------------------------------------------------------------------------------- /resources/assets/scss/laravel2step/_animations.scss: -------------------------------------------------------------------------------- 1 | .invalid-shake { 2 | -webkit-animation: kf_shake 0.4s 1 linear; 3 | -moz-animation: kf_shake 0.4s 1 linear; 4 | -o-animation: kf_shake 0.4s 1 linear; 5 | } 6 | @-webkit-keyframes kf_shake { 7 | 0% { -webkit-transform: translate(40px); } 8 | 20% { -webkit-transform: translate(-40px); } 9 | 40% { -webkit-transform: translate(20px); } 10 | 60% { -webkit-transform: translate(-20px); } 11 | 80% { -webkit-transform: translate(8px); } 12 | 100% { -webkit-transform: translate(0px); } 13 | } 14 | @-moz-keyframes kf_shake { 15 | 0% { -moz-transform: translate(40px); } 16 | 20% { -moz-transform: translate(-40px); } 17 | 40% { -moz-transform: translate(20px); } 18 | 60% { -moz-transform: translate(-20px); } 19 | 80% { -moz-transform: translate(8px); } 20 | 100% { -moz-transform: translate(0px); } 21 | } 22 | @-o-keyframes kf_shake { 23 | 0% { -o-transform: translate(40px); } 24 | 20% { -o-transform: translate(-40px); } 25 | 40% { -o-transform: translate(20px); } 26 | 60% { -o-transform: translate(-20px); } 27 | 80% { -o-transform: translate(8px); } 28 | 100% { -o-origin-transform: translate(0px); } 29 | } 30 | -------------------------------------------------------------------------------- /resources/assets/scss/laravel2step/_mixins.scss: -------------------------------------------------------------------------------- 1 | @mixin vendor($property, $value) { 2 | -webkit-#{$property}: $value; 3 | -moz-#{$property}: $value; 4 | -ms-#{$property}: $value; 5 | -o-#{$property}: $value; 6 | #{$property}: $value; 7 | } 8 | 9 | @mixin transitions() { 10 | @include vendor(transition, all $transitionSpeed ease-in-out); 11 | } 12 | 13 | @mixin transitionless() { 14 | @include vendor(transition, none); 15 | } 16 | 17 | @mixin draggless() { 18 | @include vendor(user-drag, none); 19 | @include vendor(user-select, none); 20 | } 21 | -------------------------------------------------------------------------------- /resources/assets/scss/laravel2step/_modals.scss: -------------------------------------------------------------------------------- 1 | .modal { 2 | .modal-header { 3 | @include vendor(border-radius, $standardRadius $standardRadius 0 0); 4 | } 5 | &.modal-success { 6 | .modal-header { 7 | color: $white; 8 | background-color: $brand-success; 9 | } 10 | } 11 | &.modal-warning { 12 | .modal-header { 13 | color: $white; 14 | background-color: $brand-warning; 15 | } 16 | } 17 | &.modal-danger { 18 | .modal-header { 19 | color: $white; 20 | background-color: $brand-danger; 21 | } 22 | } 23 | &.modal-info { 24 | .modal-header { 25 | color: $white; 26 | background-color: $brand-info; 27 | } 28 | } 29 | &.modal-primary { 30 | .modal-header { 31 | color: $white; 32 | background-color: $brand-primary; 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /resources/assets/scss/laravel2step/_variables.scss: -------------------------------------------------------------------------------- 1 | // Colors 2 | $white: #ffffff; 3 | 4 | // Brands 5 | $brand-primary: #3097D1; 6 | $brand-info: #8eb4cb; 7 | $brand-success: #2ab27b; 8 | $brand-warning: #cbb956; 9 | $brand-danger: #bf5329; 10 | 11 | // Transitions 12 | $transitionSpeed: 0.15s; 13 | 14 | // Radius' 15 | $standardRadius: 5px; 16 | 17 | // Breakpoints 18 | $breakpoint-xs: 500px; 19 | $breakpoint-sm: 650px; 20 | -------------------------------------------------------------------------------- /resources/assets/scss/laravel2step/_verification.scss: -------------------------------------------------------------------------------- 1 | .two-step-verification { 2 | .verification-exceeded-panel { 3 | margin-top: 2.5em; 4 | h4, 5 | p { 6 | margin: 0 0 2.5em 0; 7 | } 8 | 9 | .locked-icon { 10 | font-size: 3.5em; 11 | margin: 30px 0 0; 12 | } 13 | } 14 | #failed_login_alert { 15 | display: none; 16 | .glyphicon { 17 | font-size: 6em; 18 | text-align: center; 19 | display: block; 20 | margin: .25em 0 .75em; 21 | } 22 | } 23 | .panel { 24 | overflow: hidden; 25 | } 26 | .verification-form-panel { 27 | margin-top: 2.5em; 28 | .code-inputs { 29 | margin-bottom: 3em; 30 | } 31 | .submit-container { 32 | margin-bottom: 2em; 33 | } 34 | input { 35 | font-size: 2em; 36 | height: 90px; 37 | } 38 | } 39 | @media(min-width: $breakpoint-xs){ 40 | .verification-form-panel input { 41 | font-size: 3em; 42 | height: 140px; 43 | } 44 | } 45 | @media(min-width: $breakpoint-sm){ 46 | .verification-form-panel input { 47 | font-size: 4em; 48 | height: 180px; 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /resources/assets/scss/laravel2step/app.scss: -------------------------------------------------------------------------------- 1 | @import "variables"; 2 | @import "mixins"; 3 | @import "animations"; 4 | @import "modals"; 5 | @import "verification"; 6 | -------------------------------------------------------------------------------- /resources/lang/en/emails.php: -------------------------------------------------------------------------------- 1 | 'Activation required', 18 | 'activationGreeting' => 'Welcome!', 19 | 'activationMessage' => 'You need to activate your email before you can start using all of our services.', 20 | 'activationButton' => 'Activate', 21 | 'activationThanks' => 'Thank you for using our application!', 22 | 23 | // Goobye email. 24 | 'goodbyeSubject' => 'Sorry to see you go...', 25 | 'goodbyeGreeting' => 'Hello :username,', 26 | 'goodbyeMessage' => 'We are very sorry to see you go. We wanted to let you know that your account has been deleted. Thank for the time we shared. You have '.config('settings.restoreUserCutoff').' days to restore your account.', 27 | 'goodbyeButton' => 'Restore Account', 28 | 'goodbyeThanks' => 'We hope to see you again!', 29 | 30 | ]; 31 | -------------------------------------------------------------------------------- /resources/lang/en/modals.php: -------------------------------------------------------------------------------- 1 | 'Confirm Save', 16 | 'confirm_modal_title_std_msg' => 'Please confirm your request.', 17 | 18 | // Confirm Save Modal; 19 | 'confirm_modal_button_save_text' => 'Save Changes', 20 | 'confirm_modal_button_save_icon' => 'fa-save', 21 | 'confirm_modal_button_cancel_text' => 'Cancel', 22 | 'confirm_modal_button_cancel_icon' => 'fa-times', 23 | 'edit_user__modal_text_confirm_title' => 'Confirm Save', 24 | 'edit_user__modal_text_confirm_message' => 'Please confirm your changes.', 25 | 26 | // Form Modal 27 | 'form_modal_default_title' => 'Confirm', 28 | 'form_modal_default_message' => 'Please Confirm', 29 | 'form_modal_default_btn_cancel' => 'Cancel', 30 | 'form_modal_default_btn_submit' => 'Confirm Submit', 31 | 32 | ]; 33 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- 1 | 'Passwords must be at least six characters and match the confirmation.', 17 | 'reset' => 'Your password has been reset!', 18 | 'sent' => 'We have e-mailed your password reset link!', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that e-mail address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/en/permsandroles.php: -------------------------------------------------------------------------------- 1 | 'View', 7 | 'permissionCreate' => 'Create', 8 | 'permissionEdit' => 'Edit', 9 | 'permissionDelete' => 'Delete', 10 | 11 | ]; 12 | -------------------------------------------------------------------------------- /resources/lang/en/socials.php: -------------------------------------------------------------------------------- 1 | 'You did not share your profile data with our social app. ', 13 | 'noProvider' => 'No such provider. ', 14 | 'registerSuccess' => 'You have successfully registered! ', 15 | 16 | ]; 17 | -------------------------------------------------------------------------------- /resources/lang/en/terms.php: -------------------------------------------------------------------------------- 1 | [ 13 | 'title' => 'Terms', 14 | 'term1' => 'This site may use cookies to better your experience.', 15 | 'term2' => 'Public profile data on this site such as username, first name, user bio, twitter username, and github username may be visible to other users.', 16 | 'term3' => 'This save protects user data and does make it public or sell it.', 17 | 'term4' => '', 18 | 'term5' => '', 19 | 'term6' => '', 20 | 'term7' => '', 21 | 'term8' => '', 22 | ], 23 | ]; 24 | -------------------------------------------------------------------------------- /resources/lang/en/titles.php: -------------------------------------------------------------------------------- 1 | 'Laravel', 6 | 'app2' => 'Auth :version', 7 | 'home' => 'Home', 8 | 'login' => 'Login', 9 | 'logout' => 'Logout', 10 | 'register' => 'Register', 11 | 'resetPword' => 'Reset Password', 12 | 'toggleNav' => 'Toggle Navigation', 13 | 'profile' => 'Profile', 14 | 'editProfile' => 'Edit Profile', 15 | 'createProfile' => 'Create Profile', 16 | 'adminDropdownNav' => 'Admin', 17 | 18 | 'activation' => 'Registration Started | Activation Required', 19 | 'exceeded' => 'Activation Error', 20 | 21 | 'editProfile' => 'Edit Profile', 22 | 'createProfile' => 'Create Profile', 23 | 'adminUserList' => 'Users Administration', 24 | 'adminEditUsers' => 'Edit Users', 25 | 'adminNewUser' => 'Create New User', 26 | 27 | 'adminThemesList' => 'Themes', 28 | 'adminThemesAdd' => 'Add New Theme', 29 | 30 | 'adminLogs' => 'Log Files', 31 | 'adminActivity' => 'Activity Log', 32 | 'adminPHP' => 'PHP Information', 33 | 'adminRoutes' => 'Routing Details', 34 | 35 | 'activeUsers' => 'Active Users', 36 | 'laravelBlocker' => 'Blocker', 37 | 38 | 'laravelroles' => 'Roles Administration', 39 | ]; 40 | -------------------------------------------------------------------------------- /resources/lang/fr/emails.php: -------------------------------------------------------------------------------- 1 | 'Activation requise !', 22 | 'activationGreeting' => 'Bienvenue', 23 | 'activationMessage' => 'Vous devez valider adresse mail avant de pouvoir utiliser nos services.', 24 | 'activationButton' => 'Valider !', 25 | 'activationThanks' => 'Merci d\'utiliser notre site Internet.', 26 | 27 | /* 28 | * Goobye email. 29 | * 30 | */ 31 | 'goodbyeSubject' => 'Désolé de vous voir partir...', 32 | 'goodbyeGreeting' => 'Bonjour :username,', 33 | 'goodbyeMessage' => 'Nous vous confirmons la suppression de votre compte.'. 34 | 'Nous sommes désolés de vous voir partir.'. 35 | 'Merci pour le temps que nous avons passé ensemble.'. 36 | 'Vous pouvez récupérer votre compte dans les '.config('settings.restoreUserCutoff').' jours à venir.', 37 | 'goodbyeButton' => 'Récupérer votre compte', 38 | 'goodbyeThanks' => 'Nous espérons vous revoir bientôt.', 39 | 40 | ]; 41 | -------------------------------------------------------------------------------- /resources/lang/fr/modals.php: -------------------------------------------------------------------------------- 1 | 'Confirmer l\'enregistrement', 16 | 'confirm_modal_title_std_msg' => 'Confirmer la demande.', 17 | 18 | // Confirm Save Modal; 19 | 'confirm_modal_button_save_text' => 'Enregistrer', 20 | 'confirm_modal_button_save_icon' => 'fa-save', 21 | 'confirm_modal_button_cancel_text' => 'Annuler', 22 | 'confirm_modal_button_cancel_icon' => 'fa-times', 23 | 'edit_user__modal_text_confirm_title' => 'Confirmer l\'enregistrement', 24 | 'edit_user__modal_text_confirm_message' => 'Veuillez confirmer les modifications.', 25 | 26 | // Form Modal 27 | 'form_modal_default_title' => 'Confirmer', 28 | 'form_modal_default_message' => 'Confirmer SVP', 29 | 'form_modal_default_btn_cancel' => 'Annuler', 30 | 'form_modal_default_btn_submit' => 'Confirmer l\'enregistrement', 31 | 32 | ]; 33 | -------------------------------------------------------------------------------- /resources/lang/fr/pagination.php: -------------------------------------------------------------------------------- 1 | '« Précédent', 17 | 'next' => 'Suivant »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/fr/passwords.php: -------------------------------------------------------------------------------- 1 | 'Les mots de passe doivent contenir au moins six caractères et être identiques.', 17 | 'reset' => 'Votre mot de passe a été réinitialisé !', 18 | 'sent' => 'Nous vous avons envoyé un courriel contenant le lien de réinitialisation de votre mot de passe !', 19 | 'token' => "Ce jeton de réinitialisation du mot de passe n'est pas valide.", 20 | 'user' => "Aucun utilisateur n'a été trouvé avec cette adresse courriel.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/fr/permsandroles.php: -------------------------------------------------------------------------------- 1 | 'Voir', 7 | 'permissionCreate' => 'Créer', 8 | 'permissionEdit' => 'Editer', 9 | 'permissionDelete' => 'Supprimer', 10 | 11 | ]; 12 | -------------------------------------------------------------------------------- /resources/lang/fr/socials.php: -------------------------------------------------------------------------------- 1 | 'Vous n\'avez pas partagé les données du réseau social avec notre site Internet.', 13 | 'noProvider' => 'Aucun fournisseur social connu.', 14 | 'registerSuccess' => 'Vous êtes bien enregistré, merci.', 15 | 16 | ]; 17 | -------------------------------------------------------------------------------- /resources/lang/fr/titles.php: -------------------------------------------------------------------------------- 1 | 'GFC Foot Indoor', 6 | 'app2' => 'GFC FI Auth 2.0', 7 | 'home' => 'Accueil', 8 | 'login' => 'Connexion', 9 | 'logout' => 'Se déconnecter', 10 | 'register' => 'S\'enregistrer', 11 | 'resetPword' => 'Réinitialisation mot de passe', 12 | 'toggleNav' => 'Changer de menu', 13 | 'profile' => 'Profil', 14 | 'editProfile' => 'Editer le profil', 15 | 'createProfile' => 'Créer un profil', 16 | 17 | 'activation' => 'Inscription initiée | Activation requise', 18 | 'exceeded' => 'Erreur d\'activation', 19 | 20 | 'editProfile' => 'Editer le profil', 21 | 'createProfile' => 'Créer un profil', 22 | 'adminUserList' => 'Administration membres', 23 | 'adminEditUsers' => 'Edition membres', 24 | 'adminNewUser' => 'Créer un nouveau membre', 25 | 26 | 'adminThemesList' => 'Thèmes', 27 | 'adminThemesAdd' => 'Ajouter un nouveau thème', 28 | 29 | 'adminLogs' => 'Fichier Log', 30 | 'adminPHP' => 'Information PHP', 31 | 'adminRoutes' => 'Details routage', 32 | 33 | ]; 34 | -------------------------------------------------------------------------------- /resources/lang/fr/usersmanagement.php: -------------------------------------------------------------------------------- 1 | 'Membre créé ! ', 7 | 'updateSuccess' => 'Membre modifié ! ', 8 | 'deleteSuccess' => 'Membre supprimé ! ', 9 | 'deleteSelfError' => 'Vous ne pouvez pas vous supprimer ! ', 10 | 11 | // Onglet utilisateur 12 | 'viewProfile' => 'Voir le profil', 13 | 'editUser' => 'Modifier le membre', 14 | 'deleteUser' => 'Supprimer le membre', 15 | 'usersBackBtn' => 'Retour à l liste des membres', 16 | 'usersPanelTitle' => 'Information du membre', 17 | 'labelUserName' => 'Pseudo:', 18 | 'labelEmail' => 'Email:', 19 | 'labelFirstName' => 'Prénom :', 20 | 'labelLastName' => 'Nom :', 21 | 'labelRole' => 'Rôle :', 22 | 'labelStatus' => 'Etat :', 23 | 'labelAccessLevel' => 'Accès :', 24 | 'labelPermissions' => 'Permissions :', 25 | 'labelCreatedAt' => 'Créé le :', 26 | 'labelUpdatedAt' => 'Modifié le :', 27 | 'labelIpEmail' => 'IP connexion par mail :', 28 | 'labelIpConfirm' => 'Confirmation IP:', 29 | 'labelIpSocial' => 'IP connexion réseau social :', 30 | 'labelIpAdmin' => 'IP connexion admin :', 31 | 'labelIpUpdate' => 'Dernière IP :', 32 | 'labelDeletedAt' => 'Supprimer on', 33 | 'labelIpDeleted' => 'Supprimer IP :', 34 | 'usersDeletedPanelTitle' => 'Supprimer les infos du membre', 35 | 'usersBackDelBtn' => 'Retour aux membres supprimés', 36 | 37 | 'successRestore' => 'Membre récupéré.', 38 | 'successDestroy' => 'Enregistrement du membre supprimé.', 39 | 'errorUserNotFound' => 'Membre introuvable.', 40 | 41 | 'labelUserLevel' => 'Niveau', 42 | 'labelUserLevels' => 'Niveaux', 43 | 44 | ]; 45 | -------------------------------------------------------------------------------- /resources/lang/pt-br/emails.php: -------------------------------------------------------------------------------- 1 | 'Ativação obrigatória', 22 | 'activationGreeting' => 'Bem-vindo!', 23 | 'activationMessage' => 'Você precisa ativar o seu email para poder usufluir de todos os novos serviços', 24 | 'activationButton' => 'Ativado', 25 | 'activationThanks' => 'Obrigado por utilizar nosso sistema', 26 | 27 | /* 28 | * Goobye email. 29 | * 30 | */ 31 | 'goodbyeSubject' => 'Lamentamos você ir', 32 | 'goodbyeGreeting' => 'Olá :username,', 33 | 'goodbyeMessage' => 'Lamentamos ver você ir. Sua conta foi excluída. Agradecemos o tempo que compartilhamos '.config('settings.restoreUserCutoff').' alguns dias para restaurar sua conta.', 34 | 'goodbyeButton' => 'Sua conta foi recuperada!', 35 | 'goodbyeThanks' => 'Esperamos vê-lo novamente!', 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /resources/lang/pt-br/modals.php: -------------------------------------------------------------------------------- 1 | 'Confirmar Salvar', 16 | 'confirm_modal_title_std_msg' => 'Por favor confirme sua solicitação', 17 | 18 | // Confirm Save Modal; 19 | 'confirm_modal_button_save_text' => 'Mudanças salvas com sucesso!', 20 | 'confirm_modal_button_save_icon' => 'fa-save', 21 | 'confirm_modal_button_cancel_text' => 'Cancelar', 22 | 'confirm_modal_button_cancel_icon' => 'fa-times', 23 | 'edit_user__modal_text_confirm_title' => 'Confirmar Salvar', 24 | 'edit_user__modal_text_confirm_message' => 'Por favor confirme suas mudanças.', 25 | 26 | // Form Modal 27 | 'form_modal_default_title' => 'Confirmado', 28 | 'form_modal_default_message' => 'Por favor! Confirme', 29 | 'form_modal_default_btn_cancel' => 'Cancelar', 30 | 'form_modal_default_btn_submit' => 'Confirmar solicitação', 31 | 32 | ]; 33 | -------------------------------------------------------------------------------- /resources/lang/pt-br/pagination.php: -------------------------------------------------------------------------------- 1 | '« Anterior', 17 | 'next' => 'Próximo »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/pt-br/passwords.php: -------------------------------------------------------------------------------- 1 | 'As senha devem possuir pelo menos seis caracteres', 17 | 'reset' => 'Sua senha foi redefinada!', 18 | 'sent' => 'Enviamos um link para redefinar sua senha em seu email', 19 | 'token' => 'Este codigo de confirmação de redefinição de senha e inválido', 20 | 'user' => 'Não encontramos um usuário com esse endereço de email', 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/pt-br/permsandroles.php: -------------------------------------------------------------------------------- 1 | 'Ver', 7 | 'permissionCreate' => 'Criar', 8 | 'permissionEdit' => 'Editar', 9 | 'permissionDelete' => 'Apagar', 10 | 11 | ]; 12 | -------------------------------------------------------------------------------- /resources/lang/pt-br/socials.php: -------------------------------------------------------------------------------- 1 | 'Você não compartilhou suas informações com o nosso aplicativo ', 13 | 'noProvider' => 'Não encontrado ', 14 | 'registerSuccess' => 'Você foi registrado com sucesso! ', 15 | 16 | ]; 17 | -------------------------------------------------------------------------------- /resources/lang/pt-br/titles.php: -------------------------------------------------------------------------------- 1 | 'Laravel', 6 | 'app2' => 'Auth 4.0', 7 | 'home' => 'Inicio', 8 | 'login' => 'Login', 9 | 'logout' => 'Logout', 10 | 'register' => 'Registrar', 11 | 'resetPword' => 'Recuperar Senha', 12 | 'toggleNav' => 'Alterar navegação', 13 | 'profile' => 'Perfil', 14 | 'editProfile' => 'Editar Perfil', 15 | 'createProfile' => 'Criar Perfil', 16 | 'adminDropdownNav' => 'Admin', 17 | 18 | 'activation' => 'Registro inciado em | Ativação Obrigatória', 19 | 'exceeded' => 'Erro de Ativação', 20 | 21 | 'editProfile' => 'Editar perfil', 22 | 'createProfile' => 'Criar perfil', 23 | 'adminUserList' => 'Usuários Administradores', 24 | 'adminEditUsers' => 'Editar usuários', 25 | 'adminNewUser' => 'Criar um novo usuário', 26 | 27 | 'adminThemesList' => 'Temas', 28 | 'adminThemesAdd' => 'Adicionar um novo tema', 29 | 30 | 'adminLogs' => 'Arquivos de Log', 31 | 'adminActivity' => 'Log de Atividade', 32 | 'adminPHP' => 'Informação sobre o PHP ', 33 | 'adminRoutes' => 'Detalhes das rotas', 34 | 35 | 'activeUsers' => 'Usuários Ativos.', 36 | ]; 37 | -------------------------------------------------------------------------------- /resources/lang/vendor/laravelPhpInfo/en/laravel-phpinfo.php: -------------------------------------------------------------------------------- 1 | "PHP Information", 12 | ]; 13 | -------------------------------------------------------------------------------- /resources/views/auth/activation.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('template_title') 4 | {{ trans('titles.activation') }} 5 | @endsection 6 | 7 | @section('content') 8 |
9 |
10 |
11 |
12 |
{{ trans('titles.activation') }}
13 |
14 |

{{ trans('auth.regThanks') }}

15 |

{{ trans('auth.anEmailWasSent',['email' => $email, 'date' => $date ] ) }}

16 |

{{ trans('auth.clickInEmail') }}

17 |

{{ trans('auth.clickHereResend') }}

18 |
19 |
20 |
21 |
22 |
23 | @endsection 24 | -------------------------------------------------------------------------------- /resources/views/auth/exceeded.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('template_title') 4 | {!! trans('titles.exceeded') !!} 5 | @endsection 6 | 7 | @section('content') 8 |
9 |
10 |
11 |
12 |
13 | {!! trans('titles.exceeded') !!} 14 |
15 |
16 |

17 | {!! trans('auth.tooManyEmails', ['email' => $email, 'hours' => $hours]) !!} 18 |

19 |
20 |
21 |
22 |
23 |
24 | @endsection 25 | -------------------------------------------------------------------------------- /resources/views/emails/exception.blade.php: -------------------------------------------------------------------------------- 1 | {!! $content !!} -------------------------------------------------------------------------------- /resources/views/errors/401.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Unauthorized')) 4 | @section('code', '401') 5 | @section('message', __('Unauthorized')) 6 | -------------------------------------------------------------------------------- /resources/views/errors/403.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Forbidden')) 4 | @section('code', '403') 5 | @section('message', __($exception->getMessage() ?: 'Forbidden')) 6 | -------------------------------------------------------------------------------- /resources/views/errors/404.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Not Found')) 4 | @section('code', '404') 5 | @section('message', __('Not Found')) 6 | -------------------------------------------------------------------------------- /resources/views/errors/500.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Server Error')) 4 | @section('code', '500') 5 | @section('message', __('Server Error')) 6 | -------------------------------------------------------------------------------- /resources/views/errors/503.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Service Unavailable')) 4 | @section('code', '503') 5 | @section('message', __('Service Unavailable')) 6 | -------------------------------------------------------------------------------- /resources/views/home.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
Dashboard
9 | 10 |
11 | You are logged in! 12 |
13 |
14 |
15 |
16 |
17 | @endsection 18 | -------------------------------------------------------------------------------- /resources/views/modals/modal-delete.blade.php: -------------------------------------------------------------------------------- 1 | 23 | -------------------------------------------------------------------------------- /resources/views/modals/modal-form.blade.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /resources/views/modals/modal-save.blade.php: -------------------------------------------------------------------------------- 1 | 25 | -------------------------------------------------------------------------------- /resources/views/pages/admin/active-users.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('template_title') 4 | {{ trans('titles.activeUsers') }} 5 | @endsection 6 | 7 | @section('content') 8 | 9 | 10 | 11 | @endsection 12 | -------------------------------------------------------------------------------- /resources/views/pages/admin/home.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('template_title') 4 | Welcome {{ Auth::user()->name }} 5 | @endsection 6 | 7 | @section('head') 8 | @endsection 9 | 10 | @section('content') 11 |
12 |
13 |
14 | 15 | @include('panels.welcome-panel') 16 | 17 |
18 |
19 |
20 | 21 | @endsection 22 | -------------------------------------------------------------------------------- /resources/views/pages/admin/route-details.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('template_title') 4 | Routing Information 5 | @endsection 6 | 7 | @section('content') 8 |
9 |
10 |
11 | 12 | @include('partials.form-status') 13 | 14 |
15 |
16 | Routing Information 17 | {{ count($routes) }} routes 18 |
19 |
20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | @foreach ($routes as $route) 32 | 33 | 34 | 35 | 36 | 37 | 38 | @endforeach 39 | 40 |
URINameTypeMethod
{{$route->uri}}{{$route->getName()}}{{$route->getPrefix()}}{{$route->getActionMethod()}}
41 |
42 |
43 |
44 |
45 |
46 |
47 | @endsection 48 | -------------------------------------------------------------------------------- /resources/views/pages/status.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('template_title') 4 | See Message 5 | @endsection 6 | 7 | @section('head') 8 | @endsection 9 | 10 | @section('content') 11 | 12 |
13 |
14 |
15 | @include('partials.form-status') 16 |
17 |
18 |
19 | 20 | @endsection -------------------------------------------------------------------------------- /resources/views/pages/user/home.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('template_title') 4 | {{ Auth::user()->name }}'s' Homepage 5 | @endsection 6 | 7 | @section('template_fastload_css') 8 | @endsection 9 | 10 | @section('content') 11 | 12 |
13 |
14 |
15 | 16 | @include('panels.welcome-panel') 17 | 18 |
19 |
20 |
21 | 22 | @endsection 23 | 24 | @section('footer_scripts') 25 | @endsection 26 | -------------------------------------------------------------------------------- /resources/views/partials/errors.blade.php: -------------------------------------------------------------------------------- 1 | @if(session()->has('errors')) 2 |
3 | 4 |

Following errors occurred:

5 | 10 |
11 | @endif -------------------------------------------------------------------------------- /resources/views/partials/search-users-form.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | {!! Form::open(['route' => 'search-users', 'method' => 'POST', 'role' => 'form', 'class' => 'needs-validation', 'id' => 'search_users']) !!} 4 | {!! csrf_field() !!} 5 |
6 | {!! Form::text('user_search_box', NULL, ['id' => 'user_search_box', 'class' => 'form-control', 'placeholder' => trans('usersmanagement.search.search-users-ph'), 'aria-label' => trans('usersmanagement.search.search-users-ph'), 'required' => false]) !!} 7 | 21 |
22 | {!! Form::close() !!} 23 |
24 |
25 | -------------------------------------------------------------------------------- /resources/views/partials/socials-icons.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | {!! HTML::icon_link(route('social.redirect',['provider' => 'facebook']), 'fa fa-facebook', '', array('class' => 'btn btn-social-icon btn-lg mb-1 btn-facebook')) !!} 4 | {!! HTML::icon_link(route('social.redirect',['provider' => 'twitter']), 'fa fa-twitter', '', array('class' => 'btn btn-social-icon btn-lg mb-1 btn-twitter')) !!} 5 | {!! HTML::icon_link(route('social.redirect',['provider' => 'google']), 'fa fa-google-plus', '', array('class' => 'btn btn-social-icon btn-lg mb-1 btn-google')) !!} 6 | {!! HTML::icon_link(route('social.redirect',['provider' => 'github']), 'fa fa-github', '', array('class' => 'btn btn-social-icon btn-lg mb-1 btn-github')) !!} 7 | {!! HTML::icon_link(route('social.redirect',['provider' => 'youtube']), 'fa fa-youtube', '', array('class' => 'btn btn-social-icon btn-lg mb-1 btn-youtube')) !!} 8 | {!! HTML::icon_link(route('social.redirect',['provider' => 'twitch']), 'fa fa-twitch', '', array('class' => 'btn btn-social-icon btn-lg mb-1 btn-twitch')) !!} 9 | {!! HTML::icon_link(route('social.redirect',['provider' => 'instagram']), 'fa fa-instagram', '', array('class' => 'btn btn-social-icon btn-lg mb-1 btn-instagram')) !!} 10 | {!! HTML::icon_link(route('social.redirect',['provider' => '37signals']), 'fa fa-signal', '', array('class' => 'btn btn-social-icon btn-lg mb-1 btn-basecamp')) !!} 11 |
12 |
13 | -------------------------------------------------------------------------------- /resources/views/partials/socials.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | {!! HTML::icon_link(route('social.redirect',['provider' => 'facebook']), 'fa fa-facebook', 'Facebook', array('class' => 'btn btn-block btn-social btn-facebook')) !!} 4 |
5 |
6 | {!! HTML::icon_link(route('social.redirect',['provider' => 'twitter']), 'fa fa-twitter', 'Twitter', array('class' => 'btn btn-block btn-social btn-twitter')) !!} 7 |
8 |
9 | {!! HTML::icon_link(route('social.redirect',['provider' => 'google']), 'fa fa-google-plus', 'Google +', array('class' => 'btn btn-block btn-social btn-google')) !!} 10 |
11 |
12 | {!! HTML::icon_link(route('social.redirect',['provider' => 'github']), 'fa fa-github', 'GitHub', array('class' => 'btn btn-block btn-social btn-github')) !!} 13 |
14 |
15 | {!! HTML::icon_link(route('social.redirect',['provider' => 'youtube']), 'fa fa-youtube', 'YouTube', array('class' => 'btn btn-block btn-social btn-youtube btn-danger')) !!} 16 |
17 |
18 | {!! HTML::icon_link(route('social.redirect',['provider' => 'twitch']), 'fa fa-twitch', 'Twitch', array('class' => 'btn btn-block btn-social btn-twitch btn-info')) !!} 19 |
20 |
21 | {!! HTML::icon_link(route('social.redirect',['provider' => 'instagram']), 'fa fa-instagram', 'Instagram', array('class' => 'btn btn-block btn-social btn-instagram')) !!} 22 |
23 |
24 | {!! HTML::icon_link(route('social.redirect',['provider' => '37signals']), 'fa fa-signal', 'Basecamp', array('class' => 'btn btn-block btn-social btn-basecamp btn-warning')) !!} 25 |
26 |
27 | -------------------------------------------------------------------------------- /resources/views/partials/status-panel.blade.php: -------------------------------------------------------------------------------- 1 | @if(session()->has('status')) 2 | @if(session()->get('status') == 'wrong') 3 |
4 |
5 |

{{ session()->get('message') }}

6 |
7 |
8 | @else 9 |
10 |
11 |

{{ session()->get('message') }}

12 |
13 |
14 | @endif 15 | @endif -------------------------------------------------------------------------------- /resources/views/partials/status.blade.php: -------------------------------------------------------------------------------- 1 | @if(Session::has('message')) 2 |
3 | 4 | {{ Session::get('message') }} 5 |
6 | @endif -------------------------------------------------------------------------------- /resources/views/scripts/check-changed.blade.php: -------------------------------------------------------------------------------- 1 | 32 | -------------------------------------------------------------------------------- /resources/views/scripts/datatables.blade.php: -------------------------------------------------------------------------------- 1 | {{-- FYI: Datatables do not support colspan or rowpan --}} 2 | 3 | 4 | 5 | 6 | 26 | -------------------------------------------------------------------------------- /resources/views/scripts/delete-modal-script.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/scripts/form-modal-script.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/scripts/ga-analytics.blade.php: -------------------------------------------------------------------------------- 1 | @if(config('settings.googleanalyticsId')) 2 | {{-- Global site tag (gtag.js) - Google Analytics --}} 3 | 4 | 11 | @endif 12 | -------------------------------------------------------------------------------- /resources/views/scripts/gmaps-address-lookup-api3.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/scripts/save-modal-script.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/scripts/toggleStatus.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/scripts/tooltips.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/create-new.blade.php: -------------------------------------------------------------------------------- 1 | {!! Form::open([ 2 | 'route' => 'laravelblocker::blocker.store', 3 | 'method' => 'POST', 4 | 'role' => 'form', 5 | 'class' => 'needs-validation' 6 | ]) !!} 7 | {!! csrf_field() !!} 8 | @include('laravelblocker::forms.partials.item-type-select') 9 | @include('laravelblocker::forms.partials.item-value-input') 10 | @include('laravelblocker::forms.partials.item-blocked-user-select') 11 | @include('laravelblocker::forms.partials.item-note-input') 12 |
13 |
14 | {!! Form::button(trans('laravelblocker::laravelblocker.buttons.create-larger'), array('class' => 'btn btn-success btn-block margin-bottom-1 mb-1 float-right','type' => 'submit' )) !!} 15 |
16 |
17 | {!! Form::close() !!} 18 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/delete-full.blade.php: -------------------------------------------------------------------------------- 1 | {!! Form::open([ 2 | 'route' => ['laravelblocker::blocker.destroy', $item->id], 3 | 'method' => 'DELETE', 4 | 'accept-charset' => 'UTF-8', 5 | 'data-toggle' => 'tooltip', 6 | 'title' => trans('laravelblocker::laravelblocker.tooltips.delete') 7 | ]) !!} 8 | {!! Form::hidden("_method", "DELETE") !!} 9 | {!! csrf_field() !!} 10 | 13 | {!! Form::close() !!} 14 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/delete-item.blade.php: -------------------------------------------------------------------------------- 1 | {!! Form::open([ 2 | 'route' => ['laravelblocker::blocker.destroy', $item->id], 3 | 'method' => 'DELETE', 4 | 'accept-charset' => 'UTF-8', 5 | 'data-toggle' => 'tooltip', 6 | 'title' => trans('laravelblocker::laravelblocker.tooltips.delete') 7 | ]) !!} 8 | {!! Form::hidden("_method", "DELETE") !!} 9 | {!! csrf_field() !!} 10 | 13 | {!! Form::close() !!} 14 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/delete-sm.blade.php: -------------------------------------------------------------------------------- 1 | {!! Form::open([ 2 | 'route' => ['laravelblocker::blocker.destroy', $blockedItem->id], 3 | 'method' => 'DELETE', 4 | 'accept-charset' => 'UTF-8', 5 | 'data-toggle' => 'tooltip', 6 | 'title' => trans('laravelblocker::laravelblocker.tooltips.delete') 7 | ]) !!} 8 | {!! Form::hidden("_method", "DELETE") !!} 9 | {!! csrf_field() !!} 10 | 13 | {!! Form::close() !!} 14 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/destroy-all.blade.php: -------------------------------------------------------------------------------- 1 | {!! Form::open([ 2 | 'route' => 'laravelblocker::destroy-all-blocked', 3 | 'method' => 'DELETE', 4 | 'accept-charset' => 'UTF-8' 5 | ]) !!} 6 | {!! Form::hidden("_method", "DELETE") !!} 7 | {!! csrf_field() !!} 8 | 11 | {!! Form::close() !!} 12 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/destroy-full.blade.php: -------------------------------------------------------------------------------- 1 | {!! Form::open([ 2 | 'route' => ['laravelblocker::blocker-item-destroy', $item->id], 3 | 'method' => 'DELETE', 4 | 'accept-charset' => 'UTF-8', 5 | 'data-toggle' => 'tooltip', 6 | 'title' => trans("laravelblocker::laravelblocker.tooltips.destroy_blocked_tooltip") 7 | ]) !!} 8 | {!! Form::hidden("_method", "DELETE") !!} 9 | {!! csrf_field() !!} 10 | 13 | {!! Form::close() !!} 14 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/destroy-sm.blade.php: -------------------------------------------------------------------------------- 1 | {!! Form::open([ 2 | 'route' => ['laravelblocker::blocker-item-destroy', $blockedItem->id], 3 | 'method' => 'DELETE', 4 | 'accept-charset' => 'UTF-8', 5 | 'data-toggle' => 'tooltip', 6 | 'title' => trans("laravelblocker::laravelblocker.tooltips.destroy_blocked_tooltip") 7 | ]) !!} 8 | {!! Form::hidden("_method", "DELETE") !!} 9 | {!! csrf_field() !!} 10 | 13 | {!! Form::close() !!} 14 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/edit-form.blade.php: -------------------------------------------------------------------------------- 1 | {!! Form::open([ 2 | 'route' => ['laravelblocker::blocker.update', $item->id], 3 | 'method' => 'PUT', 4 | 'role' => 'form', 5 | 'class' => 'needs-validation' 6 | ]) !!} 7 | {!! csrf_field() !!} 8 | @include('laravelblocker::forms.partials.item-type-select') 9 | @include('laravelblocker::forms.partials.item-value-input') 10 | @include('laravelblocker::forms.partials.item-blocked-user-select') 11 | @include('laravelblocker::forms.partials.item-note-input') 12 |
13 |
14 | {!! Form::button(trans('laravelblocker::laravelblocker.buttons.save-larger'), array('class' => 'btn btn-success btn-block margin-bottom-1 mb-1 float-right','type' => 'submit' )) !!} 15 |
16 |
17 | {!! Form::close() !!} 18 |
19 |
20 | @include('laravelblocker::forms.delete-full') 21 |
22 |
23 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/partials/item-blocked-user-select.blade.php: -------------------------------------------------------------------------------- 1 |
2 | {!! Form::label('userId', trans('laravelblocker::laravelblocker.forms.blockedUserLabel'), array('class' => 'col-md-3 control-label disabled', 'id' => 'blockerUserLabel1')); !!} 3 |
4 |
5 | 17 |
18 | 21 |
22 |
23 | @if ($errors->has('userId')) 24 | 25 | {{ $errors->first('userId') }} 26 | 27 | @endif 28 |
29 |
30 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/partials/item-note-input.blade.php: -------------------------------------------------------------------------------- 1 |
2 | {!! Form::label('note', trans('laravelblocker::laravelblocker.forms.blockedNoteLabel'), array('class' => 'col-md-3 control-label')); !!} 3 |
4 |
5 | @isset($item) 6 | {!! Form::textarea('note', $item->note, array('id' => 'note', 'class' => $errors->has('note') ? 'form-control is-invalid ' : 'form-control', 'placeholder' => trans('laravelblocker::laravelblocker.forms.blockedNotePH'))) !!} 7 | @else 8 | {!! Form::textarea('note', NULL, array('id' => 'note', 'class' => $errors->has('note') ? 'form-control is-invalid ' : 'form-control', 'placeholder' => trans('laravelblocker::laravelblocker.forms.blockedNotePH'))) !!} 9 | @endisset 10 |
11 | 14 |
15 |
16 | @if ($errors->has('note')) 17 | 18 | {{ $errors->first('note') }} 19 | 20 | @endif 21 |
22 |
23 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/partials/item-type-select.blade.php: -------------------------------------------------------------------------------- 1 |
2 | {!! Form::label('typeId', trans('laravelblocker::laravelblocker.forms.blockedTypeLabel'), array('class' => 'col-md-3 control-label')); !!} 3 |
4 |
5 | 17 |
18 | 21 |
22 |
23 | @if ($errors->has('typeId')) 24 | 25 | {{ $errors->first('typeId') }} 26 | 27 | @endif 28 |
29 |
30 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/partials/item-value-input.blade.php: -------------------------------------------------------------------------------- 1 |
2 | {!! Form::label('value', trans('laravelblocker::laravelblocker.forms.blockedValueLabel'), array('class' => 'col-md-3 control-label', 'id' => 'blockerValueLabel1')); !!} 3 |
4 |
5 | @isset($item) 6 | {!! Form::text('value', $item->value, array('id' => 'value', 'class' => $errors->has('value') ? 'form-control is-invalid ' : 'form-control', 'placeholder' => trans('laravelblocker::laravelblocker.forms.blockedValuePH'))) !!} 7 | @else 8 | {!! Form::text('value', NULL, array('id' => 'value', 'class' => $errors->has('value') ? 'form-control is-invalid ' : 'form-control', 'placeholder' => trans('laravelblocker::laravelblocker.forms.blockedValuePH'))) !!} 9 | @endisset 10 |
11 | 14 |
15 |
16 | @if ($errors->has('value')) 17 | 18 | {{ $errors->first('value') }} 19 | 20 | @endif 21 |
22 |
23 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/restore-all.blade.php: -------------------------------------------------------------------------------- 1 | {!! Form::open([ 2 | 'route' => 'laravelblocker::blocker-deleted-restore-all', 3 | 'method' => 'POST', 4 | 'accept-charset' => 'UTF-8' 5 | ]) !!} 6 | {!! csrf_field() !!} 7 | {!! Form::button(' 8 | ' . trans_choice('laravelblocker::laravelblocker.buttons.restore-all-blocked', 1, ['count' => $blocked->count()]), 9 | [ 10 | 'type' => 'button', 11 | 'class' => 'btn dropdown-item', 12 | 'data-toggle' => 'modal', 13 | 'data-target' => '#confirmRestore', 14 | 'data-title' => trans('laravelblocker::laravelblocker.modals.resotreAllBlockedTitle'), 15 | 'data-message' => trans('laravelblocker::laravelblocker.modals.resotreAllBlockedMessage') 16 | ]) !!} 17 | {!! Form::close() !!} 18 | -------------------------------------------------------------------------------- /resources/views/vendor/forms/restore-item.blade.php: -------------------------------------------------------------------------------- 1 | @if($restoreType == 'full') 2 | @php 3 | $itemId = $item->id; 4 | $itemValue = $item->value; 5 | $itemClasses = 'btn btn-success btn-block'; 6 | $itemText = trans('laravelblocker::laravelblocker.buttons.restore-blocked-item-full'); 7 | @endphp 8 | @endif 9 | @if($restoreType == 'small') 10 | @php 11 | $itemId = $blockedItem->id; 12 | $itemValue = $blockedItem->value; 13 | $itemClasses = 'btn btn-sm btn-success btn-block'; 14 | $itemText = trans('laravelblocker::laravelblocker.buttons.restore-blocked-item'); 15 | @endphp 16 | @endif 17 | 18 | {!! Form::open([ 19 | 'route' => ['laravelblocker::blocker-item-restore', $itemId], 20 | 'method' => 'PUT', 21 | 'accept-charset' => 'UTF-8', 22 | 'data-toggle' => 'tooltip', 23 | 'title' => trans("laravelblocker::laravelblocker.tooltips.restoreItem") 24 | ]) !!} 25 | {!! Form::hidden("_method", "PUT") !!} 26 | {!! csrf_field() !!} 27 | {!! Form::button($itemText, [ 28 | 'type' => 'button', 29 | 'class' => $itemClasses, 30 | 'data-toggle' => 'modal', 31 | 'data-target' => '#confirmRestore', 32 | 'data-title' => trans('laravelblocker::laravelblocker.modals.resotreBlockedItemTitle'), 33 | 'data-message' => trans('laravelblocker::laravelblocker.modals.resotreBlockedItemMessage', ['value' => $itemValue]) 34 | ]) !!} 35 | {!! Form::close() !!} 36 | -------------------------------------------------------------------------------- /resources/views/vendor/laravel-log-viewer/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Laravel-authentication/4fd8ccc9cb9f7eab6b03add4bf3c026c02c5ff6b/resources/views/vendor/laravel-log-viewer/.gitkeep -------------------------------------------------------------------------------- /resources/views/vendor/laravel2step/layouts/app.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | @hasSection('title')@yield('title') | @endif {{ config('app.name', 'Laravel 2-Step Verification') }} 9 | @if(config('laravel2step.laravel2stepBootstrapCssCdnEnbled')) 10 | 11 | @endif 12 | @if(config('laravel2step.laravel2stepAppCssEnabled')) 13 | 14 | @endif 15 | 16 | @yield('head') 17 | 22 | 23 | 24 |
25 | @yield('content') 26 |
27 | @yield('foot') 28 | 29 | 30 | -------------------------------------------------------------------------------- /resources/views/vendor/laravel2step/scripts/input-parsing-auto-stepper.blade.php: -------------------------------------------------------------------------------- 1 | 53 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/button.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/footer.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/header.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | @if (trim($slot) === 'Laravel') 5 | 6 | @else 7 | {{ $slot }} 8 | @endif 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/layout.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 25 | 26 | 27 | 28 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/message.blade.php: -------------------------------------------------------------------------------- 1 | @component('mail::layout') 2 | {{-- Header --}} 3 | @slot('header') 4 | @component('mail::header', ['url' => config('app.url')]) 5 | {{ config('app.name') }} 6 | @endcomponent 7 | @endslot 8 | 9 | {{-- Body --}} 10 | {{ $slot }} 11 | 12 | {{-- Subcopy --}} 13 | @isset($subcopy) 14 | @slot('subcopy') 15 | @component('mail::subcopy') 16 | {{ $subcopy }} 17 | @endcomponent 18 | @endslot 19 | @endisset 20 | 21 | {{-- Footer --}} 22 | @slot('footer') 23 | @component('mail::footer') 24 | © {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.') 25 | @endcomponent 26 | @endslot 27 | @endcomponent 28 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/panel.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/subcopy.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/table.blade.php: -------------------------------------------------------------------------------- 1 |
2 | {{ Illuminate\Mail\Markdown::parse($slot) }} 3 |
4 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/text/button.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }}: {{ $url }} 2 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/text/footer.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/text/header.blade.php: -------------------------------------------------------------------------------- 1 | [{{ $slot }}]({{ $url }}) 2 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/text/layout.blade.php: -------------------------------------------------------------------------------- 1 | {!! strip_tags($header) !!} 2 | 3 | {!! strip_tags($slot) !!} 4 | @isset($subcopy) 5 | 6 | {!! strip_tags($subcopy) !!} 7 | @endisset 8 | 9 | {!! strip_tags($footer) !!} 10 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/text/message.blade.php: -------------------------------------------------------------------------------- 1 | @component('mail::layout') 2 | {{-- Header --}} 3 | @slot('header') 4 | @component('mail::header', ['url' => config('app.url')]) 5 | {{ config('app.name') }} 6 | @endcomponent 7 | @endslot 8 | 9 | {{-- Body --}} 10 | {{ $slot }} 11 | 12 | {{-- Subcopy --}} 13 | @isset($subcopy) 14 | @slot('subcopy') 15 | @component('mail::subcopy') 16 | {{ $subcopy }} 17 | @endcomponent 18 | @endslot 19 | @endisset 20 | 21 | {{-- Footer --}} 22 | @slot('footer') 23 | @component('mail::footer') 24 | © {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.') 25 | @endcomponent 26 | @endslot 27 | @endcomponent 28 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/text/panel.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/text/subcopy.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/text/table.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /resources/views/vendor/modals/confirm-modal.blade.php: -------------------------------------------------------------------------------- 1 | @php 2 | if (!isset($actionBtnIcon)) { 3 | $actionBtnIcon = null; 4 | } else { 5 | $actionBtnIcon = $actionBtnIcon . ' fa-fw'; 6 | } 7 | if (!isset($modalClass)) { 8 | $modalClass = null; 9 | } 10 | if (!isset($btnSubmitText)) { 11 | $btnSubmitText = trans('laravelblocker::laravelblocker.modals.btnConfirm'); 12 | } 13 | @endphp 14 | 35 | -------------------------------------------------------------------------------- /resources/views/vendor/notifications/email.blade.php: -------------------------------------------------------------------------------- 1 | @component('mail::message') 2 | {{-- Greeting --}} 3 | @if (! empty($greeting)) 4 | # {{ $greeting }} 5 | @else 6 | @if ($level == 'error') 7 | # Whoops! 8 | @else 9 | # Hello! 10 | @endif 11 | @endif 12 | 13 | {{-- Intro Lines --}} 14 | @foreach ($introLines as $line) 15 | {{ $line }} 16 | 17 | @endforeach 18 | 19 | {{-- Action Button --}} 20 | @if (isset($actionText)) 21 | 33 | @component('mail::button', ['url' => $actionUrl, 'color' => $color]) 34 | {{ $actionText }} 35 | @endcomponent 36 | @endif 37 | 38 | {{-- Outro Lines --}} 39 | @foreach ($outroLines as $line) 40 | {{ $line }} 41 | 42 | @endforeach 43 | 44 | 45 | @if (! empty($salutation)) 46 | {{ $salutation }} 47 | @else 48 | Regards,
{{ config('app.name') }} 49 | @endif 50 | 51 | 52 | @if (isset($actionText)) 53 | @component('mail::subcopy') 54 | If you’re having trouble clicking the "{{ $actionText }}" button, copy and paste the URL below 55 | into your web browser: [{{ $actionUrl }}]({{ $actionUrl }}) 56 | @endcomponent 57 | @endif 58 | @endcomponent 59 | -------------------------------------------------------------------------------- /resources/views/vendor/pagination/bootstrap-4.blade.php: -------------------------------------------------------------------------------- 1 | @if ($paginator->hasPages()) 2 | 36 | @endif 37 | -------------------------------------------------------------------------------- /resources/views/vendor/pagination/default.blade.php: -------------------------------------------------------------------------------- 1 | @if ($paginator->hasPages()) 2 | 36 | @endif 37 | -------------------------------------------------------------------------------- /resources/views/vendor/pagination/simple-bootstrap-4.blade.php: -------------------------------------------------------------------------------- 1 | @if ($paginator->hasPages()) 2 | 17 | @endif 18 | -------------------------------------------------------------------------------- /resources/views/vendor/pagination/simple-default.blade.php: -------------------------------------------------------------------------------- 1 | @if ($paginator->hasPages()) 2 | 17 | @endif 18 | -------------------------------------------------------------------------------- /resources/views/vendor/partials/flash-messages.blade.php: -------------------------------------------------------------------------------- 1 | @if(config('laravelblocker.blockerFlashMessagesEnabled')) 2 |
3 |
4 |
5 | @include('laravelblocker::partials.form-status') 6 |
7 |
8 |
9 | @endif 10 | -------------------------------------------------------------------------------- /resources/views/vendor/scripts/confirm-modal.blade.php: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /resources/views/vendor/scripts/datatables.blade.php: -------------------------------------------------------------------------------- 1 | {{-- FYI: Datatables do not support colspan or rowspan --}} 2 | 3 | 4 | 29 | -------------------------------------------------------------------------------- /resources/views/vendor/scripts/tooltips.blade.php: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | get('/user', function (Request $request) { 18 | // return $request->user(); 19 | // }); 20 | -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- 1 | id === (int) $id; 18 | // }); 19 | 20 | Broadcast::channel('chart', function ($user) { 21 | return [ 22 | 'name' => $user->name, 23 | ]; 24 | }); 25 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 19 | })->describe('Display an inspiring quote'); 20 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | $uri = urldecode( 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 12 | ); 13 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 15 | // built-in PHP web server. This provides a convenient way to test a Laravel 16 | // application without having installed a "real" web server software here. 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /tests/CreatesApplication.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 19 | 20 | return $app; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tests/Feature/PublicPagesTest.php: -------------------------------------------------------------------------------- 1 | get('/')->assertStatus(200); 17 | $this->get('/login')->assertStatus(200); 18 | $this->get('/password/reset')->assertStatus(200); 19 | $this->get('/register')->assertStatus(200); 20 | } 21 | 22 | /** 23 | * Test the non public (302) pages. 24 | * 25 | * @return void 26 | */ 27 | public function testNonPublicPages() 28 | { 29 | $this->get('/home')->assertStatus(302); 30 | $this->get('/routes')->assertStatus(302); 31 | $this->get('/themes')->assertStatus(302); 32 | $this->get('/users')->assertStatus(302); 33 | $this->get('/users/create')->assertStatus(302); 34 | $this->get('/phpinfo')->assertStatus(302); 35 | $this->get('/profile/create')->assertStatus(302); 36 | } 37 | 38 | /** 39 | * Test the permanent (301) redirects. 40 | * 41 | * @return void 42 | */ 43 | public function testPermRedirects() 44 | { 45 | $this->get('/php')->assertStatus(301); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /tests/Feature/ThemesTest.php: -------------------------------------------------------------------------------- 1 | _faker = (object) \Faker\Factory::create(); 27 | $this->_themeName = $this->_faker->domainWord; 28 | $this->_themeUrl = $this->_faker->url; 29 | 30 | $theme = Theme::create([ 31 | 'name' => $this->_themeName, 32 | 'link' => $this->_themeUrl, 33 | 'notes' => 'Test Default Theme.', 34 | 'status' => 1, 35 | 'taggable_id' => 0, 36 | 'taggable_type' => 'theme', 37 | ]); 38 | $theme->taggable_id = $theme->id; 39 | $theme->save(); 40 | 41 | $theme = Theme::where('name', $this->_themeName)->first(); 42 | $this->assertEquals($this->_themeUrl, $theme->link); 43 | $this->assertEquals($theme->id, $theme->taggable_id); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- 1 | let mix = require('laravel-mix'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Mix Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Mix provides a clean, fluent API for defining some Webpack build steps 9 | | for your Laravel application. By default, we are compiling the Sass 10 | | file for the application as well as bundling up all the JS files. 11 | | 12 | */ 13 | 14 | mix.js('resources/assets/js/app.js', 'public/js') 15 | .sass('resources/assets/sass/app.scss', 'public/css') 16 | .version(); 17 | --------------------------------------------------------------------------------