Commit 7166829d authored by ruibaby's avatar ruibaby
Browse files

release: 1.3.0-beta.1.

parent ca33475e
No related merge requests found
Showing with 2 additions and 49 deletions
+2 -49
......@@ -9,7 +9,7 @@ apply plugin: 'io.spring.dependency-management'
group = 'run.halo.app'
archivesBaseName = 'halo'
version = '1.2.0'
version = '1.3.0-beta.1'
sourceCompatibility = '1.8'
description = 'Halo, personal blog system developed in Java.'
......
This diff is collapsed.
.verte{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.verte *{-webkit-box-sizing:border-box;box-sizing:border-box}.verte--loading{opacity:0}.verte__guide{width:24px;height:24px;padding:0;border:0;background:transparent}.verte__guide:focus{outline:0}.verte__guide svg{width:100%;height:100%;fill:inherit}.verte__menu{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:250px;border-radius:6px;background-color:#fff;will-change:transform;-webkit-box-shadow:0 8px 15px rgba(0,0,0,.1);box-shadow:0 8px 15px rgba(0,0,0,.1)}.verte__menu:focus{outline:none}.verte__menu-origin{display:none;position:absolute;z-index:10}.verte__menu-origin--active{display:-webkit-box;display:-ms-flexbox;display:flex}.verte__menu-origin--static{position:static;z-index:auto}.verte__menu-origin--top{bottom:50px}.verte__menu-origin--bottom{top:50px}.verte__menu-origin--right{right:0}.verte__menu-origin--left{left:0}.verte__menu-origin--center{position:fixed;top:0;left:0;width:100vw;height:100vh;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(0,0,0,.1)}.verte__menu-origin:focus{outline:none}.verte__controller{padding:0 20px 20px}.verte__recent{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.verte__recent-color{margin:4px;width:27px;height:27px;border-radius:50%;background-color:#fff;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.1);box-shadow:0 2px 4px rgba(0,0,0,.1);background-image:linear-gradient(45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(112,128,144,.5) 0),linear-gradient(-45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(-45deg,transparent 75%,rgba(112,128,144,.5) 0);background-size:6px 6px;background-position:0 0,3px -3px,0 3px,-3px 0;overflow:hidden}.verte__recent-color:after{content:"";display:block;width:100%;height:100%;background-color:currentColor}.verte__value{padding:.6em;width:100%;border:1px solid #708090;border-radius:6px 0 0 6px;text-align:center;font-size:12px;-webkit-appearance:none;-moz-appearance:textfield}.verte__value:focus{outline:none;border-color:#1a3aff}.verte__icon{width:20px;height:20px}.verte__icon--small{width:12px;height:12px}.verte__input{padding:5px;margin:0 3px;min-width:0;text-align:center;border-width:0 0 1px 0;-webkit-appearance:none;appearance:none;-moz-appearance:textfield}.verte__input::-webkit-inner-spin-button,.verte__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.verte__inputs{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:16px;margin-bottom:5px}.verte__draggable{border-radius:6px 6px 0 0;height:8px;width:100%;cursor:-webkit-grab;cursor:grab;background:linear-gradient(90deg,#fff 2px,transparent 1%) 50%,linear-gradient(#fff 2px,transparent 1%) 50%,rgba(112,128,144,.2);background-size:4px 4px}.verte__model,.verte__submit{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:1px;border:0;text-align:center;cursor:pointer;background-color:transparent;font-weight:700;color:#708090;fill:#708090;outline:none}.verte__model:hover,.verte__submit:hover{fill:#1a3aff;color:#1a3aff}.verte__close{position:absolute;top:1px;right:1px;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px;cursor:pointer;border-radius:50%;border:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);background-color:rgba(0,0,0,.4);fill:#fff;outline:none;-webkit-box-shadow:1px 1px 1px rgba(0,0,0,.2);box-shadow:1px 1px 1px rgba(0,0,0,.2)}.verte__close:hover{background-color:rgba(0,0,0,.6)}.verte-picker{width:100%;margin:0 auto 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.verte-picker--wheel{margin-top:20px}.verte-picker__origin{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;margin:0 auto;overflow:hidden}.verte-picker__slider{margin:20px 20px 0}.verte-picker__canvas{display:block}.verte-picker__cursor{position:absolute;top:0;left:0;margin:-6px;width:12px;height:12px;border:1px solid #fff;border-radius:50%;will-change:transform;pointer-events:none;background-color:transparent;-webkit-box-shadow:#fff 0 0 0 1.5px,rgba(0,0,0,.3) 0 0 1px 1px inset,rgba(0,0,0,.4) 0 0 1px 2px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.slider,.verte-picker__input{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.slider{position:relative;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:20px}.slider--dragging .slider-label,.slider:hover .slider-label{visibility:visible;opacity:1}.slider__input{margin-bottom:0;padding:.3em;margin-left:.2em;max-width:70px;width:20%;border:0;text-align:center;font-size:12px;-webkit-appearance:none;-moz-appearance:textfield}.slider__input::-webkit-inner-spin-button,.slider__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.slider__input:focus{outline:none;border-color:#1a3aff}.slider__track{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;margin:3px;width:auto;height:8px;background:#fff;will-change:transfom;background-image:linear-gradient(45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(112,128,144,.5) 0),linear-gradient(-45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(-45deg,transparent 75%,rgba(112,128,144,.5) 0);background-size:6px 6px;background-position:0 0,3px -3px,0 3px,-3px 0;border-radius:10px}.slider__handle{position:relative;position:absolute;top:0;left:0;will-change:transform;color:#000;margin:-2px 0 0 -8px;width:12px;height:12px;border:2px solid #fff;background-color:currentColor;border-radius:50%;-webkit-box-shadow:0 1px 4px -2px #000;box-shadow:0 1px 4px -2px #000}.slider__label{position:absolute;top:-3em;left:.4em;z-index:999;visibility:hidden;padding:6px;min-width:3em;border-radius:6px;background-color:#000;color:#fff;text-align:center;font-size:12px;line-height:1em;opacity:0;-webkit-transform:translate(-50%);transform:translate(-50%);white-space:nowrap}.slider__label:before{position:absolute;bottom:-.6em;left:50%;display:block;width:0;height:0;border-width:.6em .6em 0 .6em;border-style:solid;border-color:#000 transparent transparent transparent;content:"";-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}.slider__fill{width:100%;height:100%;-webkit-transform-origin:left top;transform-origin:left top;border-radius:10px}@-webkit-keyframes scaleDraw{0%{-webkit-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(1.3);transform:scale(1.3)}50%{-webkit-transform:scale(1);transform:scale(1)}75%{-webkit-transform:scale(1.3);transform:scale(1.3)}}@keyframes scaleDraw{0%{-webkit-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(1.3);transform:scale(1.3)}50%{-webkit-transform:scale(1);transform:scale(1)}75%{-webkit-transform:scale(1.3);transform:scale(1.3)}}.upload-button{-webkit-animation:scaleDraw 4s ease-in-out infinite;position:fixed;bottom:30px;right:30px}.theme-thumb{width:100%;margin:0 auto;position:relative;padding-bottom:56%;overflow:hidden}.theme-thumb img{width:100%;height:100%;position:absolute;top:0;left:0}
\ No newline at end of file
.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-webkit-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-code{font-family:Menlo,Monaco,Consolas,Courier New,monospace}
\ No newline at end of file
.profile-center-avatarHolder[data-v-5b5b3393]{text-align:center;margin-bottom:24px}.profile-center-avatarHolder>.avatar[data-v-5b5b3393]{margin:0 auto;width:104px;height:104px;margin-bottom:20px;border-radius:50%;overflow:hidden;cursor:pointer}.profile-center-avatarHolder>.avatar img[data-v-5b5b3393]{height:100%;width:100%}.profile-center-avatarHolder .username[data-v-5b5b3393]{color:rgba(0,0,0,.85);font-size:20px;line-height:28px;font-weight:500;margin-bottom:4px}.profile-center-detail p[data-v-5b5b3393]{margin-bottom:8px;padding-left:26px;position:relative}.profile-center-detail i[data-v-5b5b3393]{position:absolute;height:14px;width:14px;left:0;top:4px}
\ No newline at end of file
This diff is collapsed.
@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-halo-"]:before,[class^=fa-halo-]: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-halo-bold:before{content:"\E800"}.fa-halo-italic:before{content:"\E801"}.fa-halo-link:before{content:"\E803"}.fa-halo-picture-o:before{content:"\E804"}.fa-halo-repeat:before{content:"\E805"}.fa-halo-undo:before{content:"\E806"}.fa-halo-trash-o:before{content:"\E807"}.fa-halo-floppy-o:before{content:"\E808"}.fa-halo-compress:before{content:"\E809"}.fa-halo-eye:before{content:"\E80A"}.fa-halo-eye-slash:before{content:"\E80B"}.fa-halo-question-circle:before{content:"\E80C"}.fa-halo-times:before{content:"\E80D"}.fa-halo-arrows-alt:before{content:"\F0B2"}.fa-halo-bars:before{content:"\F0C9"}.fa-halo-list-ul:before{content:"\F0CA"}.fa-halo-list-ol:before{content:"\F0CB"}.fa-halo-strikethrough:before{content:"\F0CC"}.fa-halo-underline:before{content:"\F0CD"}.fa-halo-table:before{content:"\F0CE"}.fa-halo-columns:before{content:"\F0DB"}.fa-halo-quote-left:before{content:"\F10D"}.fa-halo-code:before{content:"\F121"}.fa-halo-superscript:before{content:"\F12B"}.fa-halo-subscript:before{content:"\F12C"}.fa-halo-header:before{content:"\F1DC"}.fa-halo-window-maximize:before{content:"\F2D0"}.markdown-body strong{font-weight:bolder}
\ No newline at end of file
This diff is collapsed.
<!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 1.2.0"><link rel=icon href=/logo.png><title>Halo Dashboard</title><style>body {height: 100%;background-color: #f5f5f5;}#loader{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;border:solid 3px #e5e5e5;border-top-color:#333;border-radius:50%;width:30px;height:30px;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}</style><link href=/css/chunk-0b44f908.c76aeee1.css rel=prefetch><link href=/css/chunk-7e9c61cd.e32891ce.css rel=prefetch><link href=/css/chunk-8adae550.ae3f2f3c.css rel=prefetch><link href=/css/chunk-966610cc.be194fd2.css rel=prefetch><link href=/css/chunk-db4f48dc.e76ee991.css rel=prefetch><link href=/js/chunk-0b44f908.3d362cb9.js rel=prefetch><link href=/js/chunk-0ba750a2.e072ba45.js rel=prefetch><link href=/js/chunk-17f8cd22.6aff7bdc.js rel=prefetch><link href=/js/chunk-27659703.99ebf57f.js rel=prefetch><link href=/js/chunk-2d0b383e.77f5f40e.js rel=prefetch><link href=/js/chunk-2d0b64bf.d58ddfee.js rel=prefetch><link href=/js/chunk-2d0b8b03.db40b03b.js rel=prefetch><link href=/js/chunk-2d0cf13d.0894db57.js rel=prefetch><link href=/js/chunk-2d213307.0079d056.js rel=prefetch><link href=/js/chunk-2d2165e6.709db34b.js rel=prefetch><link href=/js/chunk-2d21a35c.5dd99e1a.js rel=prefetch><link href=/js/chunk-2d221c57.89576226.js rel=prefetch><link href=/js/chunk-2d228c74.2c74e4b2.js rel=prefetch><link href=/js/chunk-2d228d13.ce37bc6b.js rel=prefetch><link href=/js/chunk-37a26d88.f27ddd93.js rel=prefetch><link href=/js/chunk-5889a1fc.2e1ad24e.js rel=prefetch><link href=/js/chunk-595876d0.169f491e.js rel=prefetch><link href=/js/chunk-5b9394ac.abee4e9f.js rel=prefetch><link href=/js/chunk-664d53d7.49fa28d4.js rel=prefetch><link href=/js/chunk-6709ac89.32f49f13.js rel=prefetch><link href=/js/chunk-76ee4b7f.abbfbefc.js rel=prefetch><link href=/js/chunk-7e9c61cd.4ca0f62c.js rel=prefetch><link href=/js/chunk-8adae550.25e9d72e.js rel=prefetch><link href=/js/chunk-966610cc.b86a629c.js rel=prefetch><link href=/js/chunk-db4f48dc.8a2e9c7c.js rel=prefetch><link href=/js/chunk-ddaf34b4.4881016c.js rel=prefetch><link href=/js/chunk-ec5bbb3c.8001d108.js rel=prefetch><link href=/js/chunk-f04cc1dc.d4f6752d.js rel=prefetch><link href=/css/app.6292a4b2.css rel=preload as=style><link href=/css/chunk-vendors.fc148af4.css rel=preload as=style><link href=/js/app.7f0ea6cd.js rel=preload as=script><link href=/js/chunk-vendors.12edba29.js rel=preload as=script><link href=/css/chunk-vendors.fc148af4.css rel=stylesheet><link href=/css/app.6292a4b2.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 id=loader></div></div><script src=//cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js></script><script src=//cdn.jsdelivr.net/npm/vue-router@3.1.3/dist/vue-router.min.js></script><script src=//cdn.jsdelivr.net/npm/vuex@3.1.1/dist/vuex.min.js></script><script src=//cdn.jsdelivr.net/npm/axios@0.19.0/dist/axios.min.js></script><script src=//cdn.jsdelivr.net/npm/marked@0.8.0/marked.min.js></script><script src=/js/chunk-vendors.12edba29.js></script><script src=/js/app.7f0ea6cd.js></script></body></html>
\ No newline at end of file
<!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 1.2.0"><link rel=icon href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/logo.png><title>Halo Dashboard</title><style>body {height: 100%;background-color: #f5f5f5;}#loader{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;border:solid 3px #e5e5e5;border-top-color:#333;border-radius:50%;width:30px;height:30px;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}</style><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/css/chunk-0b44f908.c76aeee1.css rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/css/chunk-53415702.db247239.css rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/css/chunk-7e9c61cd.e32891ce.css rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/css/chunk-966610cc.be194fd2.css rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/css/chunk-db4f48dc.e76ee991.css rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-068aa3f1.200331b5.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-0752f364.db36a688.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-0b44f908.000e5436.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-17f8cd22.cf4cf9d7.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-1b10433b.73ec12b2.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-27659703.f4779a5f.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d0b383e.78cb3780.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d0b64bf.ec500960.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d0b8b03.7ef9cc4c.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d0cf13d.ba00d3c4.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d0f03f6.f7925f09.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d213307.13d1163a.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d2165e6.d8abbf58.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d21a35c.76953b0f.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d221c57.b29009dd.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d228c74.c6e08018.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-2d228d13.c734a52c.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-528a0184.ededcc55.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-53415702.04bc2791.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-5889a1fc.25f68261.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-595876d0.eb0be13b.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-5b9394ac.22467267.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-76ee4b7f.e3495bb1.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-7e9c61cd.05fff762.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-966610cc.1de9151f.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-db4f48dc.0d477bcd.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-ddaf34b4.bb00e473.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-ec5bbb3c.930aea57.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-f04cc1dc.1766ad35.js rel=prefetch><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/css/app.28911945.css rel=preload as=style><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/css/chunk-vendors.fc148af4.css rel=preload as=style><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/app.1439d1da.js rel=preload as=script><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-vendors.ca3485f2.js rel=preload as=script><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/css/chunk-vendors.fc148af4.css rel=stylesheet><link href=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/css/app.28911945.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 id=loader></div></div><script src=https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js></script><script src=https://cdn.jsdelivr.net/npm/vue-router@3.1.3/dist/vue-router.min.js></script><script src=https://cdn.jsdelivr.net/npm/vuex@3.1.1/dist/vuex.min.js></script><script src=https://cdn.jsdelivr.net/npm/axios@0.19.0/dist/axios.min.js></script><script src=https://cdn.jsdelivr.net/npm/marked@0.8.0/marked.min.js></script><script src=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/chunk-vendors.ca3485f2.js></script><script src=https://cdn.jsdelivr.net/npm/halo-admin@1.3.0-beta.1/dist/js/app.1439d1da.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
(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",[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:t.title,bodyStyle:{padding:"16px"}}},[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",["create"===t.formType?e("a-button",{attrs:{type:"primary"},on:{click:t.handleSaveClick}},[t._v("保存")]):e("a-button-group",[e("a-button",{attrs:{type:"primary"},on:{click:t.handleSaveClick}},[t._v("更新")]),"update"===t.formType?e("a-button",{attrs:{type:"dashed"},on:{click:t.handleAddTag}},[t._v("返回添加")]):t._e()],1),"update"===t.formType?e("a-popconfirm",{attrs:{title:"你确定要删除【"+t.tagToCreate.name+"】标签?",okText:"确定",cancelText:"取消"},on:{confirm:function(a){return t.handleDeleteTag(t.tagToCreate.id)}}},[e("a-button",{staticStyle:{float:"right"},attrs:{type:"danger"}},[t._v("删除")])],1):t._e()],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:"所有标签",bodyStyle:{padding:"16px"}}},[0==t.tags.length?e("a-empty"):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",{staticStyle:{"margin-bottom":"8px"},attrs:{color:"blue"},on:{click:function(e){return t.handleEditTag(a)}}},[t._v(t._s(a.name))])],2)}))],2)],1)],1)],1)},o=[],r=(e("7f7f"),e("d28d")),i={data:function(){return{formType:"create",tags:[],tagToCreate:{}}},computed:{title:function(){return this.tagToCreate.id?"修改标签":"添加标签"}},created:function(){this.loadTags()},methods:{loadTags:function(){var t=this;r["a"].listAll(!0).then((function(a){t.tags=a.data.data}))},handleSaveClick:function(){this.createOrUpdateTag()},handleAddTag:function(){this.formType="create",this.tagToCreate={}},handleEditTag:function(t){this.tagToCreate=t,this.formType="update"},handleDeleteTag:function(t){var a=this;r["a"].delete(t).then((function(t){a.$message.success("删除成功!"),a.loadTags(),a.handleAddTag()}))},createOrUpdateTag:function(){var t=this;this.tagToCreate.name?(this.tagToCreate.id?r["a"].update(this.tagToCreate.id,this.tagToCreate).then((function(a){t.$message.success("更新成功!"),t.loadTags(),t.tagToCreate={}})):r["a"].create(this.tagToCreate).then((function(a){t.$message.success("保存成功!"),t.loadTags(),t.tagToCreate={}})),this.handleAddTag()):this.$notification["error"]({message:"提示",description:"标签名称不能为空!"})}}},s=i,l=e("2877"),c=Object(l["a"])(s,n,o,!1,null,null,null);a["default"]=c.exports},d28d:function(t,a,e){"use strict";var n=e("9efd"),o="/api/admin/tags",r={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"]=r}}]);
\ No newline at end of file
This diff is collapsed.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27659703"],{"2c5b":function(e,t,a){"use strict";var s=function(){var e=this,t=this,a=t.$createElement,s=t._self._c||a;return s("a-drawer",{attrs:{title:"页面设置",width:t.isMobile()?"100%":"460",placement:"right",closable:"",destroyOnClose:"",visible:t.visible},on:{close:t.onClose}},[s("a-skeleton",{attrs:{active:"",loading:t.settingLoading,paragraph:{rows:18}}},[s("div",{staticClass:"post-setting-drawer-content"},[s("div",{style:{marginBottom:"16px"}},[s("h3",{staticClass:"post-setting-drawer-title"},[t._v("基本设置")]),s("div",{staticClass:"post-setting-drawer-item"},[s("a-form",{attrs:{layout:"vertical"}},[t.needTitle?s("a-form-item",{attrs:{label:"页面标题:"}},[s("a-input",{model:{value:t.selectedSheet.title,callback:function(e){t.$set(t.selectedSheet,"title",e)},expression:"selectedSheet.title"}})],1):t._e(),s("a-form-item",{attrs:{label:"页面路径:",help:t.options.blog_url+"/s/"+(t.selectedSheet.url?t.selectedSheet.url:"{auto_generate}")}},[s("a-input",{model:{value:t.selectedSheet.url,callback:function(e){t.$set(t.selectedSheet,"url",e)},expression:"selectedSheet.url"}})],1),s("a-form-item",{attrs:{label:"发表时间:"}},[s("a-date-picker",{attrs:{showTime:"",defaultValue:t.pickerDefaultValue,format:"YYYY-MM-DD HH:mm:ss",placeholder:"选择页面发表时间"},on:{change:t.onSheetDateChange,ok:t.onSheetDateOk}})],1),s("a-form-item",{attrs:{label:"开启评论:"}},[s("a-radio-group",{attrs:{defaultValue:!1},model:{value:t.selectedSheet.disallowComment,callback:function(e){t.$set(t.selectedSheet,"disallowComment",e)},expression:"selectedSheet.disallowComment"}},[s("a-radio",{attrs:{value:!1}},[t._v("开启")]),s("a-radio",{attrs:{value:!0}},[t._v("关闭")])],1)],1),s("a-form-item",{attrs:{label:"自定义模板:"}},[s("a-select",{model:{value:t.selectedSheet.template,callback:function(e){t.$set(t.selectedSheet,"template",e)},expression:"selectedSheet.template"}},[s("a-select-option",{key:"",attrs:{value:""}},[t._v("")]),t._l(t.customTpls,(function(e){return s("a-select-option",{key:e,attrs:{value:e}},[t._v(t._s(e))])}))],2)],1)],1)],1)]),s("a-divider"),s("div",{style:{marginBottom:"16px"}},[s("h3",{staticClass:"post-setting-drawer-title"},[t._v("摘要")]),s("div",{staticClass:"post-setting-drawer-item"},[s("a-form",{attrs:{layout:"vertical"}},[s("a-form-item",[s("a-input",{attrs:{type:"textarea",autosize:{minRows:5},placeholder:"不填写则会自动生成"},model:{value:t.selectedSheet.summary,callback:function(e){t.$set(t.selectedSheet,"summary",e)},expression:"selectedSheet.summary"}})],1)],1)],1)]),s("a-divider"),s("div",{style:{marginBottom:"16px"}},[s("h3",{staticClass:"post-setting-drawer-title"},[t._v("缩略图")]),s("div",{staticClass:"post-setting-drawer-item"},[s("div",{staticClass:"sheet-thumb"},[s("img",{staticClass:"img",attrs:{src:t.selectedSheet.thumbnail||"/images/placeholder.jpg"},on:{click:function(){return e.thumbDrawerVisible=!0}}}),s("a-form",{attrs:{layout:"vertial"}},[s("a-form-item",[s("a-input",{attrs:{placeholder:"点击缩略图选择图片,或者输入外部链接"},model:{value:t.selectedSheet.thumbnail,callback:function(e){t.$set(t.selectedSheet,"thumbnail",e)},expression:"selectedSheet.thumbnail"}})],1)],1),s("a-button",{staticClass:"sheet-thumb-remove",attrs:{type:"dashed"},on:{click:t.handlerRemoveThumb}},[t._v("移除")])],1)])]),s("a-divider"),s("div",{style:{marginBottom:"16px"}},[s("h3",{staticClass:"post-setting-drawer-title"},[t._v("元数据")]),s("a-form",{attrs:{layout:"vertical"}},[t._l(t.selectedSheetMetas,(function(e,a){return s("a-form-item",{key:a,attrs:{prop:"sheetMeta."+a+".value"}},[s("a-row",{attrs:{gutter:5}},[s("a-col",{attrs:{span:12}},[s("a-input",{model:{value:e.key,callback:function(a){t.$set(e,"key",a)},expression:"sheetMeta.key"}},[s("i",{attrs:{slot:"addonBefore"},slot:"addonBefore"},[t._v("K")])])],1),s("a-col",{attrs:{span:12}},[s("a-input",{model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"sheetMeta.value"}},[s("i",{attrs:{slot:"addonBefore"},slot:"addonBefore"},[t._v("V")]),s("a",{attrs:{slot:"addonAfter",href:"javascript:void(0);"},on:{click:function(a){return a.preventDefault(),t.handleRemoveSheetMeta(e)}},slot:"addonAfter"},[s("a-icon",{attrs:{type:"close"}})],1)])],1)],1)],1)})),s("a-form-item",[s("a-button",{attrs:{type:"dashed"},on:{click:function(e){return t.handleInsertSheetMeta()}}},[t._v("新增")])],1)],2)],1),s("a-divider",{staticClass:"divider-transparent"})],1)]),s("AttachmentSelectDrawer",{attrs:{drawerWidth:460},on:{listenToSelect:t.handleSelectSheetThumb},model:{value:t.thumbDrawerVisible,callback:function(e){t.thumbDrawerVisible=e},expression:"thumbDrawerVisible"}}),s("div",{staticClass:"bottom-control"},[s("a-button",{staticStyle:{marginRight:"8px"},attrs:{disabled:t.saving},on:{click:t.handleDraftClick}},[t._v("保存草稿")]),s("a-button",{attrs:{type:"primary",disabled:t.saving},on:{click:t.handlePublishClick}},[t._v("发布")])],1)],1)},n=[],i=(a("8e6e"),a("ac6a"),a("456d"),a("bd86")),o=a("ac0d"),r=a("c1df"),l=a.n(r),c=a("3993"),h=a("5880"),d=a("12de"),u=a("ed66");function m(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function f(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?m(Object(a),!0).forEach((function(t){Object(i["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):m(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var p={name:"SheetSettingDrawer",mixins:[o["a"],o["b"]],components:{AttachmentSelectDrawer:c["a"]},data:function(){return{thumbDrawerVisible:!1,settingLoading:!0,selectedSheet:this.sheet,customTpls:[],saving:!1}},props:{sheet:{type:Object,required:!0},sheetMetas:{type:Array,required:!0},needTitle:{type:Boolean,required:!1,default:!1},visible:{type:Boolean,required:!1,default:!0}},created:function(){this.loadSkeleton(),this.loadCustomTpls()},watch:{sheet:function(e){this.selectedSheet=e},selectedSheet:function(e){this.$emit("onRefreshSheet",e)},selectedSheetMetas:function(e){this.$emit("onRefreshSheetMetas",e)},visible:function(e,t){e&&(this.loadSkeleton(),this.loadPresetMetasField())}},computed:f({selectedSheetMetas:function(){return this.sheetMetas},pickerDefaultValue:function(){if(this.selectedSheet.createTime){var e=new Date(this.selectedSheet.createTime);return l()(e,"YYYY-MM-DD HH:mm:ss")}return l()(new Date,"YYYY-MM-DD HH:mm:ss")}},Object(h["mapGetters"])(["options"])),methods:{loadSkeleton:function(){var e=this;this.settingLoading=!0,setTimeout((function(){e.settingLoading=!1}),500)},loadPresetMetasField:function(){var e=this;this.sheetMetas.length<=0&&d["a"].getActivatedTheme().then((function(t){var a=t.data.data.sheetMetaField;if(a&&a.length>0)for(var s=0,n=a.length;s<n;s++)e.selectedSheetMetas.push({value:"",key:a[s]})}))},loadCustomTpls:function(){var e=this;d["a"].customSheetTpls().then((function(t){e.customTpls=t.data.data}))},handleSelectSheetThumb:function(e){this.selectedSheet.thumbnail=encodeURI(e.path),this.thumbDrawerVisible=!1},handlerRemoveThumb:function(){this.selectedSheet.thumbnail=null},handlePublishClick:function(){this.selectedSheet.status="PUBLISHED",this.saveSheet()},handleDraftClick:function(){this.selectedSheet.status="DRAFT",this.saveSheet()},saveSheet:function(){var e=this;this.createOrUpdateSheet((function(){return e.$message.success("页面发布成功!")}),(function(){return e.$message.success("页面发布成功!")}),!1)},createOrUpdateSheet:function(e,t,a){var s=this;this.selectedSheet.title?(this.selectedSheet.sheetMetas=this.selectedSheetMetas,this.saving=!0,this.selectedSheet.id?u["a"].update(this.selectedSheet.id,this.selectedSheet,a).then((function(e){s.$log.debug("Updated sheet",e.data.data),t&&(t(),s.saving=!1,s.$emit("onSaved",!0),s.$router.push({name:"SheetList"}))})):u["a"].create(this.selectedSheet,a).then((function(t){s.$log.debug("Created sheet",t.data.data),e&&(e(),s.saving=!1,s.$emit("onSaved",!0),s.$router.push({name:"SheetList"})),s.selectedSheet=t.data.data}))):this.$notification["error"]({message:"提示",description:"页面标题不能为空!"})},onClose:function(){this.$emit("close",!1)},onSheetDateChange:function(e,t){this.selectedSheet.createTime=e.valueOf()},onSheetDateOk:function(e){this.selectedSheet.createTime=e.valueOf()},handleRemoveSheetMeta:function(e){var t=this.selectedSheetMetas.indexOf(e);-1!==t&&this.selectedSheetMetas.splice(t,1)},handleInsertSheetMeta:function(){this.selectedSheetMetas.push({value:"",key:""})}}},S=p,g=a("2877"),b=Object(g["a"])(S,s,n,!1,null,null,null);t["a"]=b.exports},ed66:function(e,t,a){"use strict";var s=a("9efd"),n="/api/admin/sheets",i={list:function(e){return Object(s["a"])({url:n,params:e,method:"get"})},listInternal:function(){return Object(s["a"])({url:"".concat(n,"/internal"),method:"get"})},get:function(e){return Object(s["a"])({url:"".concat(n,"/").concat(e),method:"get"})},create:function(e,t){return Object(s["a"])({url:n,method:"post",data:e,params:{autoSave:t}})},update:function(e,t,a){return Object(s["a"])({url:"".concat(n,"/").concat(e),method:"put",data:t,params:{autoSave:a}})},updateStatus:function(e,t){return Object(s["a"])({url:"".concat(n,"/").concat(e,"/").concat(t),method:"put"})},delete:function(e){return Object(s["a"])({url:"".concat(n,"/").concat(e),method:"delete"})},preview:function(e){return Object(s["a"])({url:"".concat(n,"/preview/").concat(e),method:"get"})},sheetStatus:{PUBLISHED:{color:"green",status:"success",text:"已发布"},DRAFT:{color:"yellow",status:"warning",text:"草稿"},RECYCLE:{color:"red",status:"error",text:"回收站"}}};t["a"]=i},f585:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=this,a=t.$createElement,s=t._self._c||a;return s("div",[s("a-row",{attrs:{gutter:12}},[s("a-col",{attrs:{span:24}},[s("div",{staticStyle:{"margin-bottom":"16px"}},[s("a-input",{attrs:{size:"large",placeholder:"请输入页面标题"},model:{value:t.sheetToStage.title,callback:function(e){t.$set(t.sheetToStage,"title",e)},expression:"sheetToStage.title"}})],1),s("div",{attrs:{id:"editor"}},[s("halo-editor",{ref:"md",attrs:{boxShadow:!1,toolbars:t.toolbars,ishljs:!0,autofocus:!1},on:{imgAdd:t.handleAttachmentUpload,save:t.handleSaveDraft},model:{value:t.sheetToStage.originalContent,callback:function(e){t.$set(t.sheetToStage,"originalContent",e)},expression:"sheetToStage.originalContent"}})],1)])],1),s("SheetSettingDrawer",{attrs:{sheet:t.sheetToStage,sheetMetas:t.selectedSheetMetas,visible:t.sheetSettingVisible},on:{close:t.onSheetSettingsClose,onRefreshSheet:t.onRefreshSheetFromSetting,onRefreshSheetMetas:t.onRefreshSheetMetasFromSetting,onSaved:t.onSaved}}),s("AttachmentDrawer",{model:{value:t.attachmentDrawerVisible,callback:function(e){t.attachmentDrawerVisible=e},expression:"attachmentDrawerVisible"}}),s("footer-tool-bar",{style:{width:t.isSideMenu()&&t.isDesktop()?"calc(100% - "+(t.sidebarOpened?256:80)+"px)":"100%"}},[s("a-button",{attrs:{type:"danger",disabled:t.saving},on:{click:t.handleSaveDraft}},[t._v("保存草稿")]),s("a-button",{staticStyle:{"margin-left":"8px"},attrs:{disabled:t.saving},on:{click:t.handlePreview}},[t._v("预览")]),s("a-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary"},on:{click:t.handleShowSheetSetting}},[t._v("发布")]),s("a-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"dashed"},on:{click:function(){return e.attachmentDrawerVisible=!0}}},[t._v("附件库")])],1)],1)},n=[],i=(a("8e6e"),a("ac6a"),a("456d"),a("bd86")),o=a("ac0d"),r=a("5880"),l=a("c1df"),c=a.n(l),h=a("2749"),d=a("2c5b"),u=a("ed4e"),m=a("5a70"),f=a("6ea2"),p=(a("6648"),a("ed66")),S=a("a796");function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function b(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(Object(a),!0).forEach((function(t){Object(i["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var v={components:{haloEditor:f["haloEditor"],FooterToolBar:m["a"],AttachmentDrawer:u["a"],SheetSettingDrawer:d["a"]},mixins:[o["a"],o["b"]],data:function(){return{toolbars:h["a"],attachmentDrawerVisible:!1,sheetSettingVisible:!1,sheetToStage:{},selectedSheetMetas:[],isSaved:!1,contentChanges:0,saving:!1}},beforeRouteEnter:function(e,t,a){var s=e.query.sheetId;a((function(e){s&&p["a"].get(s).then((function(t){var a=t.data.data;e.sheetToStage=a,e.selectedSheetMetas=a.sheetMetas}))}))},destroyed:function(){this.sheetSettingVisible&&(this.sheetSettingVisible=!1),this.attachmentDrawerVisible&&(this.attachmentDrawerVisible=!1),window.onbeforeunload&&(window.onbeforeunload=null)},beforeRouteLeave:function(e,t,a){this.$createElement;this.sheetSettingVisible&&(this.sheetSettingVisible=!1),this.attachmentDrawerVisible&&(this.attachmentDrawerVisible=!1),this.contentChanges<=1?a():this.isSaved?a():this.$confirm({title:"当前页面数据未保存,确定要离开吗?",content:function(e){return e("div",{style:"color:red;"},["如果离开当面页面,你的数据很可能会丢失!"])},onOk:function(){a()},onCancel:function(){a(!1)}})},mounted:function(){window.onbeforeunload=function(e){return e=e||window.event,e&&(e.returnValue="当前页面数据未保存,确定要离开吗?"),"当前页面数据未保存,确定要离开吗?"}},watch:{temporaryContent:function(e,t){e&&this.contentChanges++}},computed:b({temporaryContent:function(){return this.sheetToStage.originalContent}},Object(r["mapGetters"])(["options"])),methods:{handleSaveDraft:function(){var e=this;this.sheetToStage.status="DRAFT",this.saving=!0,this.sheetToStage.title||(this.sheetToStage.title=c()(new Date).format("YYYY-MM-DD-HH-mm-ss")),this.sheetToStage.id?p["a"].update(this.sheetToStage.id,this.sheetToStage,!1).then((function(t){e.$log.debug("Updated sheet",t.data.data),e.$message.success("保存草稿成功!"),e.saving=!1})):p["a"].create(this.sheetToStage,!1).then((function(t){e.$log.debug("Created sheet",t.data.data),e.$message.success("保存草稿成功!"),e.sheetToStage=t.data.data,e.saving=!1}))},handleAttachmentUpload:function(e,t){var a=this,s=new FormData;s.append("file",t),S["a"].upload(s).then((function(t){var s=t.data;if(200===s.status){var n=a.$refs.md;n.$img2Url(e,encodeURI(s.data.path)),a.$message.success("图片上传成功!")}else a.$message.error("图片上传失败:"+s.message)}))},handleShowSheetSetting:function(){this.sheetSettingVisible=!0},handlePreview:function(){var e=this;this.sheetToStage.status="DRAFT",this.sheetToStage.title||(this.sheetToStage.title=c()(new Date).format("YYYY-MM-DD-HH-mm-ss")),this.saving=!0,this.sheetToStage.id?p["a"].update(this.sheetToStage.id,this.sheetToStage,!1).then((function(t){e.$log.debug("Updated sheet",t.data.data),p["a"].preview(e.sheetToStage.id).then((function(t){window.open(t.data,"_blank"),e.saving=!1}))})):p["a"].create(this.sheetToStage,!1).then((function(t){e.$log.debug("Created sheet",t.data.data),e.sheetToStage=t.data.data,p["a"].preview(e.sheetToStage.id).then((function(t){window.open(t.data,"_blank"),e.saving=!1}))}))},onSheetSettingsClose:function(){this.sheetSettingVisible=!1},onRefreshSheetFromSetting:function(e){this.sheetToStage=e},onRefreshSheetMetasFromSetting:function(e){this.selectedSheetMetas=e},onSaved:function(e){this.isSaved=e}}},w=v,y=a("2877"),D=Object(y["a"])(w,s,n,!1,null,null,null);t["default"]=D.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b383e"],{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",[a("a-row",[a("a-col",{attrs:{span:24}},[a("a-card",{attrs:{bordered:!1,bodyStyle:{padding:"16px"}}},[a("a-card",{staticClass:"environment-info",attrs:{bordered:!1,bodyStyle:{padding:"16px"}}},[a("template",{slot:"title"},[t._v("\n 环境信息\n "),a("a",{attrs:{href:"javascript:void(0);"},on:{click:t.handleCopyEnvironments}},[a("a-icon",{attrs:{type:"copy"}})],1)]),a("a-popconfirm",{attrs:{slot:"extra",placement:"left",okText:"确定",cancelText:"取消"},on:{confirm:t.confirmUpdate},slot:"extra"},[a("template",{slot:"title"},[a("p",[t._v("确定更新 "),a("b",[t._v("Halo admin")]),t._v(" 吗?")])]),a("a-icon",{attrs:{slot:"icon",type:"cloud-download"},slot:"icon"}),a("a-button",{attrs:{loading:t.updating,type:"dashed",shape:"circle",icon:"cloud-download"}})],2),a("ul",{staticStyle:{margin:"0",padding:"0","list-style":"none"}},[a("li",[t._v("Server 版本:"+t._s(t.environments.version))]),a("li",[t._v("Admin 版本:"+t._s(t.adminVersion))]),a("li",[t._v("数据库:"+t._s(t.environments.database))]),a("li",[t._v("运行模式:"+t._s(t.environments.mode))]),a("li",[t._v("启动时间:"+t._s(t._f("moment")(t.environments.startTime)))])]),a("a",{staticStyle:{"margin-right":"10px"},attrs:{href:"https://github.com/halo-dev",target:"_blank"}},[t._v("开源地址\n "),a("a-icon",{attrs:{type:"link"}})],1),a("a",{staticStyle:{"margin-right":"10px"},attrs:{href:"https://halo.run/guide",target:"_blank"}},[t._v("用户文档\n "),a("a-icon",{attrs:{type:"link"}})],1),a("a",{staticStyle:{"margin-right":"10px"},attrs:{href:"https://bbs.halo.run",target:"_blank"}},[t._v("在线社区\n "),a("a-icon",{attrs:{type:"link"}})],1)],2),a("a-card",{attrs:{title:"开发者",bordered:!1,bodyStyle:{padding:"16px"}}},t._l(t.developers,(function(t,e){return a("a",{key:e,attrs:{href:t.github,target:"_blank"}},[a("a-tooltip",{attrs:{placement:"top",title:t.name}},[a("a-avatar",{style:{marginRight:"10px"},attrs:{size:"large",src:t.avatar}})],1)],1)})),0),a("a-card",{attrs:{title:"时间轴",bordered:!1,bodyStyle:{padding:"16px"}}},[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)],1)],1)],1)],1)},r=[],i=(a("28a5"),a("a481"),a("7f7f"),a("96cf"),a("3b8d")),o=a("50fc"),c=a("cebe"),s=a.n(c),l={data:function(){return{adminVersion:this.VERSION,environments:{},developers:[{name:"Ryan Wang",avatar:"//cn.gravatar.com/avatar/7cc7f29278071bd4dce995612d428834?s=256&d=mm",website:"https://ryanc.cc",github:"https://github.com/ruibaby"},{name:"John Niang",avatar:"//cn.gravatar.com/avatar/1dcf60ef27363dae539385d5bae9b2bd?s=256&d=mm",website:"https://johnniang.me",github:"https://github.com/johnniang"},{name:"Aquan",avatar:"//cn.gravatar.com/avatar/3958035fa354403fa9ca3fca36b08068?s=256&d=mm",website:"https://blog.eunji.cn",github:"https://github.com/aquanlerou"},{name:"appdev",avatar:"//cn.gravatar.com/avatar/08cf681fb7c6ad1b4fe70a8269c2103c?s=256&d=mm",website:"https://www.apkdv.com",github:"https://github.com/appdev"},{name:"guqing",avatar:"//cn.gravatar.com/avatar/ad062ba572c8b006bfd2cbfc43fdee5e?s=256&d=mm",website:"http://www.guqing.xyz",github:"https://github.com/guqing"}],steps:[{date:"2019-09-11",content:"Halo v1.1.0 发布"},{date:"2019-07-09",content:"Halo v1.0.3 发布"},{date:"2019-07-08",content:"Star 数达到 6500"},{date:"2019-06-01",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"}],updating:!1}},created:function(){this.getEnvironments(),this.checkServerUpdate(),this.checkAdminUpdate()},computed:{updateText:function(){return this.updating?"更新中...":"更新"}},methods:{getEnvironments:function(){var t=this;o["a"].environments().then((function(e){t.environments=e.data.data}))},confirmUpdate:function(){var t=this;this.updating=!0,o["a"].updateAdminAssets().then((function(e){t.$notification.success({message:"更新成功",description:"请刷新后体验最新版本!"})})).finally((function(){t.updating=!1}))},handleCopyEnvironments:function(){var t=this,e="Server 版本:".concat(this.environments.version,"\nAdmin 版本:").concat(this.adminVersion,"\n数据库:").concat(this.environments.database,"\n运行模式:").concat(this.environments.mode,"\nUA 信息:").concat(navigator.userAgent);this.$copyText(e).then((function(e){console.log("copy",e),t.$message.success("复制成功!")})).catch((function(e){console.log("copy.err",e),t.$message.error("复制失败!")}))},checkServerUpdate:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e,a,n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=this.$createElement,a=this,s.a.get("https://api.github.com/repos/halo-dev/halo/releases/latest").then((function(t){var r=t.data;if(!r.draft&&!r.prerelease){var i=a.calculateIntValue(a.environments.version),o=a.calculateIntValue(r.name);if(!(i>=o)){var c="新版本提醒",s="检测到 Server 新版本:"+r.name+",点击下方按钮查看最新版本。",l=r.html_url;n.$notification.open({message:c,description:s,icon:e("a-icon",{attrs:{type:"smile"},style:"color: #108ee9"}),btn:function(t){return t("a-button",{props:{type:"primary",size:"small"},on:{click:function(){return window.open(l,"_blank")}}},"去看看")}})}}})).catch((function(t){console.error("Check update fail",t)}));case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),checkAdminUpdate:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e,a,n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=this.$createElement,a=this,s.a.get("https://api.github.com/repos/halo-dev/halo-admin/releases/latest").then((function(t){var r=t.data;if(!r.draft&&!r.prerelease){var i=a.calculateIntValue(a.adminVersion),o=a.calculateIntValue(r.name);if(!(i>=o)){var c="新版本提醒",s="检测到 Admin 新版本:"+r.name+",点击下方按钮可直接更新为最新版本。";n.$notification.open({message:c,description:s,icon:e("a-icon",{attrs:{type:"smile"},style:"color: #108ee9"}),btn:function(t){return t("a-button",{props:{type:"primary",size:"small"},on:{click:function(){return a.confirmUpdate()}}},"点击更新")}})}}})).catch((function(t){console.error("Check update fail",t)}));case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),calculateIntValue:function(t){t=t.replace(/v/g,"");var e=t.split(".");if(null==e||3!==e.length)return-1;var a=parseInt(e[0]),n=parseInt(e[1]),r=parseInt(e[2]);return isNaN(a)||isNaN(n)||isNaN(r)?-1:1e6*a+1e3*n+r}}},d=l,u=a("2877"),p=Object(u["a"])(d,n,r,!1,null,null,null);e["default"]=p.exports}}]);
\ No newline at end of file
This diff is collapsed.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b8b03"],{"306f":function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("a-row",{staticStyle:{height:"100vh"},attrs:{type:"flex",justify:"center",align:"middle"}},[e("a-col",{attrs:{xl:8,md:12,sm:20,xs:24}},[e("div",{staticClass:"card-container"},[e("a-card",{staticStyle:{"box-shadow":"0px 10px 20px 0px rgba(236, 236, 236, 0.86)"},attrs:{bordered:!1,title:"Halo 安装向导"}},[e("a-steps",{attrs:{current:t.stepCurrent}},[e("a-step",{attrs:{title:"博主信息"}}),e("a-step",{attrs:{title:"博客信息"}}),e("a-step",{attrs:{title:"数据迁移"}})],1),e("a-divider",{attrs:{dashed:""}}),e("a-form",{directives:[{name:"show",rawName:"v-show",value:0==t.stepCurrent,expression:"stepCurrent == 0"}],attrs:{layout:"horizontal",form:t.bloggerForm}},[e("a-form-item",{staticClass:"animated fadeInUp"},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["username",{rules:[{required:!0,message:"请输入用户名"}]}],expression:"[\n 'username',\n {rules: [{ required: true, message: '请输入用户名' }]}\n ]"}],attrs:{placeholder:"用户名"},model:{value:t.installation.username,callback:function(a){t.$set(t.installation,"username",a)},expression:"installation.username"}},[e("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),e("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.1s"}},[e("a-input",{attrs:{placeholder:"用户昵称"},model:{value:t.installation.nickname,callback:function(a){t.$set(t.installation,"nickname",a)},expression:"installation.nickname"}},[e("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"smile"},slot:"prefix"})],1)],1),e("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.2s"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["email",{rules:[{required:!0,message:"请输入邮箱"}]}],expression:"[\n 'email',\n {rules: [{ required: true, message: '请输入邮箱' }]}\n ]"}],attrs:{placeholder:"用户邮箱"},model:{value:t.installation.email,callback:function(a){t.$set(t.installation,"email",a)},expression:"installation.email"}},[e("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),e("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.3s"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["password",{rules:[{required:!0,message:"请输入密码(8-100位)"}]}],expression:"[\n 'password',\n {rules: [{ required: true, message: '请输入密码(8-100位)' }]}\n ]"}],attrs:{type:"password",placeholder:"用户密码(8-100位)"},model:{value:t.installation.password,callback:function(a){t.$set(t.installation,"password",a)},expression:"installation.password"}},[e("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),e("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.4s"}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["confirmPassword",{rules:[{required:!0,message:"请确定密码"}]}],expression:"[\n 'confirmPassword',\n {rules: [{ required: true, message: '请确定密码' }]}\n ]"}],attrs:{type:"password",placeholder:"确定密码"},model:{value:t.installation.confirmPassword,callback:function(a){t.$set(t.installation,"confirmPassword",a)},expression:"installation.confirmPassword"}},[e("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1)],1),e("a-form",{directives:[{name:"show",rawName:"v-show",value:1==t.stepCurrent,expression:"stepCurrent == 1"}],attrs:{layout:"horizontal"}},[e("a-form-item",{staticClass:"animated fadeInUp"},[e("a-input",{attrs:{placeholder:"博客地址"},model:{value:t.installation.url,callback:function(a){t.$set(t.installation,"url",a)},expression:"installation.url"}},[e("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"link"},slot:"prefix"})],1)],1),e("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.2s"}},[e("a-input",{attrs:{placeholder:"博客标题"},model:{value:t.installation.title,callback:function(a){t.$set(t.installation,"title",a)},expression:"installation.title"}},[e("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"book"},slot:"prefix"})],1)],1)],1),e("div",{directives:[{name:"show",rawName:"v-show",value:2==t.stepCurrent,expression:"stepCurrent == 2"}]},[e("a-alert",{staticClass:"animated fadeInUp",staticStyle:{"margin-bottom":"1rem"},attrs:{message:"如果有迁移需求,请点击并选择'迁移文件'",type:"info"}}),e("Upload",{staticClass:"animated fadeIn",style:{"animation-delay":"0.2s"},attrs:{name:t.migrationUploadName,accept:"application/json",uploadHandler:t.handleMigrationUpload},on:{remove:t.handleMigrationFileRemove}},[e("p",{staticClass:"ant-upload-drag-icon"},[e("a-icon",{attrs:{type:"inbox"}})],1),e("p",{staticClass:"ant-upload-text"},[t._v("点击选择文件或将文件拖拽到此处")]),e("p",{staticClass:"ant-upload-hint"},[t._v("仅支持单个文件上传")])])],1),e("a-row",{staticClass:"install-action",staticStyle:{"margin-top":"1rem"},attrs:{type:"flex",justify:"space-between"}},[e("div",[0!=t.stepCurrent?e("a-button",{staticClass:"previus-button",staticStyle:{"margin-right":"1rem"},on:{click:function(a){t.stepCurrent--}}},[t._v("上一步")]):t._e(),2!=t.stepCurrent?e("a-button",{attrs:{type:"primary"},on:{click:t.handleNextStep}},[t._v("下一步")]):t._e()],1),2==t.stepCurrent?e("a-button",{attrs:{type:"danger",icon:"upload"},on:{click:t.handleInstall}},[t._v("安装")]):t._e()],1)],1)],1)])],1)],1)},i=[],n=e("50fc"),r=e("9efd"),o="/api/admin/recoveries",l={migrate:function(t){return Object(r["a"])({url:"".concat(o,"/migrations/v0_4_3"),data:t,method:"post"})}},c=l,d={data:function(){return{installation:{},migrationUploadName:"file",migrationData:null,stepCurrent:0,bloggerForm:this.$form.createForm(this)}},created:function(){this.verifyIsInstall(),this.installation.url=window.location.protocol+"//"+window.location.host},methods:{verifyIsInstall:function(){var t=this;n["a"].isInstalled().then((function(a){a.data.data&&t.$router.push({name:"Login"})}))},handleNextStep:function(t){var a=this;t.preventDefault(),this.bloggerForm.validateFields((function(t,e){console.log("error",t),console.log("Received values of form: ",e),null!=t||a.stepCurrent++}))},handleMigrationUpload:function(t){var a=this;return this.$log.debug("Selected data",t),this.migrationData=t,new Promise((function(t,e){a.$log.debug("Handle uploading"),t()}))},handleMigrationFileRemove:function(t){this.$log.debug("Removed file",t),this.$log.debug("Migration file from data",this.migrationData.get(this.migrationUploadName)),this.migrationData.get(this.migrationUploadName).uid===t.uid&&(this.migrationData=null,this.migrationFile=null)},install:function(){var t=this;n["a"].install(this.installation).then((function(a){t.$log.debug("Installation response",a),t.$message.success("安装成功!"),setTimeout((function(){t.$router.push({name:"Login"})}),300)}))},handleInstall:function(){var t=this,a=this.installation.password,e=this.installation.confirmPassword;this.$log.debug("Password",a),this.$log.debug("Confirm password",e),a===e?this.migrationData?c.migrate(this.migrationData).then((function(a){t.$log.debug("Migrated successfullly"),t.$message.success("数据迁移成功!"),t.install()})):this.install():this.$message.error("确认密码和密码不匹配")}}},u=d,m=e("2877"),p=Object(m["a"])(u,s,i,!1,null,null,null);a["default"]=p.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cf13d"],{"61d0":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=this,a=t.$createElement,n=t._self._c||a;return n("page-view",[n("a-row",{attrs:{gutter:12,type:"flex",align:"middle"}},[n("a-col",{staticStyle:{"padding-bottom":"12px"},attrs:{span:24}},[n("a-card",{attrs:{bordered:!1,bodyStyle:{padding:"16px"}}},[n("div",{staticClass:"table-page-search-wrapper"},[n("a-form",{attrs:{layout:"inline"}},[n("a-row",{attrs:{gutter:48}},[n("a-col",{attrs:{md:6,sm:24}},[n("a-form-item",{attrs:{label:"关键词"}},[n("a-input",{on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery()}},model:{value:t.queryParam.keyword,callback:function(e){t.$set(t.queryParam,"keyword",e)},expression:"queryParam.keyword"}})],1)],1),n("a-col",{attrs:{md:6,sm:24}},[n("a-form-item",{attrs:{label:"存储位置"}},[n("a-select",{on:{change:function(e){return t.handleQuery()}},model:{value:t.queryParam.attachmentType,callback:function(e){t.$set(t.queryParam,"attachmentType",e)},expression:"queryParam.attachmentType"}},t._l(t.types,(function(e){return n("a-select-option",{key:e,attrs:{value:e}},[t._v(t._s(t.attachmentType[e].text))])})),1)],1)],1),n("a-col",{attrs:{md:6,sm:24}},[n("a-form-item",{attrs:{label:"文件类型"}},[n("a-select",{on:{change:function(e){return t.handleQuery()}},model:{value:t.queryParam.mediaType,callback:function(e){t.$set(t.queryParam,"mediaType",e)},expression:"queryParam.mediaType"}},t._l(t.mediaTypes,(function(e,a){return n("a-select-option",{key:a,attrs:{value:e}},[t._v(t._s(e))])})),1)],1)],1),n("a-col",{attrs:{md:6,sm:24}},[n("span",{staticClass:"table-page-search-submitButtons"},[n("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.handleQuery()}}},[t._v("查询")]),n("a-button",{staticStyle:{"margin-left":"8px"},on:{click:function(e){return t.handleResetParam()}}},[t._v("重置")])],1)])],1)],1)],1),n("div",{staticClass:"table-operator",staticStyle:{"margin-bottom":"0"}},[n("a-button",{attrs:{type:"primary",icon:"cloud-upload"},on:{click:function(){return t.uploadVisible=!0}}},[t._v("上传")]),n("a-button",{directives:[{name:"show",rawName:"v-show",value:!t.supportMultipleSelection,expression:"!supportMultipleSelection"}],attrs:{icon:"select"},on:{click:t.handleMultipleSelection}},[t._v("\n 批量操作\n ")]),n("a-button",{directives:[{name:"show",rawName:"v-show",value:t.supportMultipleSelection,expression:"supportMultipleSelection"}],attrs:{type:"danger",icon:"delete"},on:{click:t.handleDeleteAttachmentInBatch}},[t._v("\n 删除\n ")]),n("a-button",{directives:[{name:"show",rawName:"v-show",value:t.supportMultipleSelection,expression:"supportMultipleSelection"}],attrs:{icon:"close"},on:{click:t.handleCancelMultipleSelection}},[t._v("\n 取消\n ")])],1)])],1),n("a-col",{attrs:{span:24}},[n("a-list",{attrs:{grid:{gutter:12,xs:2,sm:2,md:4,lg:6,xl:6,xxl:6},dataSource:t.formattedDatas,loading:t.listLoading},scopedSlots:t._u([{key:"renderItem",fn:function(e,a){return n("a-list-item",{key:a},[n("a-card",{attrs:{bodyStyle:{padding:0},hoverable:""},on:{click:function(a){return t.handleShowDetailDrawer(e)}}},[n("div",{staticClass:"attach-thumb"},[n("span",{directives:[{name:"show",rawName:"v-show",value:!t.handleJudgeMediaType(e),expression:"!handleJudgeMediaType(item)"}]},[t._v("当前格式不支持预览")]),n("img",{directives:[{name:"show",rawName:"v-show",value:t.handleJudgeMediaType(e),expression:"handleJudgeMediaType(item)"}],attrs:{src:e.thumbPath,loading:"lazy"}})]),n("a-card-meta",{staticStyle:{padding:"0.8rem"}},[n("ellipsis",{attrs:{slot:"description",length:t.isMobile()?12:16,tooltip:""},slot:"description"},[t._v(t._s(e.name))])],1),n("a-checkbox",{directives:[{name:"show",rawName:"v-show",value:t.supportMultipleSelection,expression:"supportMultipleSelection"}],staticClass:"select-attachment-checkbox",style:t.getCheckStatus(e.id)?t.selectedAttachmentStyle:"",attrs:{checked:t.getCheckStatus(e.id)},on:{click:function(a){return t.handleAttachmentSelectionChanged(a,e)}}})],1)],1)}}])})],1)],1),n("div",{staticClass:"page-wrapper"},[n("a-pagination",{staticClass:"pagination",attrs:{current:t.pagination.page,total:t.pagination.total,defaultPageSize:t.pagination.size,pageSizeOptions:["18","36","54","72","90","108"],showSizeChanger:""},on:{change:t.handlePaginationChange,showSizeChange:t.handlePaginationChange}})],1),n("a-modal",{attrs:{title:"上传附件",footer:null,afterClose:t.onUploadClose,destroyOnClose:""},model:{value:t.uploadVisible,callback:function(e){t.uploadVisible=e},expression:"uploadVisible"}},[n("FilePondUpload",{ref:"upload",attrs:{uploadHandler:t.uploadHandler}})],1),t.selectAttachment?n("AttachmentDetailDrawer",{attrs:{attachment:t.selectAttachment,addToPhoto:!0},on:{delete:function(){return e.loadAttachments()}},model:{value:t.drawerVisible,callback:function(e){t.drawerVisible=e},expression:"drawerVisible"}}):t._e()],1)},i=[],s=(a("8e6e"),a("456d"),a("ac6a"),a("28a5"),a("55dd"),a("bd86")),l=a("ac0d"),o=a("680a"),r=a("5bcf"),c=a("a796"),d=a("5880");function h(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?h(Object(a),!0).forEach((function(t){Object(s["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):h(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var p={components:{PageView:o["b"],AttachmentDetailDrawer:r["a"]},mixins:[l["a"],l["b"]],data:function(){return{attachmentType:c["a"].type,listLoading:!0,uploadVisible:!1,supportMultipleSelection:!1,selectedAttachmentCheckbox:{},batchSelectedAttachments:[],selectAttachment:{},attachments:[],mediaTypes:[],types:[],editable:!1,pagination:{page:1,size:18,sort:null},queryParam:{page:0,size:18,sort:null,keyword:null,mediaType:null,attachmentType:null},drawerVisible:!1,uploadHandler:c["a"].upload}},computed:{formattedDatas:function(){var e=this;return this.attachments.map((function(t){return t.typeProperty=e.attachmentType[t.type],t}))},selectedAttachmentStyle:function(){return{border:"2px solid ".concat(this.color())}}},created:function(){this.loadAttachments(),this.loadMediaTypes(),this.loadTypes()},destroyed:function(){this.drawerVisible&&(this.drawerVisible=!1)},beforeRouteLeave:function(e,t,a){this.drawerVisible&&(this.drawerVisible=!1),a()},methods:u({},Object(d["mapGetters"])(["color"]),{loadAttachments:function(){var e=this;this.queryParam.page=this.pagination.page-1,this.queryParam.size=this.pagination.size,this.queryParam.sort=this.pagination.sort,this.listLoading=!0,c["a"].query(this.queryParam).then((function(t){e.attachments=t.data.data.content,e.pagination.total=t.data.data.total,e.listLoading=!1}))},loadMediaTypes:function(){var e=this;c["a"].getMediaTypes().then((function(t){e.mediaTypes=t.data.data}))},loadTypes:function(){var e=this;c["a"].getTypes().then((function(t){e.types=t.data.data}))},handleShowDetailDrawer:function(e){this.selectAttachment=e,this.supportMultipleSelection?this.drawerVisible=!1:this.drawerVisible=!0},handlePaginationChange:function(e,t){this.$log.debug("Current: ".concat(e,", PageSize: ").concat(t)),this.pagination.page=e,this.pagination.size=t,this.loadAttachments()},handleResetParam:function(){this.queryParam.keyword=null,this.queryParam.mediaType=null,this.queryParam.attachmentType=null,this.handlePaginationChange(1,this.pagination.size),this.loadMediaTypes(),this.loadTypes()},handleQuery:function(){this.handlePaginationChange(1,this.pagination.size)},onUploadClose:function(){this.$refs.upload.handleClearFileList(),this.handlePaginationChange(1,this.pagination.size),this.loadMediaTypes(),this.loadTypes()},handleJudgeMediaType:function(e){var t=e.mediaType;if(t){var a=t.split("/")[0];return"image"===a}return!1},getCheckStatus:function(e){return this.selectedAttachmentCheckbox[e]||!1},handleMultipleSelection:function(){var e=this;this.supportMultipleSelection=!0,this.drawerVisible=!1,this.attachments.forEach((function(t){e.$set(e.selectedAttachmentCheckbox,t.id,!1)}))},handleCancelMultipleSelection:function(){for(var e in this.supportMultipleSelection=!1,this.drawerVisible=!1,this.batchSelectedAttachments=[],this.selectedCheckbox)this.$set(this.selectedAttachmentCheckbox,e,!1)},handleAttachmentSelectionChanged:function(e,t){var a=e.target.checked||!1;if(a)this.$set(this.selectedAttachmentCheckbox,t.id,!0),this.batchSelectedAttachments.push(t.id);else{this.$set(this.selectedAttachmentCheckbox,t.id,!1);var n=this.batchSelectedAttachments.indexOf(t.id);this.batchSelectedAttachments.splice(n,1)}},handleDeleteAttachmentInBatch:function(){var e=this;this.batchSelectedAttachments.length<=0?this.$message.success("你还未选择任何附件,请至少选择一个!"):this.$confirm({title:"确定要批量删除选中的附件吗?",content:"一旦删除不可恢复,请谨慎操作",onOk:function(){c["a"].deleteInBatch(e.batchSelectedAttachments).then((function(t){e.handleCancelMultipleSelection(),e.loadAttachments(),e.$message.success("删除成功")}))},onCancel:function(){}})}})},m=p,y=a("2877"),g=Object(y["a"])(m,n,i,!1,null,null,null);t["default"]=g.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d213307"],{ac2a:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"container-wrapper"},[a("div",{staticClass:"halo-logo animated fadeInUp"},[a("span",[t._v("Halo"),t.apiModifyVisible?a("small",[t._v("API 设置")]):t._e()])]),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.apiModifyVisible,expression:"!apiModifyVisible"}],staticClass:"login-form animated"},[a("a-form",{attrs:{layout:"vertical"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin(e)}}},[a("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.1s"}},[a("a-input",{attrs:{placeholder:"用户名/邮箱"},model:{value:t.username,callback:function(e){t.username=e},expression:"username"}},[a("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),a("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.2s"}},[a("a-input",{attrs:{type:"password",placeholder:"密码"},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}},[a("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),a("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.3s"}},[a("a-button",{attrs:{type:"primary",block:!0},on:{click:t.handleLogin}},[t._v("登录")])],1),a("a-row",[a("router-link",{attrs:{to:{name:"ResetPassword"}}},[t.resetPasswordButton?a("a",{staticClass:"tip animated fadeInRight",attrs:{href:"javascript:void(0);"}},[t._v("\n 找回密码\n ")]):t._e()]),a("a",{staticClass:"tip animated fadeInUp",style:{"animation-delay":"0.4s"},on:{click:t.toggleShowApiForm}},[a("a-icon",{attrs:{type:"setting"}})],1)],1)],1)],1),a("div",{directives:[{name:"show",rawName:"v-show",value:t.apiModifyVisible,expression:"apiModifyVisible"}],staticClass:"api-form animated"},[a("a-form",{attrs:{layout:"vertical"}},[a("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.1s"},attrs:{extra:"* 如果 Admin 不是独立部署,请不要更改此 API"}},[a("a-input",{attrs:{placeholder:"API 地址"},model:{value:t.apiUrl,callback:function(e){t.apiUrl=e},expression:"apiUrl"}},[a("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"api"},slot:"prefix"})],1)],1),a("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.2s"}},[a("a-button",{attrs:{block:!0},on:{click:t.handleApiUrlRestore}},[t._v("恢复默认")])],1),a("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.3s"}},[a("a-button",{attrs:{type:"primary",block:!0},on:{click:t.handleApiModifyOk}},[t._v("保存设置")])],1),a("a-row",[a("a",{staticClass:"tip animated fadeInUp",style:{"animation-delay":"0.4s"},on:{click:t.toggleShowApiForm}},[a("a-icon",{attrs:{type:"rollback"}})],1)])],1)],1)])},s=[],o=(a("8e6e"),a("ac6a"),a("456d"),a("a481"),a("bd86")),r=a("5880");function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function l(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?n(Object(a),!0).forEach((function(e){Object(o["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var c={data:function(){return{username:null,password:null,apiModifyVisible:!1,defaultApiBefore:window.location.protocol+"//",apiUrl:window.location.host,resetPasswordButton:!1}},computed:l({},Object(r["mapGetters"])({defaultApiUrl:"apiUrl"})),created:function(){var t=this;document.addEventListener("keydown",(function(e){72===e.keyCode&&e.altKey&&e.shiftKey&&t.toggleHidden()}))},methods:l({},Object(r["mapActions"])(["login","loadUser","loadOptions"]),{},Object(r["mapMutations"])({setApiUrl:"SET_API_URL",restoreApiUrl:"RESTORE_API_URL"}),{handleLogin:function(){var t=this;this.username?this.password?this.login({username:this.username,password:this.password}).then((function(e){t.loginSuccess()})):this.$message.warn("密码不能为空!"):this.$message.warn("用户名不能为空!")},loginSuccess:function(){this.loadUser(),this.loadOptions(),this.$route.query.redirect?this.$router.replace(this.$route.query.redirect):this.$router.replace({name:"Dashboard"})},handleApiModifyOk:function(){this.setApiUrl(this.apiUrl),this.apiModifyVisible=!1},handleApiUrlRestore:function(){this.restoreApiUrl(),this.apiUrl=this.defaultApiUrl},toggleShowApiForm:function(){this.apiModifyVisible=!this.apiModifyVisible,this.apiModifyVisible&&(this.apiUrl=this.defaultApiUrl)},toggleHidden:function(){this.resetPasswordButton=!this.resetPasswordButton}})},p=c,d=a("2877"),u=Object(d["a"])(p,i,s,!1,null,null,null);e["default"]=u.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2165e6"],{c1bd:function(a,e,t){"use strict";t.r(e);var s=function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"container-wrapper"},[a._m(0),t("div",{staticClass:"animated"},[t("a-form",{attrs:{layout:"vertical"}},[t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.1s"}},[t("a-input",{attrs:{placeholder:"用户名"},model:{value:a.resetParam.username,callback:function(e){a.$set(a.resetParam,"username",e)},expression:"resetParam.username"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.2s"}},[t("a-input",{attrs:{placeholder:"邮箱"},model:{value:a.resetParam.email,callback:function(e){a.$set(a.resetParam,"email",e)},expression:"resetParam.email"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.3s"}},[t("a-input",{attrs:{type:"password",placeholder:"验证码"},model:{value:a.resetParam.code,callback:function(e){a.$set(a.resetParam,"code",e)},expression:"resetParam.code"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"safety-certificate"},slot:"prefix"}),t("a",{attrs:{slot:"addonAfter",href:"javascript:void(0);"},on:{click:a.handleSendCode},slot:"addonAfter"},[a._v("\n 获取\n ")])],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.4s"}},[t("a-input",{attrs:{type:"password",placeholder:"新密码",autocomplete:"new-password"},model:{value:a.resetParam.password,callback:function(e){a.$set(a.resetParam,"password",e)},expression:"resetParam.password"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.5s"}},[t("a-input",{attrs:{type:"password",placeholder:"确认密码",autocomplete:"new-password"},model:{value:a.resetParam.confirmPassword,callback:function(e){a.$set(a.resetParam,"confirmPassword",e)},expression:"resetParam.confirmPassword"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.6s"}},[t("a-button",{attrs:{type:"primary",block:!0},on:{click:a.handleResetPassword}},[a._v("重置密码")])],1),t("a-row",[t("router-link",{attrs:{to:{name:"Login"}}},[t("a",{staticClass:"tip animated fadeInUp",style:{"animation-delay":"0.7s"}},[a._v("\n 返回登陆\n ")])])],1)],1)],1)])},r=[function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"halo-logo animated fadeInUp"},[t("span",[a._v("Halo"),t("small",[a._v("重置密码")])])])}],i=t("50fc"),o={data:function(){return{resetParam:{username:"",email:"",code:"",password:"",confirmPassword:""}}},methods:{handleSendCode:function(){var a=this;if(this.resetParam.username)if(this.resetParam.email){var e=this.$message.loading("发送中...",0);i["a"].sendResetCode(this.resetParam).then((function(e){a.$message.info("邮件发送成功,五分钟内有效")})).finally((function(){e()}))}else this.$notification["error"]({message:"提示",description:"邮箱不能为空!"});else this.$notification["error"]({message:"提示",description:"用户名不能为空!"})},handleResetPassword:function(){var a=this;this.resetParam.username?this.resetParam.email?this.resetParam.code?this.resetParam.password?this.resetParam.confirmPassword?this.resetParam.confirmPassword===this.resetParam.password?i["a"].resetPassword(this.resetParam).then((function(e){a.$message.info("密码重置成功!"),a.$router.push({name:"Login"})})):this.$notification["error"]({message:"提示",description:"确认密码和新密码不匹配!"}):this.$notification["error"]({message:"提示",description:"确认密码不能为空!"}):this.$notification["error"]({message:"提示",description:"新密码不能为空!"}):this.$notification["error"]({message:"提示",description:"验证码不能为空!"}):this.$notification["error"]({message:"提示",description:"邮箱不能为空!"}):this.$notification["error"]({message:"提示",description:"用户名不能为空!"})}}},n=o,l=t("2877"),c=Object(l["a"])(n,s,r,!1,null,null,null);e["default"]=c.exports}}]);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment