├── src ├── assets │ ├── .gitkeep │ ├── .npmignore │ ├── imgs │ │ ├── 1.png │ │ ├── 2.png │ │ ├── 3.png │ │ ├── 4.png │ │ ├── 5.png │ │ ├── 6.png │ │ ├── 7.png │ │ ├── 8.png │ │ ├── 9.png │ │ ├── 10.png │ │ ├── angular2.png │ │ ├── angular-weibo.png │ │ ├── angular2-small.png │ │ ├── angular-wechat-channel.jpg │ │ └── angular.svg │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── icomoon │ │ │ ├── icomoon.eot │ │ │ ├── icomoon.ttf │ │ │ ├── icomoon.woff │ │ │ └── icomoon │ │ │ │ ├── fonts │ │ │ │ ├── icomoon.eot │ │ │ │ ├── icomoon.ttf │ │ │ │ └── icomoon.woff │ │ │ │ ├── Read Me.txt │ │ │ │ └── demo-files │ │ │ │ └── demo.css │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ ├── fontawesome-webfont.woff2 │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ ├── glyphicons-halflings-regular.woff2 │ │ ├── simple-line-icons │ │ │ ├── Simple-Line-Icons.eot │ │ │ ├── Simple-Line-Icons.ttf │ │ │ ├── Simple-Line-Icons.woff │ │ │ └── Simple-Line-Icons.woff2 │ │ └── bootstrap │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ ├── skins │ │ └── lightgray │ │ │ ├── img │ │ │ ├── anchor.gif │ │ │ ├── loader.gif │ │ │ ├── object.gif │ │ │ └── trans.gif │ │ │ ├── fonts │ │ │ ├── tinymce.eot │ │ │ ├── tinymce.ttf │ │ │ ├── tinymce.woff │ │ │ ├── tinymce-small.eot │ │ │ ├── tinymce-small.ttf │ │ │ └── tinymce-small.woff │ │ │ ├── content.inline.min.css │ │ │ └── content.min.css │ ├── i18n │ │ ├── zh.json │ │ └── en.json │ └── css │ │ └── prism.css ├── app │ ├── app.component.css │ ├── home │ │ ├── home.component.scss │ │ ├── online-contact │ │ │ ├── online-contact.component.scss │ │ │ ├── online-contact.component.spec.ts │ │ │ ├── online-contact.component.ts │ │ │ └── online-contact.component.html │ │ ├── social-channel │ │ │ ├── social-channel.component.scss │ │ │ ├── social-channel.component.spec.ts │ │ │ ├── social-channel.component.ts │ │ │ └── social-channel.component.html │ │ ├── home.routes.ts │ │ ├── home.component.ts │ │ ├── home.component.html │ │ ├── home.module.ts │ │ └── home.component.spec.ts │ ├── map │ │ └── gaode-map │ │ │ ├── gaode-map.component.scss │ │ │ ├── amap │ │ │ ├── amap.component.scss │ │ │ ├── amap.component.html │ │ │ └── amap.component.ts │ │ │ ├── gaode-map.component.html │ │ │ ├── gaode-map.component.ts │ │ │ └── gaode-map.component.spec.ts │ ├── use-jquery │ │ ├── use-jquery.component.scss │ │ ├── use-jquery.component.ts │ │ ├── use-jquery.component.spec.ts │ │ └── use-jquery.component.html │ ├── user │ │ ├── user-info │ │ │ ├── user-info.component.scss │ │ │ ├── user-info.component.spec.ts │ │ │ ├── user-info.component.html │ │ │ └── user-info.component.ts │ │ ├── user-main │ │ │ ├── user-main.component.scss │ │ │ ├── user-main.component.spec.ts │ │ │ ├── user-main.component.ts │ │ │ └── user-main.component.html │ │ ├── forget-pwd │ │ │ ├── forget-pwd.component.scss │ │ │ ├── forget-pwd.component.spec.ts │ │ │ ├── forget-pwd.service.ts │ │ │ ├── forget-pwd.component.ts │ │ │ └── forget-pwd.component.html │ │ ├── user-profile │ │ │ ├── user-profile.component.scss │ │ │ ├── dynamic-form │ │ │ │ ├── form-field │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── image.ts │ │ │ │ │ ├── textarea.ts │ │ │ │ │ ├── textbox.ts │ │ │ │ │ └── field-base.ts │ │ │ │ ├── form-control.component.ts │ │ │ │ └── form-control.component.html │ │ │ ├── user-profile.component.spec.ts │ │ │ ├── user-profile.component.html │ │ │ └── user-profile.component.ts │ │ ├── user-login │ │ │ ├── user-login.component.scss │ │ │ ├── user-login.component.spec.ts │ │ │ ├── user-login.service.ts │ │ │ ├── user-login.component.ts │ │ │ └── user-login.component.html │ │ ├── user-register │ │ │ ├── user-register.component.scss │ │ │ ├── user-register.component.spec.ts │ │ │ ├── directives │ │ │ │ └── equal-validator.directive.ts │ │ │ ├── user-register.service.ts │ │ │ ├── user-register.component.ts │ │ │ └── user-register.component.html │ │ ├── model │ │ │ └── user-model.ts │ │ ├── user.routes.ts │ │ └── user.module.ts │ ├── manage │ │ ├── sys-param │ │ │ ├── sys-param.component.scss │ │ │ ├── sys-param.component.spec.ts │ │ │ ├── sys-param.component.ts │ │ │ └── sys-param.component.html │ │ ├── manage-main │ │ │ ├── manage-main.component.scss │ │ │ ├── manage-main.component.spec.ts │ │ │ ├── manage-main.component.ts │ │ │ └── manage-main.component.html │ │ ├── post-table │ │ │ ├── post-table.component.scss │ │ │ ├── post-table.component.spec.ts │ │ │ ├── services │ │ │ │ └── post-table.service.ts │ │ │ ├── post-table.component.ts │ │ │ └── post-table.component.html │ │ ├── user-table │ │ │ ├── user-table.component.scss │ │ │ ├── user-table.component.spec.ts │ │ │ ├── user-table.component.ts │ │ │ └── user-table.component.html │ │ ├── comment-table │ │ │ ├── comment-table.component.scss │ │ │ ├── comment-table.component.spec.ts │ │ │ ├── comment-worker.js │ │ │ ├── comment-table.component.ts │ │ │ └── comment-table.component.html │ │ ├── auth-guard.ts │ │ ├── manage.module.ts │ │ └── manage.routes.ts │ ├── sitestat │ │ ├── sitestat.component.scss │ │ ├── sitestat.component.spec.ts │ │ ├── sitestat.component.ts │ │ └── sitestat.component.html │ ├── index.ts │ ├── post │ │ ├── post-detail-main │ │ │ ├── post-detail-main.component.scss │ │ │ ├── post-detail-main.component.spec.ts │ │ │ ├── post-detail-main.component.html │ │ │ └── post-detail-main.component.ts │ │ ├── write-post │ │ │ ├── write-post.component.scss │ │ │ ├── write-post.component.spec.ts │ │ │ ├── write-post.component.html │ │ │ └── write-post.component.ts │ │ ├── post-detail │ │ │ ├── post-detail.component.scss │ │ │ ├── post-detail.component.spec.ts │ │ │ ├── post-detail.component.html │ │ │ ├── services │ │ │ │ └── post-detail.service.ts │ │ │ └── post-detail.component.ts │ │ ├── model │ │ │ └── post-model.ts │ │ ├── postlist │ │ │ ├── postlist.component.spec.ts │ │ │ ├── postlist.component.scss │ │ │ ├── services │ │ │ │ └── postlist.service.ts │ │ │ ├── postlist.component.html │ │ │ └── postlist.component.ts │ │ ├── post.routes.ts │ │ └── post.module.ts │ ├── chart │ │ ├── chart.component.scss │ │ ├── chart.component.html │ │ ├── echart-option.directive.ts │ │ ├── chart.component.spec.ts │ │ └── chart.component.ts │ ├── comment │ │ ├── model │ │ │ └── comment-model.ts │ │ ├── add-comment │ │ │ ├── add-comment.component.scss │ │ │ ├── add-comment.component.spec.ts │ │ │ ├── add-comment.component.html │ │ │ └── add-comment.component.ts │ │ └── services │ │ │ └── comment.service.ts │ ├── app.component.spec.ts │ ├── utils │ │ └── boolean-pipe.ts │ ├── animations │ │ ├── fade-in.ts │ │ └── fly-in.ts │ ├── jsplumb-demo │ │ ├── jsplumb-demo.component.html │ │ ├── jsplumb-demo.component.spec.ts │ │ ├── jsplumb-demo.component.css │ │ └── jsplumb-demo.component.ts │ ├── shared │ │ ├── post.module.ts │ │ └── shared.module.ts │ ├── app.component.scss │ ├── app.routes.ts │ ├── app.module.ts │ ├── app.component.ts │ └── app.component.html ├── mock-data │ ├── forget-pwd-mock.json │ ├── user-login-mock.json │ ├── user-register-mock.json │ ├── comment-mock.json │ ├── postlist-search-mock.json │ ├── post-mock.json │ └── postlist-mock.json ├── favicon.ico ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── electron │ ├── package.json │ └── main.js ├── main.ts ├── typings.d.ts ├── tsconfig.json ├── styles.scss ├── index.html ├── test.ts └── polyfills.ts ├── .idea └── vcs.xml ├── .editorconfig ├── e2e ├── tsconfig.json └── app.e2e-spec.ts ├── .gitignore ├── protractor.conf.js ├── LICENSE ├── karma.conf.js ├── README.md ├── dir-desc.txt ├── package.json ├── tslint.json └── .angular-cli.json /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/.npmignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/home/home.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/map/gaode-map/gaode-map.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/use-jquery/use-jquery.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/user/user-info/user-info.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/user/user-main/user-main.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/manage/sys-param/sys-param.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/user/forget-pwd/forget-pwd.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/user/user-profile/user-profile.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/sitestat/sitestat.component.scss: -------------------------------------------------------------------------------- 1 | .site-stat-container{ 2 | 3 | } -------------------------------------------------------------------------------- /src/app/user/user-login/user-login.component.scss: -------------------------------------------------------------------------------- 1 | .user-login-container{ 2 | } -------------------------------------------------------------------------------- /src/mock-data/forget-pwd-mock.json: -------------------------------------------------------------------------------- 1 | { 2 | "message":"邮件发送成功,请登录邮箱查看。" 3 | } -------------------------------------------------------------------------------- /src/app/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app.component'; 2 | export * from './app.module'; 3 | -------------------------------------------------------------------------------- /src/app/manage/manage-main/manage-main.component.scss: -------------------------------------------------------------------------------- 1 | .manage-main-container{ 2 | 3 | } -------------------------------------------------------------------------------- /src/app/user/user-register/user-register.component.scss: -------------------------------------------------------------------------------- 1 | .user-register-container{ 2 | } -------------------------------------------------------------------------------- /src/app/home/online-contact/online-contact.component.scss: -------------------------------------------------------------------------------- 1 | .online-contact-container{ 2 | 3 | } -------------------------------------------------------------------------------- /src/app/home/social-channel/social-channel.component.scss: -------------------------------------------------------------------------------- 1 | .social-channel-container{ 2 | 3 | } -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/app/post/post-detail-main/post-detail-main.component.scss: -------------------------------------------------------------------------------- 1 | .post-detail-main-container{ 2 | 3 | } -------------------------------------------------------------------------------- /src/app/post/write-post/write-post.component.scss: -------------------------------------------------------------------------------- 1 | .write-post-container{ 2 | padding-right:2px; 3 | } -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /src/app/post/post-detail/post-detail.component.scss: -------------------------------------------------------------------------------- 1 | .post-detail-container{ 2 | margin-bottom:30px; 3 | } -------------------------------------------------------------------------------- /src/assets/imgs/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/1.png -------------------------------------------------------------------------------- /src/assets/imgs/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/2.png -------------------------------------------------------------------------------- /src/assets/imgs/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/3.png -------------------------------------------------------------------------------- /src/assets/imgs/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/4.png -------------------------------------------------------------------------------- /src/assets/imgs/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/5.png -------------------------------------------------------------------------------- /src/assets/imgs/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/6.png -------------------------------------------------------------------------------- /src/assets/imgs/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/7.png -------------------------------------------------------------------------------- /src/assets/imgs/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/8.png -------------------------------------------------------------------------------- /src/assets/imgs/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/9.png -------------------------------------------------------------------------------- /src/app/chart/chart.component.scss: -------------------------------------------------------------------------------- 1 | .nf-chart{ 2 | width:100%; 3 | height:400px; 4 | float:left; 5 | } -------------------------------------------------------------------------------- /src/assets/imgs/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/10.png -------------------------------------------------------------------------------- /src/app/map/gaode-map/amap/amap.component.scss: -------------------------------------------------------------------------------- 1 | .gaodemap-container{ 2 | width:100%; 3 | height:600px; 4 | } -------------------------------------------------------------------------------- /src/app/map/gaode-map/amap/amap.component.html: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /src/assets/imgs/angular2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/angular2.png -------------------------------------------------------------------------------- /src/mock-data/user-login-mock.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": 1, 3 | "userName": "admin", 4 | "token": "fake-jwt-token" 5 | } 6 | -------------------------------------------------------------------------------- /src/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /src/assets/imgs/angular-weibo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/angular-weibo.png -------------------------------------------------------------------------------- /src/assets/imgs/angular2-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/angular2-small.png -------------------------------------------------------------------------------- /src/assets/fonts/icomoon/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/icomoon/icomoon.eot -------------------------------------------------------------------------------- /src/assets/fonts/icomoon/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/icomoon/icomoon.ttf -------------------------------------------------------------------------------- /src/assets/fonts/icomoon/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/icomoon/icomoon.woff -------------------------------------------------------------------------------- /src/electron/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular2-electron", 3 | "version": "0.0.0", 4 | "license": "MIT", 5 | "main": "main.js" 6 | } -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /src/assets/skins/lightgray/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/skins/lightgray/img/anchor.gif -------------------------------------------------------------------------------- /src/assets/skins/lightgray/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/skins/lightgray/img/loader.gif -------------------------------------------------------------------------------- /src/assets/skins/lightgray/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/skins/lightgray/img/object.gif -------------------------------------------------------------------------------- /src/assets/skins/lightgray/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/skins/lightgray/img/trans.gif -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /src/assets/imgs/angular-wechat-channel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/imgs/angular-wechat-channel.jpg -------------------------------------------------------------------------------- /src/assets/skins/lightgray/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/skins/lightgray/fonts/tinymce.eot -------------------------------------------------------------------------------- /src/assets/skins/lightgray/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/skins/lightgray/fonts/tinymce.ttf -------------------------------------------------------------------------------- /src/app/manage/post-table/post-table.component.scss: -------------------------------------------------------------------------------- 1 | .post-table-container { 2 | .post-item-container { 3 | padding: 15px 0px; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/app/manage/user-table/user-table.component.scss: -------------------------------------------------------------------------------- 1 | .user-table-container { 2 | .user-item-container { 3 | padding: 15px 0px; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/assets/skins/lightgray/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/skins/lightgray/fonts/tinymce.woff -------------------------------------------------------------------------------- /src/mock-data/user-register-mock.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": 1, 3 | "username": "admin", 4 | "email": "XXXXX@qq.com", 5 | "token":"fake-jwt-token" 6 | } -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/assets/fonts/icomoon/icomoon/fonts/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/icomoon/icomoon/fonts/icomoon.eot -------------------------------------------------------------------------------- /src/assets/fonts/icomoon/icomoon/fonts/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/icomoon/icomoon/fonts/icomoon.ttf -------------------------------------------------------------------------------- /src/assets/fonts/icomoon/icomoon/fonts/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/icomoon/icomoon/fonts/icomoon.woff -------------------------------------------------------------------------------- /src/assets/skins/lightgray/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/skins/lightgray/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /src/assets/skins/lightgray/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/skins/lightgray/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /src/assets/skins/lightgray/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/skins/lightgray/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /src/app/manage/comment-table/comment-table.component.scss: -------------------------------------------------------------------------------- 1 | .comment-table-container { 2 | .comment-item-container { 3 | padding: 15px 0px; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/assets/fonts/simple-line-icons/Simple-Line-Icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/simple-line-icons/Simple-Line-Icons.eot -------------------------------------------------------------------------------- /src/assets/fonts/simple-line-icons/Simple-Line-Icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/simple-line-icons/Simple-Line-Icons.ttf -------------------------------------------------------------------------------- /src/app/comment/model/comment-model.ts: -------------------------------------------------------------------------------- 1 | export class Comment{ 2 | id: number; 3 | postId: number; 4 | content: string; 5 | date: Date; 6 | username: string; 7 | } -------------------------------------------------------------------------------- /src/assets/fonts/bootstrap/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/bootstrap/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/assets/fonts/simple-line-icons/Simple-Line-Icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/simple-line-icons/Simple-Line-Icons.woff -------------------------------------------------------------------------------- /src/assets/fonts/simple-line-icons/Simple-Line-Icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/simple-line-icons/Simple-Line-Icons.woff2 -------------------------------------------------------------------------------- /src/app/comment/add-comment/add-comment.component.scss: -------------------------------------------------------------------------------- 1 | .add-component-container{ 2 | .comment-item-container{ 3 | padding:15px 0px; 4 | border-bottom: 1px dashed #d9d9d9; 5 | } 6 | } -------------------------------------------------------------------------------- /src/assets/fonts/bootstrap/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/bootstrap/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/damoqiongqiu/NiceBlogElectron/HEAD/src/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/app/post/model/post-model.ts: -------------------------------------------------------------------------------- 1 | export class Post { 2 | id: number 3 | title: string 4 | text: string 5 | author: string 6 | postTime: Date 7 | readTimes: number 8 | commentTimes: number 9 | } -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 |{{ post.author }} {{ post.postTime }} 点击:{{ post.readTimes }} 评论:{{ post.commentTimes }}
6 |访问总数:16742169
8 |文章总数:2458
9 |评论总数:7880
10 |会员总数:12772
11 |在线访客:187
12 |在线会员:2
13 |在线记录:268
14 |这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。
这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。这文章这么长。。。。
" 9 | } -------------------------------------------------------------------------------- /src/app/user/user-main/user-main.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit} from '@angular/core'; 2 | import { flyIn } from '../../animations/fly-in'; 3 | 4 | @Component({ 5 | selector: 'app-user-main', 6 | templateUrl: './user-main.component.html', 7 | styleUrls: ['./user-main.component.scss'], 8 | animations: [ 9 | flyIn 10 | ] 11 | }) 12 | export class UserMainComponent implements OnInit { 13 | 14 | constructor() { } 15 | 16 | ngOnInit() { 17 | } 18 | 19 | onActivate(component) { 20 | console.log("组件加载完成>"+component); 21 | } 22 | 23 | onDeactivate(component) { 24 | console.log("组件已经移除>"+component); 25 | } 26 | 27 | doFollow(){ 28 | alert("自己不能关注自己!"); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/app/comment/services/comment.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | import { Http, Response, Headers, RequestOptions,URLSearchParams } from '@angular/http'; 3 | 4 | import { Observable } from 'rxjs/Rx'; 5 | import 'rxjs/add/operator/map'; 6 | import 'rxjs/add/operator/catch'; 7 | 8 | import { Comment } from '../model/comment-model'; 9 | 10 | @Injectable() 11 | export class CommentService { 12 | public commentListURL = "mock-data/comment-mock.json"; 13 | 14 | constructor(public http: Http) { } 15 | 16 | public getCommentList(postId: number):Observable| 序号 | 21 |内容 | 22 |用户 | 23 |时间 | 24 |操作 | 25 |
|---|---|---|---|---|
| 1 | 30 |这是一条不合法的评论内容,需要删除掉。 | 31 |大漠穷秋 | 32 |2016-11-27 | 33 |删除 | 34 |
26 | {{post.likedTimes}} 27 | {{post.commentTimes}} 28 | {{post.readTimes}} {{post.userName }} {{post.postTime}} 29 |
30 |10 | 【请仔细看】相关的文件有:angular-cli.json/typings.d.ts/styles.scss 11 |
12 |Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.
30 |Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.
33 |Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.
36 |Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.
37 |{{'userRegister.notice' | translate}}
38 |
{{comment.content}}
18 |{{comment.username}} {{comment.date}}
19 |