├── .env.example ├── .gitignore ├── LICENSE ├── app ├── Components │ ├── EndaAuth.php │ └── EndaPage.php ├── Console │ ├── Commands │ │ └── Inspire.php │ └── Kernel.php ├── Events │ └── Event.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── AboutController.php │ │ ├── ArticleController.php │ │ ├── CategoryController.php │ │ ├── Controller.php │ │ ├── SearchController.php │ │ └── backend │ │ │ ├── ArticleController.php │ │ │ ├── AuthController.php │ │ │ ├── CateController.php │ │ │ ├── ContentController.php │ │ │ ├── HomeController.php │ │ │ ├── LinksController.php │ │ │ ├── NavigationController.php │ │ │ ├── PasswordController.php │ │ │ ├── SystemController.php │ │ │ ├── TagsController.php │ │ │ ├── UploadFileController.php │ │ │ └── UserController.php │ ├── Kernel.php │ ├── Middleware │ │ ├── Authenticate.php │ │ ├── RedirectIfAuthenticated.php │ │ └── VerifyCsrfToken.php │ ├── Requests │ │ ├── ArticleForm.php │ │ ├── BackendForm.php │ │ ├── CateForm.php │ │ ├── Comment.php │ │ ├── LinksRequest.php │ │ ├── NavigationForm.php │ │ ├── Request.php │ │ ├── SystemForm.php │ │ └── TagsForm.php │ └── routes.php ├── Jobs │ └── Command.php ├── Listeners │ ├── Commands │ │ └── .gitkeep │ └── Events │ │ └── .gitkeep ├── Model │ ├── Article.php │ ├── ArticleStatus.php │ ├── Category.php │ ├── Links.php │ ├── Navigation.php │ ├── System.php │ └── Tag.php ├── Providers │ ├── AppServiceProvider.php │ ├── BusServiceProvider.php │ ├── ConfigServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Services │ └── Registrar.php └── User.php ├── artisan ├── bootstrap ├── app.php ├── autoload.php └── cache │ └── .gitignore ├── composer.json ├── config ├── app.php ├── auth.php ├── cache.php ├── captcha.php ├── compile.php ├── database.php ├── disqus.php ├── editor.php ├── filesystems.php ├── mail.php ├── notification.php ├── path.php ├── queue.php ├── services.php ├── session.php └── view.php ├── database ├── .gitignore ├── migrations │ ├── .gitkeep │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2015_03_16_082647_create_category_table.php │ ├── 2015_03_16_083845_create_categories_table.php │ ├── 2015_03_26_102905_create_article_table.php │ ├── 2015_03_26_102914_create_article_status_table.php │ ├── 2015_03_27_025551_remove_article_field_table.php │ ├── 2015_03_27_025700_create_tags_table.php │ ├── 2015_04_03_150623_create_systems_table.php │ ├── 2015_05_13_093653_add_pic_article_table.php │ ├── 2015_05_25_062537_add_info_users_table.php │ ├── 2015_06_11_080023_create_comments_table.php │ ├── 2015_07_07_113118_edit_comments_table.php │ ├── 2015_07_13_075347_edit_user_table.php │ ├── 2015_07_18_082904_create_navigation_table.php │ ├── 2015_09_03_165339_delete_comments_table.php │ ├── 2015_09_03_165509_edit_article_table.php │ ├── 2015_11_12_145600_edit_navigation_table.php │ └── 2015_11_13_023030_create_links_table.php └── seeds │ ├── .gitkeep │ ├── DatabaseSeeder.php │ ├── SystemSeeder.php │ └── UserSeeder.php ├── gulpfile.js ├── helpers └── functions.php ├── package.json ├── phpspec.yml ├── phpunit.xml ├── public ├── .htaccess ├── css │ └── app.css ├── favicon.ico ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── images │ └── 01.jpg ├── index.php ├── plugin │ ├── editor │ │ ├── css │ │ │ ├── editor.css │ │ │ ├── editor.css.map │ │ │ ├── pygment_trac.css │ │ │ └── stylesheet.css │ │ ├── images │ │ │ ├── code.png │ │ │ ├── editor@2x.png │ │ │ ├── loader.gif │ │ │ ├── pattern.png │ │ │ ├── tar.png │ │ │ ├── top.png │ │ │ └── zip.png │ │ └── js │ │ │ ├── MIDI.js │ │ │ ├── bacheditor.js │ │ │ ├── fileupload.js │ │ │ ├── highlight.js │ │ │ ├── marimba-mp3.js │ │ │ ├── modal.js │ │ │ ├── piano.js │ │ │ └── template.js │ ├── jquery-1.9.1.js │ └── tags │ │ ├── bootstrap-tokenfield.js │ │ ├── bootstrap-tokenfield.min.js │ │ ├── css │ │ ├── bootstrap-tokenfield.css │ │ └── jquery-ui.css │ │ ├── images │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_2e83ff_256x240.png │ │ ├── ui-icons_454545_256x240.png │ │ ├── ui-icons_888888_256x240.png │ │ └── ui-icons_cd0a0a_256x240.png │ │ └── jquery-ui.js ├── robots.txt ├── themes │ └── default │ │ ├── css │ │ ├── components │ │ │ ├── boxed-group.css │ │ │ ├── collection.css │ │ │ └── repo-card.css │ │ ├── globals │ │ │ ├── common.css │ │ │ ├── prism.css │ │ │ └── responsive.css │ │ ├── pages │ │ │ └── index.css │ │ └── sections │ │ │ ├── article.css │ │ │ ├── mini-repo-list.css │ │ │ └── repo-list.css │ │ ├── fonts │ │ ├── codropsicons │ │ │ ├── codropsicons.eot │ │ │ ├── codropsicons.svg │ │ │ ├── codropsicons.ttf │ │ │ ├── codropsicons.woff │ │ │ └── license.txt │ │ └── font-awesome-4.2.0 │ │ │ ├── css │ │ │ └── font-awesome.min.css │ │ │ └── fonts │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ ├── images │ │ ├── header.jpg │ │ ├── ico │ │ │ ├── 120.png │ │ │ ├── 152.png │ │ │ ├── 32.png │ │ │ ├── 60.png │ │ │ └── 72.png │ │ ├── line-transparent.png │ │ ├── magnifier.svg │ │ ├── octicons-bg.png │ │ ├── octocat-spinner-16px.gif │ │ ├── octocat-spinner-32-EAF2F5.gif │ │ └── search.png │ │ ├── js │ │ ├── geopattern.js │ │ └── prism.js │ │ └── vendor │ │ ├── jquery │ │ ├── MIT-LICENSE.txt │ │ ├── bower.json │ │ ├── dist │ │ │ ├── jquery.js │ │ │ ├── jquery.min.js │ │ │ └── jquery.min.map │ │ └── src │ │ │ ├── ajax.js │ │ │ ├── ajax │ │ │ ├── jsonp.js │ │ │ ├── load.js │ │ │ ├── parseJSON.js │ │ │ ├── parseXML.js │ │ │ ├── script.js │ │ │ ├── var │ │ │ │ ├── nonce.js │ │ │ │ └── rquery.js │ │ │ └── xhr.js │ │ │ ├── attributes.js │ │ │ ├── attributes │ │ │ ├── attr.js │ │ │ ├── classes.js │ │ │ ├── prop.js │ │ │ ├── support.js │ │ │ └── val.js │ │ │ ├── callbacks.js │ │ │ ├── core.js │ │ │ ├── core │ │ │ ├── access.js │ │ │ ├── init.js │ │ │ ├── parseHTML.js │ │ │ ├── ready.js │ │ │ └── var │ │ │ │ └── rsingleTag.js │ │ │ ├── css.js │ │ │ ├── css │ │ │ ├── addGetHookIf.js │ │ │ ├── curCSS.js │ │ │ ├── defaultDisplay.js │ │ │ ├── hiddenVisibleSelectors.js │ │ │ ├── support.js │ │ │ ├── swap.js │ │ │ └── var │ │ │ │ ├── cssExpand.js │ │ │ │ ├── getStyles.js │ │ │ │ ├── isHidden.js │ │ │ │ ├── rmargin.js │ │ │ │ └── rnumnonpx.js │ │ │ ├── data.js │ │ │ ├── data │ │ │ ├── Data.js │ │ │ ├── accepts.js │ │ │ └── var │ │ │ │ ├── data_priv.js │ │ │ │ └── data_user.js │ │ │ ├── deferred.js │ │ │ ├── deprecated.js │ │ │ ├── dimensions.js │ │ │ ├── effects.js │ │ │ ├── effects │ │ │ ├── Tween.js │ │ │ └── animatedSelector.js │ │ │ ├── event.js │ │ │ ├── event │ │ │ ├── ajax.js │ │ │ ├── alias.js │ │ │ └── support.js │ │ │ ├── exports │ │ │ ├── amd.js │ │ │ └── global.js │ │ │ ├── intro.js │ │ │ ├── jquery.js │ │ │ ├── manipulation.js │ │ │ ├── manipulation │ │ │ ├── _evalUrl.js │ │ │ ├── support.js │ │ │ └── var │ │ │ │ └── rcheckableType.js │ │ │ ├── offset.js │ │ │ ├── outro.js │ │ │ ├── queue.js │ │ │ ├── queue │ │ │ └── delay.js │ │ │ ├── selector-native.js │ │ │ ├── selector-sizzle.js │ │ │ ├── selector.js │ │ │ ├── serialize.js │ │ │ ├── sizzle │ │ │ └── dist │ │ │ │ ├── sizzle.js │ │ │ │ ├── sizzle.min.js │ │ │ │ └── sizzle.min.map │ │ │ ├── traversing.js │ │ │ ├── traversing │ │ │ ├── findFilter.js │ │ │ └── var │ │ │ │ └── rneedsContext.js │ │ │ ├── var │ │ │ ├── arr.js │ │ │ ├── class2type.js │ │ │ ├── concat.js │ │ │ ├── hasOwn.js │ │ │ ├── indexOf.js │ │ │ ├── pnum.js │ │ │ ├── push.js │ │ │ ├── rnotwhite.js │ │ │ ├── slice.js │ │ │ ├── strundefined.js │ │ │ ├── support.js │ │ │ └── toString.js │ │ │ └── wrap.js │ │ ├── octicons │ │ ├── CHANGELOG.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── bower.json │ │ ├── octicons │ │ │ ├── README.md │ │ │ ├── octicons-local.ttf │ │ │ ├── octicons.css │ │ │ ├── octicons.eot │ │ │ ├── octicons.less │ │ │ ├── octicons.scss │ │ │ ├── octicons.svg │ │ │ ├── octicons.ttf │ │ │ ├── octicons.woff │ │ │ └── sprockets-octicons.scss │ │ ├── package.json │ │ └── svg │ │ │ ├── alert.svg │ │ │ ├── arrow-down.svg │ │ │ ├── arrow-left.svg │ │ │ ├── arrow-right.svg │ │ │ ├── arrow-small-down.svg │ │ │ ├── arrow-small-left.svg │ │ │ ├── arrow-small-right.svg │ │ │ ├── arrow-small-up.svg │ │ │ ├── arrow-up.svg │ │ │ ├── beaker.svg │ │ │ ├── bell.svg │ │ │ ├── book.svg │ │ │ ├── bookmark.svg │ │ │ ├── briefcase.svg │ │ │ ├── broadcast.svg │ │ │ ├── browser.svg │ │ │ ├── bug.svg │ │ │ ├── calendar.svg │ │ │ ├── check.svg │ │ │ ├── checklist.svg │ │ │ ├── chevron-down.svg │ │ │ ├── chevron-left.svg │ │ │ ├── chevron-right.svg │ │ │ ├── chevron-up.svg │ │ │ ├── circle-slash.svg │ │ │ ├── circuit-board.svg │ │ │ ├── clippy.svg │ │ │ ├── clock.svg │ │ │ ├── cloud-download.svg │ │ │ ├── cloud-upload.svg │ │ │ ├── code.svg │ │ │ ├── color-mode.svg │ │ │ ├── comment-discussion.svg │ │ │ ├── comment.svg │ │ │ ├── credit-card.svg │ │ │ ├── dash.svg │ │ │ ├── dashboard.svg │ │ │ ├── database.svg │ │ │ ├── desktop-download.svg │ │ │ ├── device-camera-video.svg │ │ │ ├── device-camera.svg │ │ │ ├── device-desktop.svg │ │ │ ├── device-mobile.svg │ │ │ ├── diff-added.svg │ │ │ ├── diff-ignored.svg │ │ │ ├── diff-modified.svg │ │ │ ├── diff-removed.svg │ │ │ ├── diff-renamed.svg │ │ │ ├── diff.svg │ │ │ ├── ellipsis.svg │ │ │ ├── eye.svg │ │ │ ├── file-binary.svg │ │ │ ├── file-code.svg │ │ │ ├── file-directory.svg │ │ │ ├── file-media.svg │ │ │ ├── file-pdf.svg │ │ │ ├── file-submodule.svg │ │ │ ├── file-symlink-directory.svg │ │ │ ├── file-symlink-file.svg │ │ │ ├── file-text.svg │ │ │ ├── file-zip.svg │ │ │ ├── flame.svg │ │ │ ├── fold.svg │ │ │ ├── gear.svg │ │ │ ├── gift.svg │ │ │ ├── gist-secret.svg │ │ │ ├── gist.svg │ │ │ ├── git-branch.svg │ │ │ ├── git-commit.svg │ │ │ ├── git-compare.svg │ │ │ ├── git-merge.svg │ │ │ ├── git-pull-request.svg │ │ │ ├── globe.svg │ │ │ ├── graph.svg │ │ │ ├── heart.svg │ │ │ ├── history.svg │ │ │ ├── home.svg │ │ │ ├── horizontal-rule.svg │ │ │ ├── hubot.svg │ │ │ ├── inbox.svg │ │ │ ├── info.svg │ │ │ ├── issue-closed.svg │ │ │ ├── issue-opened.svg │ │ │ ├── issue-reopened.svg │ │ │ ├── jersey.svg │ │ │ ├── key.svg │ │ │ ├── keyboard.svg │ │ │ ├── law.svg │ │ │ ├── light-bulb.svg │ │ │ ├── link-external.svg │ │ │ ├── link.svg │ │ │ ├── list-ordered.svg │ │ │ ├── list-unordered.svg │ │ │ ├── location.svg │ │ │ ├── lock.svg │ │ │ ├── logo-github.svg │ │ │ ├── mail-read.svg │ │ │ ├── mail-reply.svg │ │ │ ├── mail.svg │ │ │ ├── mark-github.svg │ │ │ ├── markdown.svg │ │ │ ├── megaphone.svg │ │ │ ├── mention.svg │ │ │ ├── milestone.svg │ │ │ ├── mirror.svg │ │ │ ├── mortar-board.svg │ │ │ ├── mute.svg │ │ │ ├── no-newline.svg │ │ │ ├── octoface.svg │ │ │ ├── organization.svg │ │ │ ├── package.svg │ │ │ ├── paintcan.svg │ │ │ ├── pencil.svg │ │ │ ├── person.svg │ │ │ ├── pin.svg │ │ │ ├── plug.svg │ │ │ ├── plus.svg │ │ │ ├── primitive-dot.svg │ │ │ ├── primitive-square.svg │ │ │ ├── pulse.svg │ │ │ ├── question.svg │ │ │ ├── quote.svg │ │ │ ├── radio-tower.svg │ │ │ ├── repo-clone.svg │ │ │ ├── repo-force-push.svg │ │ │ ├── repo-forked.svg │ │ │ ├── repo-pull.svg │ │ │ ├── repo-push.svg │ │ │ ├── repo.svg │ │ │ ├── rocket.svg │ │ │ ├── rss.svg │ │ │ ├── ruby.svg │ │ │ ├── screen-full.svg │ │ │ ├── screen-normal.svg │ │ │ ├── search.svg │ │ │ ├── server.svg │ │ │ ├── settings.svg │ │ │ ├── shield.svg │ │ │ ├── sign-in.svg │ │ │ ├── sign-out.svg │ │ │ ├── squirrel.svg │ │ │ ├── star.svg │ │ │ ├── stop.svg │ │ │ ├── sync.svg │ │ │ ├── tag.svg │ │ │ ├── telescope.svg │ │ │ ├── terminal.svg │ │ │ ├── three-bars.svg │ │ │ ├── thumbsdown.svg │ │ │ ├── thumbsup.svg │ │ │ ├── tools.svg │ │ │ ├── trashcan.svg │ │ │ ├── triangle-down.svg │ │ │ ├── triangle-left.svg │ │ │ ├── triangle-right.svg │ │ │ ├── triangle-up.svg │ │ │ ├── unfold.svg │ │ │ ├── unmute.svg │ │ │ ├── versions.svg │ │ │ ├── watch.svg │ │ │ ├── x.svg │ │ │ └── zap.svg │ │ ├── primer-css │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── bower.json │ │ ├── css │ │ │ └── primer.css │ │ ├── package.json │ │ └── scss │ │ │ ├── _alerts.scss │ │ │ ├── _avatars.scss │ │ │ ├── _base.scss │ │ │ ├── _blankslate.scss │ │ │ ├── _buttons.scss │ │ │ ├── _counter.scss │ │ │ ├── _filter-list.scss │ │ │ ├── _flex-table.scss │ │ │ ├── _forms.scss │ │ │ ├── _layout.scss │ │ │ ├── _menu.scss │ │ │ ├── _mixins.scss │ │ │ ├── _normalize.scss │ │ │ ├── _states.scss │ │ │ ├── _tabnav.scss │ │ │ ├── _tooltips.scss │ │ │ ├── _truncate.scss │ │ │ ├── _type.scss │ │ │ ├── _utility.scss │ │ │ ├── _variables.scss │ │ │ └── primer.scss │ │ ├── primer-markdown │ │ ├── CLA.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE.md │ │ ├── bower.json │ │ ├── components │ │ │ ├── markdown.scss │ │ │ └── user-content.scss │ │ └── dist │ │ │ ├── user-content.css │ │ │ └── user-content.min.css │ │ └── share.js │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bower.json │ │ ├── dist │ │ ├── css │ │ │ └── share.min.css │ │ ├── fonts │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.svg │ │ │ ├── iconfont.ttf │ │ │ └── iconfont.woff │ │ └── js │ │ │ ├── jquery.qrcode.min.js │ │ │ └── share.min.js │ │ ├── example.html │ │ ├── gulpfile.js │ │ ├── package.json │ │ └── src │ │ ├── css │ │ └── share.scss │ │ ├── fonts │ │ ├── iconfont.eot │ │ ├── iconfont.svg │ │ ├── iconfont.ttf │ │ └── iconfont.woff │ │ └── js │ │ └── share.js └── uploads │ ├── 08dc9d7030faeb72d25025726697e964.jpg │ ├── 15662d41db447356184a15bae7a1b9cd.jpg │ ├── 156abb9c7a5453484bda11d168e6dfb3.jpg │ ├── 1a2db941bb1f8806483fac0abb52d83f.jpg │ ├── 207c43a5757ebc400af2e1ab9b9d842a.jpg │ ├── 27e00c7d29dc544e9e1af29dd054561b.jpg │ ├── 2aea83d209ec8cc55e9e7177e252e619.jpg │ ├── 30566dbade81f76a30a0d62b250015e6.jpg │ ├── 3e1fb01fe0fcce93ce82156b5faa85a7.jpg │ ├── 44fd95b47c8f75cd53cd9f06d959b24f.jpg │ ├── 4615ccec36a92ed994da1bb130c1b437.jpg │ ├── 463468428b91d470b0bc6bc05146b5e4.jpg │ ├── 47abf3c660277c187ac66594b1987f00.jpg │ ├── 482877d20185a53da571e0cbfe8df23b.jpg │ ├── 4a4bdc8e974fe986981af32ca1f962ed.jpg │ ├── 4fa3680e44501e9e44b8b2f6c9404880.jpg │ ├── 5015169a523bb0feac25eaa5c9b487fb.jpg │ ├── 50b71d419e67a0f95e2ce18f2eaad4ae.jpg │ ├── 547824293c5976fd3d1e472cc39455a7.jpg │ ├── 5847d6dddab46b4b63316ab1e22b3ecd.jpg │ ├── 608c532872ed2030ec43ece4f79d9d0b.jpg │ ├── 60dd73bac97877338fa07f2ff114c771.jpg │ ├── 64a87264b86f9036878f5c9bf086b10c.jpg │ ├── 6817acce553d430ad4c5a222fe9bc67f.jpg │ ├── 6d2d8f4d5ffb4e659d143884cbdfbef2.jpg │ ├── 6e16f984697944c6806445b085670189.jpg │ ├── 7ef2a82eaba8ac541c7220c78c395a5b.png │ ├── 8b633abd41074890ac789b6276e11f53.jpg │ ├── 8dfca7790e5537176946c76cc1013c9e.jpg │ ├── 9136796a622fec231188e9298f4d7bb0.jpg │ ├── a7979cb572cb2769b16d328ada669c57.jpg │ ├── a9683194e17c5c28f84a5c7c56da0612.jpg │ ├── ac43bdb1d8246007734dd0142101efa1.jpg │ ├── aed42ceec8c620cc2ac9c597f8226712.jpg │ ├── b8a7342ce585b10a00b68a2df6308b84.jpg │ ├── bb09780eb252a376aa0fdaa60993a03c.jpg │ ├── c238b4950c2d9be81c62172d62da279e.jpg │ ├── dc3025d33fd79f167751fe711464e4ee.jpg │ ├── de692617c7bd4c0595dd6baa1c43c678.jpg │ ├── ea212c863e55b39a53eed1e6f947e22d.jpg │ ├── eb535b83a168f0d6dfeea8bf137d4a45.jpg │ ├── f04b1fab946430b54527216e910cabcb.jpg │ ├── f177297a382d7f99a59aee75df0d8899.jpg │ └── f7aac292ec9b3f1ef7d7a2d504e1e5fc.jpg ├── readme.md ├── resources ├── assets │ └── less │ │ ├── app.less │ │ └── bootstrap │ │ ├── alerts.less │ │ ├── badges.less │ │ ├── bootstrap.less │ │ ├── breadcrumbs.less │ │ ├── button-groups.less │ │ ├── buttons.less │ │ ├── carousel.less │ │ ├── close.less │ │ ├── code.less │ │ ├── component-animations.less │ │ ├── dropdowns.less │ │ ├── forms.less │ │ ├── glyphicons.less │ │ ├── grid.less │ │ ├── input-groups.less │ │ ├── jumbotron.less │ │ ├── labels.less │ │ ├── list-group.less │ │ ├── media.less │ │ ├── mixins.less │ │ ├── mixins │ │ ├── alerts.less │ │ ├── background-variant.less │ │ ├── border-radius.less │ │ ├── buttons.less │ │ ├── center-block.less │ │ ├── clearfix.less │ │ ├── forms.less │ │ ├── gradients.less │ │ ├── grid-framework.less │ │ ├── grid.less │ │ ├── hide-text.less │ │ ├── image.less │ │ ├── labels.less │ │ ├── list-group.less │ │ ├── nav-divider.less │ │ ├── nav-vertical-align.less │ │ ├── opacity.less │ │ ├── pagination.less │ │ ├── panels.less │ │ ├── progress-bar.less │ │ ├── reset-filter.less │ │ ├── resize.less │ │ ├── responsive-visibility.less │ │ ├── size.less │ │ ├── tab-focus.less │ │ ├── table-row.less │ │ ├── text-emphasis.less │ │ ├── text-overflow.less │ │ └── vendor-prefixes.less │ │ ├── modals.less │ │ ├── navbar.less │ │ ├── navs.less │ │ ├── normalize.less │ │ ├── pager.less │ │ ├── pagination.less │ │ ├── panels.less │ │ ├── popovers.less │ │ ├── print.less │ │ ├── progress-bars.less │ │ ├── responsive-embed.less │ │ ├── responsive-utilities.less │ │ ├── scaffolding.less │ │ ├── tables.less │ │ ├── theme.less │ │ ├── thumbnails.less │ │ ├── tooltip.less │ │ ├── type.less │ │ ├── utilities.less │ │ ├── variables.less │ │ └── wells.less ├── lang │ ├── en │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php │ └── zh-CN │ │ └── backend_config.php └── views │ ├── app.blade.php │ ├── auth │ ├── login.blade.php │ ├── password.blade.php │ └── reset.blade.php │ ├── backend │ ├── app.blade.php │ ├── content │ │ ├── _menu.blade.php │ │ ├── article │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ │ ├── cate │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ │ ├── comment │ │ │ ├── create.blade.php │ │ │ ├── index.blade.php │ │ │ └── show.blade.php │ │ ├── common.blade.php │ │ ├── index.blade.php │ │ └── tags │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ ├── home.blade.php │ ├── setting │ │ ├── _menu.blade.php │ │ ├── common.blade.php │ │ ├── links │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ │ ├── navigation │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── index.blade.php │ │ └── system │ │ │ ├── create.blade.php │ │ │ └── index.blade.php │ └── user │ │ ├── _menu.blade.php │ │ ├── common.blade.php │ │ ├── create.blade.php │ │ ├── edit.blade.php │ │ └── index.blade.php │ ├── emails │ ├── comment.blade.php │ └── password.blade.php │ ├── errors │ ├── 404.blade.php │ └── 503.blade.php │ ├── themes │ └── default │ │ ├── about.blade.php │ │ ├── article.blade.php │ │ ├── category.blade.php │ │ ├── index.blade.php │ │ ├── layouts.blade.php │ │ ├── right.blade.php │ │ ├── search.blade.php │ │ └── searchTag.blade.php │ ├── vendor │ ├── .gitkeep │ └── editor │ │ └── head.blade.php │ └── welcome.blade.php ├── server.php ├── storage ├── .gitignore ├── app │ └── .gitignore ├── framework │ ├── .gitignore │ ├── cache │ │ └── .gitignore │ ├── sessions │ │ └── .gitignore │ └── views │ │ └── .gitignore └── logs │ └── .gitignore └── tests ├── ExampleTest.php └── TestCase.php /.env.example: -------------------------------------------------------------------------------- 1 | APP_ENV=local 2 | APP_DEBUG=true 3 | APP_KEY=SomeRandomString 4 | 5 | DB_HOST=localhost 6 | DB_DATABASE=homestead 7 | DB_USERNAME=homestead 8 | DB_PASSWORD=secret 9 | 10 | CACHE_DRIVER=redis 11 | SESSION_DRIVER=file 12 | QUEUE_DRIVER=sync 13 | 14 | MAIL_DRIVER=smtp 15 | MAIL_HOST=mailtrap.io 16 | MAIL_PORT=2525 17 | MAIL_USERNAME=null 18 | MAIL_PASSWORD=null 19 | MAIL_ENCRYPTION=null -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /bootstrap/compiled.php 2 | .env 3 | .idea -------------------------------------------------------------------------------- /app/Console/Commands/Inspire.php: -------------------------------------------------------------------------------- 1 | comment(PHP_EOL.Inspiring::quote().PHP_EOL); 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | command('inspire') 26 | ->hourly(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /app/Events/Event.php: -------------------------------------------------------------------------------- 1 | $userInfo, 31 | 'userArticle'=>$userArticle 32 | ]); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | 5 | * Time: 2015.05.19 下午6:06 6 | */ 7 | namespace App\Http\Controllers\backend; 8 | 9 | use App\Http\Requests; 10 | use App\Http\Controllers\Controller; 11 | use Illuminate\Http\Request; 12 | use EndaEditor; 13 | 14 | class UploadFileController extends Controller 15 | { 16 | 17 | public function postImg() 18 | { 19 | $data = EndaEditor::uploadImgFile('uploads'); 20 | return json_encode($data); 21 | } 22 | 23 | 24 | } -------------------------------------------------------------------------------- /app/Http/Middleware/Authenticate.php: -------------------------------------------------------------------------------- 1 | auth = $auth; 24 | } 25 | 26 | /** 27 | * Handle an incoming request. 28 | * 29 | * @param \Illuminate\Http\Request $request 30 | * @param \Closure $next 31 | * @return mixed 32 | */ 33 | public function handle($request, Closure $next) 34 | { 35 | if ($this->auth->guest()) 36 | { 37 | if ($request->ajax()) 38 | { 39 | return response('Unauthorized.', 401); 40 | } 41 | else 42 | { 43 | return redirect()->guest('backend/auth/login'); 44 | } 45 | } 46 | 47 | return $next($request); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | auth = $auth; 25 | } 26 | 27 | /** 28 | * Handle an incoming request. 29 | * 30 | * @param \Illuminate\Http\Request $request 31 | * @param \Closure $next 32 | * @return mixed 33 | */ 34 | public function handle($request, Closure $next) 35 | { 36 | if ($this->auth->check()) 37 | { 38 | return new RedirectResponse(url('/backend/home')); 39 | } 40 | 41 | return $next($request); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | 4 | * Time: 2015.03.28 下午10:15 5 | */ 6 | namespace App\Http\Requests; 7 | use Illuminate\Foundation\Http\FormRequest; 8 | use Response; 9 | class ArticleForm extends BackendForm 10 | { 11 | public function rules() 12 | { 13 | 14 | return [ 15 | 'cate_id' => 'required', 16 | 'title' => 'required', 17 | 'content' => 'required', 18 | ]; 19 | 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/BackendForm.php: -------------------------------------------------------------------------------- 1 | 4 | * Time: 2015.03.18 下午5:23 5 | */ 6 | namespace App\Http\Requests; 7 | use Illuminate\Foundation\Http\FormRequest; 8 | use Auth; 9 | use Response; 10 | class BackendForm extends FormRequest 11 | { 12 | public function rules() 13 | { 14 | 15 | } 16 | public function authorize() 17 | { 18 | // 只允许登陆用户 19 | return Auth::check(); 20 | } 21 | 22 | // 可选: 重写基类方法 23 | public function forbiddenResponse() 24 | { 25 | // 这个是可选的, 当认证失败时返回自定义的 HTTP 响应. 26 | // (框架默认的行为是带着错误信息返回到起始页面) 27 | // 可以返回 Response 实例, 视图, 重定向或其它信息 28 | return Response::make('Permission denied foo!', 403); 29 | } 30 | 31 | } -------------------------------------------------------------------------------- /app/Http/Requests/CateForm.php: -------------------------------------------------------------------------------- 1 | 4 | * Time: 2015.03.18 下午5:28 5 | */ 6 | namespace App\Http\Requests; 7 | use Illuminate\Foundation\Http\FormRequest; 8 | use Response; 9 | class CateForm extends BackendForm 10 | { 11 | public function rules() 12 | { 13 | 14 | return [ 15 | 'cate_name' => 'required', 16 | 'as_name' => 'required', 17 | 'parent_id' => 'integer', 18 | 'seo_title' => 'required', 19 | 'seo_key' => 'required', 20 | 'seo_desc' => 'required', 21 | ]; 22 | 23 | } 24 | } -------------------------------------------------------------------------------- /app/Http/Requests/Comment.php: -------------------------------------------------------------------------------- 1 | 'required|email', 26 | 'username'=>'required', 27 | 'parent_id'=>'required|numeric', 28 | 'content'=>'required|max:1000', 29 | 'captcha'=>'required', 30 | ]; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /app/Http/Requests/LinksRequest.php: -------------------------------------------------------------------------------- 1 | 'required|integer', 19 | 'name' => 'required', 20 | 'url' => 'required|url', 21 | ]; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /app/Http/Requests/NavigationForm.php: -------------------------------------------------------------------------------- 1 | 4 | * Time: 2015.04.06 下午4:38 5 | */ 6 | namespace App\Http\Requests; 7 | 8 | use Illuminate\Foundation\Http\FormRequest; 9 | use Response; 10 | 11 | class NavigationForm extends BackendForm 12 | { 13 | public function rules() 14 | { 15 | 16 | return [ 17 | 'sequence' => 'required|integer', 18 | 'name' => 'required', 19 | 'url' => 'required|url', 20 | ]; 21 | 22 | } 23 | } -------------------------------------------------------------------------------- /app/Http/Requests/Request.php: -------------------------------------------------------------------------------- 1 | 4 | * Time: 2015.04.06 下午4:38 5 | */ 6 | namespace App\Http\Requests; 7 | use Illuminate\Foundation\Http\FormRequest; 8 | use Response; 9 | class SystemForm extends BackendForm 10 | { 11 | public function rules() 12 | { 13 | 14 | return [ 15 | 'cate' => 'integer', 16 | 'system_name' => 'required', 17 | 'system_value' => 'required', 18 | ]; 19 | 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/TagsForm.php: -------------------------------------------------------------------------------- 1 | 4 | * Time: 2015.04.03 下午10:19 5 | */ 6 | namespace App\Http\Requests; 7 | use Illuminate\Foundation\Http\FormRequest; 8 | use Response; 9 | class TagsForm extends BackendForm{ 10 | 11 | public function rules() 12 | { 13 | 14 | return [ 15 | 'name' => 'required', 16 | ]; 17 | 18 | } 19 | 20 | } -------------------------------------------------------------------------------- /app/Jobs/Command.php: -------------------------------------------------------------------------------- 1 | 4 | */ 5 | namespace App\Model; 6 | 7 | use Illuminate\Database\Eloquent\Model; 8 | 9 | class Links extends Model 10 | { 11 | // 12 | protected $table; 13 | protected $fillable = [ 14 | 'sequence', 15 | 'name', 16 | 'url' 17 | ]; 18 | 19 | /** 20 | * 获取链接列表 21 | * @param int $limit 22 | * @return mixed 23 | */ 24 | public static function getLinkList($limit = 5) 25 | { 26 | return self::orderBy('sequence', 'asc')->limit($limit)->get(); 27 | } 28 | 29 | 30 | } 31 | -------------------------------------------------------------------------------- /app/Model/System.php: -------------------------------------------------------------------------------- 1 | '基本设置', 23 | ]; 24 | 25 | /** 26 | * 获取指定配置值 27 | * @param $field 28 | * @return mixed 29 | */ 30 | public function getSystem($field) 31 | { 32 | return self::select('system_value')->where('system_name', $field)->pluck('system_value'); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- 1 | app->bind( 29 | 'Illuminate\Contracts\Auth\Registrar', 30 | 'App\Services\Registrar' 31 | ); 32 | if ($this->app->environment() == 'local') { 33 | $this->app->register('Laracasts\Generators\GeneratorsServiceProvider'); 34 | } 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /app/Providers/BusServiceProvider.php: -------------------------------------------------------------------------------- 1 | mapUsing(function($command) 17 | { 18 | return Dispatcher::simpleMapping( 19 | $command, 'App\Commands', 'App\Handlers\Commands' 20 | ); 21 | }); 22 | } 23 | 24 | /** 25 | * Register any application services. 26 | * 27 | * @return void 28 | */ 29 | public function register() 30 | { 31 | // 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /app/Providers/ConfigServiceProvider.php: -------------------------------------------------------------------------------- 1 | [ 15 | 'EventListener', 16 | ], 17 | 'App\Events\CommentSendEmail' => [ 18 | 'App\Handlers\Events\CommentSendEmailHandler', 19 | ], 20 | ]; 21 | 22 | /** 23 | * Register any other events for your application. 24 | * 25 | * @param \Illuminate\Contracts\Events\Dispatcher $events 26 | * @return void 27 | */ 28 | public function boot(DispatcherContract $events) 29 | { 30 | parent::boot($events); 31 | 32 | // 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /config/disqus.php: -------------------------------------------------------------------------------- 1 | 4 | * Time: 2015.09.04 上午12:59 5 | */ 6 | 7 | return [ 8 | 'disqus_shortname' => 'you disqus id' // 修改为你的id 9 | ]; -------------------------------------------------------------------------------- /config/editor.php: -------------------------------------------------------------------------------- 1 | '890px', 6 | 'uploadUrl'=>'backend/upload/img' 7 | ]; -------------------------------------------------------------------------------- /config/path.php: -------------------------------------------------------------------------------- 1 | 4 | * Time: 2015.03.17 下午1:56 5 | */ 6 | define('THEMES_NAME','themes'); 7 | define('CONTENT','content.'); 8 | define('SYSTEM','setting.'); 9 | define('USER','user.'); 10 | return [ 11 | 'backendBaseViewPath'=>'backend.', 12 | 'modules'=>[ 13 | 'cate'=>CONTENT.'cate.', 14 | 'article'=>CONTENT.'article.', 15 | 'tags'=>CONTENT.'tags.', 16 | 'system'=>SYSTEM.'system.', 17 | 'navigation'=>SYSTEM.'navigation.', 18 | 'links'=>SYSTEM.'links.', 19 | 'user'=>USER, 20 | 'comment'=>CONTENT.'comment.' 21 | ], 22 | 'class'=>'', 23 | ]; -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => '', 19 | 'secret' => '', 20 | ], 21 | 22 | 'mandrill' => [ 23 | 'secret' => '', 24 | ], 25 | 26 | 'ses' => [ 27 | 'key' => '', 28 | 'secret' => '', 29 | 'region' => 'us-east-1', 30 | ], 31 | 32 | 'stripe' => [ 33 | 'model' => 'User', 34 | 'secret' => '', 35 | ], 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /database/migrations/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/database/migrations/.gitkeep -------------------------------------------------------------------------------- /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', 60); 21 | $table->rememberToken(); 22 | $table->timestamps(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('users'); 34 | } 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'); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::drop('password_resets'); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2015_03_16_082647_create_category_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 19 | $table->string('cate_name')->unique(); 20 | $table->string('as_name')->unique(); 21 | $table->integer('parent_id')->default(0); 22 | $table->string('seo_title'); 23 | $table->string('seo_key'); 24 | $table->string('seo_desc'); 25 | $table->timestamps(); 26 | }); 27 | } 28 | 29 | /** 30 | * Reverse the migrations. 31 | * 32 | * @return void 33 | */ 34 | public function down() 35 | { 36 | // 37 | Schema::drop('category'); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /database/migrations/2015_03_16_083845_create_categories_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->timestamps(); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::drop('categories'); 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /database/migrations/2015_03_26_102914_create_article_status_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 19 | $table->integer('art_id'); 20 | $table->integer('view_number')->default(0); 21 | $table->integer('comment_number')->default(0); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | // 33 | Schema::drop('article_status'); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2015_03_27_025551_remove_article_field_table.php: -------------------------------------------------------------------------------- 1 | dropColumn('keyword'); 19 | $table->dropColumn('desc'); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | // 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2015_03_27_025700_create_tags_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->string('name'); 19 | $table->integer('number')->default(0); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::drop('tags'); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2015_04_03_150623_create_systems_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->integer('cate')->default(0); 19 | $table->string('system_name')->unique(); 20 | $table->string('system_value'); 21 | }); 22 | } 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::drop('systems'); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2015_05_13_093653_add_pic_article_table.php: -------------------------------------------------------------------------------- 1 | string('pic')->nullable()->default(''); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::table('article', function(Blueprint $table) 30 | { 31 | // 32 | $table->dropColumn('pic'); 33 | }); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2015_05_25_062537_add_info_users_table.php: -------------------------------------------------------------------------------- 1 | string('photo')->nullable()->default(''); 19 | $table->string('desc')->nullable(); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::table('users', function(Blueprint $table) 31 | { 32 | // 33 | $table->dropColumn(['photo', 'desc']); 34 | }); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /database/migrations/2015_06_11_080023_create_comments_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->string('username'); 19 | $table->string('email'); 20 | $table->integer('parent_id')->default(0); 21 | $table->text('content'); 22 | $table->timestamps(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('comments'); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2015_07_07_113118_edit_comments_table.php: -------------------------------------------------------------------------------- 1 | integer('type_id')->default(0)->after('id'); 19 | $table->integer('el_id')->after('type_id'); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::table('comments', function(Blueprint $table) 31 | { 32 | $table->dropColumn('type_id'); 33 | $table->dropColumn('el_id'); 34 | }); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /database/migrations/2015_07_13_075347_edit_user_table.php: -------------------------------------------------------------------------------- 1 | text('desc')->change(); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::table('users', function(Blueprint $table) 30 | { 31 | // 32 | $table->string('desc')->change(); 33 | }); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2015_07_18_082904_create_navigation_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->integer('parent_id'); 19 | $table->integer('sequence'); 20 | $table->string('name'); 21 | $table->string('url'); 22 | $table->timestamps(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('navigation'); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2015_09_03_165339_delete_comments_table.php: -------------------------------------------------------------------------------- 1 | dropColumn('comment_number'); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | // 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /database/migrations/2015_11_12_145600_edit_navigation_table.php: -------------------------------------------------------------------------------- 1 | dropColumn('parent_id'); 18 | }); 19 | } 20 | 21 | /** 22 | * Reverse the migrations. 23 | * 24 | * @return void 25 | */ 26 | public function down() 27 | { 28 | Schema::table('navigation', function (Blueprint $table) { 29 | // 30 | $table->integer('parent_id'); 31 | }); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2015_11_13_023030_create_links_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->integer('sequence'); 19 | $table->string('name'); 20 | $table->string('url'); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | // 33 | Schema::drop('links'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/seeds/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/database/seeds/.gitkeep -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call('UserSeeder'); 18 | $this->call('SystemSeeder'); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /database/seeds/UserSeeder.php: -------------------------------------------------------------------------------- 1 | 4 | * Time: 2015.07.19 上午3:28 5 | */ 6 | use Illuminate\Database\Seeder; 7 | use App\Services\Registrar; 8 | class UserSeeder extends Seeder{ 9 | public function run(){ 10 | $data = [ 11 | 'name' => 'admin', 12 | 'email' => 'admin@admin.com', 13 | 'password' =>'123456', 14 | 'desc'=>'管理员' 15 | ]; 16 | $register = new Registrar(); 17 | $register->create($data); 18 | } 19 | } -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | var elixir = require('laravel-elixir'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Elixir Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Elixir provides a clean, fluent API for defining some basic Gulp tasks 9 | | for your Laravel application. By default, we are compiling the Less 10 | | file for our application, as well as publishing vendor resources. 11 | | 12 | */ 13 | 14 | elixir(function(mix) { 15 | mix.less('app.less'); 16 | }); 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "devDependencies": { 4 | "gulp": "^3.8.8", 5 | "laravel-elixir": "*" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /phpspec.yml: -------------------------------------------------------------------------------- 1 | suites: 2 | main: 3 | namespace: App 4 | psr4_prefix: App 5 | src_path: app -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | ./tests/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Redirect Trailing Slashes... 9 | RewriteRule ^(.*)/$ /$1 [L,R=301] 10 | 11 | # Handle Front Controller... 12 | RewriteCond %{REQUEST_FILENAME} !-d 13 | RewriteCond %{REQUEST_FILENAME} !-f 14 | RewriteRule ^ index.php [L] 15 | 16 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/favicon.ico -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /public/images/01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/images/01.jpg -------------------------------------------------------------------------------- /public/plugin/editor/images/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/editor/images/code.png -------------------------------------------------------------------------------- /public/plugin/editor/images/editor@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/editor/images/editor@2x.png -------------------------------------------------------------------------------- /public/plugin/editor/images/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/editor/images/loader.gif -------------------------------------------------------------------------------- /public/plugin/editor/images/pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/editor/images/pattern.png -------------------------------------------------------------------------------- /public/plugin/editor/images/tar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/editor/images/tar.png -------------------------------------------------------------------------------- /public/plugin/editor/images/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/editor/images/top.png -------------------------------------------------------------------------------- /public/plugin/editor/images/zip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/editor/images/zip.png -------------------------------------------------------------------------------- /public/plugin/editor/js/template.js: -------------------------------------------------------------------------------- 1 | /** 2 | * temp.js 3 | * 一个简单的模板填充工具,使用twig的语法 4 | * @param {string}template 模板字符串 5 | * @param {json}data 填充的数据 6 | * @return {string} 返回拼接后的字符串 7 | * @author integ@segmentfault.com 8 | **/ 9 | 10 | define(['jquery'], function($){ 11 | 'use strict'; 12 | return function(template, data) { 13 | var str = template || ''; 14 | // Convert the template into string 15 | $.each(data, function(key, val){ 16 | var _type = typeof val, 17 | re = new RegExp('{{\\s*' + key + '\\s*}}', 'g'); 18 | if (_type === 'object' && val !== null){ 19 | $.each(val, function(k, v){ 20 | var r = new RegExp('{{\\s*' + key + '.' + k + '\\s*}}', 'g'); 21 | str = str.replace(r, v); 22 | }); 23 | } else { 24 | str = str.replace(re, val); 25 | } 26 | }); 27 | return str; 28 | }; 29 | }); 30 | -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /public/plugin/tags/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/plugin/tags/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /public/themes/default/css/sections/article.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/css/sections/article.css -------------------------------------------------------------------------------- /public/themes/default/fonts/codropsicons/codropsicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/fonts/codropsicons/codropsicons.eot -------------------------------------------------------------------------------- /public/themes/default/fonts/codropsicons/codropsicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/fonts/codropsicons/codropsicons.ttf -------------------------------------------------------------------------------- /public/themes/default/fonts/codropsicons/codropsicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/fonts/codropsicons/codropsicons.woff -------------------------------------------------------------------------------- /public/themes/default/fonts/codropsicons/license.txt: -------------------------------------------------------------------------------- 1 | Icon Set: Font Awesome -- http://fortawesome.github.com/Font-Awesome/ 2 | License: SIL -- http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | 4 | 5 | Icon Set: Eco Ico -- http://dribbble.com/shots/665585-Eco-Ico 6 | License: CC0 -- http://creativecommons.org/publicdomain/zero/1.0/ -------------------------------------------------------------------------------- /public/themes/default/fonts/font-awesome-4.2.0/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/fonts/font-awesome-4.2.0/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /public/themes/default/fonts/font-awesome-4.2.0/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/fonts/font-awesome-4.2.0/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /public/themes/default/fonts/font-awesome-4.2.0/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/fonts/font-awesome-4.2.0/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /public/themes/default/images/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/header.jpg -------------------------------------------------------------------------------- /public/themes/default/images/ico/120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/ico/120.png -------------------------------------------------------------------------------- /public/themes/default/images/ico/152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/ico/152.png -------------------------------------------------------------------------------- /public/themes/default/images/ico/32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/ico/32.png -------------------------------------------------------------------------------- /public/themes/default/images/ico/60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/ico/60.png -------------------------------------------------------------------------------- /public/themes/default/images/ico/72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/ico/72.png -------------------------------------------------------------------------------- /public/themes/default/images/line-transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/line-transparent.png -------------------------------------------------------------------------------- /public/themes/default/images/magnifier.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /public/themes/default/images/octicons-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/octicons-bg.png -------------------------------------------------------------------------------- /public/themes/default/images/octocat-spinner-16px.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/octocat-spinner-16px.gif -------------------------------------------------------------------------------- /public/themes/default/images/octocat-spinner-32-EAF2F5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/octocat-spinner-32-EAF2F5.gif -------------------------------------------------------------------------------- /public/themes/default/images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/images/search.png -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "version": "2.1.4", 4 | "main": "dist/jquery.js", 5 | "license": "MIT", 6 | "ignore": [ 7 | "**/.*", 8 | "build", 9 | "dist/cdn", 10 | "speed", 11 | "test", 12 | "*.md", 13 | "AUTHORS.txt", 14 | "Gruntfile.js", 15 | "package.json" 16 | ], 17 | "devDependencies": { 18 | "sizzle": "2.1.1-jquery.2.1.2", 19 | "requirejs": "2.1.10", 20 | "qunit": "1.14.0", 21 | "sinon": "1.8.1" 22 | }, 23 | "keywords": [ 24 | "jquery", 25 | "javascript", 26 | "library" 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/ajax/parseJSON.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Support: Android 2.3 6 | // Workaround failure to string-cast null input 7 | jQuery.parseJSON = function( data ) { 8 | return JSON.parse( data + "" ); 9 | }; 10 | 11 | return jQuery.parseJSON; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/ajax/parseXML.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Cross-browser xml parsing 6 | jQuery.parseXML = function( data ) { 7 | var xml, tmp; 8 | if ( !data || typeof data !== "string" ) { 9 | return null; 10 | } 11 | 12 | // Support: IE9 13 | try { 14 | tmp = new DOMParser(); 15 | xml = tmp.parseFromString( data, "text/xml" ); 16 | } catch ( e ) { 17 | xml = undefined; 18 | } 19 | 20 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { 21 | jQuery.error( "Invalid XML: " + data ); 22 | } 23 | return xml; 24 | }; 25 | 26 | return jQuery.parseXML; 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/ajax/var/nonce.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core" 3 | ], function( jQuery ) { 4 | return jQuery.now(); 5 | }); 6 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/ajax/var/rquery.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/\?/); 3 | }); 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/attributes.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./attributes/attr", 4 | "./attributes/prop", 5 | "./attributes/classes", 6 | "./attributes/val" 7 | ], function( jQuery ) { 8 | 9 | // Return jQuery for attributes-only inclusion 10 | return jQuery; 11 | }); 12 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/core/var/rsingleTag.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // Match a standalone tag 3 | return (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); 4 | }); 5 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/css/addGetHookIf.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | 3 | function addGetHookIf( conditionFn, hookFn ) { 4 | // Define the hook, we'll check on the first run if it's really needed. 5 | return { 6 | get: function() { 7 | if ( conditionFn() ) { 8 | // Hook not needed (or it's not possible to use it due 9 | // to missing dependency), remove it. 10 | delete this.get; 11 | return; 12 | } 13 | 14 | // Hook needed; redefine it so that the support test is not executed again. 15 | return (this.get = hookFn).apply( this, arguments ); 16 | } 17 | }; 18 | } 19 | 20 | return addGetHookIf; 21 | 22 | }); 23 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/css/hiddenVisibleSelectors.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../selector" 4 | ], function( jQuery ) { 5 | 6 | jQuery.expr.filters.hidden = function( elem ) { 7 | // Support: Opera <= 12.12 8 | // Opera reports offsetWidths and offsetHeights less than zero on some elements 9 | return elem.offsetWidth <= 0 && elem.offsetHeight <= 0; 10 | }; 11 | jQuery.expr.filters.visible = function( elem ) { 12 | return !jQuery.expr.filters.hidden( elem ); 13 | }; 14 | 15 | }); 16 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/css/swap.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // A method for quickly swapping in/out CSS properties to get correct calculations. 6 | jQuery.swap = function( elem, options, callback, args ) { 7 | var ret, name, 8 | old = {}; 9 | 10 | // Remember the old values, and insert the new ones 11 | for ( name in options ) { 12 | old[ name ] = elem.style[ name ]; 13 | elem.style[ name ] = options[ name ]; 14 | } 15 | 16 | ret = callback.apply( elem, args || [] ); 17 | 18 | // Revert the old values 19 | for ( name in options ) { 20 | elem.style[ name ] = old[ name ]; 21 | } 22 | 23 | return ret; 24 | }; 25 | 26 | return jQuery.swap; 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/css/var/cssExpand.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return [ "Top", "Right", "Bottom", "Left" ]; 3 | }); 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/css/var/getStyles.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return function( elem ) { 3 | // Support: IE<=11+, Firefox<=30+ (#15098, #14150) 4 | // IE throws on elements created in popups 5 | // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" 6 | if ( elem.ownerDocument.defaultView.opener ) { 7 | return elem.ownerDocument.defaultView.getComputedStyle( elem, null ); 8 | } 9 | 10 | return window.getComputedStyle( elem, null ); 11 | }; 12 | }); 13 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/css/var/isHidden.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core", 3 | "../../selector" 4 | // css is assumed 5 | ], function( jQuery ) { 6 | 7 | return function( elem, el ) { 8 | // isHidden might be called from jQuery#filter function; 9 | // in that case, element will be second argument 10 | elem = el || elem; 11 | return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); 12 | }; 13 | }); 14 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/css/var/rmargin.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/^margin/); 3 | }); 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/css/var/rnumnonpx.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../var/pnum" 3 | ], function( pnum ) { 4 | return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 5 | }); 6 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/data/accepts.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | /** 6 | * Determines whether an object can have data 7 | */ 8 | jQuery.acceptData = function( owner ) { 9 | // Accepts only: 10 | // - Node 11 | // - Node.ELEMENT_NODE 12 | // - Node.DOCUMENT_NODE 13 | // - Object 14 | // - Any 15 | /* jshint -W018 */ 16 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 17 | }; 18 | 19 | return jQuery.acceptData; 20 | }); 21 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/data/var/data_priv.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | }); 6 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/data/var/data_user.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | }); 6 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/deprecated.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./traversing" 4 | ], function( jQuery ) { 5 | 6 | // The number of elements contained in the matched element set 7 | jQuery.fn.size = function() { 8 | return this.length; 9 | }; 10 | 11 | jQuery.fn.andSelf = jQuery.fn.addBack; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/effects/animatedSelector.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../selector", 4 | "../effects" 5 | ], function( jQuery ) { 6 | 7 | jQuery.expr.filters.animated = function( elem ) { 8 | return jQuery.grep(jQuery.timers, function( fn ) { 9 | return elem === fn.elem; 10 | }).length; 11 | }; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/event/ajax.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../event" 4 | ], function( jQuery ) { 5 | 6 | // Attach a bunch of functions for handling common AJAX events 7 | jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) { 8 | jQuery.fn[ type ] = function( fn ) { 9 | return this.on( type, fn ); 10 | }; 11 | }); 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/event/support.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | support.focusinBubbles = "onfocusin" in window; 6 | 7 | return support; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/exports/global.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../var/strundefined" 4 | ], function( jQuery, strundefined ) { 5 | 6 | var 7 | // Map over jQuery in case of overwrite 8 | _jQuery = window.jQuery, 9 | 10 | // Map over the $ in case of overwrite 11 | _$ = window.$; 12 | 13 | jQuery.noConflict = function( deep ) { 14 | if ( window.$ === jQuery ) { 15 | window.$ = _$; 16 | } 17 | 18 | if ( deep && window.jQuery === jQuery ) { 19 | window.jQuery = _jQuery; 20 | } 21 | 22 | return jQuery; 23 | }; 24 | 25 | // Expose jQuery and $ identifiers, even in AMD 26 | // (#7102#comment:10, https://github.com/jquery/jquery/pull/557) 27 | // and CommonJS for browser emulators (#13566) 28 | if ( typeof noGlobal === strundefined ) { 29 | window.jQuery = window.$ = jQuery; 30 | } 31 | 32 | }); 33 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/jquery.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./selector", 4 | "./traversing", 5 | "./callbacks", 6 | "./deferred", 7 | "./core/ready", 8 | "./data", 9 | "./queue", 10 | "./queue/delay", 11 | "./attributes", 12 | "./event", 13 | "./event/alias", 14 | "./manipulation", 15 | "./manipulation/_evalUrl", 16 | "./wrap", 17 | "./css", 18 | "./css/hiddenVisibleSelectors", 19 | "./serialize", 20 | "./ajax", 21 | "./ajax/xhr", 22 | "./ajax/script", 23 | "./ajax/jsonp", 24 | "./ajax/load", 25 | "./event/ajax", 26 | "./effects", 27 | "./effects/animatedSelector", 28 | "./offset", 29 | "./dimensions", 30 | "./deprecated", 31 | "./exports/amd", 32 | "./exports/global" 33 | ], function( jQuery ) { 34 | 35 | return jQuery; 36 | 37 | }); 38 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/manipulation/_evalUrl.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../ajax" 3 | ], function( jQuery ) { 4 | 5 | jQuery._evalUrl = function( url ) { 6 | return jQuery.ajax({ 7 | url: url, 8 | type: "GET", 9 | dataType: "script", 10 | async: false, 11 | global: false, 12 | "throws": true 13 | }); 14 | }; 15 | 16 | return jQuery._evalUrl; 17 | 18 | }); 19 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/manipulation/var/rcheckableType.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/^(?:checkbox|radio)$/i); 3 | }); 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | })); 2 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/queue/delay.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../queue", 4 | "../effects" // Delay is optional because of this dependency 5 | ], function( jQuery ) { 6 | 7 | // Based off of the plugin by Clint Helfers, with permission. 8 | // http://blindsignals.com/index.php/2009/07/jquery-delay/ 9 | jQuery.fn.delay = function( time, type ) { 10 | time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; 11 | type = type || "fx"; 12 | 13 | return this.queue( type, function( next, hooks ) { 14 | var timeout = setTimeout( next, time ); 15 | hooks.stop = function() { 16 | clearTimeout( timeout ); 17 | }; 18 | }); 19 | }; 20 | 21 | return jQuery.fn.delay; 22 | }); 23 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/selector-sizzle.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "sizzle" 4 | ], function( jQuery, Sizzle ) { 5 | 6 | jQuery.find = Sizzle; 7 | jQuery.expr = Sizzle.selectors; 8 | jQuery.expr[":"] = jQuery.expr.pseudos; 9 | jQuery.unique = Sizzle.uniqueSort; 10 | jQuery.text = Sizzle.getText; 11 | jQuery.isXMLDoc = Sizzle.isXML; 12 | jQuery.contains = Sizzle.contains; 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/selector.js: -------------------------------------------------------------------------------- 1 | define([ "./selector-sizzle" ]); 2 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/traversing/var/rneedsContext.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core", 3 | "../../selector" 4 | ], function( jQuery ) { 5 | return jQuery.expr.match.needsContext; 6 | }); 7 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/arr.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return []; 3 | }); 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/class2type.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // [[Class]] -> type pairs 3 | return {}; 4 | }); 5 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/concat.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.concat; 5 | }); 6 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/hasOwn.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.hasOwnProperty; 5 | }); 6 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/indexOf.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.indexOf; 5 | }); 6 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/pnum.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; 3 | }); 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/push.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.push; 5 | }); 6 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/rnotwhite.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/\S+/g); 3 | }); 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/slice.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.slice; 5 | }); 6 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/strundefined.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return typeof undefined; 3 | }); 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/support.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // All support tests are defined in their respective modules. 3 | return {}; 4 | }); 5 | -------------------------------------------------------------------------------- /public/themes/default/vendor/jquery/src/var/toString.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.toString; 5 | }); 6 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | The contents of */octicons* */svg* are generated by an automated process. Changes to these files may be accepted, but may also be overwritten. 2 | 3 | Octicons is GitHub's icon font. At this time, new icons will only add icons when they are needed for GitHub products. 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/LICENSE.txt: -------------------------------------------------------------------------------- 1 | (c) 2012-2015 GitHub 2 | 3 | When using the GitHub logos, be sure to follow the GitHub logo guidelines (https://github.com/logos) 4 | 5 | Font License: SIL OFL 1.1 (http://scripts.sil.org/OFL) 6 | Applies to all font files 7 | 8 | Code License: MIT (http://choosealicense.com/licenses/mit/) 9 | Applies to all other files 10 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "octicons", 3 | "description": "GitHub's icon font", 4 | "license": [ 5 | "OFL-1.1", 6 | "MIT" 7 | ], 8 | "homepage": "https://octicons.github.com", 9 | "authors": [ 10 | "GitHub " 11 | ], 12 | "main": [ 13 | "octicons/sprockets-octicons.scss", 14 | "octicons/octicons.eot", 15 | "octicons/octicons.svg", 16 | "octicons/octicons.ttf", 17 | "octicons/octicons.woff" 18 | ], 19 | "keywords": [ 20 | "GitHub", 21 | "icons", 22 | "font", 23 | "web font", 24 | "icon font" 25 | ], 26 | "ignore": [ 27 | "**/.*", 28 | "bower_components" 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/octicons/README.md: -------------------------------------------------------------------------------- 1 | If you intend to install Octicons locally, install `octicons-local.ttf`. It should appear as “github-octicons” in your font list. It is specially designed not to conflict with GitHub's web fonts. 2 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/octicons/octicons-local.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/vendor/octicons/octicons/octicons-local.ttf -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/octicons/octicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/vendor/octicons/octicons/octicons.eot -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/octicons/octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/vendor/octicons/octicons/octicons.ttf -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/octicons/octicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/vendor/octicons/octicons/octicons.woff -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "octicons", 3 | "version": "3.1.0", 4 | "description": "GitHub's icon font", 5 | "main": "README.md", 6 | "repository": { 7 | "type": "git", 8 | "url": "https://github.com/github/octicons.git" 9 | }, 10 | "keywords": [ 11 | "GitHub", 12 | "icons", 13 | "font", 14 | "web font", 15 | "icon font" 16 | ], 17 | "author": "GitHub ", 18 | "license": "SIL OFL 1.1, MIT", 19 | "bugs": { 20 | "url": "https://github.com/github/octicons/issues" 21 | }, 22 | "homepage": "https://octicons.github.com" 23 | } 24 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/alert.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/arrow-down.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/arrow-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/arrow-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/arrow-small-down.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/arrow-small-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/arrow-small-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/arrow-small-up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/arrow-up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/beaker.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/bell.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/book.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/bookmark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/briefcase.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/broadcast.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/browser.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/bug.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/calendar.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/check.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/checklist.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/chevron-down.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/chevron-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/chevron-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/chevron-up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/circle-slash.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/circuit-board.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/clippy.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/clock.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/cloud-download.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/cloud-upload.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/code.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/color-mode.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/comment-discussion.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/comment.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/credit-card.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/dash.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/dashboard.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/database.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/desktop-download.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/device-camera-video.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/device-camera.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/device-desktop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/device-mobile.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/diff-added.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/diff-ignored.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/diff-modified.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/diff-removed.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/diff-renamed.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/diff.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/ellipsis.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/eye.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/file-binary.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/file-code.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/file-directory.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/file-media.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/file-pdf.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/file-submodule.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/file-symlink-directory.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/file-symlink-file.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/file-text.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/file-zip.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/flame.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/fold.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/gear.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/gift.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/gist-secret.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/gist.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/git-branch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/git-commit.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/git-compare.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/git-merge.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/git-pull-request.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/graph.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/heart.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/history.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/home.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/horizontal-rule.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/hubot.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/inbox.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/info.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/issue-closed.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/issue-opened.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/issue-reopened.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/jersey.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/key.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/keyboard.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/law.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/light-bulb.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/link-external.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/link.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/list-ordered.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/list-unordered.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/location.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/lock.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/mail-read.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/mail-reply.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/mail.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/markdown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/megaphone.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/milestone.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/mirror.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/mortar-board.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/mute.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/no-newline.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/organization.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/package.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/paintcan.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/pencil.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/person.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/pin.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/plug.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/plus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/primitive-dot.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/primitive-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/pulse.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/question.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/quote.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/repo-clone.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/repo-force-push.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/repo-forked.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/repo-pull.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/repo-push.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/repo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/rocket.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/rss.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/ruby.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/screen-full.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/screen-normal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/search.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/server.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/settings.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/shield.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/sign-in.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/sign-out.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/squirrel.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/star.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/stop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/sync.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/tag.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/telescope.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/terminal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/three-bars.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/thumbsdown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/thumbsup.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/tools.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/trashcan.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/triangle-down.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/triangle-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/triangle-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/triangle-up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/unfold.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/unmute.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/versions.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/watch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/octicons/svg/zap.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-css/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "primer-css", 3 | "version": "2.1.0", 4 | "ignore": [ 5 | "docs/", 6 | ".gitignore", 7 | ".hound.yml", 8 | ".scss-lint.yml", 9 | "_config.yml", 10 | "Gemfile", 11 | "Gemfile.lock", 12 | "Gruntfile.js" 13 | ], 14 | "main": [ 15 | "scss/primer.scss" 16 | ], 17 | "dependencies": { 18 | "octicons": "*", 19 | "primer-markdown": "https://github.com/primer/markdown.git#2.1.7" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-css/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "primer", 3 | "version": "2.1.0", 4 | "homepage": "http://primercss.io", 5 | "author": "GitHub, Inc.", 6 | "scss": "./scss/primer.scss", 7 | "repository": { 8 | "type": "git", 9 | "url": "https://github.com/primer/primer.git" 10 | }, 11 | "devDependencies": { 12 | "grunt": "~0.4.5", 13 | "grunt-autoprefixer": "~2.2.0", 14 | "grunt-build-control": "~0.2.0", 15 | "grunt-jekyll": "~0.4.2", 16 | "grunt-parker": "~0.1.0", 17 | "grunt-sass": "~0.18.0", 18 | "grunt-contrib-watch": "~0.6.1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-css/scss/_avatars.scss: -------------------------------------------------------------------------------- 1 | .avatar { 2 | display: inline-block; 3 | overflow: hidden; // Ensure page layout in Firefox should images fail to load 4 | line-height: 1; 5 | vertical-align: middle; 6 | border-radius: 3px; 7 | } 8 | 9 | .avatar-small { border-radius: 2px; } 10 | 11 | .avatar-link { 12 | float: left; 13 | line-height: 1; 14 | } 15 | 16 | // User for example on /stars and /user for grids of avatars 17 | .avatar-group-item { 18 | display: inline-block; 19 | margin-bottom: 3px; 20 | } 21 | 22 | // .avatar-parent-child is when you see a small avatar at the bottom right 23 | // corner of a larger avatar. 24 | // 25 | // No Styleguide version 26 | .avatar-parent-child { 27 | position: relative; 28 | } 29 | 30 | .avatar-child { 31 | position: absolute; 32 | right: -15%; 33 | bottom: -9%; 34 | border-radius: 2px; 35 | box-shadow: -2px -2px 0 rgba(255, 255, 255, 0.8); 36 | } 37 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-css/scss/_base.scss: -------------------------------------------------------------------------------- 1 | * { 2 | box-sizing: border-box; 3 | } 4 | 5 | input, 6 | select, 7 | textarea, 8 | button { 9 | font: #{$body-font-size}/1.4 $body-font; 10 | } 11 | 12 | body { 13 | font: #{$body-font-size}/1.4 $body-font; 14 | color: $brand-gray-dark; 15 | background-color: #fff; 16 | } 17 | 18 | a { 19 | color: $brand-blue; 20 | text-decoration: none; 21 | 22 | &:hover, 23 | &:active { 24 | text-decoration: underline; 25 | } 26 | } 27 | 28 | // Horizontal lines 29 | // 30 | // TODO-MDO: Remove `.rule` from everywhere and replace with `
`s 31 | hr, 32 | .rule { 33 | height: 0; 34 | margin: 15px 0; 35 | overflow: hidden; 36 | background: transparent; 37 | border: 0; 38 | border-bottom: 1px solid #ddd; 39 | @include clearfix(); 40 | } 41 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-css/scss/_counter.scss: -------------------------------------------------------------------------------- 1 | .counter { 2 | display: inline-block; 3 | padding: 2px 5px; 4 | font-size: 11px; 5 | font-weight: bold; 6 | line-height: 1; 7 | color: #777; 8 | background-color: #eee; 9 | border-radius: 20px; 10 | } 11 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-css/scss/_flex-table.scss: -------------------------------------------------------------------------------- 1 | // Flex table is a module for creating dynamically resizable elements that 2 | // always sit on the same horizontal line (e.g., they never wrap). Using 3 | // tables means it's cross browser friendly. 4 | 5 | .flex-table { 6 | display: table; 7 | } 8 | 9 | // Place this on every "cell" 10 | .flex-table-item { 11 | display: table-cell; 12 | width: 1%; 13 | white-space: nowrap; 14 | vertical-align: middle; 15 | } 16 | 17 | // Place this on the largest or most important "cell" 18 | .flex-table-item-primary { 19 | width: 99%; 20 | } 21 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-css/scss/_states.scss: -------------------------------------------------------------------------------- 1 | // A rounded corner box containing a label "open" or "closed" 2 | // Without a state it is grey. 3 | // 4 | // open - green background 5 | // reopened - green background 6 | // closed - red background 7 | // merged - purple background 8 | // renamed - orange background 9 | // 10 | // No styleguide reference 11 | .state { 12 | display: inline-block; 13 | padding: 4px 8px; 14 | font-weight: bold; 15 | line-height: 20px; 16 | color: #fff; 17 | text-align: center; 18 | border-radius: 3px; 19 | background-color: #999; 20 | } 21 | 22 | .state-open, 23 | .state-proposed, 24 | .state-reopened { 25 | background-color: $status-open; 26 | } 27 | 28 | .state-merged { background-color: $status-merged; } 29 | 30 | .state-closed { background-color: $status-closed; } 31 | 32 | .state-renamed { background-color: $status-renamed; } 33 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-css/scss/_truncate.scss: -------------------------------------------------------------------------------- 1 | // Truncate 2 | // 3 | // css-truncate will shorten text with an ellipsis. 4 | 5 | .css-truncate { 6 | // Truncate double target 7 | // 8 | // css-truncate will shorten text with an ellipsis. The maximum width 9 | // of the truncated text can be changed by overriding the max-width 10 | // of the .css-truncate-target 11 | &.css-truncate-target, 12 | .css-truncate-target { 13 | display: inline-block; 14 | max-width: 125px; 15 | overflow: hidden; 16 | text-overflow: ellipsis; 17 | white-space: nowrap; 18 | vertical-align: top; 19 | } 20 | 21 | &.expandable.zeroclipboard-is-hover .css-truncate-target, 22 | &.expandable.zeroclipboard-is-hover.css-truncate-target, 23 | &.expandable:hover .css-truncate-target, 24 | &.expandable:hover.css-truncate-target { 25 | max-width: 10000px !important; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-css/scss/primer.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Primer 3 | * http://primercss.io 4 | * 5 | * Released under MIT license. Copyright 2015 GitHub, Inc. 6 | */ 7 | 8 | // Primer master file 9 | // 10 | // Imports all Primer files in their intended order for easy mass-inclusion. 11 | // Should you need specific files, you can easily use separate `@import`s. 12 | 13 | // Global requirements 14 | @import "variables"; 15 | @import "mixins"; 16 | 17 | // Basecoat 18 | @import "normalize"; 19 | @import "base"; 20 | @import "type"; 21 | @import "layout"; 22 | @import "forms"; 23 | @import "utility"; 24 | 25 | // Components 26 | @import "alerts"; 27 | @import "avatars"; 28 | @import "blankslate"; 29 | @import "counter"; 30 | @import "buttons"; 31 | @import "menu"; 32 | @import "tabnav"; 33 | @import "filter-list"; 34 | @import "states"; 35 | @import "tooltips"; 36 | 37 | // Utilities 38 | @import "flex-table"; 39 | @import "truncate"; 40 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-markdown/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "primer-user-content", 3 | "keywords": [ 4 | "github", 5 | "markdown", 6 | "css" 7 | ], 8 | "main": [ 9 | "dist/github-markdown.css" 10 | ], 11 | "ignore": [ 12 | "**/.*", 13 | "*.js", 14 | "README.md", 15 | "Gruntfile.js", 16 | "package.json", 17 | "render-test.md" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /public/themes/default/vendor/primer-markdown/components/user-content.scss: -------------------------------------------------------------------------------- 1 | @import "primer-user-content/components/markdown"; 2 | -------------------------------------------------------------------------------- /public/themes/default/vendor/share.js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "share.js", 3 | "main": "share.js", 4 | "version": "0.0.0", 5 | "homepage": "https://github.com/overtrue/share.js", 6 | "authors": [ 7 | "overtrue " 8 | ], 9 | "description": "分享链接到中国的社交网站的jQuery插件", 10 | "keywords": [ 11 | "share", 12 | "SNS" 13 | ], 14 | "license": "MIT", 15 | "ignore": [ 16 | "**/.*", 17 | "node_modules", 18 | "bower_components", 19 | "test", 20 | "tests" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /public/themes/default/vendor/share.js/dist/fonts/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/vendor/share.js/dist/fonts/iconfont.eot -------------------------------------------------------------------------------- /public/themes/default/vendor/share.js/dist/fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/vendor/share.js/dist/fonts/iconfont.ttf -------------------------------------------------------------------------------- /public/themes/default/vendor/share.js/dist/fonts/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/vendor/share.js/dist/fonts/iconfont.woff -------------------------------------------------------------------------------- /public/themes/default/vendor/share.js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "event-stream": "^3.1.5", 4 | "del": "1.1.1", 5 | "gulp": "^3.5.6", 6 | "gulp-autoprefixer": "0.0.6", 7 | "gulp-combine-media-queries": "0.0.1", 8 | "gulp-concat": "^2.2.0", 9 | "gulp-cssmin": "^0.1.5", 10 | "gulp-load-plugins": "^0.4.0", 11 | "gulp-rename": "^1.2.0", 12 | "gulp-ruby-sass": "^0.4.0", 13 | "gulp-size": "^0.3.1", 14 | "gulp-uglify": "^0.2.1", 15 | "gulp-util": "^2.2.14", 16 | "gulp-notify": "2.2.0", 17 | "gulp-imagemin":"2.2.1", 18 | "gulp-livereload": "^3.8.0" 19 | } 20 | } -------------------------------------------------------------------------------- /public/themes/default/vendor/share.js/src/fonts/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/vendor/share.js/src/fonts/iconfont.eot -------------------------------------------------------------------------------- /public/themes/default/vendor/share.js/src/fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/vendor/share.js/src/fonts/iconfont.ttf -------------------------------------------------------------------------------- /public/themes/default/vendor/share.js/src/fonts/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/themes/default/vendor/share.js/src/fonts/iconfont.woff -------------------------------------------------------------------------------- /public/uploads/08dc9d7030faeb72d25025726697e964.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/08dc9d7030faeb72d25025726697e964.jpg -------------------------------------------------------------------------------- /public/uploads/15662d41db447356184a15bae7a1b9cd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/15662d41db447356184a15bae7a1b9cd.jpg -------------------------------------------------------------------------------- /public/uploads/156abb9c7a5453484bda11d168e6dfb3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/156abb9c7a5453484bda11d168e6dfb3.jpg -------------------------------------------------------------------------------- /public/uploads/1a2db941bb1f8806483fac0abb52d83f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/1a2db941bb1f8806483fac0abb52d83f.jpg -------------------------------------------------------------------------------- /public/uploads/207c43a5757ebc400af2e1ab9b9d842a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/207c43a5757ebc400af2e1ab9b9d842a.jpg -------------------------------------------------------------------------------- /public/uploads/27e00c7d29dc544e9e1af29dd054561b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/27e00c7d29dc544e9e1af29dd054561b.jpg -------------------------------------------------------------------------------- /public/uploads/2aea83d209ec8cc55e9e7177e252e619.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/2aea83d209ec8cc55e9e7177e252e619.jpg -------------------------------------------------------------------------------- /public/uploads/30566dbade81f76a30a0d62b250015e6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/30566dbade81f76a30a0d62b250015e6.jpg -------------------------------------------------------------------------------- /public/uploads/3e1fb01fe0fcce93ce82156b5faa85a7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/3e1fb01fe0fcce93ce82156b5faa85a7.jpg -------------------------------------------------------------------------------- /public/uploads/44fd95b47c8f75cd53cd9f06d959b24f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/44fd95b47c8f75cd53cd9f06d959b24f.jpg -------------------------------------------------------------------------------- /public/uploads/4615ccec36a92ed994da1bb130c1b437.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/4615ccec36a92ed994da1bb130c1b437.jpg -------------------------------------------------------------------------------- /public/uploads/463468428b91d470b0bc6bc05146b5e4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/463468428b91d470b0bc6bc05146b5e4.jpg -------------------------------------------------------------------------------- /public/uploads/47abf3c660277c187ac66594b1987f00.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/47abf3c660277c187ac66594b1987f00.jpg -------------------------------------------------------------------------------- /public/uploads/482877d20185a53da571e0cbfe8df23b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/482877d20185a53da571e0cbfe8df23b.jpg -------------------------------------------------------------------------------- /public/uploads/4a4bdc8e974fe986981af32ca1f962ed.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/4a4bdc8e974fe986981af32ca1f962ed.jpg -------------------------------------------------------------------------------- /public/uploads/4fa3680e44501e9e44b8b2f6c9404880.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/4fa3680e44501e9e44b8b2f6c9404880.jpg -------------------------------------------------------------------------------- /public/uploads/5015169a523bb0feac25eaa5c9b487fb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/5015169a523bb0feac25eaa5c9b487fb.jpg -------------------------------------------------------------------------------- /public/uploads/50b71d419e67a0f95e2ce18f2eaad4ae.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/50b71d419e67a0f95e2ce18f2eaad4ae.jpg -------------------------------------------------------------------------------- /public/uploads/547824293c5976fd3d1e472cc39455a7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/547824293c5976fd3d1e472cc39455a7.jpg -------------------------------------------------------------------------------- /public/uploads/5847d6dddab46b4b63316ab1e22b3ecd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/5847d6dddab46b4b63316ab1e22b3ecd.jpg -------------------------------------------------------------------------------- /public/uploads/608c532872ed2030ec43ece4f79d9d0b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/608c532872ed2030ec43ece4f79d9d0b.jpg -------------------------------------------------------------------------------- /public/uploads/60dd73bac97877338fa07f2ff114c771.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/60dd73bac97877338fa07f2ff114c771.jpg -------------------------------------------------------------------------------- /public/uploads/64a87264b86f9036878f5c9bf086b10c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/64a87264b86f9036878f5c9bf086b10c.jpg -------------------------------------------------------------------------------- /public/uploads/6817acce553d430ad4c5a222fe9bc67f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/6817acce553d430ad4c5a222fe9bc67f.jpg -------------------------------------------------------------------------------- /public/uploads/6d2d8f4d5ffb4e659d143884cbdfbef2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/6d2d8f4d5ffb4e659d143884cbdfbef2.jpg -------------------------------------------------------------------------------- /public/uploads/6e16f984697944c6806445b085670189.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/6e16f984697944c6806445b085670189.jpg -------------------------------------------------------------------------------- /public/uploads/7ef2a82eaba8ac541c7220c78c395a5b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/7ef2a82eaba8ac541c7220c78c395a5b.png -------------------------------------------------------------------------------- /public/uploads/8b633abd41074890ac789b6276e11f53.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/8b633abd41074890ac789b6276e11f53.jpg -------------------------------------------------------------------------------- /public/uploads/8dfca7790e5537176946c76cc1013c9e.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/8dfca7790e5537176946c76cc1013c9e.jpg -------------------------------------------------------------------------------- /public/uploads/9136796a622fec231188e9298f4d7bb0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/9136796a622fec231188e9298f4d7bb0.jpg -------------------------------------------------------------------------------- /public/uploads/a7979cb572cb2769b16d328ada669c57.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/a7979cb572cb2769b16d328ada669c57.jpg -------------------------------------------------------------------------------- /public/uploads/a9683194e17c5c28f84a5c7c56da0612.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/a9683194e17c5c28f84a5c7c56da0612.jpg -------------------------------------------------------------------------------- /public/uploads/ac43bdb1d8246007734dd0142101efa1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/ac43bdb1d8246007734dd0142101efa1.jpg -------------------------------------------------------------------------------- /public/uploads/aed42ceec8c620cc2ac9c597f8226712.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/aed42ceec8c620cc2ac9c597f8226712.jpg -------------------------------------------------------------------------------- /public/uploads/b8a7342ce585b10a00b68a2df6308b84.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/b8a7342ce585b10a00b68a2df6308b84.jpg -------------------------------------------------------------------------------- /public/uploads/bb09780eb252a376aa0fdaa60993a03c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/bb09780eb252a376aa0fdaa60993a03c.jpg -------------------------------------------------------------------------------- /public/uploads/c238b4950c2d9be81c62172d62da279e.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/c238b4950c2d9be81c62172d62da279e.jpg -------------------------------------------------------------------------------- /public/uploads/dc3025d33fd79f167751fe711464e4ee.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/dc3025d33fd79f167751fe711464e4ee.jpg -------------------------------------------------------------------------------- /public/uploads/de692617c7bd4c0595dd6baa1c43c678.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/de692617c7bd4c0595dd6baa1c43c678.jpg -------------------------------------------------------------------------------- /public/uploads/ea212c863e55b39a53eed1e6f947e22d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/ea212c863e55b39a53eed1e6f947e22d.jpg -------------------------------------------------------------------------------- /public/uploads/eb535b83a168f0d6dfeea8bf137d4a45.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/eb535b83a168f0d6dfeea8bf137d4a45.jpg -------------------------------------------------------------------------------- /public/uploads/f04b1fab946430b54527216e910cabcb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/f04b1fab946430b54527216e910cabcb.jpg -------------------------------------------------------------------------------- /public/uploads/f177297a382d7f99a59aee75df0d8899.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/f177297a382d7f99a59aee75df0d8899.jpg -------------------------------------------------------------------------------- /public/uploads/f7aac292ec9b3f1ef7d7a2d504e1e5fc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/public/uploads/f7aac292ec9b3f1ef7d7a2d504e1e5fc.jpg -------------------------------------------------------------------------------- /resources/assets/less/app.less: -------------------------------------------------------------------------------- 1 | @import "bootstrap/bootstrap"; 2 | 3 | @btn-font-weight: 300; 4 | @font-family-sans-serif: "Roboto", Helvetica, Arial, sans-serif; 5 | 6 | body, label, .checkbox label { 7 | font-weight: 300; 8 | } 9 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal; 8 | margin-bottom: @line-height-computed; 9 | list-style: none; 10 | background-color: @breadcrumb-bg; 11 | border-radius: @border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: @breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: @breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/close.less: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: (@font-size-base * 1.5); 9 | font-weight: @close-font-weight; 10 | line-height: 1; 11 | color: @close-color; 12 | text-shadow: @close-text-shadow; 13 | .opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: @close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | .opacity(.5); 21 | } 22 | 23 | // Additional properties for button version 24 | // iOS requires the button element instead of an anchor tag. 25 | // If you want the anchor version, it requires `href="#"`. 26 | button& { 27 | padding: 0; 28 | cursor: pointer; 29 | background: transparent; 30 | border: 0; 31 | -webkit-appearance: none; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/component-animations.less: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552. 9 | 10 | .fade { 11 | opacity: 0; 12 | .transition(opacity .15s linear); 13 | &.in { 14 | opacity: 1; 15 | } 16 | } 17 | 18 | .collapse { 19 | display: none; 20 | visibility: hidden; 21 | 22 | &.in { display: block; visibility: visible; } 23 | tr&.in { display: table-row; } 24 | tbody&.in { display: table-row-group; } 25 | } 26 | 27 | .collapsing { 28 | position: relative; 29 | height: 0; 30 | overflow: hidden; 31 | .transition-property(~"height, visibility"); 32 | .transition-duration(.35s); 33 | .transition-timing-function(ease); 34 | } 35 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/media.less: -------------------------------------------------------------------------------- 1 | .media { 2 | // Proper spacing between instances of .media 3 | margin-top: 15px; 4 | 5 | &:first-child { 6 | margin-top: 0; 7 | } 8 | } 9 | 10 | .media-right, 11 | .media > .pull-right { 12 | padding-left: 10px; 13 | } 14 | 15 | .media-left, 16 | .media > .pull-left { 17 | padding-right: 10px; 18 | } 19 | 20 | .media-left, 21 | .media-right, 22 | .media-body { 23 | display: table-cell; 24 | vertical-align: top; 25 | } 26 | 27 | .media-middle { 28 | vertical-align: middle; 29 | } 30 | 31 | .media-bottom { 32 | vertical-align: bottom; 33 | } 34 | 35 | // Reset margins on headings for tighter default spacing 36 | .media-heading { 37 | margin-top: 0; 38 | margin-bottom: 5px; 39 | } 40 | 41 | // Media list variation 42 | // 43 | // Undo default ul/ol styles 44 | .media-list { 45 | padding-left: 0; 46 | list-style: none; 47 | } 48 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/alerts.less: -------------------------------------------------------------------------------- 1 | // Alerts 2 | 3 | .alert-variant(@background; @border; @text-color) { 4 | background-color: @background; 5 | border-color: @border; 6 | color: @text-color; 7 | 8 | hr { 9 | border-top-color: darken(@border, 5%); 10 | } 11 | .alert-link { 12 | color: darken(@text-color, 10%); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/background-variant.less: -------------------------------------------------------------------------------- 1 | // Contextual backgrounds 2 | 3 | .bg-variant(@color) { 4 | background-color: @color; 5 | a&:hover { 6 | background-color: darken(@color, 10%); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/border-radius.less: -------------------------------------------------------------------------------- 1 | // Single side border-radius 2 | 3 | .border-top-radius(@radius) { 4 | border-top-right-radius: @radius; 5 | border-top-left-radius: @radius; 6 | } 7 | .border-right-radius(@radius) { 8 | border-bottom-right-radius: @radius; 9 | border-top-right-radius: @radius; 10 | } 11 | .border-bottom-radius(@radius) { 12 | border-bottom-right-radius: @radius; 13 | border-bottom-left-radius: @radius; 14 | } 15 | .border-left-radius(@radius) { 16 | border-bottom-left-radius: @radius; 17 | border-top-left-radius: @radius; 18 | } 19 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/center-block.less: -------------------------------------------------------------------------------- 1 | // Center-align a block level element 2 | 3 | .center-block() { 4 | display: block; 5 | margin-left: auto; 6 | margin-right: auto; 7 | } 8 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/clearfix.less: -------------------------------------------------------------------------------- 1 | // Clearfix 2 | // 3 | // For modern browsers 4 | // 1. The space content is one way to avoid an Opera bug when the 5 | // contenteditable attribute is included anywhere else in the document. 6 | // Otherwise it causes space to appear at the top and bottom of elements 7 | // that are clearfixed. 8 | // 2. The use of `table` rather than `block` is only necessary if using 9 | // `:before` to contain the top-margins of child elements. 10 | // 11 | // Source: http://nicolasgallagher.com/micro-clearfix-hack/ 12 | 13 | .clearfix() { 14 | &:before, 15 | &:after { 16 | content: " "; // 1 17 | display: table; // 2 18 | } 19 | &:after { 20 | clear: both; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/hide-text.less: -------------------------------------------------------------------------------- 1 | // CSS image replacement 2 | // 3 | // Heads up! v3 launched with with only `.hide-text()`, but per our pattern for 4 | // mixins being reused as classes with the same name, this doesn't hold up. As 5 | // of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. 6 | // 7 | // Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757 8 | 9 | // Deprecated as of v3.0.1 (will be removed in v4) 10 | .hide-text() { 11 | font: ~"0/0" a; 12 | color: transparent; 13 | text-shadow: none; 14 | background-color: transparent; 15 | border: 0; 16 | } 17 | 18 | // New mixin to use as of v3.0.1 19 | .text-hide() { 20 | .hide-text(); 21 | } 22 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/labels.less: -------------------------------------------------------------------------------- 1 | // Labels 2 | 3 | .label-variant(@color) { 4 | background-color: @color; 5 | 6 | &[href] { 7 | &:hover, 8 | &:focus { 9 | background-color: darken(@color, 10%); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/list-group.less: -------------------------------------------------------------------------------- 1 | // List Groups 2 | 3 | .list-group-item-variant(@state; @background; @color) { 4 | .list-group-item-@{state} { 5 | color: @color; 6 | background-color: @background; 7 | 8 | a& { 9 | color: @color; 10 | 11 | .list-group-item-heading { 12 | color: inherit; 13 | } 14 | 15 | &:hover, 16 | &:focus { 17 | color: @color; 18 | background-color: darken(@background, 5%); 19 | } 20 | &.active, 21 | &.active:hover, 22 | &.active:focus { 23 | color: #fff; 24 | background-color: @color; 25 | border-color: @color; 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/nav-divider.less: -------------------------------------------------------------------------------- 1 | // Horizontal dividers 2 | // 3 | // Dividers (basically an hr) within dropdowns and nav lists 4 | 5 | .nav-divider(@color: #e5e5e5) { 6 | height: 1px; 7 | margin: ((@line-height-computed / 2) - 1) 0; 8 | overflow: hidden; 9 | background-color: @color; 10 | } 11 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/nav-vertical-align.less: -------------------------------------------------------------------------------- 1 | // Navbar vertical align 2 | // 3 | // Vertically center elements in the navbar. 4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. 5 | 6 | .navbar-vertical-align(@element-height) { 7 | margin-top: ((@navbar-height - @element-height) / 2); 8 | margin-bottom: ((@navbar-height - @element-height) / 2); 9 | } 10 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/opacity.less: -------------------------------------------------------------------------------- 1 | // Opacity 2 | 3 | .opacity(@opacity) { 4 | opacity: @opacity; 5 | // IE8 filter 6 | @opacity-ie: (@opacity * 100); 7 | filter: ~"alpha(opacity=@{opacity-ie})"; 8 | } 9 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/pagination.less: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | .pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) { 4 | > li { 5 | > a, 6 | > span { 7 | padding: @padding-vertical @padding-horizontal; 8 | font-size: @font-size; 9 | } 10 | &:first-child { 11 | > a, 12 | > span { 13 | .border-left-radius(@border-radius); 14 | } 15 | } 16 | &:last-child { 17 | > a, 18 | > span { 19 | .border-right-radius(@border-radius); 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/panels.less: -------------------------------------------------------------------------------- 1 | // Panels 2 | 3 | .panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) { 4 | border-color: @border; 5 | 6 | & > .panel-heading { 7 | color: @heading-text-color; 8 | background-color: @heading-bg-color; 9 | border-color: @heading-border; 10 | 11 | + .panel-collapse > .panel-body { 12 | border-top-color: @border; 13 | } 14 | .badge { 15 | color: @heading-bg-color; 16 | background-color: @heading-text-color; 17 | } 18 | } 19 | & > .panel-footer { 20 | + .panel-collapse > .panel-body { 21 | border-bottom-color: @border; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/progress-bar.less: -------------------------------------------------------------------------------- 1 | // Progress bars 2 | 3 | .progress-bar-variant(@color) { 4 | background-color: @color; 5 | 6 | // Deprecated parent class requirement as of v3.2.0 7 | .progress-striped & { 8 | #gradient > .striped(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/reset-filter.less: -------------------------------------------------------------------------------- 1 | // Reset filters for IE 2 | // 3 | // When you need to remove a gradient background, do not forget to use this to reset 4 | // the IE filter for IE9 and below. 5 | 6 | .reset-filter() { 7 | filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)")); 8 | } 9 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/resize.less: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | .resizable(@direction) { 4 | resize: @direction; // Options: horizontal, vertical, both 5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 6 | } 7 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/responsive-visibility.less: -------------------------------------------------------------------------------- 1 | // Responsive utilities 2 | 3 | // 4 | // More easily include all the states for responsive-utilities.less. 5 | .responsive-visibility() { 6 | display: block !important; 7 | table& { display: table; } 8 | tr& { display: table-row !important; } 9 | th&, 10 | td& { display: table-cell !important; } 11 | } 12 | 13 | .responsive-invisibility() { 14 | display: none !important; 15 | } 16 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/size.less: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | .size(@width; @height) { 4 | width: @width; 5 | height: @height; 6 | } 7 | 8 | .square(@size) { 9 | .size(@size; @size); 10 | } 11 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/tab-focus.less: -------------------------------------------------------------------------------- 1 | // WebKit-style focus 2 | 3 | .tab-focus() { 4 | // Default 5 | outline: thin dotted; 6 | // WebKit 7 | outline: 5px auto -webkit-focus-ring-color; 8 | outline-offset: -2px; 9 | } 10 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/table-row.less: -------------------------------------------------------------------------------- 1 | // Tables 2 | 3 | .table-row-variant(@state; @background) { 4 | // Exact selectors below required to override `.table-striped` and prevent 5 | // inheritance to nested tables. 6 | .table > thead > tr, 7 | .table > tbody > tr, 8 | .table > tfoot > tr { 9 | > td.@{state}, 10 | > th.@{state}, 11 | &.@{state} > td, 12 | &.@{state} > th { 13 | background-color: @background; 14 | } 15 | } 16 | 17 | // Hover states for `.table-hover` 18 | // Note: this is not available for cells or rows within `thead` or `tfoot`. 19 | .table-hover > tbody > tr { 20 | > td.@{state}:hover, 21 | > th.@{state}:hover, 22 | &.@{state}:hover > td, 23 | &:hover > .@{state}, 24 | &.@{state}:hover > th { 25 | background-color: darken(@background, 5%); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/text-emphasis.less: -------------------------------------------------------------------------------- 1 | // Typography 2 | 3 | .text-emphasis-variant(@color) { 4 | color: @color; 5 | a&:hover { 6 | color: darken(@color, 10%); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/mixins/text-overflow.less: -------------------------------------------------------------------------------- 1 | // Text overflow 2 | // Requires inline-block or block for proper styling 3 | 4 | .text-overflow() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/responsive-embed.less: -------------------------------------------------------------------------------- 1 | // Embeds responsive 2 | // 3 | // Credit: Nicolas Gallagher and SUIT CSS. 4 | 5 | .embed-responsive { 6 | position: relative; 7 | display: block; 8 | height: 0; 9 | padding: 0; 10 | overflow: hidden; 11 | 12 | .embed-responsive-item, 13 | iframe, 14 | embed, 15 | object, 16 | video { 17 | position: absolute; 18 | top: 0; 19 | left: 0; 20 | bottom: 0; 21 | height: 100%; 22 | width: 100%; 23 | border: 0; 24 | } 25 | 26 | // Modifier class for 16:9 aspect ratio 27 | &.embed-responsive-16by9 { 28 | padding-bottom: 56.25%; 29 | } 30 | 31 | // Modifier class for 4:3 aspect ratio 32 | &.embed-responsive-4by3 { 33 | padding-bottom: 75%; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/thumbnails.less: -------------------------------------------------------------------------------- 1 | // 2 | // Thumbnails 3 | // -------------------------------------------------- 4 | 5 | 6 | // Mixin and adjust the regular image class 7 | .thumbnail { 8 | display: block; 9 | padding: @thumbnail-padding; 10 | margin-bottom: @line-height-computed; 11 | line-height: @line-height-base; 12 | background-color: @thumbnail-bg; 13 | border: 1px solid @thumbnail-border; 14 | border-radius: @thumbnail-border-radius; 15 | .transition(border .2s ease-in-out); 16 | 17 | > img, 18 | a > img { 19 | &:extend(.img-responsive); 20 | margin-left: auto; 21 | margin-right: auto; 22 | } 23 | 24 | // Add a hover state for linked versions only 25 | a&:hover, 26 | a&:focus, 27 | a&.active { 28 | border-color: @link-color; 29 | } 30 | 31 | // Image captions 32 | .caption { 33 | padding: @thumbnail-caption-padding; 34 | color: @thumbnail-caption-color; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /resources/assets/less/bootstrap/wells.less: -------------------------------------------------------------------------------- 1 | // 2 | // Wells 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .well { 8 | min-height: 20px; 9 | padding: 19px; 10 | margin-bottom: 20px; 11 | background-color: @well-bg; 12 | border: 1px solid @well-border; 13 | border-radius: @border-radius-base; 14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 15 | blockquote { 16 | border-color: #ddd; 17 | border-color: rgba(0,0,0,.15); 18 | } 19 | } 20 | 21 | // Sizes 22 | .well-lg { 23 | padding: 24px; 24 | border-radius: @border-radius-large; 25 | } 26 | .well-sm { 27 | padding: 9px; 28 | border-radius: @border-radius-small; 29 | } 30 | -------------------------------------------------------------------------------- /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 | "user" => "We can't find a user with that e-mail address.", 18 | "token" => "This password reset token is invalid.", 19 | "sent" => "We have e-mailed your password reset link!", 20 | "reset" => "Your password has been reset!", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/zh-CN/backend_config.php: -------------------------------------------------------------------------------- 1 | 4 | * Time: 2015.04.06 下午4:52 5 | */ 6 | return [ 7 | 'title' => '标题', 8 | 'subheading' => '副标题', 9 | 'put_on_record' => '备案号', 10 | 'all_ow_access' => '允许访问', 11 | 'allow_comments' => '允许评论', 12 | 'seo_key' => 'seo 关键字', 13 | 'seo_desc' => 'seo 描述', 14 | 'copyright' => '版权', 15 | 'smtp_url' => 'smtp 地址', 16 | 'smtp_user' => 'smtp 用户名', 17 | 'smtp_name' => 'smtp 昵称', 18 | 'smtp_pass' => 'smtp 密码', 19 | 'smtp_port' => 'smtp 端口', 20 | ]; -------------------------------------------------------------------------------- /resources/views/backend/content/_menu.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
导航
3 | 4 |
5 | 6 | 20 |
21 |
-------------------------------------------------------------------------------- /resources/views/backend/content/common.blade.php: -------------------------------------------------------------------------------- 1 | @extends('backend.app') 2 | 3 | @section('modules') 4 |
5 | 6 | 7 |
8 | 9 |
10 | @include('backend.content._menu') 11 |
12 | 13 | @yield('content') 14 | 15 |
16 |
17 | @endsection 18 | -------------------------------------------------------------------------------- /resources/views/backend/content/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('backend.content.common') 2 | 3 | @section('content') 4 |
5 |
6 |
内容管理
7 | 8 |
9 | You are logged in! 10 |
11 |
12 |
13 | @endsection 14 | -------------------------------------------------------------------------------- /resources/views/backend/setting/_menu.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
导航
3 | 4 |
5 | 6 | 20 |
21 |
-------------------------------------------------------------------------------- /resources/views/backend/setting/common.blade.php: -------------------------------------------------------------------------------- 1 | @extends('backend.app') 2 | 3 | @section('modules') 4 |
5 | 6 | 7 |
8 | 9 |
10 | @include('backend.setting._menu') 11 |
12 | 13 | @yield('content') 14 | 15 |
16 |
17 | @endsection 18 | -------------------------------------------------------------------------------- /resources/views/backend/user/_menu.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
导航
3 | 4 |
5 | 6 | 11 |
12 |
-------------------------------------------------------------------------------- /resources/views/backend/user/common.blade.php: -------------------------------------------------------------------------------- 1 | @extends('backend.app') 2 | 3 | @section('modules') 4 |
5 | 6 | 7 |
8 | 9 |
10 | @include('backend.user._menu') 11 |
12 | 13 | @yield('content') 14 | 15 |
16 |
17 | @endsection 18 | -------------------------------------------------------------------------------- /resources/views/emails/comment.blade.php: -------------------------------------------------------------------------------- 1 | Hi,{{ $username }}: 2 |
3 | 您在 {{ systemConfig('title','Enda Blog') }} 上提交的评论被回复啦,赶紧看看去吧! 4 |
5 | 点击查看 -------------------------------------------------------------------------------- /resources/views/emails/password.blade.php: -------------------------------------------------------------------------------- 1 | Hi, 2 |
3 | 你忘记密码啦?赶紧点击重置吧,{{ url('backend/password/reset/'.$token) }} 4 | -------------------------------------------------------------------------------- /resources/views/errors/503.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 33 | 34 | 35 |
36 |
37 |
Be right back.
38 |
39 |
40 | 41 | 42 | -------------------------------------------------------------------------------- /resources/views/vendor/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/endachao/laravel-5-blog/33a47a21e05b090182e3e8a9e9caea2214acfe82/resources/views/vendor/.gitkeep -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | 9 | $uri = urldecode( 10 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 11 | ); 12 | 13 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 14 | // built-in PHP web server. This provides a convenient way to test a Laravel 15 | // application without having installed a "real" web server software here. 16 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) 17 | { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /storage/.gitignore: -------------------------------------------------------------------------------- 1 | laravel.log -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | compiled.php 4 | services.json 5 | events.scanned.php 6 | routes.scanned.php 7 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /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 | call('GET', '/'); 13 | 14 | $this->assertEquals(200, $response->getStatusCode()); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | make('Illuminate\Contracts\Console\Kernel')->bootstrap(); 15 | 16 | return $app; 17 | } 18 | 19 | } 20 | --------------------------------------------------------------------------------