├── .env.example
├── .gitattributes
├── .gitignore
├── app
├── Article.php
├── Comment.php
├── Console
│ ├── Commands
│ │ ├── Blog.php
│ │ └── CreateData.php
│ └── Kernel.php
├── Exceptions
│ └── Handler.php
├── Http
│ ├── Controllers
│ │ ├── Admin
│ │ │ └── AdminController.php
│ │ ├── ArticlesController.php
│ │ ├── Auth
│ │ │ ├── ForgotPasswordController.php
│ │ │ ├── LoginController.php
│ │ │ ├── RegisterController.php
│ │ │ └── ResetPasswordController.php
│ │ ├── CommentsController.php
│ │ ├── Controller.php
│ │ ├── LovesController.php
│ │ ├── NotificationsController.php
│ │ ├── UsersController.php
│ │ └── VotesController.php
│ ├── Kernel.php
│ ├── Middleware
│ │ ├── EncryptCookies.php
│ │ ├── IsAdmin.php
│ │ ├── RedirectIfAuthenticated.php
│ │ └── VerifyCsrfToken.php
│ └── Requests
│ │ ├── UsersLoginRequest.php
│ │ └── UsersRegisterRequest.php
├── Love.php
├── MyCommand
│ └── MyCommand.php
├── Notification.php
├── Providers
│ ├── AppServiceProvider.php
│ ├── AuthServiceProvider.php
│ ├── BroadcastServiceProvider.php
│ ├── EventServiceProvider.php
│ └── RouteServiceProvider.php
├── Repository
│ ├── AdminRepository.php
│ ├── ArticlesRepository.php
│ ├── CommentsRepository.php
│ ├── LovesRepository.php
│ ├── NotificationRepository.php
│ ├── UsersRepository.php
│ └── VotesRepository.php
├── User.php
└── Vote.php
├── artisan
├── bootstrap
├── app.php
├── autoload.php
└── cache
│ └── .gitignore
├── composer.json
├── composer.lock
├── config
├── app.php
├── auth.php
├── broadcasting.php
├── cache.php
├── compile.php
├── cors.php
├── database.php
├── filesystems.php
├── mail.php
├── queue.php
├── roles.php
├── services.php
├── session.php
├── ueditor.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_12_31_150031_create_articles_table.php
│ ├── 2017_01_01_223840_create_comments_table.php
│ ├── 2017_01_07_160406_create_votes_table.php
│ ├── 2017_01_08_204946_create_love_table.php
│ ├── 2017_01_08_233957_create_notifications_table.php
│ └── 2017_01_11_093724_add_into_column_to_users.php
└── seeds
│ ├── ArticlesTableSeeder.php
│ ├── CommentsTableSeeder.php
│ ├── DatabaseSeeder.php
│ └── UsersTableSeeder.php
├── gulpfile.js
├── package.json
├── phpunit.xml
├── public
├── .htaccess
├── css
│ ├── admin.css
│ ├── app.css
│ ├── app.css.map
│ ├── element.css
│ ├── fonts
│ │ ├── element-icons.ttf
│ │ └── element-icons.woff
│ ├── input.css
│ ├── muse-ui.css
│ ├── navbar.css
│ ├── style.css
│ └── toastr.min.css
├── favicon.ico
├── img
│ └── default.2a8f087.png
├── index.php
├── js
│ ├── admin.js
│ ├── app.js
│ ├── element.js
│ └── muse-ui.js
├── picture
│ ├── default.png
│ ├── laravelvue.png
│ └── menu-active.png
├── robots.txt
├── uploads
│ └── image
│ │ └── 2017
│ │ └── 01
│ │ ├── 10
│ │ └── ede467d6ea31689de514a1bc49fcb5b6.jpg
│ │ └── 16
│ │ ├── 2ec986c97ce23fb77dbc47412ace4c71.jpg
│ │ └── 55c997ec61b0fa855fd29360e866794b.jpg
├── vendor
│ └── ueditor
│ │ ├── dialogs
│ │ ├── anchor
│ │ │ └── anchor.html
│ │ ├── attachment
│ │ │ ├── attachment.css
│ │ │ ├── attachment.html
│ │ │ ├── attachment.js
│ │ │ ├── fileTypeImages
│ │ │ │ ├── icon_chm.gif
│ │ │ │ ├── icon_default.png
│ │ │ │ ├── icon_doc.gif
│ │ │ │ ├── icon_exe.gif
│ │ │ │ ├── icon_jpg.gif
│ │ │ │ ├── icon_mp3.gif
│ │ │ │ ├── icon_mv.gif
│ │ │ │ ├── icon_pdf.gif
│ │ │ │ ├── icon_ppt.gif
│ │ │ │ ├── icon_psd.gif
│ │ │ │ ├── icon_rar.gif
│ │ │ │ ├── icon_txt.gif
│ │ │ │ └── icon_xls.gif
│ │ │ └── images
│ │ │ │ ├── alignicon.gif
│ │ │ │ ├── alignicon.png
│ │ │ │ ├── bg.png
│ │ │ │ ├── file-icons.gif
│ │ │ │ ├── file-icons.png
│ │ │ │ ├── icons.gif
│ │ │ │ ├── icons.png
│ │ │ │ ├── image.png
│ │ │ │ ├── progress.png
│ │ │ │ ├── success.gif
│ │ │ │ └── success.png
│ │ ├── background
│ │ │ ├── background.css
│ │ │ ├── background.html
│ │ │ ├── background.js
│ │ │ └── images
│ │ │ │ ├── bg.png
│ │ │ │ └── success.png
│ │ ├── charts
│ │ │ ├── chart.config.js
│ │ │ ├── charts.css
│ │ │ ├── charts.html
│ │ │ ├── charts.js
│ │ │ └── images
│ │ │ │ ├── charts0.png
│ │ │ │ ├── charts1.png
│ │ │ │ ├── charts2.png
│ │ │ │ ├── charts3.png
│ │ │ │ ├── charts4.png
│ │ │ │ └── charts5.png
│ │ ├── emotion
│ │ │ ├── emotion.css
│ │ │ ├── emotion.html
│ │ │ ├── emotion.js
│ │ │ └── images
│ │ │ │ ├── 0.gif
│ │ │ │ ├── bface.gif
│ │ │ │ ├── cface.gif
│ │ │ │ ├── fface.gif
│ │ │ │ ├── jxface2.gif
│ │ │ │ ├── neweditor-tab-bg.png
│ │ │ │ ├── tface.gif
│ │ │ │ ├── wface.gif
│ │ │ │ └── yface.gif
│ │ ├── gmap
│ │ │ └── gmap.html
│ │ ├── help
│ │ │ ├── help.css
│ │ │ ├── help.html
│ │ │ └── help.js
│ │ ├── image
│ │ │ ├── image.css
│ │ │ ├── image.html
│ │ │ ├── image.js
│ │ │ └── images
│ │ │ │ ├── alignicon.jpg
│ │ │ │ ├── bg.png
│ │ │ │ ├── icons.gif
│ │ │ │ ├── icons.png
│ │ │ │ ├── image.png
│ │ │ │ ├── progress.png
│ │ │ │ ├── success.gif
│ │ │ │ └── success.png
│ │ ├── insertframe
│ │ │ └── insertframe.html
│ │ ├── internal.js
│ │ ├── link
│ │ │ └── link.html
│ │ ├── map
│ │ │ ├── map.html
│ │ │ └── show.html
│ │ ├── music
│ │ │ ├── music.css
│ │ │ ├── music.html
│ │ │ └── music.js
│ │ ├── preview
│ │ │ └── preview.html
│ │ ├── scrawl
│ │ │ ├── images
│ │ │ │ ├── addimg.png
│ │ │ │ ├── brush.png
│ │ │ │ ├── delimg.png
│ │ │ │ ├── delimgH.png
│ │ │ │ ├── empty.png
│ │ │ │ ├── emptyH.png
│ │ │ │ ├── eraser.png
│ │ │ │ ├── redo.png
│ │ │ │ ├── redoH.png
│ │ │ │ ├── scale.png
│ │ │ │ ├── scaleH.png
│ │ │ │ ├── size.png
│ │ │ │ ├── undo.png
│ │ │ │ └── undoH.png
│ │ │ ├── scrawl.css
│ │ │ ├── scrawl.html
│ │ │ └── scrawl.js
│ │ ├── searchreplace
│ │ │ ├── searchreplace.html
│ │ │ └── searchreplace.js
│ │ ├── snapscreen
│ │ │ └── snapscreen.html
│ │ ├── spechars
│ │ │ ├── spechars.html
│ │ │ └── spechars.js
│ │ ├── table
│ │ │ ├── dragicon.png
│ │ │ ├── edittable.css
│ │ │ ├── edittable.html
│ │ │ ├── edittable.js
│ │ │ ├── edittd.html
│ │ │ └── edittip.html
│ │ ├── template
│ │ │ ├── config.js
│ │ │ ├── images
│ │ │ │ ├── bg.gif
│ │ │ │ ├── pre0.png
│ │ │ │ ├── pre1.png
│ │ │ │ ├── pre2.png
│ │ │ │ ├── pre3.png
│ │ │ │ └── pre4.png
│ │ │ ├── template.css
│ │ │ ├── template.html
│ │ │ └── template.js
│ │ ├── video
│ │ │ ├── images
│ │ │ │ ├── bg.png
│ │ │ │ ├── center_focus.jpg
│ │ │ │ ├── file-icons.gif
│ │ │ │ ├── file-icons.png
│ │ │ │ ├── icons.gif
│ │ │ │ ├── icons.png
│ │ │ │ ├── image.png
│ │ │ │ ├── left_focus.jpg
│ │ │ │ ├── none_focus.jpg
│ │ │ │ ├── progress.png
│ │ │ │ ├── right_focus.jpg
│ │ │ │ ├── success.gif
│ │ │ │ └── success.png
│ │ │ ├── video.css
│ │ │ ├── video.html
│ │ │ └── video.js
│ │ ├── webapp
│ │ │ └── webapp.html
│ │ └── wordimage
│ │ │ ├── fClipboard_ueditor.swf
│ │ │ ├── imageUploader.swf
│ │ │ ├── tangram.js
│ │ │ ├── wordimage.html
│ │ │ └── wordimage.js
│ │ ├── index.html
│ │ ├── lang
│ │ ├── en
│ │ │ ├── en.js
│ │ │ └── images
│ │ │ │ ├── addimage.png
│ │ │ │ ├── alldeletebtnhoverskin.png
│ │ │ │ ├── alldeletebtnupskin.png
│ │ │ │ ├── background.png
│ │ │ │ ├── button.png
│ │ │ │ ├── copy.png
│ │ │ │ ├── deletedisable.png
│ │ │ │ ├── deleteenable.png
│ │ │ │ ├── listbackground.png
│ │ │ │ ├── localimage.png
│ │ │ │ ├── music.png
│ │ │ │ ├── rotateleftdisable.png
│ │ │ │ ├── rotateleftenable.png
│ │ │ │ ├── rotaterightdisable.png
│ │ │ │ ├── rotaterightenable.png
│ │ │ │ └── upload.png
│ │ └── zh-cn
│ │ │ ├── images
│ │ │ ├── copy.png
│ │ │ ├── localimage.png
│ │ │ ├── music.png
│ │ │ └── upload.png
│ │ │ └── zh-cn.js
│ │ ├── php
│ │ ├── Uploader.class.php
│ │ ├── action_crawler.php
│ │ ├── action_list.php
│ │ ├── action_upload.php
│ │ ├── config.json
│ │ └── controller.php
│ │ ├── themes
│ │ ├── default
│ │ │ ├── css
│ │ │ │ ├── ueditor.css
│ │ │ │ └── ueditor.min.css
│ │ │ ├── dialogbase.css
│ │ │ └── images
│ │ │ │ ├── anchor.gif
│ │ │ │ ├── arrow.png
│ │ │ │ ├── arrow_down.png
│ │ │ │ ├── arrow_up.png
│ │ │ │ ├── button-bg.gif
│ │ │ │ ├── cancelbutton.gif
│ │ │ │ ├── charts.png
│ │ │ │ ├── cursor_h.gif
│ │ │ │ ├── cursor_h.png
│ │ │ │ ├── cursor_v.gif
│ │ │ │ ├── cursor_v.png
│ │ │ │ ├── dialog-title-bg.png
│ │ │ │ ├── filescan.png
│ │ │ │ ├── highlighted.gif
│ │ │ │ ├── icons-all.gif
│ │ │ │ ├── icons.gif
│ │ │ │ ├── icons.png
│ │ │ │ ├── icons1.png
│ │ │ │ ├── loaderror.png
│ │ │ │ ├── loading.gif
│ │ │ │ ├── lock.gif
│ │ │ │ ├── neweditor-tab-bg.png
│ │ │ │ ├── pagebreak.gif
│ │ │ │ ├── scale.png
│ │ │ │ ├── sortable.png
│ │ │ │ ├── spacer.gif
│ │ │ │ ├── sparator_v.png
│ │ │ │ ├── table-cell-align.png
│ │ │ │ ├── tangram-colorpicker.png
│ │ │ │ ├── toolbar_bg.png
│ │ │ │ ├── unhighlighted.gif
│ │ │ │ ├── upload.png
│ │ │ │ ├── videologo.gif
│ │ │ │ ├── word.gif
│ │ │ │ └── wordpaste.png
│ │ └── iframe.css
│ │ ├── third-party
│ │ ├── SyntaxHighlighter
│ │ │ ├── shCore.js
│ │ │ └── shCoreDefault.css
│ │ ├── codemirror
│ │ │ ├── codemirror.css
│ │ │ └── codemirror.js
│ │ ├── highcharts
│ │ │ ├── adapters
│ │ │ │ ├── mootools-adapter.js
│ │ │ │ ├── mootools-adapter.src.js
│ │ │ │ ├── prototype-adapter.js
│ │ │ │ ├── prototype-adapter.src.js
│ │ │ │ ├── standalone-framework.js
│ │ │ │ └── standalone-framework.src.js
│ │ │ ├── highcharts-more.js
│ │ │ ├── highcharts-more.src.js
│ │ │ ├── highcharts.js
│ │ │ ├── highcharts.src.js
│ │ │ ├── modules
│ │ │ │ ├── annotations.js
│ │ │ │ ├── annotations.src.js
│ │ │ │ ├── canvas-tools.js
│ │ │ │ ├── canvas-tools.src.js
│ │ │ │ ├── data.js
│ │ │ │ ├── data.src.js
│ │ │ │ ├── drilldown.js
│ │ │ │ ├── drilldown.src.js
│ │ │ │ ├── exporting.js
│ │ │ │ ├── exporting.src.js
│ │ │ │ ├── funnel.js
│ │ │ │ ├── funnel.src.js
│ │ │ │ ├── heatmap.js
│ │ │ │ ├── heatmap.src.js
│ │ │ │ ├── map.js
│ │ │ │ ├── map.src.js
│ │ │ │ ├── no-data-to-display.js
│ │ │ │ └── no-data-to-display.src.js
│ │ │ └── themes
│ │ │ │ ├── dark-blue.js
│ │ │ │ ├── dark-green.js
│ │ │ │ ├── gray.js
│ │ │ │ ├── grid.js
│ │ │ │ └── skies.js
│ │ ├── jquery-1.10.2.js
│ │ ├── jquery-1.10.2.min.js
│ │ ├── jquery-1.10.2.min.map
│ │ ├── snapscreen
│ │ │ └── UEditorSnapscreen.exe
│ │ ├── video-js
│ │ │ ├── font
│ │ │ │ ├── vjs.eot
│ │ │ │ ├── vjs.svg
│ │ │ │ ├── vjs.ttf
│ │ │ │ └── vjs.woff
│ │ │ ├── video-js.css
│ │ │ ├── video-js.min.css
│ │ │ ├── video-js.swf
│ │ │ ├── video.dev.js
│ │ │ └── video.js
│ │ ├── webuploader
│ │ │ ├── Uploader.swf
│ │ │ ├── webuploader.css
│ │ │ ├── webuploader.custom.js
│ │ │ ├── webuploader.custom.min.js
│ │ │ ├── webuploader.flashonly.js
│ │ │ ├── webuploader.flashonly.min.js
│ │ │ ├── webuploader.html5only.js
│ │ │ ├── webuploader.html5only.min.js
│ │ │ ├── webuploader.js
│ │ │ ├── webuploader.min.js
│ │ │ ├── webuploader.withoutimage.js
│ │ │ └── webuploader.withoutimage.min.js
│ │ └── zeroclipboard
│ │ │ ├── ZeroClipboard.js
│ │ │ ├── ZeroClipboard.min.js
│ │ │ └── ZeroClipboard.swf
│ │ ├── ueditor.all.js
│ │ ├── ueditor.all.min.js
│ │ ├── ueditor.config.js
│ │ ├── ueditor.parse.js
│ │ └── ueditor.parse.min.js
└── web.config
├── readme.md
├── resources
├── assets
│ ├── js
│ │ ├── App.vue
│ │ ├── admin.js
│ │ ├── app.js
│ │ ├── bootstrap.js
│ │ └── components
│ │ │ ├── Admin
│ │ │ ├── Admin.vue
│ │ │ └── components
│ │ │ │ ├── Article.vue
│ │ │ │ ├── Comment.vue
│ │ │ │ ├── Create
│ │ │ │ └── CreateArticle.vue
│ │ │ │ ├── Edit
│ │ │ │ ├── EditArticle.vue
│ │ │ │ ├── EditComment.vue
│ │ │ │ └── EditUser.vue
│ │ │ │ ├── Home.vue
│ │ │ │ ├── Sidebar.vue
│ │ │ │ ├── User.vue
│ │ │ │ └── js
│ │ │ │ ├── options.js
│ │ │ │ └── toastr.min.js
│ │ │ ├── Article.vue
│ │ │ ├── ArticleShow.vue
│ │ │ ├── Comment
│ │ │ ├── EditComment.vue
│ │ │ └── Reply.vue
│ │ │ ├── Discussion.vue
│ │ │ ├── Love
│ │ │ └── Love.vue
│ │ │ ├── Notification
│ │ │ └── notification.vue
│ │ │ ├── Personal
│ │ │ ├── CommentTotal.vue
│ │ │ └── UserLove.vue
│ │ │ ├── Vote
│ │ │ └── VoteCount.vue
│ │ │ └── header.vue
│ └── sass
│ │ ├── _variables.scss
│ │ └── app.scss
├── lang
│ ├── en
│ │ ├── auth.php
│ │ ├── pagination.php
│ │ ├── passwords.php
│ │ └── validation.php
│ └── vendor
│ │ └── ueditor
│ │ ├── en
│ │ └── upload.php
│ │ ├── zh-CN
│ │ └── upload.php
│ │ └── zh-TW
│ │ └── upload.php
└── views
│ ├── admin.blade.php
│ ├── app.blade.php
│ ├── blog.blade.php
│ ├── errors
│ └── 503.blade.php
│ ├── user
│ ├── login.blade.php
│ └── register.blade.php
│ ├── vendor
│ ├── .gitkeep
│ ├── notifications
│ │ ├── email-plain.blade.php
│ │ └── email.blade.php
│ ├── pagination
│ │ ├── bootstrap-4.blade.php
│ │ ├── default.blade.php
│ │ ├── simple-bootstrap-4.blade.php
│ │ └── simple-default.blade.php
│ └── ueditor
│ │ └── assets.blade.php
│ └── welcome.blade.php
├── routes
├── api.php
├── console.php
└── web.php
├── server.php
├── storage
├── app
│ ├── .gitignore
│ └── public
│ │ └── .gitignore
├── framework
│ ├── .gitignore
│ ├── cache
│ │ └── .gitignore
│ ├── sessions
│ │ └── .gitignore
│ └── views
│ │ └── .gitignore
└── logs
│ └── .gitignore
├── tests
├── ExampleTest.php
└── TestCase.php
└── yarn.lock
/.env.example:
--------------------------------------------------------------------------------
1 | APP_ENV=local
2 | APP_KEY=
3 | APP_DEBUG=true
4 | APP_LOG_LEVEL=debug
5 | APP_URL=http://localhost
6 |
7 | DB_CONNECTION=mysql
8 | DB_HOST=127.0.0.1
9 | DB_PORT=3306
10 | DB_DATABASE=homestead
11 | DB_USERNAME=homestead
12 | DB_PASSWORD=secret
13 |
14 | BROADCAST_DRIVER=log
15 | CACHE_DRIVER=file
16 | SESSION_DRIVER=file
17 | QUEUE_DRIVER=sync
18 |
19 | REDIS_HOST=127.0.0.1
20 | REDIS_PASSWORD=null
21 | REDIS_PORT=6379
22 |
23 | MAIL_DRIVER=smtp
24 | MAIL_HOST=mailtrap.io
25 | MAIL_PORT=2525
26 | MAIL_USERNAME=null
27 | MAIL_PASSWORD=null
28 | MAIL_ENCRYPTION=null
29 |
30 | PUSHER_APP_ID=
31 | PUSHER_KEY=
32 | PUSHER_SECRET=
33 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *
2 | text=auto
3 | *.css linguist-vendored
4 | *.scss linguist-vendored
5 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 | /public/storage
3 | /storage/*.key
4 | /vendor
5 | /.idea
6 | Homestead.json
7 | Homestead.yaml
8 | .env
9 | /resources/assets/js/components/Comment/Comment.vue
10 |
--------------------------------------------------------------------------------
/app/Article.php:
--------------------------------------------------------------------------------
1 | hasMany(Comment::class);
20 | }
21 |
22 |
23 | /**
24 | * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
25 | */
26 | public function votes()
27 | {
28 | return $this->belongsToMany(User::class, 'votes')->withTimestamps();
29 | }
30 |
31 | /**
32 | * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
33 | */
34 | public function userloves()
35 | {
36 | return $this->belongsToMany(User::class, 'love')->withTimestamps();
37 | }
38 |
39 | /**
40 | * @return \Illuminate\Database\Eloquent\Relations\HasMany
41 | */
42 | public function love(){
43 | return $this->hasMany(Love::class);
44 | }
45 |
46 | /**
47 | *
48 | */
49 | public static function boot()
50 | {
51 | parent::boot();
52 | static::deleting(function ($article) {
53 | $article->comments()->delete();
54 | $article->love()->delete();
55 | $article->votes()->delete();
56 | });
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/app/Comment.php:
--------------------------------------------------------------------------------
1 | belongsTo(User::class);
16 | }
17 |
18 | /**
19 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
20 | */
21 | public function article(){
22 | return $this->belongsTo(Article::class);
23 | }
24 |
25 | /**
26 | * @return \Illuminate\Database\Eloquent\Relations\HasOne
27 | */
28 | public function notification(){
29 | return $this->hasOne(Notification::class);
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/app/Console/Commands/Blog.php:
--------------------------------------------------------------------------------
1 | mycommand=$mycommand;
35 | }
36 |
37 | /**
38 | * Execute the console command.
39 | *
40 | * @return mixed
41 | */
42 | public function handle()
43 | {
44 | $name = $this->ask('请输入管理员名字?');
45 | $email = $this->ask('请输入管理员邮箱?');
46 | $password = $this->secret('请输入密码?');
47 | $data = [
48 | 'name' => $name,
49 | 'email' => $email,
50 | 'password' => $password,
51 | ];
52 | if ( $this->register($data) ) {
53 | $this->info('恭喜您!创建管理员成功!哈哈!');
54 | } else {
55 | $this->error('抱歉您填写的数据有误!请确保您的用户名和邮箱是唯一的,密码至少6位!');
56 | }
57 |
58 | }
59 |
60 | public function register($data)
61 | {
62 | $validator = Validator::make($data, [
63 | 'name' => 'required|max:255|unique:users',
64 | 'email' => 'required|email|max:255|unique:users',
65 | 'password' => 'required|min:6',
66 | ]);
67 |
68 | if (!$validator->passes()) {
69 | return false;
70 | }
71 |
72 | return $this->mycommand->createadmin($data);
73 | }
74 | }
75 |
--------------------------------------------------------------------------------
/app/Console/Commands/CreateData.php:
--------------------------------------------------------------------------------
1 | call('key:generate');
41 | $this->call('migrate');
42 | $this->call('db:seed');
43 | $this->info('恭喜您,数据创建完毕!哈哈!');
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/app/Console/Kernel.php:
--------------------------------------------------------------------------------
1 | command('inspire')
29 | // ->hourly();
30 | }
31 |
32 | /**
33 | * Register the Closure based commands for the application.
34 | *
35 | * @return void
36 | */
37 | protected function commands()
38 | {
39 | require base_path('routes/console.php');
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/app/Exceptions/Handler.php:
--------------------------------------------------------------------------------
1 | expectsJson()) {
60 | return response()->json(['error' => 'Unauthenticated.'], 401);
61 | }
62 |
63 | return redirect()->guest('login');
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/app/Http/Controllers/ArticlesController.php:
--------------------------------------------------------------------------------
1 | article = $article;
19 | }
20 |
21 | /**
22 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
23 | */
24 | public function index()
25 | {
26 | return view('blog');
27 | }
28 |
29 | /**
30 | * @return \Illuminate\Database\Eloquent\Collection|static[]
31 | */
32 | public function allarticle()
33 | {
34 | return $this->article->ByAll();
35 | }
36 |
37 | /**
38 | * @param $id
39 | * @return mixed
40 | */
41 | public function singlearticle($id)
42 | {
43 | $result = $this->article->Byid($id);
44 | $result->author = 'LaravelChen';
45 | $result->time = $result->updated_at->toDateString();
46 | return $result;
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/ForgotPasswordController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/LoginController.php:
--------------------------------------------------------------------------------
1 | middleware('guest', ['except' => 'logout']);
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/RegisterController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
40 | }
41 |
42 | /**
43 | * Get a validator for an incoming registration request.
44 | *
45 | * @param array $data
46 | * @return \Illuminate\Contracts\Validation\Validator
47 | */
48 | protected function validator(array $data)
49 | {
50 | return Validator::make($data, [
51 | 'name' => 'required|max:255',
52 | 'email' => 'required|email|max:255|unique:users',
53 | 'password' => 'required|min:6|confirmed',
54 | ]);
55 | }
56 |
57 | /**
58 | * Create a new user instance after a valid registration.
59 | *
60 | * @param array $data
61 | * @return User
62 | */
63 | protected function create(array $data)
64 | {
65 | return User::create([
66 | 'name' => $data['name'],
67 | 'email' => $data['email'],
68 | 'password' => bcrypt($data['password']),
69 | ]);
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/ResetPasswordController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Controller.php:
--------------------------------------------------------------------------------
1 | userlove = $love;
22 | $this->middleware('auth');
23 | }
24 |
25 | /**
26 | * @param $id
27 | * @return array
28 | */
29 | public function lovefont($id){
30 | return [
31 | 'lovefont'=>$this->userlove->lovefont($id),
32 | ];
33 | }
34 |
35 |
36 | /**
37 | * @param $id
38 | * @return array
39 | */
40 | public function lovesub($id){
41 | \Auth::user()->userlovethis($id);
42 | return [
43 | 'lovefont'=>$this->userlove->lovefont($id),
44 | ];
45 | }
46 |
47 | /**
48 | * @return mixed
49 | */
50 | public function lovetotal(){
51 | $total= $this->userlove->ByUserId();
52 | foreach($total as $love){
53 | $love->title=$love->article->title;
54 | }
55 | return $total;
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/app/Http/Controllers/NotificationsController.php:
--------------------------------------------------------------------------------
1 | notification = $notification;
22 | }
23 |
24 | /**
25 | * @return mixed
26 | */
27 | public function show()
28 | {
29 | return $this->notification->ByNotificationAll();
30 | }
31 |
32 | /**
33 | * @return array
34 | */
35 | public function allread(){
36 | $this->notification->ByAllRead();
37 | return ['success'=>true];
38 | }
39 |
40 | /**
41 | *
42 | */
43 | public function notreadcount(){
44 | return $this->notification->notreadcount();
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/app/Http/Controllers/VotesController.php:
--------------------------------------------------------------------------------
1 | thumb = $vote;
19 | $this->middleware('auth')->except('votecount');
20 | }
21 |
22 | /**
23 | * @param Request $request
24 | * @return array
25 | */
26 | public function vote(Request $request)
27 | {
28 | \Auth::user()->votethis($request->get('article_id'));
29 | $this->thumb->AddandDe($request->get('article_id'));
30 | return [
31 | 'count' => $this->thumb->ByArticleVoteCount($request->get('article_id')),
32 | 'fonts' => $this->thumb->votefont($request->get('article_id')),
33 | ];
34 | }
35 |
36 | /**
37 | * @param Request $request
38 | * @return array
39 | */
40 | public function votecount(Request $request)
41 | {
42 | return [
43 | 'count' => $this->thumb->ByArticleVoteCount($request->get('article_id')),
44 | 'fonts' => $this->thumb->votefont($request->get('article_id')),
45 | ];
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/app/Http/Kernel.php:
--------------------------------------------------------------------------------
1 | [
27 | \App\Http\Middleware\EncryptCookies::class,
28 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
29 | \Illuminate\Session\Middleware\StartSession::class,
30 | \Illuminate\View\Middleware\ShareErrorsFromSession::class,
31 | \App\Http\Middleware\VerifyCsrfToken::class,
32 | \Illuminate\Routing\Middleware\SubstituteBindings::class,
33 | ],
34 |
35 | 'api' => [
36 | 'throttle:60,1',
37 | 'bindings',
38 | ],
39 | ];
40 |
41 | /**
42 | * The application's route middleware.
43 | *
44 | * These middleware may be assigned to groups or used individually.
45 | *
46 | * @var array
47 | */
48 | protected $routeMiddleware = [
49 | 'auth' => \Illuminate\Auth\Middleware\Authenticate::class,
50 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
51 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
52 | 'can' => \Illuminate\Auth\Middleware\Authorize::class,
53 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
54 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
55 | 'admin'=>\App\Http\Middleware\IsAdmin::class,
56 | ];
57 | }
58 |
--------------------------------------------------------------------------------
/app/Http/Middleware/EncryptCookies.php:
--------------------------------------------------------------------------------
1 | is_admin==0) {
19 | return redirect('/');
20 | }
21 | return $next($request);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/app/Http/Middleware/RedirectIfAuthenticated.php:
--------------------------------------------------------------------------------
1 | check()) {
21 | return redirect('/home');
22 | }
23 |
24 | return $next($request);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/Http/Middleware/VerifyCsrfToken.php:
--------------------------------------------------------------------------------
1 | '邮箱不能为空',
23 | 'email.email'=>'邮箱必须为邮箱格式',
24 | 'password.required'=>'密码不能为空',
25 | 'password.min'=>'密码不能少于6个字符',
26 | 'password.max'=>'密码不能大于15个字符',
27 | ];
28 | }
29 |
30 | /**
31 | * Get the validation rules that apply to the request.
32 | *
33 | * @return array
34 | */
35 | public function rules()
36 | {
37 | return [
38 | 'email'=>'required|email',
39 | 'password'=>'required|min:6|max:15',
40 | ];
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/app/Http/Requests/UsersRegisterRequest.php:
--------------------------------------------------------------------------------
1 | 'name已存在',
23 | 'name.required'=>'name不能为空',
24 | 'email.required'=>'邮箱不能为空',
25 | 'email.email'=>'邮箱必须为邮箱格式',
26 | 'password.required'=>'密码不能为空',
27 | 'password.min'=>'密码不能少于6个字符',
28 | 'password.max'=>'密码不能大于15个字符',
29 | 'password.confirmed'=>'密码不一致',
30 | ];
31 | }
32 |
33 | /**
34 | * Get the validation rules that apply to the request.
35 | *
36 | * @return array
37 | */
38 | public function rules()
39 | {
40 | return [
41 | 'name'=>'required|min:1|unique:users,name',
42 | 'email'=>'required|email|unique:users,email',
43 | 'password'=>'required|min:6|confirmed|max:15',
44 | 'password_confirmation'=>'required|min:6|max:15',
45 | ];
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/app/Love.php:
--------------------------------------------------------------------------------
1 | belongsTo(Article::class);
17 | }
18 |
19 | /**
20 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
21 | */
22 | public function user()
23 | {
24 | return $this->belongsTo(User::class);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/MyCommand/MyCommand.php:
--------------------------------------------------------------------------------
1 | $data['name'],
20 | 'password'=>$data['password'],
21 | 'email'=>$data['email'],
22 | 'avatar'=>'picture/default.png',
23 | 'is_admin'=>1,
24 | 'remember_token' => str_random(40),
25 | ]);
26 | }
27 | }
--------------------------------------------------------------------------------
/app/Notification.php:
--------------------------------------------------------------------------------
1 | belongsTo(Comment::class);
16 | }
17 |
18 | /**
19 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
20 | */
21 | public function user(){
22 | return $this->belongsTo(User::class);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/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 | id === (int) $userId;
24 | });
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/Providers/EventServiceProvider.php:
--------------------------------------------------------------------------------
1 | [
17 | 'App\Listeners\EventListener',
18 | ],
19 | ];
20 |
21 | /**
22 | * Register any events for your application.
23 | *
24 | * @return void
25 | */
26 | public function boot()
27 | {
28 | parent::boot();
29 |
30 | //
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/Providers/RouteServiceProvider.php:
--------------------------------------------------------------------------------
1 | mapApiRoutes();
39 |
40 | $this->mapWebRoutes();
41 |
42 | //
43 | }
44 |
45 | /**
46 | * Define the "web" routes for the application.
47 | *
48 | * These routes all receive session state, CSRF protection, etc.
49 | *
50 | * @return void
51 | */
52 | protected function mapWebRoutes()
53 | {
54 | Route::group([
55 | 'middleware' => 'web',
56 | 'namespace' => $this->namespace,
57 | ], function ($router) {
58 | require base_path('routes/web.php');
59 | });
60 | }
61 |
62 | /**
63 | * Define the "api" routes for the application.
64 | *
65 | * These routes are typically stateless.
66 | *
67 | * @return void
68 | */
69 | protected function mapApiRoutes()
70 | {
71 | Route::group([
72 | 'middleware' => ['api'],
73 | 'namespace' => $this->namespace,
74 | 'prefix' => 'api',
75 | ], function ($router) {
76 | require base_path('routes/api.php');
77 | });
78 | }
79 | }
80 |
--------------------------------------------------------------------------------
/app/Repository/ArticlesRepository.php:
--------------------------------------------------------------------------------
1 | get();
29 | }
30 |
31 | }
--------------------------------------------------------------------------------
/app/Repository/CommentsRepository.php:
--------------------------------------------------------------------------------
1 | get();
46 | }
47 |
48 | /**
49 | * @return mixed
50 | */
51 | public function ByUserId(){
52 | return Comment::where('user_id',\Auth::id())->get();
53 | }
54 | }
--------------------------------------------------------------------------------
/app/Repository/LovesRepository.php:
--------------------------------------------------------------------------------
1 | userloved($id)){
21 | $font="已收藏";
22 | }else{
23 | $font="收藏";
24 | }
25 | return $font;
26 | }
27 |
28 | /**
29 | * @return mixed
30 | */
31 | public function ByUserId(){
32 | return Love::where('user_id',\Auth::id())->get();
33 | }
34 | }
--------------------------------------------------------------------------------
/app/Repository/NotificationRepository.php:
--------------------------------------------------------------------------------
1 | reply_name)->first();
24 | return Notification::create([
25 | 'from_name' => \Auth::user()->name,
26 | 'user_id' => $user->id,
27 | 'article_id' => $result->article_id,
28 | 'comment_id' => $result->id,
29 | 'is_read' => 0,
30 | ]);
31 | }
32 |
33 | /**
34 | * @return mixed
35 | */
36 | public function ByNotificationAll()
37 | {
38 | $result = Notification::where('user_id', \Auth::id())->get();
39 | foreach ($result as $notification) {
40 | $notification->body = $notification->comment->body;
41 | $notification->avatar=$notification->user->avatar;
42 | }
43 | return $result;
44 | }
45 |
46 | /**
47 | *
48 | */
49 | public function ByAllRead(){
50 | $result=Notification::where(['user_id'=>\Auth::id(),'is_read'=>0])->get();
51 | foreach($result as $notification){
52 | $notification->update([
53 | 'is_read'=>1
54 | ]);
55 | };
56 | }
57 |
58 | /**
59 | * @return mixed
60 | */
61 | public function notreadcount(){
62 | return Notification::where(['user_id'=>\Auth::id(),'is_read'=>0])->count();
63 | }
64 | }
--------------------------------------------------------------------------------
/app/Repository/UsersRepository.php:
--------------------------------------------------------------------------------
1 | votes_count;
25 | }
26 |
27 | /**
28 | * @param $id
29 | */
30 | public function AddandDe($id){
31 | $article= Article::find($id);
32 | if(\Auth::user()->voted($id)){
33 | $article->increment('votes_count');
34 | }else{
35 | $article->decrement('votes_count');
36 | }
37 | }
38 |
39 | /**
40 | * @param $id
41 | * @return string
42 | */
43 | public function votefont($id){
44 | if(\Auth::user()->voted($id)){
45 | $font="已点赞";
46 | }else{
47 | $font="点赞";
48 | }
49 | return $font;
50 | }
51 | }
--------------------------------------------------------------------------------
/app/Vote.php:
--------------------------------------------------------------------------------
1 | belongsTo(User::class);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/artisan:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
2 | make(Illuminate\Contracts\Console\Kernel::class);
32 |
33 | $status = $kernel->handle(
34 | $input = new Symfony\Component\Console\Input\ArgvInput,
35 | new Symfony\Component\Console\Output\ConsoleOutput
36 | );
37 |
38 | /*
39 | |--------------------------------------------------------------------------
40 | | Shutdown The Application
41 | |--------------------------------------------------------------------------
42 | |
43 | | Once Artisan has finished running. We will fire off the shutdown events
44 | | so that any final work may be done by the application before we shut
45 | | down the process. This is the last thing to happen to the request.
46 | |
47 | */
48 |
49 | $kernel->terminate($input, $status);
50 |
51 | exit($status);
52 |
--------------------------------------------------------------------------------
/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 | =5.6.4",
9 | "barryvdh/laravel-cors": "^0.8.2",
10 | "laravel/framework": "5.3.*",
11 | "overtrue/laravel-ueditor": "~1.0"
12 | },
13 | "require-dev": {
14 | "fzaninotto/faker": "~1.4",
15 | "mockery/mockery": "0.9.*",
16 | "phpunit/phpunit": "~5.0",
17 | "symfony/css-selector": "3.1.*",
18 | "symfony/dom-crawler": "3.1.*"
19 | },
20 | "autoload": {
21 | "classmap": [
22 | "database"
23 | ],
24 | "psr-4": {
25 | "App\\": "app/"
26 | }
27 | },
28 | "autoload-dev": {
29 | "classmap": [
30 | "tests/TestCase.php"
31 | ]
32 | },
33 | "scripts": {
34 | "post-root-package-install": [
35 | "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
36 | ],
37 | "post-create-project-cmd": [
38 | "php artisan key:generate"
39 | ],
40 | "post-install-cmd": [
41 | "Illuminate\\Foundation\\ComposerScripts::postInstall",
42 | "php artisan optimize"
43 | ],
44 | "post-update-cmd": [
45 | "Illuminate\\Foundation\\ComposerScripts::postUpdate",
46 | "php artisan optimize"
47 | ]
48 | },
49 | "config": {
50 | "preferred-install": "dist",
51 | "sort-packages": true
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/config/broadcasting.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_KEY'),
36 | 'secret' => env('PUSHER_SECRET'),
37 | 'app_id' => env('PUSHER_APP_ID'),
38 | 'options' => [
39 | //
40 | ],
41 | ],
42 |
43 | 'redis' => [
44 | 'driver' => 'redis',
45 | 'connection' => 'default',
46 | ],
47 |
48 | 'log' => [
49 | 'driver' => 'log',
50 | ],
51 |
52 | 'null' => [
53 | 'driver' => 'null',
54 | ],
55 |
56 | ],
57 |
58 | ];
59 |
--------------------------------------------------------------------------------
/config/compile.php:
--------------------------------------------------------------------------------
1 | [
17 | //
18 | ],
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Compiled File Providers
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may list service providers which define a "compiles" function
26 | | that returns additional files that should be compiled, providing an
27 | | easy way to get common files from any packages you are utilizing.
28 | |
29 | */
30 |
31 | 'providers' => [
32 | //
33 | ],
34 |
35 | ];
36 |
--------------------------------------------------------------------------------
/config/cors.php:
--------------------------------------------------------------------------------
1 | false,
15 | 'allowedOrigins' => ['*'],
16 | 'allowedHeaders' => ['*'],
17 | 'allowedMethods' => ['*'],
18 | 'exposedHeaders' => [],
19 | 'maxAge' => 0,
20 | 'hosts' => [],
21 | ];
22 |
23 |
--------------------------------------------------------------------------------
/config/filesystems.php:
--------------------------------------------------------------------------------
1 | 'local',
17 |
18 | /*
19 | |--------------------------------------------------------------------------
20 | | Default Cloud Filesystem Disk
21 | |--------------------------------------------------------------------------
22 | |
23 | | Many applications store files both locally and in the cloud. For this
24 | | reason, you may specify a default "cloud" driver here. This driver
25 | | will be bound as the Cloud disk implementation in the container.
26 | |
27 | */
28 |
29 | 'cloud' => 's3',
30 |
31 | /*
32 | |--------------------------------------------------------------------------
33 | | Filesystem Disks
34 | |--------------------------------------------------------------------------
35 | |
36 | | Here you may configure as many filesystem "disks" as you wish, and you
37 | | may even configure multiple disks of the same driver. Defaults have
38 | | been setup for each driver as an example of the required options.
39 | |
40 | | Supported Drivers: "local", "ftp", "s3", "rackspace"
41 | |
42 | */
43 |
44 | 'disks' => [
45 |
46 | 'local' => [
47 | 'driver' => 'local',
48 | 'root' => storage_path('app'),
49 | ],
50 |
51 | 'public' => [
52 | 'driver' => 'local',
53 | 'root' => storage_path('app/public'),
54 | 'visibility' => 'public',
55 | ],
56 |
57 | 's3' => [
58 | 'driver' => 's3',
59 | 'key' => 'your-key',
60 | 'secret' => 'your-secret',
61 | 'region' => 'your-region',
62 | 'bucket' => 'your-bucket',
63 | ],
64 |
65 | ],
66 |
67 | ];
68 |
--------------------------------------------------------------------------------
/config/services.php:
--------------------------------------------------------------------------------
1 | [
18 | 'domain' => env('MAILGUN_DOMAIN'),
19 | 'secret' => env('MAILGUN_SECRET'),
20 | ],
21 |
22 | 'ses' => [
23 | 'key' => env('SES_KEY'),
24 | 'secret' => env('SES_SECRET'),
25 | 'region' => 'us-east-1',
26 | ],
27 |
28 | 'sparkpost' => [
29 | 'secret' => env('SPARKPOST_SECRET'),
30 | ],
31 |
32 | 'stripe' => [
33 | 'model' => App\User::class,
34 | 'key' => env('STRIPE_KEY'),
35 | 'secret' => env('STRIPE_SECRET'),
36 | ],
37 |
38 | ];
39 |
--------------------------------------------------------------------------------
/config/view.php:
--------------------------------------------------------------------------------
1 | [
17 | realpath(base_path('resources/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' => realpath(storage_path('framework/views')),
32 |
33 | ];
34 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 |
--------------------------------------------------------------------------------
/database/factories/ModelFactory.php:
--------------------------------------------------------------------------------
1 | define(App\User::class, function (Faker\Generator $faker) {
16 | static $password;
17 |
18 | return [
19 | 'name' => $faker->name,
20 | 'email' => $faker->unique()->safeEmail,
21 | 'avatar'=>'picture/default.png',
22 | 'password' => $password ?: $password = bcrypt('secret'),
23 | 'remember_token' => str_random(10),
24 | ];
25 | });
26 |
27 | $factory->define(App\Article::class, function (Faker\Generator $faker) {
28 | $user_ids = \App\User::pluck('id')->random();
29 | return [
30 | 'title' => $faker->sentence,
31 | 'body' => $faker->paragraph,
32 | 'user_id'=>$user_ids ,
33 | ];
34 | });
35 |
36 | $factory->define(App\Comment::class, function (Faker\Generator $faker) {
37 | $user_ids = \App\User::pluck('id')->random();
38 | $article_ids = \App\Article::pluck('id')->random();
39 | return [
40 | 'user_id'=>$user_ids,
41 | 'body' => $faker->sentence,
42 | 'article_id'=>$article_ids ,
43 | ];
44 | });
45 |
--------------------------------------------------------------------------------
/database/migrations/2014_10_12_000000_create_users_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('name');
19 | $table->string('email')->unique();
20 | $table->string('password');
21 | $table->string('avatar');
22 | $table->rememberToken();
23 | $table->timestamps();
24 | });
25 | }
26 |
27 | /**
28 | * Reverse the migrations.
29 | *
30 | * @return void
31 | */
32 | public function down()
33 | {
34 | Schema::dropIfExists('users');
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/database/migrations/2014_10_12_100000_create_password_resets_table.php:
--------------------------------------------------------------------------------
1 | string('email')->index();
18 | $table->string('token')->index();
19 | $table->timestamp('created_at')->nullable();
20 | });
21 | }
22 |
23 | /**
24 | * Reverse the migrations.
25 | *
26 | * @return void
27 | */
28 | public function down()
29 | {
30 | Schema::dropIfExists('password_resets');
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/database/migrations/2016_12_31_150031_create_articles_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('title');
19 | $table->text('body');
20 | $table->integer('user_id')->unsigned();
21 | $table->foreign('user_id')
22 | ->references('id')
23 | ->on('users')
24 | ->onDelete('cascade');
25 | $table->integer('comments_count')->default(0);
26 | $table->integer('votes_count')->default(0);
27 | $table->timestamps();
28 | });
29 | }
30 |
31 | /**
32 | * Reverse the migrations.
33 | *
34 | * @return void
35 | */
36 | public function down()
37 | {
38 | Schema::dropIfExists('articles');
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_01_223840_create_comments_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->integer('user_id')->unsigned();
19 | $table->integer('article_id')->unsigned();
20 | $table->text('body');
21 | $table->string('reply_name');
22 | $table->foreign('user_id')
23 | ->references('id')
24 | ->on('users')
25 | ->onDelete('cascade');
26 | $table->timestamps();
27 | });
28 | }
29 |
30 | /**
31 | * Reverse the migrations.
32 | *
33 | * @return void
34 | */
35 | public function down()
36 | {
37 | Schema::dropIfExists('comments');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_07_160406_create_votes_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->integer('user_id')->unsigned();
19 | $table->integer('article_id')->unsigned();
20 | $table->timestamps();
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::dropIfExists('votes');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_08_204946_create_love_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->integer('user_id')->unsigned();
19 | $table->integer('article_id')->unsigned();
20 | $table->timestamps();
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::dropIfExists('love');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_08_233957_create_notifications_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('from_name');
19 | $table->integer('user_id')->unsigned();
20 | $table->integer('article_id')->unsigned();
21 | $table->integer('comment_id')->unsigned();
22 | $table->integer('is_read')->default(0);
23 | $table->timestamps();
24 | });
25 | }
26 |
27 | /**
28 | * Reverse the migrations.
29 | *
30 | * @return void
31 | */
32 | public function down()
33 | {
34 | Schema::dropIfExists('notifications');
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_11_093724_add_into_column_to_users.php:
--------------------------------------------------------------------------------
1 | integer('is_admin')->default(0);
18 | });
19 | }
20 |
21 | /**
22 | * Reverse the migrations.
23 | *
24 | * @return void
25 | */
26 | public function down()
27 | {
28 | Schema::table('users', function (Blueprint $table) {
29 | $table->dropColumn('is_admin');
30 | });
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/database/seeds/ArticlesTableSeeder.php:
--------------------------------------------------------------------------------
1 | create();
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/database/seeds/CommentsTableSeeder.php:
--------------------------------------------------------------------------------
1 | create();
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/database/seeds/DatabaseSeeder.php:
--------------------------------------------------------------------------------
1 | call(UsersTableSeeder::class);
15 | $this->call(ArticlesTableSeeder::class);
16 | // $this->call(CommentsTableSeeder::class);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/database/seeds/UsersTableSeeder.php:
--------------------------------------------------------------------------------
1 | create();
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/gulpfile.js:
--------------------------------------------------------------------------------
1 | const elixir = require('laravel-elixir');
2 |
3 | require('laravel-elixir-vue-2');
4 |
5 | /*
6 | |--------------------------------------------------------------------------
7 | | Elixir Asset Management
8 | |--------------------------------------------------------------------------
9 | |
10 | | Elixir provides a clean, fluent API for defining some basic Gulp tasks
11 | | for your Laravel application. By default, we are compiling the Sass
12 | | file for your application as well as publishing vendor resources.
13 | |
14 | */
15 |
16 | elixir((mix) => {
17 | mix.sass('app.scss')
18 | .webpack('app.js');
19 | mix.webpack('admin.js');
20 | });
21 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "scripts": {
4 | "prod": "gulp --production",
5 | "dev": "gulp watch"
6 | },
7 | "devDependencies": {
8 | "bootstrap-sass": "^3.3.7",
9 | "gulp": "^3.9.1",
10 | "jquery": "^3.1.0",
11 | "laravel-elixir": "^6.0.0-14",
12 | "laravel-elixir-vue-2": "^0.2.0",
13 | "laravel-elixir-webpack-official": "^1.0.2",
14 | "lodash": "^4.16.2",
15 | "vue": "^2.0.1",
16 | "vue-resource": "^1.0.3",
17 | "vue-router": "^2.1.1"
18 | },
19 | "dependencies": {
20 | "muse-ui": "^2.0.0-rc.2",
21 | "vue-paginate": "^3.3.1",
22 | "vuelidate": "^0.2.0"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/phpunit.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
13 | ./tests
14 |
15 |
16 |
17 |
18 | ./app
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/public/.htaccess:
--------------------------------------------------------------------------------
1 |
2 |
3 | Options -MultiViews
4 |
5 |
6 | RewriteEngine On
7 |
8 | # Redirect Trailing Slashes If Not A Folder...
9 | RewriteCond %{REQUEST_FILENAME} !-d
10 | RewriteRule ^(.*)/$ /$1 [L,R=301]
11 |
12 | # Handle Front Controller...
13 | RewriteCond %{REQUEST_FILENAME} !-d
14 | RewriteCond %{REQUEST_FILENAME} !-f
15 | RewriteRule ^ index.php [L]
16 |
17 | # Handle Authorization Header
18 | RewriteCond %{HTTP:Authorization} .
19 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
20 |
21 |
--------------------------------------------------------------------------------
/public/css/fonts/element-icons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/css/fonts/element-icons.ttf
--------------------------------------------------------------------------------
/public/css/fonts/element-icons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/css/fonts/element-icons.woff
--------------------------------------------------------------------------------
/public/css/input.css:
--------------------------------------------------------------------------------
1 | .form-group .form__input, .form-group .form__textarea {
2 | margin-bottom: 0;
3 | }
4 | .form-group--error input, .form-group--error input:focus, .form-group--error input:hover, .form-group--error textarea {
5 | border-color: #f79483;
6 | }
7 | .form__input, .form__textarea {
8 | position: relative;
9 | margin-bottom: 2rem;
10 | font-family: Lato,sans-serif;
11 | font-size: .875rem;
12 | font-weight: 300;
13 | color: #374853;
14 | line-height: 2.375rem;
15 | min-height: 2.375rem;
16 | border: 1px solid #e8e8e8;
17 | border-radius: 5px;
18 | background: #fff;
19 | padding: 0 .8125rem;
20 | width: 100%;
21 | transition: border .1s ease;
22 | box-sizing: border-box;
23 | }
24 | .form-group--error+.form-group__message {
25 | display: block;
26 | color: #f57f6c;
27 | }
28 | .form-group__message {
29 | font-size: .75rem;
30 | display: none;
31 | margin-left: 14px;
32 | margin-top: -1.8rem;
33 | margin-bottom: .9375rem;
34 | }
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/favicon.ico
--------------------------------------------------------------------------------
/public/img/default.2a8f087.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/img/default.2a8f087.png
--------------------------------------------------------------------------------
/public/index.php:
--------------------------------------------------------------------------------
1 |
8 | */
9 |
10 | /*
11 | |--------------------------------------------------------------------------
12 | | Register The Auto Loader
13 | |--------------------------------------------------------------------------
14 | |
15 | | Composer provides a convenient, automatically generated class loader for
16 | | our application. We just need to utilize it! We'll simply require it
17 | | into the script here so that we don't have to worry about manual
18 | | loading any of our classes later on. It feels nice to relax.
19 | |
20 | */
21 |
22 | require __DIR__.'/../bootstrap/autoload.php';
23 |
24 | /*
25 | |--------------------------------------------------------------------------
26 | | Turn On The Lights
27 | |--------------------------------------------------------------------------
28 | |
29 | | We need to illuminate PHP development, so let us turn on the lights.
30 | | This bootstraps the framework and gets it ready for use, then it
31 | | will load up this application so that we can run it and send
32 | | the responses back to the browser and delight our users.
33 | |
34 | */
35 |
36 | $app = require_once __DIR__.'/../bootstrap/app.php';
37 |
38 | /*
39 | |--------------------------------------------------------------------------
40 | | Run The Application
41 | |--------------------------------------------------------------------------
42 | |
43 | | Once we have the application, we can handle the incoming request
44 | | through the kernel, and send the associated response back to
45 | | the client's browser allowing them to enjoy the creative
46 | | and wonderful application we have prepared for them.
47 | |
48 | */
49 |
50 | $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
51 |
52 | $response = $kernel->handle(
53 | $request = Illuminate\Http\Request::capture()
54 | );
55 |
56 | $response->send();
57 |
58 | $kernel->terminate($request, $response);
59 |
--------------------------------------------------------------------------------
/public/picture/default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/picture/default.png
--------------------------------------------------------------------------------
/public/picture/laravelvue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/picture/laravelvue.png
--------------------------------------------------------------------------------
/public/picture/menu-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/picture/menu-active.png
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 |
--------------------------------------------------------------------------------
/public/uploads/image/2017/01/10/ede467d6ea31689de514a1bc49fcb5b6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/uploads/image/2017/01/10/ede467d6ea31689de514a1bc49fcb5b6.jpg
--------------------------------------------------------------------------------
/public/uploads/image/2017/01/16/2ec986c97ce23fb77dbc47412ace4c71.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/uploads/image/2017/01/16/2ec986c97ce23fb77dbc47412ace4c71.jpg
--------------------------------------------------------------------------------
/public/uploads/image/2017/01/16/55c997ec61b0fa855fd29360e866794b.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/uploads/image/2017/01/16/55c997ec61b0fa855fd29360e866794b.jpg
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/anchor/anchor.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
39 |
40 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_default.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/alignicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/alignicon.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/alignicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/alignicon.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/bg.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/file-icons.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/file-icons.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/file-icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/file-icons.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/icons.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/icons.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/icons.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/image.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/progress.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/progress.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/success.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/success.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/attachment/images/success.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/attachment/images/success.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/background/images/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/background/images/bg.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/background/images/success.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/background/images/success.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/charts/chart.config.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 图表配置文件
3 | * */
4 |
5 |
6 | //不同类型的配置
7 | var typeConfig = [
8 | {
9 | chart: {
10 | type: 'line'
11 | },
12 | plotOptions: {
13 | line: {
14 | dataLabels: {
15 | enabled: false
16 | },
17 | enableMouseTracking: true
18 | }
19 | }
20 | }, {
21 | chart: {
22 | type: 'line'
23 | },
24 | plotOptions: {
25 | line: {
26 | dataLabels: {
27 | enabled: true
28 | },
29 | enableMouseTracking: false
30 | }
31 | }
32 | }, {
33 | chart: {
34 | type: 'area'
35 | }
36 | }, {
37 | chart: {
38 | type: 'bar'
39 | }
40 | }, {
41 | chart: {
42 | type: 'column'
43 | }
44 | }, {
45 | chart: {
46 | plotBackgroundColor: null,
47 | plotBorderWidth: null,
48 | plotShadow: false
49 | },
50 | plotOptions: {
51 | pie: {
52 | allowPointSelect: true,
53 | cursor: 'pointer',
54 | dataLabels: {
55 | enabled: true,
56 | color: '#000000',
57 | connectorColor: '#000000',
58 | formatter: function() {
59 | return ''+ this.point.name +': '+ ( Math.round( this.point.percentage*100 ) / 100 ) +' %';
60 | }
61 | }
62 | }
63 | }
64 | }
65 | ];
66 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/charts/images/charts0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/charts/images/charts0.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/charts/images/charts1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/charts/images/charts1.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/charts/images/charts2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/charts/images/charts2.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/charts/images/charts3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/charts/images/charts3.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/charts/images/charts4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/charts/images/charts4.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/charts/images/charts5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/charts/images/charts5.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/emotion/emotion.css:
--------------------------------------------------------------------------------
1 | .jd img{
2 | background:transparent url(images/jxface2.gif?v=1.1) no-repeat scroll left top;
3 | cursor:pointer;width:35px;height:35px;display:block;
4 | }
5 | .pp img{
6 | background:transparent url(images/fface.gif?v=1.1) no-repeat scroll left top;
7 | cursor:pointer;width:25px;height:25px;display:block;
8 | }
9 | .ldw img{
10 | background:transparent url(images/wface.gif?v=1.1) no-repeat scroll left top;
11 | cursor:pointer;width:35px;height:35px;display:block;
12 | }
13 | .tsj img{
14 | background:transparent url(images/tface.gif?v=1.1) no-repeat scroll left top;
15 | cursor:pointer;width:35px;height:35px;display:block;
16 | }
17 | .cat img{
18 | background:transparent url(images/cface.gif?v=1.1) no-repeat scroll left top;
19 | cursor:pointer;width:35px;height:35px;display:block;
20 | }
21 | .bb img{
22 | background:transparent url(images/bface.gif?v=1.1) no-repeat scroll left top;
23 | cursor:pointer;width:35px;height:35px;display:block;
24 | }
25 | .youa img{
26 | background:transparent url(images/yface.gif?v=1.1) no-repeat scroll left top;
27 | cursor:pointer;width:35px;height:35px;display:block;
28 | }
29 |
30 | .smileytable td {height: 37px;}
31 | #tabPanel{margin-left:5px;overflow: hidden;}
32 | #tabContent {float:left;background:#FFFFFF;}
33 | #tabContent div{display: none;width:480px;overflow:hidden;}
34 | #tabIconReview.show{left:17px;display:block;}
35 | .menuFocus{background:#ACCD3C;}
36 | .menuDefault{background:#FFFFFF;}
37 | #tabIconReview{position:absolute;left:406px;left:398px \9;top:41px;z-index:65533;width:90px;height:76px;}
38 | img.review{width:90px;height:76px;border:2px solid #9cb945;background:#FFFFFF;background-position:center;background-repeat:no-repeat;}
39 |
40 | .wrapper .tabbody{position:relative;float:left;clear:both;padding:10px;width: 95%;}
41 | .tabbody table{width: 100%;}
42 | .tabbody td{border:1px solid #BAC498;}
43 | .tabbody td span{display: block;zoom:1;padding:0 4px;}
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/emotion/images/0.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/emotion/images/0.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/emotion/images/bface.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/emotion/images/bface.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/emotion/images/cface.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/emotion/images/cface.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/emotion/images/fface.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/emotion/images/fface.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/emotion/images/jxface2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/emotion/images/jxface2.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/emotion/images/neweditor-tab-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/emotion/images/neweditor-tab-bg.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/emotion/images/tface.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/emotion/images/tface.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/emotion/images/wface.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/emotion/images/wface.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/emotion/images/yface.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/emotion/images/yface.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/help/help.css:
--------------------------------------------------------------------------------
1 | .wrapper{width: 370px;margin: 10px auto;zoom: 1;}
2 | .tabbody{height: 360px;}
3 | .tabbody .panel{width:100%;height: 360px;position: absolute;background: #fff;}
4 | .tabbody .panel h1{font-size:26px;margin: 5px 0 0 5px;}
5 | .tabbody .panel p{font-size:12px;margin: 5px 0 0 5px;}
6 | .tabbody table{width:90%;line-height: 20px;margin: 5px 0 0 5px;;}
7 | .tabbody table thead{font-weight: bold;line-height: 25px;}
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/help/help.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created with JetBrains PhpStorm.
3 | * User: xuheng
4 | * Date: 12-9-26
5 | * Time: 下午1:06
6 | * To change this template use File | Settings | File Templates.
7 | */
8 | /**
9 | * tab点击处理事件
10 | * @param tabHeads
11 | * @param tabBodys
12 | * @param obj
13 | */
14 | function clickHandler( tabHeads,tabBodys,obj ) {
15 | //head样式更改
16 | for ( var k = 0, len = tabHeads.length; k < len; k++ ) {
17 | tabHeads[k].className = "";
18 | }
19 | obj.className = "focus";
20 | //body显隐
21 | var tabSrc = obj.getAttribute( "tabSrc" );
22 | for ( var j = 0, length = tabBodys.length; j < length; j++ ) {
23 | var body = tabBodys[j],
24 | id = body.getAttribute( "id" );
25 | body.onclick = function(){
26 | this.style.zoom = 1;
27 | };
28 | if ( id != tabSrc ) {
29 | body.style.zIndex = 1;
30 | } else {
31 | body.style.zIndex = 200;
32 | }
33 | }
34 |
35 | }
36 |
37 | /**
38 | * TAB切换
39 | * @param tabParentId tab的父节点ID或者对象本身
40 | */
41 | function switchTab( tabParentId ) {
42 | var tabElements = $G( tabParentId ).children,
43 | tabHeads = tabElements[0].children,
44 | tabBodys = tabElements[1].children;
45 |
46 | for ( var i = 0, length = tabHeads.length; i < length; i++ ) {
47 | var head = tabHeads[i];
48 | if ( head.className === "focus" )clickHandler(tabHeads,tabBodys, head );
49 | head.onclick = function () {
50 | clickHandler(tabHeads,tabBodys,this);
51 | }
52 | }
53 | }
54 | switchTab("helptab");
55 |
56 | document.getElementById('version').innerHTML = parent.UE.version;
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/image/images/alignicon.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/image/images/alignicon.jpg
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/image/images/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/image/images/bg.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/image/images/icons.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/image/images/icons.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/image/images/icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/image/images/icons.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/image/images/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/image/images/image.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/image/images/progress.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/image/images/progress.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/image/images/success.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/image/images/success.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/image/images/success.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/image/images/success.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/music/music.css:
--------------------------------------------------------------------------------
1 | .wrapper{margin: 5px 10px;}
2 |
3 | .searchBar{height:30px;padding:7px 0 3px;text-align:center;}
4 | .searchBtn{font-size:13px;height:24px;}
5 |
6 | .resultBar{width:460px;margin:5px auto;border: 1px solid #CCC;border-radius: 5px;box-shadow: 2px 2px 5px #D3D6DA;overflow: hidden;}
7 |
8 | .listPanel{overflow: hidden;}
9 | .panelon{display:block;}
10 | .paneloff{display:none}
11 |
12 | .page{width:220px;margin:20px auto;overflow: hidden;}
13 | .pageon{float:right;width:24px;line-height:24px;height:24px;margin-right: 5px;background: none;border: none;color: #000;font-weight: bold;text-align:center}
14 | .pageoff{float:right;width:24px;line-height:24px;height:24px;cursor:pointer;background-color: #fff;
15 | border: 1px solid #E7ECF0;color: #2D64B3;margin-right: 5px;text-decoration: none;text-align:center;}
16 |
17 | .m-box{width:460px;}
18 | .m-m{float: left;line-height: 20px;height: 20px;}
19 | .m-h{height:24px;line-height:24px;padding-left: 46px;background-color:#FAFAFA;border-bottom: 1px solid #DAD8D8;font-weight: bold;font-size: 12px;color: #333;}
20 | .m-l{float:left;width:40px; }
21 | .m-t{float:left;width:140px;}
22 | .m-s{float:left;width:110px;}
23 | .m-z{float:left;width:100px;}
24 | .m-try-t{float: left;width: 60px;;}
25 |
26 | .m-try{float:left;width:20px;height:20px;background:url('http://static.tieba.baidu.com/tb/editor/images/try_music.gif') no-repeat ;}
27 | .m-trying{float:left;width:20px;height:20px;background:url('http://static.tieba.baidu.com/tb/editor/images/stop_music.gif') no-repeat ;}
28 |
29 | .loading{width:95px;height:7px;font-size:7px;margin:60px auto;background:url(http://static.tieba.baidu.com/tb/editor/images/loading.gif) no-repeat}
30 | .empty{width:300px;height:40px;padding:2px;margin:50px auto;line-height:40px; color:#006699;text-align:center;}
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/music/music.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 插入音乐
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
19 |
20 |
21 |
22 |
31 |
32 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/preview/preview.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
40 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/addimg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/addimg.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/brush.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/brush.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/delimg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/delimg.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/delimgH.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/delimgH.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/empty.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/emptyH.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/emptyH.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/eraser.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/eraser.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/redo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/redo.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/redoH.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/redoH.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/scale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/scale.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/scaleH.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/scaleH.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/size.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/size.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/undo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/undo.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/scrawl/images/undoH.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/scrawl/images/undoH.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/snapscreen/snapscreen.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/spechars/spechars.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
14 |
15 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/table/dragicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/table/dragicon.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/table/edittable.css:
--------------------------------------------------------------------------------
1 | body{
2 | overflow: hidden;
3 | width: 540px;
4 | }
5 | .wrapper {
6 | margin: 10px auto 0;
7 | font-size: 12px;
8 | overflow: hidden;
9 | width: 520px;
10 | height: 315px;
11 | }
12 |
13 | .clear {
14 | clear: both;
15 | }
16 |
17 | .wrapper .left {
18 | float: left;
19 | margin-left: 10px;;
20 | }
21 |
22 | .wrapper .right {
23 | float: right;
24 | border-left: 2px dotted #EDEDED;
25 | padding-left: 15px;
26 | }
27 |
28 | .section {
29 | margin-bottom: 15px;
30 | width: 240px;
31 | overflow: hidden;
32 | }
33 |
34 | .section h3 {
35 | font-weight: bold;
36 | padding: 5px 0;
37 | margin-bottom: 10px;
38 | border-bottom: 1px solid #EDEDED;
39 | font-size: 12px;
40 | }
41 |
42 | .section ul {
43 | list-style: none;
44 | overflow: hidden;
45 | clear: both;
46 |
47 | }
48 |
49 | .section li {
50 | float: left;
51 | width: 120px;;
52 | }
53 |
54 | .section .tone {
55 | width: 80px;;
56 | }
57 |
58 | .section .preview {
59 | width: 220px;
60 | }
61 |
62 | .section .preview table {
63 | text-align: center;
64 | vertical-align: middle;
65 | color: #666;
66 | }
67 |
68 | .section .preview caption {
69 | font-weight: bold;
70 | }
71 |
72 | .section .preview td {
73 | border-width: 1px;
74 | border-style: solid;
75 | height: 22px;
76 | }
77 |
78 | .section .preview th {
79 | border-style: solid;
80 | border-color: #DDD;
81 | border-width: 2px 1px 1px 1px;
82 | height: 22px;
83 | background-color: #F7F7F7;
84 | }
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/table/edittd.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
60 |
61 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/table/edittip.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 表格删除提示
5 |
6 |
17 |
18 |
19 |
27 |
32 |
33 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/template/images/bg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/template/images/bg.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/template/images/pre0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/template/images/pre0.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/template/images/pre1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/template/images/pre1.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/template/images/pre2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/template/images/pre2.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/template/images/pre3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/template/images/pre3.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/template/images/pre4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/template/images/pre4.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/template/template.css:
--------------------------------------------------------------------------------
1 | .wrap{ padding: 5px;font-size: 14px;}
2 | .left{width:425px;float: left;}
3 | .right{width:160px;border: 1px solid #ccc;float: right;padding: 5px;margin-right: 5px;}
4 | .right .pre{height: 332px;overflow-y: auto;}
5 | .right .preitem{border: white 1px solid;margin: 5px 0;padding: 2px 0;}
6 | .right .preitem:hover{background-color: lemonChiffon;cursor: pointer;border: #ccc 1px solid;}
7 | .right .preitem img{display: block;margin: 0 auto;width:100px;}
8 | .clear{clear: both;}
9 | .top{height:26px;line-height: 26px;padding: 5px;}
10 | .bottom{height:320px;width:100%;margin: 0 auto;}
11 | .transparent{ background: url("images/bg.gif") repeat;}
12 | .bottom table tr td{border:1px dashed #ccc;}
13 | #colorPicker{width: 17px;height: 17px;border: 1px solid #CCC;display: inline-block;border-radius: 3px;box-shadow: 2px 2px 5px #D3D6DA;}
14 | .border_style1{padding:2px;border: 1px solid #ccc;border-radius: 5px;box-shadow:2px 2px 5px #d3d6da;}
15 | p{margin: 5px 0}
16 | table{clear:both;margin-bottom:10px;border-collapse:collapse;word-break:break-all;}
17 | li{clear:both}
18 | ol{padding-left:40px; }
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/template/template.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/template/template.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created with JetBrains PhpStorm.
3 | * User: xuheng
4 | * Date: 12-8-8
5 | * Time: 下午2:09
6 | * To change this template use File | Settings | File Templates.
7 | */
8 | (function () {
9 | var me = editor,
10 | preview = $G( "preview" ),
11 | preitem = $G( "preitem" ),
12 | tmps = templates,
13 | currentTmp;
14 | var initPre = function () {
15 | var str = "";
16 | for ( var i = 0, tmp; tmp = tmps[i++]; ) {
17 | str += '';
18 | }
19 | preitem.innerHTML = str;
20 | };
21 | var pre = function ( n ) {
22 | var tmp = tmps[n - 1];
23 | currentTmp = tmp;
24 | clearItem();
25 | domUtils.setStyles( preitem.childNodes[n - 1], {
26 | "background-color":"lemonChiffon",
27 | "border":"#ccc 1px solid"
28 | } );
29 | preview.innerHTML = tmp.preHtml ? tmp.preHtml : "";
30 | };
31 | var clearItem = function () {
32 | var items = preitem.children;
33 | for ( var i = 0, item; item = items[i++]; ) {
34 | domUtils.setStyles( item, {
35 | "background-color":"",
36 | "border":"white 1px solid"
37 | } );
38 | }
39 | };
40 | dialog.onok = function () {
41 | if ( !$G( "issave" ).checked ){
42 | me.execCommand( "cleardoc" );
43 | }
44 | var obj = {
45 | html:currentTmp && currentTmp.html
46 | };
47 | me.execCommand( "template", obj );
48 | };
49 | initPre();
50 | window.pre = pre;
51 | pre(2)
52 |
53 | })();
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/bg.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/center_focus.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/center_focus.jpg
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/file-icons.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/file-icons.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/file-icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/file-icons.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/icons.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/icons.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/icons.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/image.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/left_focus.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/left_focus.jpg
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/none_focus.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/none_focus.jpg
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/progress.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/progress.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/right_focus.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/right_focus.jpg
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/success.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/success.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/video/images/success.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/video/images/success.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/wordimage/fClipboard_ueditor.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/wordimage/fClipboard_ueditor.swf
--------------------------------------------------------------------------------
/public/vendor/ueditor/dialogs/wordimage/imageUploader.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/dialogs/wordimage/imageUploader.swf
--------------------------------------------------------------------------------
/public/vendor/ueditor/index.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 | 完整demo
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/addimage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/addimage.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/alldeletebtnhoverskin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/alldeletebtnhoverskin.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/alldeletebtnupskin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/alldeletebtnupskin.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/background.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/button.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/copy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/copy.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/deletedisable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/deletedisable.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/deleteenable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/deleteenable.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/listbackground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/listbackground.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/localimage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/localimage.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/music.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/music.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/rotateleftdisable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/rotateleftdisable.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/rotateleftenable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/rotateleftenable.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/rotaterightdisable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/rotaterightdisable.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/rotaterightenable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/rotaterightenable.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/en/images/upload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/en/images/upload.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/zh-cn/images/copy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/zh-cn/images/copy.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/zh-cn/images/localimage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/zh-cn/images/localimage.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/zh-cn/images/music.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/zh-cn/images/music.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/lang/zh-cn/images/upload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/lang/zh-cn/images/upload.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/php/action_crawler.php:
--------------------------------------------------------------------------------
1 | $CONFIG['catcherPathFormat'],
14 | "maxSize" => $CONFIG['catcherMaxSize'],
15 | "allowFiles" => $CONFIG['catcherAllowFiles'],
16 | "oriName" => "remote.png"
17 | );
18 | $fieldName = $CONFIG['catcherFieldName'];
19 |
20 | /* 抓取远程图片 */
21 | $list = array();
22 | if (isset($_POST[$fieldName])) {
23 | $source = $_POST[$fieldName];
24 | } else {
25 | $source = $_GET[$fieldName];
26 | }
27 | foreach ($source as $imgUrl) {
28 | $item = new Uploader($imgUrl, $config, "remote");
29 | $info = $item->getFileInfo();
30 | array_push($list, array(
31 | "state" => $info["state"],
32 | "url" => $info["url"],
33 | "size" => $info["size"],
34 | "title" => htmlspecialchars($info["title"]),
35 | "original" => htmlspecialchars($info["original"]),
36 | "source" => htmlspecialchars($imgUrl)
37 | ));
38 | }
39 |
40 | /* 返回抓取数据 */
41 | return json_encode(array(
42 | 'state'=> count($list) ? 'SUCCESS':'ERROR',
43 | 'list'=> $list
44 | ));
--------------------------------------------------------------------------------
/public/vendor/ueditor/php/action_upload.php:
--------------------------------------------------------------------------------
1 | $CONFIG['imagePathFormat'],
16 | "maxSize" => $CONFIG['imageMaxSize'],
17 | "allowFiles" => $CONFIG['imageAllowFiles']
18 | );
19 | $fieldName = $CONFIG['imageFieldName'];
20 | break;
21 | case 'uploadscrawl':
22 | $config = array(
23 | "pathFormat" => $CONFIG['scrawlPathFormat'],
24 | "maxSize" => $CONFIG['scrawlMaxSize'],
25 | "allowFiles" => $CONFIG['scrawlAllowFiles'],
26 | "oriName" => "scrawl.png"
27 | );
28 | $fieldName = $CONFIG['scrawlFieldName'];
29 | $base64 = "base64";
30 | break;
31 | case 'uploadvideo':
32 | $config = array(
33 | "pathFormat" => $CONFIG['videoPathFormat'],
34 | "maxSize" => $CONFIG['videoMaxSize'],
35 | "allowFiles" => $CONFIG['videoAllowFiles']
36 | );
37 | $fieldName = $CONFIG['videoFieldName'];
38 | break;
39 | case 'uploadfile':
40 | default:
41 | $config = array(
42 | "pathFormat" => $CONFIG['filePathFormat'],
43 | "maxSize" => $CONFIG['fileMaxSize'],
44 | "allowFiles" => $CONFIG['fileAllowFiles']
45 | );
46 | $fieldName = $CONFIG['fileFieldName'];
47 | break;
48 | }
49 |
50 | /* 生成上传实例对象并完成上传 */
51 | $up = new Uploader($fieldName, $config, $base64);
52 |
53 | /**
54 | * 得到上传文件所对应的各个参数,数组结构
55 | * array(
56 | * "state" => "", //上传状态,上传成功时必须返回"SUCCESS"
57 | * "url" => "", //返回的地址
58 | * "title" => "", //新文件名
59 | * "original" => "", //原始文件名
60 | * "type" => "" //文件类型
61 | * "size" => "", //文件大小
62 | * )
63 | */
64 |
65 | /* 返回数据 */
66 | return json_encode($up->getFileInfo());
67 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/php/controller.php:
--------------------------------------------------------------------------------
1 | '请求地址出错'
44 | ));
45 | break;
46 | }
47 |
48 | /* 输出结果 */
49 | if (isset($_GET["callback"])) {
50 | if (preg_match("/^[\w_]+$/", $_GET["callback"])) {
51 | echo htmlspecialchars($_GET["callback"]) . '(' . $result . ')';
52 | } else {
53 | echo json_encode(array(
54 | 'state'=> 'callback参数不合法'
55 | ));
56 | }
57 | } else {
58 | echo $result;
59 | }
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/dialogbase.css:
--------------------------------------------------------------------------------
1 | /*弹出对话框页面样式组件
2 | */
3 |
4 | /*reset
5 | */
6 | html, body, div, span, applet, object, iframe,
7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8 | a, abbr, acronym, address, big, cite, code,
9 | del, dfn, em, font, img, ins, kbd, q, s, samp,
10 | small, strike, strong, sub, sup, tt, var,
11 | b, u, i, center,
12 | dl, dt, dd, ol, ul, li,
13 | fieldset, form, label, legend,
14 | table, caption, tbody, tfoot, thead, tr, th, td {
15 | margin: 0;
16 | padding: 0;
17 | outline: 0;
18 | font-size: 100%;
19 | }
20 |
21 | body {
22 | line-height: 1;
23 | }
24 |
25 | ol, ul {
26 | list-style: none;
27 | }
28 |
29 | blockquote, q {
30 | quotes: none;
31 | }
32 |
33 | ins {
34 | text-decoration: none;
35 | }
36 |
37 | del {
38 | text-decoration: line-through;
39 | }
40 |
41 | table {
42 | border-collapse: collapse;
43 | border-spacing: 0;
44 | }
45 |
46 | /*module
47 | */
48 | body {
49 | background-color: #fff;
50 | font: 12px/1.5 sans-serif, "宋体", "Arial Narrow", HELVETICA;
51 | color: #646464;
52 | }
53 |
54 | /*tab*/
55 | .tabhead {
56 | position: relative;
57 | z-index: 10;
58 | }
59 |
60 | .tabhead span {
61 | display: inline-block;
62 | padding: 0 5px;
63 | height: 30px;
64 | border: 1px solid #ccc;
65 | background: url("images/dialog-title-bg.png") repeat-x;
66 | text-align: center;
67 | line-height: 30px;
68 | cursor: pointer;
69 | *margin-right: 5px;
70 | }
71 |
72 | .tabhead span.focus {
73 | height: 31px;
74 | border-bottom: none;
75 | background: #fff;
76 | }
77 |
78 | .tabbody {
79 | position: relative;
80 | top: -1px;
81 | margin: 0 auto;
82 | border: 1px solid #ccc;
83 | }
84 |
85 | /*button*/
86 | a.button {
87 | display: block;
88 | text-align: center;
89 | line-height: 24px;
90 | text-decoration: none;
91 | height: 24px;
92 | width: 95px;
93 | border: 0;
94 | color: #838383;
95 | background: url(../../themes/default/images/icons-all.gif) no-repeat;
96 | }
97 |
98 | a.button:hover {
99 | background-position: 0 -30px;
100 | }
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/anchor.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/anchor.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/arrow.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/arrow_down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/arrow_down.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/arrow_up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/arrow_up.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/button-bg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/button-bg.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/cancelbutton.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/cancelbutton.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/charts.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/charts.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/cursor_h.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/cursor_h.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/cursor_h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/cursor_h.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/cursor_v.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/cursor_v.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/cursor_v.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/cursor_v.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/dialog-title-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/dialog-title-bg.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/filescan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/filescan.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/highlighted.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/highlighted.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/icons-all.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/icons-all.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/icons.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/icons.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/icons.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/icons1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/icons1.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/loaderror.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/loaderror.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/loading.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/lock.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/lock.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/neweditor-tab-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/neweditor-tab-bg.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/pagebreak.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/pagebreak.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/scale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/scale.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/sortable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/sortable.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/spacer.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/spacer.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/sparator_v.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/sparator_v.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/table-cell-align.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/table-cell-align.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/tangram-colorpicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/tangram-colorpicker.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/toolbar_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/toolbar_bg.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/unhighlighted.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/unhighlighted.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/upload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/upload.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/videologo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/videologo.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/word.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/word.gif
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/default/images/wordpaste.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/themes/default/images/wordpaste.png
--------------------------------------------------------------------------------
/public/vendor/ueditor/themes/iframe.css:
--------------------------------------------------------------------------------
1 | /*可以在这里添加你自己的css*/
2 | img{
3 | width: 90%;
4 | height: auto;
5 | padding: 0 0;
6 | }
7 | a {
8 | text-decoration: none;
9 | color: #009fda;
10 | }
11 | blockquote {
12 | padding: 0.5em 1em;
13 | border-left: 3px solid rgba(0, 0, 0, 0.2);
14 | font-size: 1em;
15 | }
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/highcharts/modules/funnel.js:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Highcharts funnel module, Beta
4 |
5 | (c) 2010-2012 Torstein Hønsi
6 |
7 | License: www.highcharts.com/license
8 | */
9 | (function(d){var u=d.getOptions().plotOptions,p=d.seriesTypes,D=d.merge,z=function(){},A=d.each;u.funnel=D(u.pie,{center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",dataLabels:{connectorWidth:1,connectorColor:"#606060"},size:!0,states:{select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}}});p.funnel=d.extendClass(p.pie,{type:"funnel",animate:z,translate:function(){var a=function(k,a){return/%$/.test(k)?a*parseInt(k,10)/100:parseInt(k,10)},g=0,e=this.chart,f=e.plotWidth,
10 | e=e.plotHeight,h=0,c=this.options,C=c.center,b=a(C[0],f),d=a(C[0],e),p=a(c.width,f),i,q,j=a(c.height,e),r=a(c.neckWidth,f),s=a(c.neckHeight,e),v=j-s,a=this.data,w,x,u=c.dataLabels.position==="left"?1:0,y,m,B,n,l,t,o;this.getWidthAt=q=function(k){return k>j-s||j===s?r:r+(p-r)*((j-s-k)/(j-s))};this.getX=function(k,a){return b+(a?-1:1)*(q(k)/2+c.dataLabels.distance)};this.center=[b,d,j];this.centerX=b;A(a,function(a){g+=a.y});A(a,function(a){o=null;x=g?a.y/g:0;m=d-j/2+h*j;l=m+x*j;i=q(m);y=b-i/2;B=y+
11 | i;i=q(l);n=b-i/2;t=n+i;m>v?(y=n=b-r/2,B=t=b+r/2):l>v&&(o=l,i=q(v),n=b-i/2,t=n+i,l=v);w=["M",y,m,"L",B,m,t,l];o&&w.push(t,o,n,o);w.push(n,l,"Z");a.shapeType="path";a.shapeArgs={d:w};a.percentage=x*100;a.plotX=b;a.plotY=(m+(o||l))/2;a.tooltipPos=[b,a.plotY];a.slice=z;a.half=u;h+=x});this.setTooltipPoints()},drawPoints:function(){var a=this,g=a.options,e=a.chart.renderer;A(a.data,function(f){var h=f.graphic,c=f.shapeArgs;h?h.animate(c):f.graphic=e.path(c).attr({fill:f.color,stroke:g.borderColor,"stroke-width":g.borderWidth}).add(a.group)})},
12 | sortByAngle:z,drawDataLabels:function(){var a=this.data,g=this.options.dataLabels.distance,e,f,h,c=a.length,d,b;for(this.center[2]-=2*g;c--;)h=a[c],f=(e=h.half)?1:-1,b=h.plotY,d=this.getX(b,e),h.labelPos=[0,b,d+(g-5)*f,b,d+g*f,b,e?"right":"left",0];p.pie.prototype.drawDataLabels.call(this)}})})(Highcharts);
13 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/highcharts/modules/heatmap.js:
--------------------------------------------------------------------------------
1 | (function(b){var k=b.seriesTypes,l=b.each;k.heatmap=b.extendClass(k.map,{colorKey:"z",useMapGeometry:!1,pointArrayMap:["y","z"],translate:function(){var c=this,b=c.options,i=Number.MAX_VALUE,j=Number.MIN_VALUE;c.generatePoints();l(c.data,function(a){var e=a.x,f=a.y,d=a.z,g=(b.colsize||1)/2,h=(b.rowsize||1)/2;a.path=["M",e-g,f-h,"L",e+g,f-h,"L",e+g,f+h,"L",e-g,f+h,"Z"];a.shapeType="path";a.shapeArgs={d:c.translatePath(a.path)};typeof d==="number"&&(d>j?j=d:d dataMax) {
39 | dataMax = value;
40 | } else if (value < dataMin) {
41 | dataMin = value;
42 | }
43 | }
44 | });
45 |
46 | series.translateColors(dataMin, dataMax);
47 | },
48 |
49 | getBox: function () {}
50 |
51 | });
52 |
53 | }(Highcharts));
54 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/highcharts/modules/no-data-to-display.js:
--------------------------------------------------------------------------------
1 | /*
2 | Highcharts JS v3.0.6 (2013-10-04)
3 | Plugin for displaying a message when there is no data visible in chart.
4 |
5 | (c) 2010-2013 Highsoft AS
6 | Author: Øystein Moseng
7 |
8 | License: www.highcharts.com/license
9 | */
10 | (function(c){function f(){return!!this.points.length}function g(){this.hasData()?this.hideNoData():this.showNoData()}var d=c.seriesTypes,e=c.Chart.prototype,h=c.getOptions(),i=c.extend;i(h.lang,{noData:"No data to display"});h.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}};d.pie.prototype.hasData=f;if(d.gauge)d.gauge.prototype.hasData=f;if(d.waterfall)d.waterfall.prototype.hasData=f;c.Series.prototype.hasData=function(){return this.dataMax!==
11 | void 0&&this.dataMin!==void 0};e.showNoData=function(a){var b=this.options,a=a||b.lang.noData,b=b.noData;if(!this.noDataLabel)this.noDataLabel=this.renderer.label(a,0,0,null,null,null,null,null,"no-data").attr(b.attr).css(b.style).add(),this.noDataLabel.align(i(this.noDataLabel.getBBox(),b.position),!1,"plotBox")};e.hideNoData=function(){if(this.noDataLabel)this.noDataLabel=this.noDataLabel.destroy()};e.hasData=function(){for(var a=this.series,b=a.length;b--;)if(a[b].hasData()&&!a[b].options.isInternal)return!0;
12 | return!1};e.callbacks.push(function(a){c.addEvent(a,"load",g);c.addEvent(a,"redraw",g)})})(Highcharts);
13 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/highcharts/themes/skies.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Skies theme for Highcharts JS
3 | * @author Torstein Hønsi
4 | */
5 |
6 | Highcharts.theme = {
7 | colors: ["#514F78", "#42A07B", "#9B5E4A", "#72727F", "#1F949A", "#82914E", "#86777F", "#42A07B"],
8 | chart: {
9 | className: 'skies',
10 | borderWidth: 0,
11 | plotShadow: true,
12 | plotBackgroundImage: 'http://www.highcharts.com/demo/gfx/skies.jpg',
13 | plotBackgroundColor: {
14 | linearGradient: [0, 0, 250, 500],
15 | stops: [
16 | [0, 'rgba(255, 255, 255, 1)'],
17 | [1, 'rgba(255, 255, 255, 0)']
18 | ]
19 | },
20 | plotBorderWidth: 1
21 | },
22 | title: {
23 | style: {
24 | color: '#3E576F',
25 | font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
26 | }
27 | },
28 | subtitle: {
29 | style: {
30 | color: '#6D869F',
31 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
32 | }
33 | },
34 | xAxis: {
35 | gridLineWidth: 0,
36 | lineColor: '#C0D0E0',
37 | tickColor: '#C0D0E0',
38 | labels: {
39 | style: {
40 | color: '#666',
41 | fontWeight: 'bold'
42 | }
43 | },
44 | title: {
45 | style: {
46 | color: '#666',
47 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
48 | }
49 | }
50 | },
51 | yAxis: {
52 | alternateGridColor: 'rgba(255, 255, 255, .5)',
53 | lineColor: '#C0D0E0',
54 | tickColor: '#C0D0E0',
55 | tickWidth: 1,
56 | labels: {
57 | style: {
58 | color: '#666',
59 | fontWeight: 'bold'
60 | }
61 | },
62 | title: {
63 | style: {
64 | color: '#666',
65 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
66 | }
67 | }
68 | },
69 | legend: {
70 | itemStyle: {
71 | font: '9pt Trebuchet MS, Verdana, sans-serif',
72 | color: '#3E576F'
73 | },
74 | itemHoverStyle: {
75 | color: 'black'
76 | },
77 | itemHiddenStyle: {
78 | color: 'silver'
79 | }
80 | },
81 | labels: {
82 | style: {
83 | color: '#3E576F'
84 | }
85 | }
86 | };
87 |
88 | // Apply the theme
89 | var highchartsOptions = Highcharts.setOptions(Highcharts.theme);
90 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/snapscreen/UEditorSnapscreen.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/third-party/snapscreen/UEditorSnapscreen.exe
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/video-js/font/vjs.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/third-party/video-js/font/vjs.eot
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/video-js/font/vjs.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/third-party/video-js/font/vjs.ttf
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/video-js/font/vjs.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/third-party/video-js/font/vjs.woff
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/video-js/video-js.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/third-party/video-js/video-js.swf
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/webuploader/Uploader.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/third-party/webuploader/Uploader.swf
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/webuploader/webuploader.css:
--------------------------------------------------------------------------------
1 | .webuploader-container {
2 | position: relative;
3 | }
4 | .webuploader-element-invisible {
5 | position: absolute !important;
6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
7 | clip: rect(1px,1px,1px,1px);
8 | }
9 | .webuploader-pick {
10 | position: relative;
11 | display: inline-block;
12 | cursor: pointer;
13 | background: #00b7ee;
14 | padding: 10px 15px;
15 | color: #fff;
16 | text-align: center;
17 | border-radius: 3px;
18 | overflow: hidden;
19 | }
20 | .webuploader-pick-hover {
21 | background: #00a2d4;
22 | }
23 |
24 | .webuploader-pick-disable {
25 | opacity: 0.6;
26 | pointer-events:none;
27 | }
28 |
29 |
--------------------------------------------------------------------------------
/public/vendor/ueditor/third-party/zeroclipboard/ZeroClipboard.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LaravelChen/laravel-vue/1581f0dd78927b1a204bb972349f34abe5701cc9/public/vendor/ueditor/third-party/zeroclipboard/ZeroClipboard.swf
--------------------------------------------------------------------------------
/public/web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/readme.md:
--------------------------------------------------------------------------------
1 |
2 | # About Laravel-Vue
3 | # 效果图
4 | 
5 |
6 | ## 项目介绍
7 | #### 1.采用Laravel5.3和Vue2.0完成的SPA应用,本项目主要采用Vue,Vue-router,Vuex以及一些动画插件.
8 | #### 2.包括文章的发布,修改,删除,评论,回复,站内通信等功能.
9 | #### 3.本人采用的是Mac下面的valet的开发环境,比较方便.
10 |
11 | ## 环境要求
12 | > 最好搭建了homestead或者vlate环境,windows的XAMPP之类的集成环境出现错误的自己负责,很有可能是路劲的问题......
13 |
14 | ## 安装步骤
15 | ### 1.将项目拷贝到本地
16 | ```
17 | git clone https://github.com/LaravelChen/laravel-vue.git
18 | ```
19 | ### 2.进入目录
20 | ```
21 | cd laravel-vue
22 | ```
23 | ### 3.赋予一些文件夹的权限
24 | ```
25 | sudo chmod -R 777 storage bootstrap public //根据自己的环境自己决定是否执行本命令
26 | ```
27 |
28 | ### 4.配置文件
29 | #### 将目录下的```.env.example```的内容拷贝到```.env```文件,不过这个 ```.env```文件单独创建.然后将相应的数据库配置填好就ok了!
30 |
31 | ### 5.生成相应的依赖
32 | ```
33 | composer install
34 | ```
35 |
36 | ### 6.安装前端依赖
37 | ##### 安装 Gulp
38 |
39 | ```
40 | npm install --global gulp
41 | ```
42 | #### 或者你可以使用 yarn 代替 npm 节省下载安装时间:
43 |
44 | ```
45 | yarn add global gulp
46 | ```
47 | #### 安装 Laravel Elixir 和 Vuejs 的依赖:
48 | ```
49 | npm install
50 | ```
51 | #### 或者
52 | ```
53 | yarn
54 | ```
55 | ### 7.编译
56 | #### 你可以单次编译:
57 | ```
58 | gulp
59 | ```
60 | #### 或者你可以监控资源文件修改:
61 | ```
62 | gulp watch
63 | ```
64 | #### 当然,你也可以运行所有任务并压缩所有 CSS 及 JavaScript:
65 | ```
66 | gulp --production
67 | ```
68 | ### 8.生成数据
69 | ```
70 | php artisan create:data
71 | ```
72 | #### 会生成响应的用户和文章
73 |
74 | ### 9.创建管理员
75 | ```
76 | php artisan blog:admin //按照提示一步步创建您的管理员信息
77 | ```
78 |
79 | ### 10.最后希望您能完美的创建成功
80 |
--------------------------------------------------------------------------------
/resources/assets/js/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
28 |
--------------------------------------------------------------------------------
/resources/assets/js/admin.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * First we will load all of this project's JavaScript dependencies which
4 | * include Vue and Vue Resource. This gives a great starting point for
5 | * building robust, powerful web applications using Vue and Laravel.
6 | */
7 |
8 | require('./bootstrap');
9 |
10 | import VueRouter from 'vue-router'
11 | import Admin from './components/Admin/Admin.vue'
12 | import Vuelidate from 'vuelidate'
13 | import Home from './components/Admin/components/Home.vue'
14 | import User from './components/Admin/components/User.vue'
15 | import Article from './components/Admin/components/Article.vue'
16 | import Comment from './components/Admin/components/Comment.vue'
17 | import EditUser from './components/Admin/components/Edit/EditUser.vue'
18 | import EditComment from './components/Admin/components/Edit/EditComment.vue'
19 | import CreateArticle from './components/Admin/components/Create/CreateArticle.vue'
20 | import EditArticle from './components/Admin/components/Edit/EditArticle.vue'
21 | import VuePaginate from 'vue-paginate'
22 |
23 |
24 | Vue.use(VuePaginate)
25 | Vue.use(Vuelidate)
26 | Vue.use(VueRouter)
27 |
28 |
29 | const routes = [
30 | { path: '/', redirect: '/admin', component: Home },
31 | { path: '/admin', component: Home },
32 | { path: '/users', component: User },
33 | { path: '/articles', component: Article },
34 | { path: '/comments', component: Comment },
35 | { path: '/createarticle', component: CreateArticle },
36 | { path: '/edituser/:id', component: EditUser,name:'edituser'},
37 | { path: '/editcomment/:id', component: EditComment,name:'editcomment'},
38 | { path: '/editarticle/:id', component: EditArticle,name:'editarticle'},
39 | ]
40 |
41 | const router = new VueRouter({
42 | routes
43 | })
44 |
45 | /**
46 | * Next, we will create a fresh Vue application instance and attach it to
47 | * the page. Then, you may begin adding components to this application
48 | * or customize the JavaScript scaffolding to fit your unique needs.
49 | */
50 | //
51 | //Vue.component('Header', require('./components/header.vue'));
52 | const admin = new Vue({
53 | el: '#admin',
54 | template: '',
55 | components: {Admin},
56 | router,
57 | });
58 |
59 |
--------------------------------------------------------------------------------
/resources/assets/js/app.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * First we will load all of this project's JavaScript dependencies which
4 | * include Vue and Vue Resource. This gives a great starting point for
5 | * building robust, powerful web applications using Vue and Laravel.
6 | */
7 |
8 | require('./bootstrap');
9 |
10 | import VueRouter from 'vue-router'
11 | import App from './App.vue'
12 | import Vuelidate from 'vuelidate'
13 | import Article from './components/Article.vue'
14 | import Discussion from './components/Discussion.vue'
15 | import ArticleShow from './components/ArticleShow.vue'
16 | import CommentTotal from './components/Personal/CommentTotal.vue'
17 | import EditComment from './components/Comment/EditComment.vue'
18 | import UserLove from './components/Personal/UserLove.vue'
19 | import Notification from './components/Notification/notification.vue'
20 | import VuePaginate from 'vue-paginate'
21 |
22 |
23 | Vue.use(Vuelidate)
24 | Vue.use(VueRouter)
25 | Vue.use(VuePaginate)
26 |
27 | const routes = [
28 | { path: '/', component: Article },
29 | { path:'/discussion',component:Discussion},
30 | { path:'/article/:id',component:ArticleShow,name:'article'},
31 | { path:'/commenttotal',component:CommentTotal},
32 | { path:'/userlove',component:UserLove},
33 | { path:'/notification',component:Notification},
34 | { path:'/editcomment/:id',component:EditComment,name:'editcomment'},
35 | ]
36 |
37 | const router = new VueRouter({
38 | routes
39 | })
40 |
41 | /**
42 | * Next, we will create a fresh Vue application instance and attach it to
43 | * the page. Then, you may begin adding components to this application
44 | * or customize the JavaScript scaffolding to fit your unique needs.
45 | */
46 | //
47 | //Vue.component('Header', require('./components/header.vue'));
48 | const app = new Vue({
49 | el: '#app',
50 | template: '',
51 | components: {App},
52 | router,
53 | });
54 |
55 |
--------------------------------------------------------------------------------
/resources/assets/js/bootstrap.js:
--------------------------------------------------------------------------------
1 |
2 | window._ = require('lodash');
3 |
4 | /**
5 | * We'll load jQuery and the Bootstrap jQuery plugin which provides support
6 | * for JavaScript based Bootstrap features such as modals and tabs. This
7 | * code may be modified to fit the specific needs of your application.
8 | */
9 |
10 | window.$ = window.jQuery = require('jquery');
11 | require('bootstrap-sass');
12 |
13 | /**
14 | * Vue is a modern JavaScript library for building interactive web interfaces
15 | * using reactive data binding and reusable components. Vue's API is clean
16 | * and simple, leaving you to focus on building your next great project.
17 | */
18 |
19 | window.Vue = require('vue');
20 | require('vue-resource');
21 | /**
22 | * We'll register a HTTP interceptor to attach the "CSRF" header to each of
23 | * the outgoing requests issued by this application. The CSRF middleware
24 | * included with Laravel will automatically verify the header's value.
25 | */
26 |
27 | Vue.http.interceptors.push((request, next) => {
28 | request.headers.set('X-CSRF-TOKEN', Laravel.csrfToken);
29 | next();
30 | });
31 |
32 | /**
33 | * Echo exposes an expressive API for subscribing to channels and listening
34 | * for events that are broadcast by Laravel. Echo and event broadcasting
35 | * allows your team to easily build robust real-time web applications.
36 | */
37 |
38 | // import Echo from "laravel-echo"
39 |
40 | // window.Echo = new Echo({
41 | // broadcaster: 'pusher',
42 | // key: 'your-pusher-key'
43 | // });
44 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Admin/Admin.vue:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
31 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Admin/components/Edit/EditComment.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | - Edit Comment
6 |
7 |
8 |
9 |
10 |
11 | Edit Comment
12 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
56 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Admin/components/Sidebar.vue:
--------------------------------------------------------------------------------
1 |
2 |
32 |
33 |
34 |
38 |
39 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Admin/components/js/options.js:
--------------------------------------------------------------------------------
1 | export default {
2 | positionClass: "toast-bottom-right",
3 | showDuration: "300",
4 | hideDuration: "1000",
5 | timeOut: "5000",
6 | extendedTimeOut: "1000",
7 | showEasing: "swing",
8 | hideEasing: "linear",
9 | showMethod: "fadeIn",
10 | hideMethod: "fadeOut"
11 | }
--------------------------------------------------------------------------------
/resources/assets/js/components/ArticleShow.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
{{article.title}}
6 |
7 |
{{article.author}}  {{article.time}}
10 |
11 |
12 |
{{article.body}}
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
43 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Comment/EditComment.vue:
--------------------------------------------------------------------------------
1 |
2 |
26 |
27 |
28 |
49 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Discussion.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
This is Discssuion.
8 | One World,One Laravel!
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
这个自己发挥,相信你自己!
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Love/Love.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
11 |
12 |
13 |
14 |
46 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Notification/notification.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | -
7 |
8 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
50 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Personal/CommentTotal.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
This is CommentTotal Page.
8 | One World,One Laravel!
9 |
10 |
11 |
12 |
13 |
28 |
29 |
30 |
44 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Personal/UserLove.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
This is UserLove Page.
8 | One World,One Laravel!
9 |
10 |
11 |
12 |
13 |
25 |
26 |
27 |
41 |
--------------------------------------------------------------------------------
/resources/assets/js/components/Vote/VoteCount.vue:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
36 |
--------------------------------------------------------------------------------
/resources/assets/sass/_variables.scss:
--------------------------------------------------------------------------------
1 |
2 | // Body
3 | $body-bg: #f5f8fa;
4 |
5 | // Borders
6 | $laravel-border-color: darken($body-bg, 10%);
7 | $list-group-border: $laravel-border-color;
8 | $navbar-default-border: $laravel-border-color;
9 | $panel-default-border: $laravel-border-color;
10 | $panel-inner-border: $laravel-border-color;
11 |
12 | // Brands
13 | $brand-primary: #3097D1;
14 | $brand-info: #8eb4cb;
15 | $brand-success: #2ab27b;
16 | $brand-warning: #cbb956;
17 | $brand-danger: #bf5329;
18 |
19 | // Typography
20 | $font-family-sans-serif: "Raleway", sans-serif;
21 | $font-size-base: 14px;
22 | $line-height-base: 1.6;
23 | $text-color: #636b6f;
24 |
25 | // Navbar
26 | $navbar-default-bg: #fff;
27 |
28 | // Buttons
29 | $btn-default-color: $text-color;
30 |
31 | // Inputs
32 | $input-border: lighten($text-color, 40%);
33 | $input-border-focus: lighten($brand-primary, 25%);
34 | $input-color-placeholder: lighten($text-color, 30%);
35 |
36 | // Panels
37 | $panel-default-heading-bg: #fff;
38 |
--------------------------------------------------------------------------------
/resources/assets/sass/app.scss:
--------------------------------------------------------------------------------
1 |
2 | // Fonts
3 | @import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600);
4 |
5 | // Variables
6 | @import "variables";
7 |
8 | // Bootstrap
9 | @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
10 |
--------------------------------------------------------------------------------
/resources/lang/en/auth.php:
--------------------------------------------------------------------------------
1 | 'These credentials do not match our records.',
17 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
18 |
19 | ];
20 |
--------------------------------------------------------------------------------
/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/vendor/ueditor/en/upload.php:
--------------------------------------------------------------------------------
1 | 'file size exceeds MAX_FILE_SIZE in php.ini limit',
5 | UPLOAD_ERR_FORM_SIZE => 'file size exceeds MAX_FILE_SIZE in form limit',
6 | UPLOAD_ERR_PARTIAL => 'upload file is not complete',
7 | UPLOAD_ERR_NO_FILE => 'no files uploaded',
8 | UPLOAD_ERR_NO_TMP_DIR => 'no temporary directory found',
9 | UPLOAD_ERR_CANT_WRITE => 'fail to write file',
10 |
11 | 'ERROR_TMP_FILE' => 'create temporary file error',
12 | 'ERROR_TMP_FILE_NOT_FOUND' => 'can\'t find a temporary file',
13 | 'ERROR_SIZE_EXCEED' => 'file size beyond the site restrictions',
14 | 'ERROR_TYPE_NOT_ALLOWED' => 'file type does not allowed',
15 | 'ERROR_CREATE_DIR' => 'directory creation fails',
16 | 'ERROR_DIR_NOT_WRITEABLE' => 'directory does not have write permission',
17 | 'ERROR_FILE_MOVE' => 'file save error',
18 | 'ERROR_FILE_NOT_FOUND' => 'can\'t find the uploaded file',
19 | 'ERROR_WRITE_CONTENT' => 'error writing file content',
20 | 'ERROR_UNKNOWN' => 'An unknown error',
21 | 'ERROR_DEAD_LINK' => 'link is not available',
22 | 'ERROR_HTTP_LINK' => 'not a HTTP link',
23 | 'ERROR_HTTP_CONTENTTYPE' => 'link contentType incorrect',
24 | 'ERROR_UNKNOWN_MODE' => 'Please Config the core.mode',
25 | ];
26 |
--------------------------------------------------------------------------------
/resources/lang/vendor/ueditor/zh-CN/upload.php:
--------------------------------------------------------------------------------
1 | '上传的文件超过了 php.ini 中 upload_max_filesize 选项限制的值',
5 | UPLOAD_ERR_FORM_SIZE => '上传文件的大小超过了 HTML 表单中 MAX_FILE_SIZE 选项指定的值',
6 | UPLOAD_ERR_PARTIAL => '文件只有部分被上传',
7 | UPLOAD_ERR_NO_FILE => '没有文件被上传',
8 | UPLOAD_ERR_NO_TMP_DIR => '找不到临时文件夹',
9 | UPLOAD_ERR_CANT_WRITE => '文件写入失败',
10 |
11 | 'ERROR_SIZE_EXCEED' => '文件大小超出网站限制',
12 | 'ERROR_TYPE_NOT_ALLOWED' => '文件类型不允许',
13 | 'ERROR_CREATE_DIR' => '目录创建失败',
14 | 'ERROR_DIR_NOT_WRITEABLE' => '目录没有写权限',
15 | 'ERROR_FILE_MOVE' => '文件保存时出错',
16 | 'ERROR_WRITE_CONTENT' => '写入文件内容错误',
17 | 'ERROR_UNKNOWN' => '未知错误',
18 | 'ERROR_DEAD_LINK' => '链接不可用',
19 | 'ERROR_HTTP_LINK' => '链接不是http链接',
20 | 'ERROR_HTTP_CONTENTTYPE' => '链接contentType不正确',
21 | 'ERROR_UNKNOWN_MODE' => '文件上传模式错误',
22 | ];
23 |
--------------------------------------------------------------------------------
/resources/lang/vendor/ueditor/zh-TW/upload.php:
--------------------------------------------------------------------------------
1 | '文件大小超出php.ini中MAX_FILE_SIZE限制',
5 | UPLOAD_ERR_FORM_SIZE => '文件大小超出表单中MAX_FILE_SIZE限制',
6 | UPLOAD_ERR_PARTIAL => '文件未被完整上傳',
7 | UPLOAD_ERR_NO_FILE => '沒有文件被上傳',
8 | UPLOAD_ERR_NO_TMP_DIR => '找不到臨時文件夹',
9 | UPLOAD_ERR_CANT_WRITE => '文件写入失败',
10 | 'ERROR_TMP_FILE' => '臨時文件錯誤',
11 | 'ERROR_TMP_FILE_NOT_FOUND' => '找不到臨時文件',
12 | 'ERROR_SIZE_EXCEED' => '文件大小超出網站限制',
13 | 'ERROR_TYPE_NOT_ALLOWED' => '文件類型不允許',
14 | 'ERROR_CREATE_DIR' => '目錄創建失敗',
15 | 'ERROR_DIR_NOT_WRITEABLE' => '目錄沒有寫許可權',
16 | 'ERROR_FILE_MOVE' => '文件保存時出錯',
17 | 'ERROR_FILE_NOT_FOUND' => '找不到上傳文件',
18 | 'ERROR_WRITE_CONTENT' => '寫入文件內容錯誤',
19 | 'ERROR_UNKNOWN' => '未知錯誤',
20 | 'ERROR_DEAD_LINK' => '鏈接不可用',
21 | 'ERROR_HTTP_LINK' => '鏈接不是http鏈接',
22 | 'ERROR_HTTP_CONTENTTYPE' => '鏈接contentType不正確',
23 | 'ERROR_UNKNOWN_MODE' => '文件上傳模式錯誤',
24 | ];
25 |
--------------------------------------------------------------------------------
/resources/views/admin.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
20 |
21 |
22 | @include('vendor.ueditor.assets')
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/resources/views/blog.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/resources/views/errors/503.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Be right back.
5 |
6 |
7 |
8 |
39 |
40 |
41 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/resources/views/vendor/.gitkeep:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/resources/views/vendor/notifications/email-plain.blade.php:
--------------------------------------------------------------------------------
1 | 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/ueditor/assets.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/routes/api.php:
--------------------------------------------------------------------------------
1 | middleware('api');
16 |
17 | //显示单个文章
18 | Route::get('article/{id}', 'ArticlesController@singlearticle')->middleware('api');
19 |
20 | //获取单个文章的内容
21 | Route::get('commentcontent', 'ArticlesController@singlearticle')->middleware('api');
22 |
23 |
--------------------------------------------------------------------------------
/routes/console.php:
--------------------------------------------------------------------------------
1 | comment(Inspiring::quote());
18 | })->describe('Display an inspiring quote');
19 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/storage/app/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !public/
3 | !.gitignore
4 |
--------------------------------------------------------------------------------
/storage/app/public/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/storage/framework/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/sessions/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/views/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/logs/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/tests/ExampleTest.php:
--------------------------------------------------------------------------------
1 | visit('/')
17 | ->see('Laravel');
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/tests/TestCase.php:
--------------------------------------------------------------------------------
1 | make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
22 |
23 | return $app;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------