42 | 43 | {{ $post->category->name }} 44 | 45 |
46 |47 | 48 | {{ $post->title }} 49 | 50 |
51 |56 | No results found for query {{ request()->query('search') }} 57 |
58 | @endforelse 59 | 60 |├── public ├── favicon.ico ├── robots.txt ├── img │ ├── favicon.png │ ├── logo-dark.png │ ├── logo-light.png │ └── apple-touch-icon.png ├── fonts │ ├── et-line.eot │ ├── et-line.ttf │ ├── et-line.woff │ ├── themify.eot │ ├── themify.ttf │ ├── themify.woff │ ├── FontAwesome.otf │ ├── fa-brands-400.eot │ ├── fa-brands-400.ttf │ ├── fa-solid-900.eot │ ├── fa-solid-900.ttf │ ├── fa-solid-900.woff │ ├── fa-brands-400.woff │ ├── fa-brands-400.woff2 │ ├── fa-regular-400.eot │ ├── fa-regular-400.ttf │ ├── fa-regular-400.woff │ ├── fa-regular-400.woff2 │ ├── fa-solid-900.woff2 │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 ├── .htaccess ├── index.php ├── css │ └── style.css ├── js │ └── script.js └── svg │ ├── 404.svg │ ├── 503.svg │ └── 403.svg ├── database ├── .gitignore ├── seeds │ ├── DatabaseSeeder.php │ ├── UsersTableSeeder.php │ └── PostsTableSeeder.php ├── migrations │ ├── 2019_02_28_183653_create_tags_table.php │ ├── 2019_02_26_073953_create_categories_table.php │ ├── 2019_02_28_093936_add_soft_deletes_to_posts_table.php │ ├── 2019_02_28_185709_create_post_tag_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2019_02_26_073924_create_posts_table.php │ └── 2014_10_12_000000_create_users_table.php └── factories │ └── UserFactory.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── .DS_Store ├── .gitattributes ├── .gitignore ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── .editorconfig ├── app ├── Category.php ├── Tag.php ├── Http │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── CheckForMaintenanceMode.php │ │ ├── TrimStrings.php │ │ ├── TrustProxies.php │ │ ├── VerifyIsAdmin.php │ │ ├── Authenticate.php │ │ ├── VerifyCsrfToken.php │ │ ├── RedirectIfAuthenticated.php │ │ └── VerifyCategoriesCount.php │ ├── Controllers │ │ ├── Controller.php │ │ ├── WelcomeController.php │ │ ├── HomeController.php │ │ ├── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── ResetPasswordController.php │ │ │ ├── VerificationController.php │ │ │ └── RegisterController.php │ │ ├── Blog │ │ │ └── PostsController.php │ │ ├── UsersController.php │ │ ├── TagsController.php │ │ ├── CategoriesController.php │ │ └── PostsController.php │ ├── Requests │ │ ├── Tags │ │ │ ├── CreateTagRequest.php │ │ │ └── UpdateTagsRequest.php │ │ ├── Categories │ │ │ ├── CreateCategoryRequest.php │ │ │ └── UpdateCategoriesRequest.php │ │ ├── Users │ │ │ └── UpdateProfileRequest.php │ │ └── Posts │ │ │ ├── UpdatePostRequest.php │ │ │ └── CreatePostsRequest.php │ └── Kernel.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Console │ └── Kernel.php ├── User.php ├── Exceptions │ └── Handler.php └── Post.php ├── resources ├── sass │ ├── app.scss │ └── _variables.scss ├── views │ ├── partials │ │ ├── errors.blade.php │ │ └── sidebar.blade.php │ ├── home.blade.php │ ├── vendor │ │ └── pagination │ │ │ ├── simple-bootstrap-4.blade.php │ │ │ ├── simple-default.blade.php │ │ │ ├── semantic-ui.blade.php │ │ │ ├── default.blade.php │ │ │ └── bootstrap-4.blade.php │ ├── tags │ │ ├── create.blade.php │ │ └── index.blade.php │ ├── users │ │ ├── edit.blade.php │ │ └── index.blade.php │ ├── categories │ │ ├── create.blade.php │ │ └── index.blade.php │ ├── auth │ │ ├── verify.blade.php │ │ ├── passwords │ │ │ ├── email.blade.php │ │ │ └── reset.blade.php │ │ ├── login.blade.php │ │ └── register.blade.php │ ├── posts │ │ ├── index.blade.php │ │ └── create.blade.php │ ├── welcome.blade.php │ ├── blog │ │ ├── tag.blade.php │ │ ├── category.blade.php │ │ └── show.blade.php │ └── layouts │ │ ├── blog.blade.php │ │ └── app.blade.php ├── lang │ └── en │ │ ├── pagination.php │ │ ├── auth.php │ │ └── passwords.php └── js │ ├── components │ └── ExampleComponent.vue │ ├── app.js │ └── bootstrap.js ├── routes ├── channels.php ├── api.php ├── console.php └── web.php ├── webpack.mix.js ├── server.php ├── .env.example ├── config ├── view.php ├── services.php ├── hashing.php ├── broadcasting.php ├── filesystems.php ├── queue.php ├── logging.php ├── cache.php ├── auth.php ├── database.php ├── mail.php └── session.php ├── package.json ├── phpunit.xml ├── composer.json └── artisan /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 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/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/.DS_Store -------------------------------------------------------------------------------- /public/img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/img/favicon.png -------------------------------------------------------------------------------- /public/fonts/et-line.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/et-line.eot -------------------------------------------------------------------------------- /public/fonts/et-line.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/et-line.ttf -------------------------------------------------------------------------------- /public/fonts/et-line.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/et-line.woff -------------------------------------------------------------------------------- /public/fonts/themify.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/themify.eot -------------------------------------------------------------------------------- /public/fonts/themify.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/themify.ttf -------------------------------------------------------------------------------- /public/fonts/themify.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/themify.woff -------------------------------------------------------------------------------- /public/img/logo-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/img/logo-dark.png -------------------------------------------------------------------------------- /public/img/logo-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/img/logo-light.png -------------------------------------------------------------------------------- /public/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /public/fonts/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-brands-400.eot -------------------------------------------------------------------------------- /public/fonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /public/fonts/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-solid-900.eot -------------------------------------------------------------------------------- /public/fonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /public/fonts/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-solid-900.woff -------------------------------------------------------------------------------- /public/fonts/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-brands-400.woff -------------------------------------------------------------------------------- /public/fonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /public/fonts/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-regular-400.eot -------------------------------------------------------------------------------- /public/fonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /public/fonts/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-regular-400.woff -------------------------------------------------------------------------------- /public/fonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /public/fonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /public/img/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/img/apple-touch-icon.png -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcasts/laravel-cms-2019/HEAD/public/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /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 | .env 7 | .phpunit.result.cache 8 | Homestead.json 9 | Homestead.yaml 10 | npm-debug.log 11 | yarn-error.log 12 | /theme 13 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | hasMany(Post::class); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/Tag.php: -------------------------------------------------------------------------------- 1 | belongsToMany(Post::class); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /resources/sass/app.scss: -------------------------------------------------------------------------------- 1 | 2 | // Fonts 3 | @import url('https://fonts.googleapis.com/css?family=Nunito'); 4 | 5 | // Variables 6 | @import 'variables'; 7 | 8 | // Bootstrap 9 | @import '~bootstrap/scss/bootstrap'; 10 | 11 | .navbar-laravel { 12 | background-color: #fff; 13 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04); 14 | } 15 | -------------------------------------------------------------------------------- /resources/views/partials/errors.blade.php: -------------------------------------------------------------------------------- 1 | @if($errors->any()) 2 |
| Image | 12 |Name | 13 |15 | | 16 | 17 | 18 | @foreach($users as $user) 19 | |
|---|---|---|---|
|
21 | |
23 | 24 | {{ $user->name }} 25 | | 26 |27 | {{ $user->email }} 28 | | 29 |30 | @if(!$user->isAdmin()) 31 | 35 | @endif 36 | | 37 |
| Image | 16 |Title | 17 |Category | 18 |19 | | 20 | 21 | 22 | @foreach($posts as $post) 23 | | |
|---|---|---|---|---|---|
|
25 | |
27 | 28 | {{ $post->title }} 29 | | 30 |31 | 32 | {{ $post->category->name }} 33 | 34 | | 35 | @if($post->trashed()) 36 |37 | 42 | | 43 | @else 44 |45 | Edit 46 | | 47 | @endif 48 |49 | 56 | | 57 |
Read and get updated on how we progress
17 | 18 |42 | 43 | {{ $post->category->name }} 44 | 45 |
46 |56 | No results found for query {{ request()->query('search') }} 57 |
58 | @endforelse 59 | 60 |Read and get updated on how we progress
17 | 18 |42 | 43 | {{ $post->category->name }} 44 | 45 |
46 |56 | No results found for query {{ request()->query('search') }} 57 |
58 | @endforelse 59 | 60 |Read and get updated on how we progress
17 | 18 |42 | 43 | {{ $post->category->name }} 44 | 45 |
46 |56 | No results found for query {{ request()->query('search') }} 57 |
58 | @endforelse 59 | 60 || Name | 15 |Posts Count | 16 |17 | 18 | 19 | 20 | @foreach($tags as $tag) 21 | |
|---|---|---|
| 23 | {{ $tag->name }} 24 | | 25 |26 | {{ $tag->posts->count() }} 27 | | 28 |29 | 30 | Edit 31 | 32 | 33 | | 34 |
| Name | 15 |Posts Count | 16 |17 | 18 | 19 | 20 | @foreach($categories as $category) 21 | |
|---|---|---|
| 23 | {{ $category->name }} 24 | | 25 |26 | {{ $category->posts->count() }} 27 | | 28 |29 | 30 | Edit 31 | 32 | 33 | | 34 |
16 | {{ $post->category->name }} 17 |
18 |By 20 | {{ $post->user->name }} 21 |
22 |