-
74 | @foreach($errors->all() as $error)
75 |
- {{ $error }} 76 | @endforeach 77 |
├── public ├── favicon.ico ├── robots.txt ├── .htaccess ├── web.config ├── js │ └── main.js ├── index.php └── css │ └── custom.css ├── database ├── .gitignore ├── seeds │ ├── RoleSeed.php │ ├── DatabaseSeeder.php │ └── UserSeed.php ├── factories │ └── ModelFactory.php └── migrations │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2014_10_12_000000_create_users_table.php │ └── 2017_07_13_082418_create_bouncer_tables.php ├── resources ├── views │ ├── vendor │ │ └── .gitkeep │ ├── auth │ │ ├── emails │ │ │ └── password.blade.php │ │ ├── passwords │ │ │ ├── email.blade.php │ │ │ └── reset.blade.php │ │ ├── change_password.blade.php │ │ └── login.blade.php │ ├── home.blade.php │ ├── partials │ │ ├── header.blade.php │ │ ├── topbar.blade.php │ │ ├── javascripts.blade.php │ │ ├── head.blade.php │ │ ├── menu.blade.php │ │ └── sidebar.blade.php │ ├── actionsTemplate.blade.php │ ├── admin │ │ ├── abilities │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ ├── show.blade.php │ │ │ └── index.blade.php │ │ ├── roles │ │ │ ├── show.blade.php │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ │ └── users │ │ │ ├── show.blade.php │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ ├── errors │ │ └── 503.blade.php │ └── layouts │ │ ├── auth.blade.php │ │ └── admin.blade.php ├── lang │ └── en │ │ ├── panel.php │ │ ├── pagination.php │ │ ├── auth.php │ │ ├── passwords.php │ │ ├── cruds.php │ │ └── validation.php └── assets │ ├── sass │ ├── app.scss │ └── _variables.scss │ └── js │ ├── components │ └── Example.vue │ ├── app.js │ └── bootstrap.js ├── bootstrap ├── cache │ └── .gitignore ├── autoload.php └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── cache │ └── .gitignore │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── routes ├── api.php ├── channels.php ├── console.php └── web.php ├── .gitattributes ├── .gitignore ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── CreatesApplication.php └── Feature │ └── ExampleTest.php ├── app ├── Http │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── TrimStrings.php │ │ └── RedirectIfAuthenticated.php │ ├── Controllers │ │ ├── Controller.php │ │ ├── Admin │ │ │ ├── HomeController.php │ │ │ ├── AbilitiesController.php │ │ │ ├── RolesController.php │ │ │ └── UsersController.php │ │ ├── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── ResetPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── RegisterController.php │ │ │ └── ChangePasswordController.php │ │ └── Traits │ │ │ └── FileUploadTrait.php │ ├── Requests │ │ └── Admin │ │ │ ├── StoreRolesRequest.php │ │ │ ├── UpdateRolesRequest.php │ │ │ ├── StoreAbilitiesRequest.php │ │ │ ├── UpdateAbilitiesRequest.php │ │ │ ├── UpdateUsersRequest.php │ │ │ └── StoreUsersRequest.php │ └── Kernel.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Console │ └── Kernel.php ├── User.php └── Exceptions │ └── Handler.php ├── webpack.mix.js ├── server.php ├── .env.example ├── package.json ├── config ├── view.php ├── services.php ├── broadcasting.php ├── filesystems.php ├── queue.php ├── cache.php ├── auth.php ├── database.php ├── mail.php ├── session.php └── app.php ├── phpunit.xml ├── composer.json ├── artisan └── readme.md /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /resources/views/vendor/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/lang/en/panel.php: -------------------------------------------------------------------------------- 1 | 'Permissions Bouncer', 5 | ]; 6 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | '/v1', 'namespace' => 'Api\V1', 'as' => 'api.'], function () { 4 | 5 | }); 6 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 5 | 'next' => 'Next »', 6 | ]; 7 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /storage/*.key 5 | /vendor 6 | /.idea 7 | /.vagrant 8 | Homestead.json 9 | Homestead.yaml 10 | npm-debug.log 11 | .env 12 | -------------------------------------------------------------------------------- /resources/views/auth/emails/password.blade.php: -------------------------------------------------------------------------------- 1 | Click here to reset your password: {{ $link }} 2 | -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- 1 | 'These credentials do not match our records.', 5 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 6 | ]; 7 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | 4 |
| 15 | {{ trans('cruds.ability.fields.id') }} 16 | | 17 |18 | {{ $ability->id }} 19 | | 20 |
|---|---|
| 23 | {{ trans('cruds.ability.fields.name') }} 24 | | 25 |26 | {{ $ability->name }} 27 | | 28 |
| 15 | {{ trans('cruds.role.fields.id') }} 16 | | 17 |18 | {{ $role->id }} 19 | | 20 |
|---|---|
| 23 | {{ trans('cruds.role.fields.name') }} 24 | | 25 |26 | {{ $role->name }} 27 | | 28 |
| 31 | Abilities 32 | | 33 |34 | @foreach($role->abilities as $id => $abilities) 35 | {{ $abilities->name }} 36 | @endforeach 37 | | 38 |
| 15 | {{ trans('cruds.user.fields.id') }} 16 | | 17 |18 | {{ $user->id }} 19 | | 20 |
|---|---|
| 23 | {{ trans('cruds.user.fields.name') }} 24 | | 25 |26 | {{ $user->name }} 27 | | 28 |
| 31 | {{ trans('cruds.user.fields.email') }} 32 | | 33 |34 | {{ $user->email }} 35 | | 36 |
| 39 | Roles 40 | | 41 |42 | @foreach($user->roles->pluck('name') as $role) 43 | {{ $role }} 44 | @endforeach 45 | | 46 |
10 | {{ \Session::get('message') }} 11 |
12 | @endif 13 | 67 || 21 | 22 | | 23 |24 | {{ trans('cruds.ability.fields.id') }} 25 | | 26 |27 | {{ trans('cruds.ability.fields.name') }} 28 | | 29 |30 | 31 | | 32 |
|---|---|---|---|
| 38 | 39 | | 40 |41 | {{ $ability->id ?? '' }} 42 | | 43 |44 | {{ $ability->name ?? '' }} 45 | | 46 |47 | 48 | {{ trans('global.view') }} 49 | 50 | 51 | 52 | {{ trans('global.edit') }} 53 | 54 | 55 | 60 | | 61 | 62 |
| 21 | 22 | | 23 |24 | {{ trans('cruds.role.fields.id') }} 25 | | 26 |27 | {{ trans('cruds.role.fields.name') }} 28 | | 29 |30 | {{ trans('cruds.role.fields.abilities') }} 31 | | 32 |33 | 34 | | 35 |
|---|---|---|---|---|
| 41 | 42 | | 43 |44 | {{ $role->id ?? '' }} 45 | | 46 |47 | {{ $role->name ?? '' }} 48 | | 49 |50 | @foreach($role->abilities->pluck('name') as $ability) 51 | {{ $ability }} 52 | @endforeach 53 | | 54 |55 | 56 | {{ trans('global.view') }} 57 | 58 | 59 | {{ trans('global.edit') }} 60 | 61 | 66 | | 67 | 68 |
| 21 | 22 | | 23 |24 | {{ trans('cruds.user.fields.id') }} 25 | | 26 |27 | {{ trans('cruds.user.fields.name') }} 28 | | 29 |30 | {{ trans('cruds.user.fields.email') }} 31 | | 32 |33 | {{ trans('cruds.user.fields.roles') }} 34 | | 35 |36 | 37 | | 38 |
|---|---|---|---|---|---|
| 44 | 45 | | 46 |47 | {{ $user->id ?? '' }} 48 | | 49 |50 | {{ $user->name ?? '' }} 51 | | 52 |53 | {{ $user->email ?? '' }} 54 | | 55 |56 | @foreach($user->roles->pluck('name') as $role) 57 | {{ $role }} 58 | @endforeach 59 | | 60 |61 | 62 | {{ trans('global.view') }} 63 | 64 | 65 | 66 | {{ trans('global.edit') }} 67 | 68 | 69 | 74 | | 75 |