mirror of https://github.com/halo-dev/halo
commit
f137d3aaa0
|
@ -63,5 +63,4 @@ nbdist/
|
|||
*.rar
|
||||
|
||||
### VSCode
|
||||
.vscode
|
||||
|
||||
.vscode
|
24
.travis.yml
24
.travis.yml
|
@ -16,21 +16,33 @@ jobs:
|
|||
script: ./gradlew check
|
||||
- stage: build
|
||||
script: ./gradlew build -x test
|
||||
- stage: build-docker-image-for-release
|
||||
- stage: Build Docker Image for Release
|
||||
script: ./scripts/docker-build-release.sh
|
||||
- stage: build-docker-image-for-dev
|
||||
- stage: Build Docker Image for Dev
|
||||
script: ./scripts/docker-build-dev.sh
|
||||
- stage: GitHub Release
|
||||
script: echo "Deploying to GitHub releases ..." && pwd
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key: $GITHUB_OAUTH_TOKEN
|
||||
file_glob: true
|
||||
file: $TRAVIS_BUILD_DIR/build/libs/*
|
||||
skip_cleanup: true
|
||||
on:
|
||||
tags: true
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
- name: build-docker-image-for-release
|
||||
if: tag IS present
|
||||
- name: build-docker-image-for-dev
|
||||
if: branch = dev
|
||||
- GitHub Release
|
||||
- name: Build Docker Image for Release
|
||||
if: tag =~ /^v\d+\.\d+(\.\d+)?(-release)?$/
|
||||
- name: Build Docker Image for Dev
|
||||
if: tag =~ /^v\d+\.\d+(\.\d+)?-(beta|alpha)+(\.\d+)?$/
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- dev
|
||||
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
|
||||
notifications:
|
||||
webhooks:
|
||||
- https://fathomless-fjord-24024.herokuapp.com/notify
|
||||
|
|
|
@ -2,7 +2,7 @@ FROM openjdk:8-jdk-alpine
|
|||
|
||||
VOLUME /tmp
|
||||
|
||||
ARG JAR_FILE=build/libs/halo-1.0.0.beta.jar
|
||||
ARG JAR_FILE=build/libs/halo.jar
|
||||
ARG PORT=8090
|
||||
ARG TIME_ZONE=Asia/Shanghai
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
<p align="center">
|
||||
<a href="https://ryanc.cc"><img alt="Author" src="https://img.shields.io/badge/author-ruibaby-red.svg?style=flat-square"/></a>
|
||||
<a href="#"><img alt="JDK" src="https://img.shields.io/badge/JDK-1.8-yellow.svg?style=flat-square"/></a>
|
||||
<a href="https://github.com/ruibaby/halo/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/ruibaby/halo.svg?style=flat-square"/></a>
|
||||
<a href="https://travis-ci.org/ruibaby/halo"><img alt="Travis CI" src="https://img.shields.io/travis/ruibaby/halo.svg?style=flat-square"/></a>
|
||||
<a href="https://hub.docker.com/r/ruibaby/halo/"><img alt="Docker Build Status" src="https://img.shields.io/docker/build/ruibaby/halo.svg?style=flat-square"/></a>
|
||||
<a href="https://github.com/halo-dev/halo/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/halo-dev/halo.svg?style=flat-square"/></a>
|
||||
<a href="https://travis-ci.org/halo-dev/halo"><img alt="Travis CI" src="https://img.shields.io/travis/halo-dev/halo.svg?style=flat-square"/></a>
|
||||
<a href="https://hub.docker.com/r/halo-dev/halo/"><img alt="Docker Build Status" src="https://img.shields.io/docker/build/halo-dev/halo.svg?style=flat-square"/></a>
|
||||
</p>
|
||||
|
||||
------------------------------
|
||||
|
|
|
@ -8,7 +8,7 @@ apply plugin: 'io.spring.dependency-management'
|
|||
|
||||
group = 'run.halo.app'
|
||||
archivesBaseName = 'halo'
|
||||
version = '1.0.0.beta'
|
||||
version = '1.0.0-beta.3'
|
||||
sourceCompatibility = '1.8'
|
||||
description = 'Halo, personal blog system developed in Java.'
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
./gradlew clean build -x test
|
||||
|
||||
echo "=> Building the binary"
|
||||
docker run \
|
||||
-v $(pwd):/src \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-w="/src" \
|
||||
openjdk:8-jdk-alpine \
|
||||
./gradlew clean build -x test
|
||||
echo "=> Built the binary successfully"
|
|
@ -5,6 +5,6 @@ VERSION=$(ls build/libs | sed 's/.*halo-//' | sed 's/.jar$//')
|
|||
echo "Halo version: $VERSION"
|
||||
|
||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
docker build -t $DOCKER_USERNAME/halo:latest-dev -t $DOCKER_USERNAME/halo:$VERSION.dev .
|
||||
docker build --build-arg JAR_FILE="build/libs/halo-$VERSION.jar" -t $DOCKER_USERNAME/halo:latest-dev -t $DOCKER_USERNAME/halo:$VERSION.dev .
|
||||
docker images
|
||||
docker push $DOCKER_USERNAME/halo
|
||||
|
|
|
@ -5,6 +5,6 @@ VERSION=$(ls build/libs | sed 's/.*halo-//' | sed 's/.jar$//')
|
|||
echo "Halo version: $VERSION"
|
||||
|
||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
docker build -t $DOCKER_USERNAME/halo -t $DOCKER_USERNAME/$VERSION .
|
||||
docker build --build-arg JAR_FILE=build/libs/halo-$VERSION.jar -t $DOCKER_USERNAME/halo -t $DOCKER_USERNAME/$VERSION .
|
||||
docker images
|
||||
docker push $DOCKER_USERNAME/halo
|
||||
|
|
|
@ -74,6 +74,8 @@ public class CommentEventListener {
|
|||
// Get postComment id
|
||||
PostComment postComment = postCommentService.getById(newEvent.getCommentId());
|
||||
|
||||
log.debug("Got post comment: [{}]", postComment);
|
||||
|
||||
Post post = postService.getById(postComment.getPostId());
|
||||
|
||||
StrBuilder url = new StrBuilder(optionService.getBlogBaseUrl())
|
||||
|
@ -86,6 +88,8 @@ public class CommentEventListener {
|
|||
} else if (newEvent.getSource() instanceof SheetService) {
|
||||
SheetComment sheetComment = sheetCommentService.getById(newEvent.getCommentId());
|
||||
|
||||
log.debug("Got sheet comment: [{}]", sheetComment);
|
||||
|
||||
Sheet sheet = sheetService.getById(sheetComment.getPostId());
|
||||
|
||||
StrBuilder url = new StrBuilder(optionService.getBlogBaseUrl())
|
||||
|
@ -98,6 +102,8 @@ public class CommentEventListener {
|
|||
} else if (newEvent.getSource() instanceof JournalService) {
|
||||
JournalComment journalComment = journalCommentService.getById(newEvent.getCommentId());
|
||||
|
||||
log.debug("Got journal comment: [{}]", journalComment);
|
||||
|
||||
Journal journal = journalService.getById(journalComment.getPostId());
|
||||
|
||||
StrBuilder url = new StrBuilder(optionService.getBlogBaseUrl())
|
||||
|
@ -133,7 +139,7 @@ public class CommentEventListener {
|
|||
|
||||
Map<String, Object> data = new HashMap<>();
|
||||
|
||||
log.debug("replyEvent.getSource():"+replyEvent.getSource().toString());
|
||||
log.debug("replyEvent.getSource():" + replyEvent.getSource().toString());
|
||||
|
||||
if (replyEvent.getSource() instanceof PostCommentService) {
|
||||
|
||||
|
|
|
@ -49,7 +49,6 @@ public class FreemarkerConfigAwareListener {
|
|||
this.userService = userService;
|
||||
}
|
||||
|
||||
@Async
|
||||
@EventListener
|
||||
@Order(Ordered.HIGHEST_PRECEDENCE + 1)
|
||||
public void onApplicationStartedEvent(ApplicationStartedEvent applicationStartedEvent) throws TemplateModelException {
|
||||
|
@ -60,7 +59,6 @@ public class FreemarkerConfigAwareListener {
|
|||
loadUserConfig();
|
||||
}
|
||||
|
||||
@Async
|
||||
@EventListener
|
||||
public void onThemeActivatedEvent(ThemeActivatedEvent themeActivatedEvent) throws TemplateModelException {
|
||||
log.debug("Received theme activated event");
|
||||
|
@ -68,7 +66,6 @@ public class FreemarkerConfigAwareListener {
|
|||
loadThemeConfig();
|
||||
}
|
||||
|
||||
@Async
|
||||
@EventListener
|
||||
public void onUserUpdate(UserUpdatedEvent event) throws TemplateModelException {
|
||||
log.debug("Received user updated event, user id: [{}]", event.getUserId());
|
||||
|
@ -76,7 +73,6 @@ public class FreemarkerConfigAwareListener {
|
|||
loadUserConfig();
|
||||
}
|
||||
|
||||
@Async
|
||||
@EventListener
|
||||
public void onOptionUpdate(OptionUpdatedEvent event) throws TemplateModelException {
|
||||
log.debug("Received option updated event");
|
||||
|
|
|
@ -22,13 +22,11 @@ public class ThemeUpdatedListener {
|
|||
this.cacheStore = cacheStore;
|
||||
}
|
||||
|
||||
@Async
|
||||
@EventListener
|
||||
public void onApplicationEvent(ThemeUpdatedEvent event) {
|
||||
cacheStore.delete(ThemeService.THEMES_CACHE_KEY);
|
||||
}
|
||||
|
||||
@Async
|
||||
@EventListener
|
||||
public void onOptionUpdatedEvent(OptionUpdatedEvent optionUpdatedEvent) {
|
||||
cacheStore.delete(ThemeService.THEMES_CACHE_KEY);
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
{"apiUrl":"http://localhost:8090"}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
.attach-detail-img img{width:100%}.ant-divider-horizontal[data-v-4ec2892f]{margin:24px 0 12px 0}.search-box[data-v-4ec2892f]{padding-bottom:12px}.attach-thumb[data-v-4ec2892f]{width:100%;margin:0 auto;position:relative;padding-bottom:56%;overflow:hidden}.attach-thumb img[data-v-4ec2892f]{width:100%;height:100%;position:absolute;top:0;left:0}.ant-card-meta[data-v-4ec2892f]{padding:.8rem}.attach-detail-img img[data-v-4ec2892f]{width:100%}.table-operator[data-v-4ec2892f]{margin-bottom:0}
|
|
@ -1 +0,0 @@
|
|||
.category-tree[data-v-23f67544]{margin-top:1rem}
|
|
@ -1 +0,0 @@
|
|||
ul{margin:0;padding:0;list-style:none}
|
|
@ -0,0 +1 @@
|
|||
.attach-detail-img img{width:100%}.ant-divider-horizontal[data-v-40ab62a8]{margin:24px 0 12px 0}.search-box[data-v-40ab62a8]{padding-bottom:12px}.attach-thumb[data-v-40ab62a8]{width:100%;margin:0 auto;position:relative;padding-bottom:56%;overflow:hidden}.attach-thumb img[data-v-40ab62a8]{width:100%;height:100%;position:absolute;top:0;left:0}.ant-card-meta[data-v-40ab62a8]{padding:.8rem}.attach-detail-img img[data-v-40ab62a8]{width:100%}.table-operator[data-v-40ab62a8]{margin-bottom:0}
|
|
@ -0,0 +1 @@
|
|||
.v-note-wrapper[data-v-aa6295de]{z-index:1000;min-height:580px}.sheet-thum .img[data-v-aa6295de]{width:100%;cursor:pointer;border-radius:4px}.sheet-thum .sheet-thum-remove[data-v-aa6295de]{margin-top:16px}
|
|
@ -1 +0,0 @@
|
|||
.v-note-wrapper[data-v-2d8cabe0]{z-index:1000;min-height:580px}.post-thum .img[data-v-2d8cabe0]{width:100%;cursor:pointer;border-radius:4px}.post-thum .post-thum-remove[data-v-2d8cabe0]{margin-top:16px}
|
|
@ -0,0 +1 @@
|
|||
.v-note-wrapper[data-v-b71c008c]{z-index:1000;min-height:580px}.post-thum .img[data-v-b71c008c]{width:100%;cursor:pointer;border-radius:4px}.post-thum .post-thum-remove[data-v-b71c008c]{margin-top:16px}
|
|
@ -1 +0,0 @@
|
|||
.v-note-wrapper[data-v-af5a5c54]{z-index:1000;min-height:580px}.sheet-thum .img[data-v-af5a5c54]{width:100%;cursor:pointer;border-radius:4px}.sheet-thum .sheet-thum-remove[data-v-af5a5c54]{margin-top:16px}
|
|
@ -1 +0,0 @@
|
|||
.attach-item{width:50%;margin:0 auto;position:relative;padding-bottom:28%;overflow:hidden;float:left;cursor:pointer}.attach-item img{width:100%;height:100%;position:absolute;top:0;left:0}.ant-divider-horizontal[data-v-f956b940]{margin:24px 0 12px 0}.search-box[data-v-f956b940]{padding-bottom:12px}.photo-thumb[data-v-f956b940]{width:100%;margin:0 auto;position:relative;padding-bottom:56%;overflow:hidden}.photo-thumb img[data-v-f956b940]{width:100%;height:100%;position:absolute;top:0;left:0}.ant-card-meta[data-v-f956b940]{padding:.8rem}.photo-detail-img img[data-v-f956b940]{width:100%}.table-operator[data-v-f956b940]{margin-bottom:0}
|
|
@ -1 +0,0 @@
|
|||
.analysis-card-container[data-v-704c3674]{position:relative;overflow:hidden;width:100%}.analysis-card-container .meta[data-v-704c3674]{position:relative;overflow:hidden;width:100%;color:rgba(0,0,0,.45);font-size:14px;line-height:22px}.analysis-card-container .meta .analysis-card-action[data-v-704c3674]{cursor:pointer;position:absolute;top:0;right:0}.number[data-v-704c3674]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap;color:#000;margin-top:4px;margin-bottom:0;font-size:32px;line-height:38px;height:38px}
|
|
@ -1 +1 @@
|
|||
.attach-detail-img img{width:100%}.attach-item{width:50%;margin:0 auto;position:relative;padding-bottom:28%;overflow:hidden;float:left;cursor:pointer}.attach-item img{width:100%;height:100%;position:absolute;top:0;left:0}.upload-button[data-v-997dea54]{position:fixed;bottom:30px;right:30px}.theme-thumb[data-v-997dea54]{width:100%;margin:0 auto;position:relative;padding-bottom:56%;overflow:hidden}.theme-thumb img[data-v-997dea54]{width:100%;height:100%;position:absolute;top:0;left:0}
|
||||
.attach-detail-img img{width:100%}.attach-item{width:50%;margin:0 auto;position:relative;padding-bottom:28%;overflow:hidden;float:left;cursor:pointer}.attach-item img{width:100%;height:100%;position:absolute;top:0;left:0}.upload-button[data-v-377ce948]{position:fixed;bottom:30px;right:30px}.theme-thumb[data-v-377ce948]{width:100%;margin:0 auto;position:relative;padding-bottom:56%;overflow:hidden}.theme-thumb img[data-v-377ce948]{width:100%;height:100%;position:absolute;top:0;left:0}
|
|
@ -1 +0,0 @@
|
|||
.attach-item{width:50%;margin:0 auto;position:relative;padding-bottom:28%;overflow:hidden;float:left;cursor:pointer}.attach-item img{width:100%;height:100%;position:absolute;top:0;left:0}
|
|
@ -1 +0,0 @@
|
|||
.v-note-wrapper[data-v-e9899606]{z-index:1000;min-height:580px}.post-thum .img[data-v-e9899606]{width:100%;cursor:pointer;border-radius:4px}.post-thum .post-thum-remove[data-v-e9899606]{margin-top:16px}
|
|
@ -1 +0,0 @@
|
|||
.attach-item{width:50%;margin:0 auto;position:relative;padding-bottom:28%;overflow:hidden;float:left;cursor:pointer}.attach-item img{width:100%;height:100%;position:absolute;top:0;left:0}.page-header-wrapper-grid-content-main[data-v-a7229d4e]{width:100%;height:100%;min-height:100%;-webkit-transition:.3s;transition:.3s}.page-header-wrapper-grid-content-main .profile-center-avatarHolder[data-v-a7229d4e]{text-align:center;margin-bottom:24px}.page-header-wrapper-grid-content-main .profile-center-avatarHolder>.avatar[data-v-a7229d4e]{margin:0 auto;width:104px;height:104px;margin-bottom:20px;border-radius:50%;overflow:hidden;cursor:pointer}.page-header-wrapper-grid-content-main .profile-center-avatarHolder>.avatar img[data-v-a7229d4e]{height:100%;width:100%}.page-header-wrapper-grid-content-main .profile-center-avatarHolder .username[data-v-a7229d4e]{color:rgba(0,0,0,.85);font-size:20px;line-height:28px;font-weight:500;margin-bottom:4px}.page-header-wrapper-grid-content-main .profile-center-detail p[data-v-a7229d4e]{margin-bottom:8px;padding-left:26px;position:relative}.page-header-wrapper-grid-content-main .profile-center-detail i[data-v-a7229d4e]{position:absolute;height:14px;width:14px;left:0;top:4px}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
.attach-item{width:50%;margin:0 auto;position:relative;padding-bottom:28%;overflow:hidden;float:left;cursor:pointer}.attach-item img{width:100%;height:100%;position:absolute;top:0;left:0}.page-header-wrapper-grid-content-main[data-v-55063cee]{width:100%;height:100%;min-height:100%;-webkit-transition:.3s;transition:.3s}.page-header-wrapper-grid-content-main .profile-center-avatarHolder[data-v-55063cee]{text-align:center;margin-bottom:24px}.page-header-wrapper-grid-content-main .profile-center-avatarHolder>.avatar[data-v-55063cee]{margin:0 auto;width:104px;height:104px;margin-bottom:20px;border-radius:50%;overflow:hidden;cursor:pointer}.page-header-wrapper-grid-content-main .profile-center-avatarHolder>.avatar img[data-v-55063cee]{height:100%;width:100%}.page-header-wrapper-grid-content-main .profile-center-avatarHolder .username[data-v-55063cee]{color:rgba(0,0,0,.85);font-size:20px;line-height:28px;font-weight:500;margin-bottom:4px}.page-header-wrapper-grid-content-main .profile-center-detail p[data-v-55063cee]{margin-bottom:8px;padding-left:26px;position:relative}.page-header-wrapper-grid-content-main .profile-center-detail i[data-v-55063cee]{position:absolute;height:14px;width:14px;left:0;top:4px}
|
|
@ -1 +0,0 @@
|
|||
.height-100[data-v-7e6c753c]{height:100vh}.install-action[data-v-7e6c753c]{margin-top:1rem}.previus-button[data-v-7e6c753c]{margin-right:1rem}.install-card[data-v-7e6c753c]{-webkit-box-shadow:0 10px 20px 0 hsla(0,0%,92.5%,.86);box-shadow:0 10px 20px 0 hsla(0,0%,92.5%,.86)}
|
|
@ -1 +0,0 @@
|
|||
.v-note-wrapper[data-v-6e3d5767]{z-index:1000;min-height:580px}.post-thum .img[data-v-6e3d5767]{width:100%;cursor:pointer;border-radius:4px}.post-thum .post-thum-remove[data-v-6e3d5767]{margin-top:16px}
|
|
@ -1 +0,0 @@
|
|||
.attach-detail-img img{width:100%}.attach-item{width:50%;margin:0 auto;position:relative;padding-bottom:28%;overflow:hidden;float:left;cursor:pointer}.attach-item img{width:100%;height:100%;position:absolute;top:0;left:0}.upload-button[data-v-997dea54]{position:fixed;bottom:30px;right:30px}.theme-thumb[data-v-997dea54]{width:100%;margin:0 auto;position:relative;padding-bottom:56%;overflow:hidden}.theme-thumb img[data-v-997dea54]{width:100%;height:100%;position:absolute;top:0;left:0}
|
|
@ -1 +0,0 @@
|
|||
.attach-detail-img img{width:100%}.ant-divider-horizontal[data-v-4ec2892f]{margin:24px 0 12px 0}.search-box[data-v-4ec2892f]{padding-bottom:12px}.attach-thumb[data-v-4ec2892f]{width:100%;margin:0 auto;position:relative;padding-bottom:56%;overflow:hidden}.attach-thumb img[data-v-4ec2892f]{width:100%;height:100%;position:absolute;top:0;left:0}.ant-card-meta[data-v-4ec2892f]{padding:.8rem}.attach-detail-img img[data-v-4ec2892f]{width:100%}.table-operator[data-v-4ec2892f]{margin-bottom:0}
|
|
@ -1 +0,0 @@
|
|||
.v-note-wrapper[data-v-af5a5c54]{z-index:1000;min-height:580px}.sheet-thum .img[data-v-af5a5c54]{width:100%;cursor:pointer;border-radius:4px}.sheet-thum .sheet-thum-remove[data-v-af5a5c54]{margin-top:16px}
|
|
@ -1 +0,0 @@
|
|||
.attach-detail-img img{width:100%}.attach-item{width:50%;margin:0 auto;position:relative;padding-bottom:28%;overflow:hidden;float:left;cursor:pointer}.attach-item img{width:100%;height:100%;position:absolute;top:0;left:0}@font-face{font-family:fontello;src:url(../fonts/fontello.e73a0647.eot);src:url(../fonts/fontello.e73a0647.eot#iefix) format("embedded-opentype"),url(../fonts/fontello.8d4a4e6f.woff2) format("woff2"),url(../fonts/fontello.a782baa8.woff) format("woff"),url(../fonts/fontello.068ca2b3.ttf) format("truetype"),url(../assets/fontello.9354499c.svg#fontello) format("svg");font-weight:400;font-style:normal}[class*=" fa-mavon-"]:before,[class^=fa-mavon-]:before{font-family:fontello;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-mavon-bold:before{content:"\E800"}.fa-mavon-italic:before{content:"\E801"}.fa-mavon-thumb-tack:before{content:"\E802"}.fa-mavon-link:before{content:"\E803"}.fa-mavon-picture-o:before{content:"\E804"}.fa-mavon-repeat:before{content:"\E805"}.fa-mavon-undo:before{content:"\E806"}.fa-mavon-trash-o:before{content:"\E807"}.fa-mavon-floppy-o:before{content:"\E808"}.fa-mavon-compress:before{content:"\E809"}.fa-mavon-eye:before{content:"\E80A"}.fa-mavon-eye-slash:before{content:"\E80B"}.fa-mavon-question-circle:before{content:"\E80C"}.fa-mavon-times:before{content:"\E80D"}.fa-mavon-align-left:before{content:"\E80F"}.fa-mavon-align-center:before{content:"\E810"}.fa-mavon-align-right:before{content:"\E811"}.fa-mavon-arrows-alt:before{content:"\F0B2"}.fa-mavon-bars:before{content:"\F0C9"}.fa-mavon-list-ul:before{content:"\F0CA"}.fa-mavon-list-ol:before{content:"\F0CB"}.fa-mavon-strikethrough:before{content:"\F0CC"}.fa-mavon-underline:before{content:"\F0CD"}.fa-mavon-table:before{content:"\F0CE"}.fa-mavon-columns:before{content:"\F0DB"}.fa-mavon-quote-left:before{content:"\F10D"}.fa-mavon-code:before{content:"\F121"}.fa-mavon-superscript:before{content:"\F12B"}.fa-mavon-subscript:before{content:"\F12C"}.fa-mavon-header:before{content:"\F1DC"}.fa-mavon-window-maximize:before{content:"\F2D0"}.markdown-body strong{font-weight:bolder}.markdown-body .hljs-center{text-align:center}.markdown-body .hljs-right{text-align:right}.markdown-body .hljs-left{text-align:left}
|
|
@ -1 +1 @@
|
|||
.attach-item{width:50%;margin:0 auto;position:relative;padding-bottom:28%;overflow:hidden;float:left;cursor:pointer}.attach-item img{width:100%;height:100%;position:absolute;top:0;left:0}.page-header-wrapper-grid-content-main[data-v-a7229d4e]{width:100%;height:100%;min-height:100%;-webkit-transition:.3s;transition:.3s}.page-header-wrapper-grid-content-main .profile-center-avatarHolder[data-v-a7229d4e]{text-align:center;margin-bottom:24px}.page-header-wrapper-grid-content-main .profile-center-avatarHolder>.avatar[data-v-a7229d4e]{margin:0 auto;width:104px;height:104px;margin-bottom:20px;border-radius:50%;overflow:hidden;cursor:pointer}.page-header-wrapper-grid-content-main .profile-center-avatarHolder>.avatar img[data-v-a7229d4e]{height:100%;width:100%}.page-header-wrapper-grid-content-main .profile-center-avatarHolder .username[data-v-a7229d4e]{color:rgba(0,0,0,.85);font-size:20px;line-height:28px;font-weight:500;margin-bottom:4px}.page-header-wrapper-grid-content-main .profile-center-detail p[data-v-a7229d4e]{margin-bottom:8px;padding-left:26px;position:relative}.page-header-wrapper-grid-content-main .profile-center-detail i[data-v-a7229d4e]{position:absolute;height:14px;width:14px;left:0;top:4px}
|
||||
.attach-item{width:50%;margin:0 auto;position:relative;padding-bottom:28%;overflow:hidden;float:left;cursor:pointer}.attach-item img{width:100%;height:100%;position:absolute;top:0;left:0}.page-header-wrapper-grid-content-main[data-v-03b28064]{width:100%;height:100%;min-height:100%;-webkit-transition:.3s;transition:.3s}.page-header-wrapper-grid-content-main .profile-center-avatarHolder[data-v-03b28064]{text-align:center;margin-bottom:24px}.page-header-wrapper-grid-content-main .profile-center-avatarHolder>.avatar[data-v-03b28064]{margin:0 auto;width:104px;height:104px;margin-bottom:20px;border-radius:50%;overflow:hidden;cursor:pointer}.page-header-wrapper-grid-content-main .profile-center-avatarHolder>.avatar img[data-v-03b28064]{height:100%;width:100%}.page-header-wrapper-grid-content-main .profile-center-avatarHolder .username[data-v-03b28064]{color:rgba(0,0,0,.85);font-size:20px;line-height:28px;font-weight:500;margin-bottom:4px}.page-header-wrapper-grid-content-main .profile-center-detail p[data-v-03b28064]{margin-bottom:8px;padding-left:26px;position:relative}.page-header-wrapper-grid-content-main .profile-center-detail i[data-v-03b28064]{position:absolute;height:14px;width:14px;left:0;top:4px}
|
|
@ -1 +0,0 @@
|
|||
body{height:100%;background-color:#f5f5f5}.container{background:#f7f7f7;position:absolute;top:45%;left:50%;margin:-160px 0 0 -160px;width:320px;padding:16px 32px 32px 32px;-webkit-box-shadow:-4px 7px 46px 2px rgba(0,0,0,.1);box-shadow:-4px 7px 46px 2px rgba(0,0,0,.1)}.loginLogo{margin-bottom:20px;text-align:center}.loginLogo span{vertical-align:text-bottom;font-size:36px;display:inline-block;font-weight:600;color:#1790fe;background-image:-webkit-gradient(linear,37.219838% 34.532506%,36.425669% 93.178216%,from(#36c8f5),to(#1790fe),color-stop(.37,#1790fe));-webkit-text-fill-color:transparent;-webkit-background-clip:text}
|
|
@ -1 +0,0 @@
|
|||
body{height:100%;background-color:#f5f5f5}.container{background:#f7f7f7;position:absolute;top:45%;left:50%;margin:-160px 0 0 -160px;width:320px;padding:16px 32px 32px 32px;-webkit-box-shadow:-4px 7px 46px 2px rgba(0,0,0,.1);box-shadow:-4px 7px 46px 2px rgba(0,0,0,.1)}.loginLogo{margin-bottom:20px;text-align:center}.loginLogo span{vertical-align:text-bottom;font-size:36px;display:inline-block;font-weight:600;color:#1790fe;background-image:-webkit-gradient(linear,37.219838% 34.532506%,36.425669% 93.178216%,from(#36c8f5),to(#1790fe),color-stop(.37,#1790fe));-webkit-text-fill-color:transparent;-webkit-background-clip:text}
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
<!DOCTYPE html><html lang=zh-cmn-Hans><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name=robots content=noindex,nofllow><meta name=generator content=Halo><link rel=icon href=/logo.png><title>Halo Dashboard</title><link href=/css/chunk-064cfe12.b2814feb.css rel=prefetch><link href=/css/chunk-13e4f411.8481e8b4.css rel=prefetch><link href=/css/chunk-14e8932a.b6783003.css rel=prefetch><link href=/css/chunk-1c8b985a.c1990d7c.css rel=prefetch><link href=/css/chunk-34ed76cc.83f70656.css rel=prefetch><link href=/css/chunk-3d0d3479.d6ed662c.css rel=prefetch><link href=/css/chunk-4680d970.02508ef3.css rel=prefetch><link href=/css/chunk-4fb0639b.09186be6.css rel=prefetch><link href=/css/chunk-54edf48d.e7ee2717.css rel=prefetch><link href=/css/chunk-600e260e.f2a1ab27.css rel=prefetch><link href=/css/chunk-711916da.04ee7224.css rel=prefetch><link href=/css/chunk-77a9d16e.b63bc0c1.css rel=prefetch><link href=/css/chunk-9449c032.6f053d75.css rel=prefetch><link href=/css/chunk-fba59fe4.5ac5144c.css rel=prefetch><link href=/css/fail.809a6bc5.css rel=prefetch><link href=/js/chunk-064cfe12.df00a3ca.js rel=prefetch><link href=/js/chunk-13e4f411.2ac7d87e.js rel=prefetch><link href=/js/chunk-142c8832.715bdc27.js rel=prefetch><link href=/js/chunk-14e8932a.59eedd4d.js rel=prefetch><link href=/js/chunk-1c8b985a.93162451.js rel=prefetch><link href=/js/chunk-2d0b64bf.9000ac85.js rel=prefetch><link href=/js/chunk-2d0d65a2.611872ef.js rel=prefetch><link href=/js/chunk-2d21a35c.a35eae67.js rel=prefetch><link href=/js/chunk-34ed76cc.6c33e2e0.js rel=prefetch><link href=/js/chunk-3d0d3479.03f0a46b.js rel=prefetch><link href=/js/chunk-407d6578.e43ee2d4.js rel=prefetch><link href=/js/chunk-4680d970.7a8dd3c7.js rel=prefetch><link href=/js/chunk-4fb0639b.e57f582f.js rel=prefetch><link href=/js/chunk-54edf48d.23058ce4.js rel=prefetch><link href=/js/chunk-5a69cdaa.4485525a.js rel=prefetch><link href=/js/chunk-5bf599cc.d1b50aeb.js rel=prefetch><link href=/js/chunk-600e260e.5697a5b8.js rel=prefetch><link href=/js/chunk-711916da.db117703.js rel=prefetch><link href=/js/chunk-77a9d16e.89ba6039.js rel=prefetch><link href=/js/chunk-87e2df70.f9d1497b.js rel=prefetch><link href=/js/chunk-9449c032.386ae712.js rel=prefetch><link href=/js/chunk-fba59fe4.be119cc8.js rel=prefetch><link href=/js/fail.af1881f8.js rel=prefetch><link href=/css/app.d4a9b439.css rel=preload as=style><link href=/css/chunk-vendors.6b95225a.css rel=preload as=style><link href=/js/app.4d56c5c3.js rel=preload as=script><link href=/js/chunk-vendors.674200fc.js rel=preload as=script><link href=/css/chunk-vendors.6b95225a.css rel=stylesheet><link href=/css/app.d4a9b439.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.674200fc.js></script><script src=/js/app.4d56c5c3.js></script></body></html>
|
||||
<!DOCTYPE html><html lang=zh-cmn-Hans><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name=robots content=noindex,nofllow><meta name=generator content=Halo><link rel=icon href=/logo.png><title>Halo Dashboard</title><link href=/css/chunk-13e4f411.8481e8b4.css rel=prefetch><link href=/css/chunk-14e8932a.b6783003.css rel=prefetch><link href=/css/chunk-1a112dee.45475c5a.css rel=prefetch><link href=/css/chunk-1c8b985a.c1990d7c.css rel=prefetch><link href=/css/chunk-2292601a.3796d963.css rel=prefetch><link href=/css/chunk-326c9cc0.f3d819ff.css rel=prefetch><link href=/css/chunk-3d0d3479.d6ed662c.css rel=prefetch><link href=/css/chunk-430d5ab2.a192a5b3.css rel=prefetch><link href=/css/chunk-4680d970.02508ef3.css rel=prefetch><link href=/css/chunk-4fb0639b.09186be6.css rel=prefetch><link href=/css/chunk-54edf48d.e7ee2717.css rel=prefetch><link href=/css/chunk-9449c032.6f053d75.css rel=prefetch><link href=/css/chunk-ce798896.c624e695.css rel=prefetch><link href=/css/chunk-fba59fe4.5ac5144c.css rel=prefetch><link href=/css/fail.809a6bc5.css rel=prefetch><link href=/js/chunk-13e4f411.d49af1be.js rel=prefetch><link href=/js/chunk-142c8832.715bdc27.js rel=prefetch><link href=/js/chunk-14e8932a.59eedd4d.js rel=prefetch><link href=/js/chunk-1a112dee.8db74f52.js rel=prefetch><link href=/js/chunk-1c8b985a.b30be155.js rel=prefetch><link href=/js/chunk-2292601a.c6056b46.js rel=prefetch><link href=/js/chunk-2d0b64bf.edda42f8.js rel=prefetch><link href=/js/chunk-2d0d65a2.611872ef.js rel=prefetch><link href=/js/chunk-2d21a35c.a35eae67.js rel=prefetch><link href=/js/chunk-326c9cc0.29d10314.js rel=prefetch><link href=/js/chunk-3d0d3479.03f0a46b.js rel=prefetch><link href=/js/chunk-407d6578.e43ee2d4.js rel=prefetch><link href=/js/chunk-430d5ab2.7949e496.js rel=prefetch><link href=/js/chunk-4680d970.7a8dd3c7.js rel=prefetch><link href=/js/chunk-4fb0639b.e57f582f.js rel=prefetch><link href=/js/chunk-54edf48d.23058ce4.js rel=prefetch><link href=/js/chunk-5a69cdaa.4485525a.js rel=prefetch><link href=/js/chunk-5bf599cc.b18a9360.js rel=prefetch><link href=/js/chunk-87e2df70.f9d1497b.js rel=prefetch><link href=/js/chunk-9449c032.386ae712.js rel=prefetch><link href=/js/chunk-ce798896.2efd9e1c.js rel=prefetch><link href=/js/chunk-fba59fe4.be119cc8.js rel=prefetch><link href=/js/fail.af1881f8.js rel=prefetch><link href=/css/app.cf1b528f.css rel=preload as=style><link href=/css/chunk-vendors.6b95225a.css rel=preload as=style><link href=/js/app.891ab89a.js rel=preload as=script><link href=/js/chunk-vendors.674200fc.js rel=preload as=script><link href=/css/chunk-vendors.6b95225a.css rel=stylesheet><link href=/css/app.cf1b528f.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.674200fc.js></script><script src=/js/app.891ab89a.js></script></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0ba750a2"],{aa1e:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"page-header-index-wide"},[e("a-row",{attrs:{gutter:12}},[e("a-col",{style:{"padding-bottom":"12px"},attrs:{xl:10,lg:10,md:10,sm:24,xs:24}},[e("a-card",{attrs:{title:"添加标签"}},[e("a-form",{attrs:{layout:"horizontal"}},[e("a-form-item",{attrs:{label:"名称:",help:"* 页面上所显示的名称"}},[e("a-input",{model:{value:t.tagToCreate.name,callback:function(a){t.$set(t.tagToCreate,"name",a)},expression:"tagToCreate.name"}})],1),e("a-form-item",{attrs:{label:"路径名称:",help:"* 这是文章路径上显示的名称,最好为英文"}},[e("a-input",{model:{value:t.tagToCreate.slugName,callback:function(a){t.$set(t.tagToCreate,"slugName",a)},expression:"tagToCreate.slugName"}})],1),e("a-form-item",[e("a-button",{attrs:{type:"primary"},on:{click:t.handleCreateTag}},[t._v("保存")])],1)],1)],1)],1),e("a-col",{style:{"padding-bottom":"12px"},attrs:{xl:14,lg:14,md:14,sm:24,xs:24}},[e("a-card",{attrs:{title:"所有标签"}},t._l(t.tags,function(a){return e("a-tooltip",{key:a.id,attrs:{placement:"topLeft"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(a.postCount)+" 篇文章")])]),e("a-tag",{attrs:{closable:"",color:"blue"},on:{close:function(e){return t.handleDeleteTag(a.id)}}},[t._v(t._s(a.name))])],2)}),1)],1)],1)],1)},o=[],l=e("d28d"),r={data:function(){return{tags:[],tagToCreate:{},tagToUpdate:{}}},created:function(){this.loadTags()},methods:{loadTags:function(){var t=this;l["a"].listAll(!0).then(function(a){t.tags=a.data.data})},handleCreateTag:function(){var t=this;l["a"].create(this.tagToCreate).then(function(a){t.loadTags()})},handleUpdateTag:function(t){var a=this;l["a"].update(t,this.tagToUpdate).then(function(t){a.loadTags()})},handleDeleteTag:function(t){var a=this;l["a"].delete(t).then(function(t){a.$message.success("删除成功!"),a.loadTags()})}}},s=r,c=e("2877"),i=Object(c["a"])(s,n,o,!1,null,null,null);a["default"]=i.exports},d28d:function(t,a,e){"use strict";var n=e("9efd"),o="/api/admin/tags",l={listAll:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(n["a"])({url:o,params:{more:t},method:"get"})},createWithName:function(t){return Object(n["a"])({url:o,data:{name:t},method:"post"})},create:function(t){return Object(n["a"])({url:o,data:t,method:"post"})},update:function(t,a){return Object(n["a"])({url:"".concat(o,"/").concat(t),data:a,method:"put"})},delete:function(t){return Object(n["a"])({url:"".concat(o,"/").concat(t),method:"delete"})}};a["a"]=l}}]);
|
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0ba750a2"],{aa1e:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"page-header-index-wide"},[e("a-row",{attrs:{gutter:12}},[e("a-col",{style:{"padding-bottom":"12px"},attrs:{xl:10,lg:10,md:10,sm:24,xs:24}},[e("a-card",{attrs:{title:"添加标签"}},[e("a-form",{attrs:{layout:"horizontal"}},[e("a-form-item",{attrs:{label:"名称:",help:"* 页面上所显示的名称"}},[e("a-input",{model:{value:t.tagToCreate.name,callback:function(a){t.$set(t.tagToCreate,"name",a)},expression:"tagToCreate.name"}})],1),e("a-form-item",{attrs:{label:"路径名称:",help:"* 这是文章路径上显示的名称,最好为英文"}},[e("a-input",{model:{value:t.tagToCreate.slugName,callback:function(a){t.$set(t.tagToCreate,"slugName",a)},expression:"tagToCreate.slugName"}})],1),e("a-form-item",[e("a-button",{attrs:{type:"primary"},on:{click:t.handleCreateTag}},[t._v("保存")])],1)],1)],1)],1),e("a-col",{style:{"padding-bottom":"12px"},attrs:{xl:14,lg:14,md:14,sm:24,xs:24}},[e("a-card",{attrs:{title:"所有标签"}},t._l(t.tags,function(a){return e("a-tooltip",{key:a.id,attrs:{placement:"topLeft"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(a.postCount)+" 篇文章")])]),e("a-tag",{attrs:{closable:"",color:"blue"},on:{close:function(e){return t.handleDeleteTag(a.id)}}},[t._v(t._s(a.name))])],2)}),1)],1)],1)],1)},o=[],l=e("d28d"),r={data:function(){return{tags:[],tagToCreate:{},tagToUpdate:{}}},created:function(){this.loadTags()},methods:{loadTags:function(){var t=this;l["a"].listAll(!0).then(function(a){t.tags=a.data.data})},handleCreateTag:function(){var t=this;l["a"].create(this.tagToCreate).then(function(a){t.loadTags()})},handleUpdateTag:function(t){var a=this;l["a"].update(t,this.tagToUpdate).then(function(t){a.loadTags()})},handleDeleteTag:function(t){var a=this;l["a"].delete(t).then(function(t){a.$message.success("删除成功!"),a.loadTags()})}}},s=r,c=e("2877"),i=Object(c["a"])(s,n,o,!1,null,null,null);a["default"]=i.exports},d28d:function(t,a,e){"use strict";var n=e("9efd"),o="/api/admin/tags",l={listAll:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(n["a"])({url:o,params:{more:t},method:"get"})},createWithName:function(t){return Object(n["a"])({url:o,data:{name:t},method:"post"})},create:function(t){return Object(n["a"])({url:o,data:t,method:"post"})},update:function(t,a){return Object(n["a"])({url:"".concat(o,"/").concat(t),data:a,method:"put"})},delete:function(t){return Object(n["a"])({url:"".concat(o,"/").concat(t),method:"delete"})}};a["a"]=l}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1842ae66"],{2967:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page-header-index-wide"},[a("a-row",[a("a-col",{attrs:{span:24}},[a("a-card",{attrs:{bordered:!1}},[a("a-list",{attrs:{itemLayout:"horizontal"}},[a("a-list-item",[a("a-list-item-meta",[a("h3",{attrs:{slot:"title"},slot:"title"},[t._v("\n 环境信息\n ")]),a("template",{slot:"description"},[a("ul",[a("li",[t._v("版本:1.0")]),a("li",[t._v("数据库:"+t._s(t.environments.database))]),a("li",[t._v("启动时间:"+t._s(t._f("moment")(t.environments.startTime)))])]),a("a",{attrs:{href:"https://github.com/halo-dev",target:"_blank"}},[t._v("开源地址\n "),a("a-icon",{attrs:{type:"link"}})],1),t._v(" \n "),a("a",{attrs:{href:"https://docs.halo.run",target:"_blank"}},[t._v("用户文档\n "),a("a-icon",{attrs:{type:"link"}})],1),t._v(" \n "),a("a",{attrs:{href:"https://bbs.halo.run",target:"_blank"}},[t._v("问题反馈\n "),a("a-icon",{attrs:{type:"link"}})],1),t._v(" \n ")])],2)],1),a("a-list-item",[a("a-list-item-meta",[a("h3",{attrs:{slot:"title"},slot:"title"},[t._v("\n 开发者\n ")]),a("template",{slot:"description"},t._l(t.developers,function(t,e){return a("a-tooltip",{key:e,attrs:{placement:"top",title:t.name}},[a("a-avatar",{style:{marginRight:"10px"},attrs:{size:"large",src:t.avatar}})],1)}),1)],2)],1),a("a-list-item",[a("a-list-item-meta",[a("h3",{attrs:{slot:"title"},slot:"title"},[t._v("\n 时间轴\n ")]),a("template",{slot:"description"},[a("a-timeline",[a("a-timeline-item",[t._v("...")]),t._l(t.steps,function(e,n){return a("a-timeline-item",{key:n},[t._v(t._s(e.date)+" "+t._s(e.content))])})],2)],1)],2)],1)],1)],1)],1)],1)],1)},i=[],s=a("50fc"),r={data:function(){return{environments:{},developers:[{name:"Ryan Wang",avatar:"https://gravatar.loli.net/avatar/7cc7f29278071bd4dce995612d428834?s=256&d=mm",website:"https://ryanc.cc",github:"https://github.com/ruibaby"},{name:"John Niang",avatar:"https://johnniang.me/imgs/avatar.png",website:"https://johnniang.me",github:"https://github.com/johnniang"}],steps:[{date:"2019-??-??",content:"1.0 正式版发布"},{date:"2019-05-03",content:"Star 数达到 3300"},{date:"2019-01-30",content:"John Niang 加入开发"},{date:"2018-10-18",content:"构建镜像到 Docker hub"},{date:"2018-09-22",content:"Star 数达到 800"},{date:"2018-05-02",content:"第一条 Issue"},{date:"2018-05-01",content:"Star 数达到 100"},{date:"2018-04-29",content:"第一个 Pull request"},{date:"2018-04-28",content:"正式开源"},{date:"2018-03-21",content:"确定命名为 Halo,并上传到 Github"}]}},created:function(){this.getEnvironments()},methods:{getEnvironments:function(){var t=this;s["a"].environments().then(function(e){t.environments=e.data.data})}}},o=r,l=(a("5ea2"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,null,null);e["default"]=c.exports},"5ea2":function(t,e,a){"use strict";var n=a("e563"),i=a.n(n);i.a},e563:function(t,e,a){}}]);
|
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1842ae66"],{2967:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page-header-index-wide"},[a("a-row",[a("a-col",{attrs:{span:24}},[a("a-card",{attrs:{bordered:!1}},[a("a-list",{attrs:{itemLayout:"horizontal"}},[a("a-list-item",[a("a-list-item-meta",[a("h3",{attrs:{slot:"title"},slot:"title"},[t._v("\n 环境信息\n ")]),a("template",{slot:"description"},[a("ul",[a("li",[t._v("版本:1.0")]),a("li",[t._v("数据库:"+t._s(t.environments.database))]),a("li",[t._v("启动时间:"+t._s(t._f("moment")(t.environments.startTime)))])]),a("a",{attrs:{href:"https://github.com/halo-dev",target:"_blank"}},[t._v("开源地址\n "),a("a-icon",{attrs:{type:"link"}})],1),t._v(" \n "),a("a",{attrs:{href:"https://docs.halo.run",target:"_blank"}},[t._v("用户文档\n "),a("a-icon",{attrs:{type:"link"}})],1),t._v(" \n "),a("a",{attrs:{href:"https://bbs.halo.run",target:"_blank"}},[t._v("问题反馈\n "),a("a-icon",{attrs:{type:"link"}})],1),t._v(" \n ")])],2)],1),a("a-list-item",[a("a-list-item-meta",[a("h3",{attrs:{slot:"title"},slot:"title"},[t._v("\n 开发者\n ")]),a("template",{slot:"description"},t._l(t.developers,function(t,e){return a("a-tooltip",{key:e,attrs:{placement:"top",title:t.name}},[a("a-avatar",{style:{marginRight:"10px"},attrs:{size:"large",src:t.avatar}})],1)}),1)],2)],1),a("a-list-item",[a("a-list-item-meta",[a("h3",{attrs:{slot:"title"},slot:"title"},[t._v("\n 时间轴\n ")]),a("template",{slot:"description"},[a("a-timeline",[a("a-timeline-item",[t._v("...")]),t._l(t.steps,function(e,n){return a("a-timeline-item",{key:n},[t._v(t._s(e.date)+" "+t._s(e.content))])})],2)],1)],2)],1)],1)],1)],1)],1)],1)},i=[],s=a("50fc"),r={data:function(){return{environments:{},developers:[{name:"Ryan Wang",avatar:"https://gravatar.loli.net/avatar/7cc7f29278071bd4dce995612d428834?s=256&d=mm",website:"https://ryanc.cc",github:"https://github.com/ruibaby"},{name:"John Niang",avatar:"https://johnniang.me/imgs/avatar.png",website:"https://johnniang.me",github:"https://github.com/johnniang"}],steps:[{date:"2019-??-??",content:"1.0 正式版发布"},{date:"2019-05-03",content:"Star 数达到 3300"},{date:"2019-01-30",content:"John Niang 加入开发"},{date:"2018-10-18",content:"构建镜像到 Docker hub"},{date:"2018-09-22",content:"Star 数达到 800"},{date:"2018-05-02",content:"第一条 Issue"},{date:"2018-05-01",content:"Star 数达到 100"},{date:"2018-04-29",content:"第一个 Pull request"},{date:"2018-04-28",content:"正式开源"},{date:"2018-03-21",content:"确定命名为 Halo,并上传到 Github"}]}},created:function(){this.getEnvironments()},methods:{getEnvironments:function(){var t=this;s["a"].environments().then(function(e){t.environments=e.data.data})}}},o=r,l=(a("5ea2"),a("2877")),c=Object(l["a"])(o,n,i,!1,null,null,null);e["default"]=c.exports},"5ea2":function(t,e,a){"use strict";var n=a("e563"),i=a.n(n);i.a},e563:function(t,e,a){}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-28db7404"],{"10a3":function(n,t,u){"use strict";var a=function(){var n=this,t=n.$createElement,u=n._self._c||t;return u("div")},e=[];u.d(t,"a",function(){return a}),u.d(t,"b",function(){return e})},"7ad4":function(n,t,u){"use strict";u.r(t);var a=u("9cae"),e=u.n(a);for(var r in a)"default"!==r&&function(n){u.d(t,n,function(){return a[n]})}(r);t["default"]=e.a},"9cae":function(n,t){},bb51:function(n,t,u){"use strict";u.r(t);var a=u("10a3"),e=u("7ad4");for(var r in e)"default"!==r&&function(n){u.d(t,n,function(){return e[n]})}(r);var c=u("2877"),i=Object(c["a"])(e["default"],a["a"],a["b"],!1,null,"ac9e2e42",null);t["default"]=i.exports}}]);
|
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-28db7404"],{"10a3":function(n,t,u){"use strict";var a=function(){var n=this,t=n.$createElement,u=n._self._c||t;return u("div")},e=[];u.d(t,"a",function(){return a}),u.d(t,"b",function(){return e})},"7ad4":function(n,t,u){"use strict";u.r(t);var a=u("9cae"),e=u.n(a);for(var r in a)"default"!==r&&function(n){u.d(t,n,function(){return a[n]})}(r);t["default"]=e.a},"9cae":function(n,t){},bb51:function(n,t,u){"use strict";u.r(t);var a=u("10a3"),e=u("7ad4");for(var r in e)"default"!==r&&function(n){u.d(t,n,function(){return e[n]})}(r);var c=u("2877"),i=Object(c["a"])(e["default"],a["a"],a["b"],!1,null,"ac9e2e42",null);t["default"]=i.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21a35c"],{bb17:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page-header-index-wide"},[n("a-row",{attrs:{gutter:12}},[n("a-col",{style:{"padding-bottom":"12px"},attrs:{xl:10,lg:10,md:10,sm:24,xs:24}},[n("a-card",{attrs:{title:t.title}},[n("a-form",{attrs:{layout:"horizontal"}},[n("a-form-item",{attrs:{label:"网站名称:"}},[n("a-input",{model:{value:t.link.name,callback:function(e){t.$set(t.link,"name",e)},expression:"link.name"}})],1),n("a-form-item",{attrs:{label:"网站地址:",help:"* 需要加上 http://"}},[n("a-input",{model:{value:t.link.url,callback:function(e){t.$set(t.link,"url",e)},expression:"link.url"}})],1),n("a-form-item",{attrs:{label:"Logo:"}},[n("a-input",{model:{value:t.link.logo,callback:function(e){t.$set(t.link,"logo",e)},expression:"link.logo"}})],1),n("a-form-item",{attrs:{label:"分组:",help:"* 非必填"}},[n("a-input",{model:{value:t.link.team,callback:function(e){t.$set(t.link,"team",e)},expression:"link.team"}})],1),n("a-form-item",{attrs:{label:"描述:"}},[n("a-input",{attrs:{type:"textarea",autosize:{minRows:5}},model:{value:t.link.description,callback:function(e){t.$set(t.link,"description",e)},expression:"link.description"}})],1),n("a-form-item",["create"===t.formType?n("a-button",{attrs:{type:"primary"},on:{click:t.handleSaveClick}},[t._v("保存")]):n("a-button-group",[n("a-button",{attrs:{type:"primary"},on:{click:t.handleSaveClick}},[t._v("更新")]),"update"===t.formType?n("a-button",{attrs:{type:"dashed"},on:{click:t.handleAddLink}},[t._v("返回添加")]):t._e()],1)],1)],1)],1)],1),n("a-col",{style:{"padding-bottom":"12px"},attrs:{xl:14,lg:14,md:14,sm:24,xs:24}},[n("a-card",{attrs:{title:"所有友情链接"}},[n("a-table",{attrs:{columns:t.columns,dataSource:t.links,loading:t.loading,rowKey:function(t){return t.id}},scopedSlots:t._u([{key:"url",fn:function(e){return[n("a",{attrs:{target:"_blank",href:e}},[t._v(t._s(e))])]}},{key:"name",fn:function(e){return n("ellipsis",{attrs:{length:15,tooltip:""}},[t._v(t._s(e))])}},{key:"action",fn:function(e,a){return n("span",{},[n("a",{attrs:{href:"javascript:;"},on:{click:function(e){return t.handleEditLink(a.id)}}},[t._v("编辑")]),n("a-divider",{attrs:{type:"vertical"}}),n("a-popconfirm",{attrs:{title:"你确定要删除【"+a.name+"】链接?",okText:"确定",cancelText:"取消"},on:{confirm:function(e){return t.handleDeleteLink(a.id)}}},[n("a",{attrs:{href:"javascript:;"}},[t._v("删除")])])],1)}}])})],1)],1)],1)],1)},i=[],l=(n("b54a"),n("9efd")),o="/api/admin/links",r={listAll:function(){return Object(l["a"])({url:"".concat(o),method:"get"})},create:function(t){return Object(l["a"])({url:o,data:t,method:"post"})},get:function(t){return Object(l["a"])({url:"".concat(o,"/").concat(t),method:"get"})},update:function(t,e){return Object(l["a"])({url:"".concat(o,"/").concat(t),data:e,method:"put"})},delete:function(t){return Object(l["a"])({url:"".concat(o,"/").concat(t),method:"delete"})}},c=r,s=[{title:"名称",dataIndex:"name",scopedSlots:{customRender:"name"}},{title:"网址",dataIndex:"url",scopedSlots:{customRender:"url"}},{title:"分组",dataIndex:"team"},{title:"操作",key:"action",scopedSlots:{customRender:"action"}}],d={data:function(){return{formType:"create",data:[],loading:!1,columns:s,links:[],link:{}}},computed:{title:function(){return this.link.id?"修改友情链接":"添加友情链接"}},created:function(){this.loadLinks()},methods:{loadLinks:function(){var t=this;this.loading=!0,c.listAll().then(function(e){t.links=e.data.data,t.loading=!1})},handleSaveClick:function(){this.createOrUpdateLink()},handleAddLink:function(){this.formType="create",this.link={}},handleEditLink:function(t){var e=this;c.get(t).then(function(t){e.link=t.data.data,e.formType="update"})},handleDeleteLink:function(t){var e=this;c.delete(t).then(function(t){e.$message.success("删除成功!"),e.loadLinks()})},createOrUpdateLink:function(){var t=this;this.link.id?c.update(this.link.id,this.link).then(function(e){t.$message.success("更新成功!"),t.loadLinks()}):c.create(this.link).then(function(e){t.$message.success("保存成功!"),t.loadLinks()}),this.handleAddLink()}}},u=d,m=n("2877"),k=Object(m["a"])(u,a,i,!1,null,"56d4c6ed",null);e["default"]=k.exports}}]);
|
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21a35c"],{bb17:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page-header-index-wide"},[n("a-row",{attrs:{gutter:12}},[n("a-col",{style:{"padding-bottom":"12px"},attrs:{xl:10,lg:10,md:10,sm:24,xs:24}},[n("a-card",{attrs:{title:t.title}},[n("a-form",{attrs:{layout:"horizontal"}},[n("a-form-item",{attrs:{label:"网站名称:"}},[n("a-input",{model:{value:t.link.name,callback:function(e){t.$set(t.link,"name",e)},expression:"link.name"}})],1),n("a-form-item",{attrs:{label:"网站地址:",help:"* 需要加上 http://"}},[n("a-input",{model:{value:t.link.url,callback:function(e){t.$set(t.link,"url",e)},expression:"link.url"}})],1),n("a-form-item",{attrs:{label:"Logo:"}},[n("a-input",{model:{value:t.link.logo,callback:function(e){t.$set(t.link,"logo",e)},expression:"link.logo"}})],1),n("a-form-item",{attrs:{label:"分组:",help:"* 非必填"}},[n("a-input",{model:{value:t.link.team,callback:function(e){t.$set(t.link,"team",e)},expression:"link.team"}})],1),n("a-form-item",{attrs:{label:"描述:"}},[n("a-input",{attrs:{type:"textarea",autosize:{minRows:5}},model:{value:t.link.description,callback:function(e){t.$set(t.link,"description",e)},expression:"link.description"}})],1),n("a-form-item",["create"===t.formType?n("a-button",{attrs:{type:"primary"},on:{click:t.handleSaveClick}},[t._v("保存")]):n("a-button-group",[n("a-button",{attrs:{type:"primary"},on:{click:t.handleSaveClick}},[t._v("更新")]),"update"===t.formType?n("a-button",{attrs:{type:"dashed"},on:{click:t.handleAddLink}},[t._v("返回添加")]):t._e()],1)],1)],1)],1)],1),n("a-col",{style:{"padding-bottom":"12px"},attrs:{xl:14,lg:14,md:14,sm:24,xs:24}},[n("a-card",{attrs:{title:"所有友情链接"}},[n("a-table",{attrs:{columns:t.columns,dataSource:t.links,loading:t.loading,rowKey:function(t){return t.id}},scopedSlots:t._u([{key:"url",fn:function(e){return[n("a",{attrs:{target:"_blank",href:e}},[t._v(t._s(e))])]}},{key:"name",fn:function(e){return n("ellipsis",{attrs:{length:15,tooltip:""}},[t._v(t._s(e))])}},{key:"action",fn:function(e,a){return n("span",{},[n("a",{attrs:{href:"javascript:;"},on:{click:function(e){return t.handleEditLink(a.id)}}},[t._v("编辑")]),n("a-divider",{attrs:{type:"vertical"}}),n("a-popconfirm",{attrs:{title:"你确定要删除【"+a.name+"】链接?",okText:"确定",cancelText:"取消"},on:{confirm:function(e){return t.handleDeleteLink(a.id)}}},[n("a",{attrs:{href:"javascript:;"}},[t._v("删除")])])],1)}}])})],1)],1)],1)],1)},i=[],l=(n("b54a"),n("9efd")),o="/api/admin/links",r={listAll:function(){return Object(l["a"])({url:"".concat(o),method:"get"})},create:function(t){return Object(l["a"])({url:o,data:t,method:"post"})},get:function(t){return Object(l["a"])({url:"".concat(o,"/").concat(t),method:"get"})},update:function(t,e){return Object(l["a"])({url:"".concat(o,"/").concat(t),data:e,method:"put"})},delete:function(t){return Object(l["a"])({url:"".concat(o,"/").concat(t),method:"delete"})}},c=r,s=[{title:"名称",dataIndex:"name",scopedSlots:{customRender:"name"}},{title:"网址",dataIndex:"url",scopedSlots:{customRender:"url"}},{title:"分组",dataIndex:"team"},{title:"操作",key:"action",scopedSlots:{customRender:"action"}}],d={data:function(){return{formType:"create",data:[],loading:!1,columns:s,links:[],link:{}}},computed:{title:function(){return this.link.id?"修改友情链接":"添加友情链接"}},created:function(){this.loadLinks()},methods:{loadLinks:function(){var t=this;this.loading=!0,c.listAll().then(function(e){t.links=e.data.data,t.loading=!1})},handleSaveClick:function(){this.createOrUpdateLink()},handleAddLink:function(){this.formType="create",this.link={}},handleEditLink:function(t){var e=this;c.get(t).then(function(t){e.link=t.data.data,e.formType="update"})},handleDeleteLink:function(t){var e=this;c.delete(t).then(function(t){e.$message.success("删除成功!"),e.loadLinks()})},createOrUpdateLink:function(){var t=this;this.link.id?c.update(this.link.id,this.link).then(function(e){t.$message.success("更新成功!"),t.loadLinks()}):c.create(this.link).then(function(e){t.$message.success("保存成功!"),t.loadLinks()}),this.handleAddLink()}}},u=d,m=n("2877"),k=Object(m["a"])(u,a,i,!1,null,"56d4c6ed",null);e["default"]=k.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue