├── public ├── favicon.ico ├── robots.txt ├── mix-manifest.json ├── fonts │ └── vendor │ │ └── bootstrap-sass │ │ └── bootstrap │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 ├── .htaccess └── index.php ├── database ├── .gitignore ├── seeds │ ├── DatabaseSeeder.php │ └── ArticlesTableSeeder.php ├── migrations │ ├── 2018_01_06_134259_add_deleted_at_to_users_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2018_01_06_145557_change_category_id_in_articles_table.php │ └── 2018_01_06_112915_create_articles_table.php └── factories │ └── UserFactory.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── resources ├── views │ ├── article.blade.php │ ├── mix │ │ └── view.blade.php │ ├── article │ │ ├── create.blade.php │ │ ├── edit.blade.php │ │ └── index.blade.php │ ├── layouts │ │ ├── home.blade.php │ │ └── app.blade.php │ ├── home.blade.php │ ├── auth │ │ ├── passwords │ │ │ ├── email.blade.php │ │ │ └── reset.blade.php │ │ ├── login.blade.php │ │ └── register.blade.php │ ├── welcome.blade.php │ └── validation │ │ └── create.blade.php ├── assets │ ├── js │ │ ├── app.js │ │ ├── bootstrap-datepicker.js │ │ ├── components │ │ │ └── ExampleComponent.vue │ │ └── bootstrap.js │ └── sass │ │ ├── app.scss │ │ └── _variables.scss └── lang │ └── en │ ├── pagination.php │ ├── auth.php │ ├── passwords.php │ └── validation.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── cache │ └── .gitignore │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── .gitattributes ├── app ├── Article.php ├── Http │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── TrimStrings.php │ │ ├── RedirectIfAuthenticated.php │ │ └── TrustProxies.php │ ├── Controllers │ │ ├── Controller.php │ │ ├── HomeController.php │ │ ├── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── ResetPasswordController.php │ │ │ ├── LoginController.php │ │ │ └── RegisterController.php │ │ ├── ValidationController.php │ │ ├── DatabaseController.php │ │ ├── Home │ │ │ ├── TagController.php │ │ │ └── ArticleController.php │ │ ├── ArticleController.php │ │ ├── Admin │ │ │ └── ArticleController.php │ │ ├── ModelController.php │ │ └── ViewController.php │ ├── Requests │ │ └── Validation │ │ │ └── Store.php │ └── Kernel.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── User.php ├── Models │ └── Article.php ├── Console │ └── Kernel.php └── Exceptions │ └── Handler.php ├── .gitignore ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── routes ├── channels.php ├── api.php ├── console.php └── web.php ├── webpack.mix.js ├── server.php ├── .env.example ├── 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 ├── readme.md ├── package.json ├── composer.json └── artisan /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/views/article.blade.php: -------------------------------------------------------------------------------- 1 | bjyblog article -------------------------------------------------------------------------------- /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/assets/js/app.js: -------------------------------------------------------------------------------- 1 | require('./bootstrap'); 2 | require('./bootstrap-datepicker'); 3 | -------------------------------------------------------------------------------- /resources/assets/js/bootstrap-datepicker.js: -------------------------------------------------------------------------------- 1 | require('bootstrap-datepicker/dist/js/bootstrap-datepicker'); 2 | $('.datepicker').datepicker(); -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /public/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/js/app.js": "/js/app.js?id=567db7bcca83e47818f8", 3 | "/css/app.css": "/css/app.css?id=f4020d3e23da7339037a" 4 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /app/Article.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 || 标题 | 10 |内容 | 11 |操作 | 12 |
|---|---|---|
| {{ $v->title }} | 16 |{{ $v->content }} | 17 |18 | 编辑 | 19 | @if($v->trashed()) 20 | 恢复 | 21 | 彻底删除 22 | @else 23 | 删除 24 | @endif 25 | | 26 |