pull/174/head
ruibaby 2019-06-01 17:34:27 +08:00
parent 336382cc59
commit 7c8fb07160
12 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ apply plugin: 'io.spring.dependency-management'
group = 'run.halo.app'
archivesBaseName = 'halo'
version = '1.0.0-beta.9'
version = '1.0.0'
sourceCompatibility = '1.8'
description = 'Halo, personal blog system developed in Java.'

View File

@ -0,0 +1 @@
.category-tree[data-v-0f333a36]{margin-top:1rem}

View File

@ -0,0 +1 @@
.height-100[data-v-1ac0b863]{height:100vh}.install-action[data-v-1ac0b863]{margin-top:1rem}.previus-button[data-v-1ac0b863]{margin-right:1rem}.install-card[data-v-1ac0b863]{-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)}

View File

@ -1 +0,0 @@
.height-100[data-v-5bb443aa]{height:100vh}.install-action[data-v-5bb443aa]{margin-top:1rem}.previus-button[data-v-5bb443aa]{margin-right:1rem}.install-card[data-v-5bb443aa]{-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)}

View File

@ -1 +0,0 @@
.category-tree[data-v-9228b20c]{margin-top:1rem}

View File

@ -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-1be69b35.b6783003.css rel=prefetch><link href=/css/chunk-2827d63c.77ad8070.css rel=prefetch><link href=/css/chunk-2a007c18.45475c5a.css rel=prefetch><link href=/css/chunk-31c8ea42.4a090118.css rel=prefetch><link href=/css/chunk-35e63e70.6a83ae7d.css rel=prefetch><link href=/css/chunk-3a043b93.9341f110.css rel=prefetch><link href=/css/chunk-4851a43a.09186be6.css rel=prefetch><link href=/css/chunk-4e835ab8.5f75da19.css rel=prefetch><link href=/css/chunk-55d28d8a.5710ea86.css rel=prefetch><link href=/css/chunk-5b9151a2.5ac5144c.css rel=prefetch><link href=/css/chunk-6d8b31f6.ad8d17b2.css rel=prefetch><link href=/css/chunk-9449c032.6f053d75.css rel=prefetch><link href=/css/chunk-bb4f0d4a.c1990d7c.css rel=prefetch><link href=/css/chunk-f1eac230.8481e8b4.css rel=prefetch><link href=/css/fail.809a6bc5.css rel=prefetch><link href=/js/chunk-142c8832.919c15cb.js rel=prefetch><link href=/js/chunk-1be69b35.3b96d59c.js rel=prefetch><link href=/js/chunk-2827d63c.0da79671.js rel=prefetch><link href=/js/chunk-2a007c18.d7c59ddb.js rel=prefetch><link href=/js/chunk-2d0b64bf.2af37a5a.js rel=prefetch><link href=/js/chunk-2d0d65a2.cea2ab69.js rel=prefetch><link href=/js/chunk-2d21a35c.8a7b3003.js rel=prefetch><link href=/js/chunk-2d228d13.f8dd7bb5.js rel=prefetch><link href=/js/chunk-31c8ea42.fcec41a2.js rel=prefetch><link href=/js/chunk-35e63e70.25724764.js rel=prefetch><link href=/js/chunk-3a043b93.eb808250.js rel=prefetch><link href=/js/chunk-4851a43a.eadb6121.js rel=prefetch><link href=/js/chunk-4b5e9e93.565d1851.js rel=prefetch><link href=/js/chunk-4e835ab8.734baaf4.js rel=prefetch><link href=/js/chunk-55d28d8a.e28b3150.js rel=prefetch><link href=/js/chunk-5b9151a2.9189da9d.js rel=prefetch><link href=/js/chunk-5bf599cc.c2681092.js rel=prefetch><link href=/js/chunk-6d8b31f6.cb49297f.js rel=prefetch><link href=/js/chunk-87e2df70.b954f846.js rel=prefetch><link href=/js/chunk-9449c032.8f6a0d1a.js rel=prefetch><link href=/js/chunk-bb4f0d4a.c336573f.js rel=prefetch><link href=/js/chunk-f1eac230.05982c8b.js rel=prefetch><link href=/js/fail.13f5cbab.js rel=prefetch><link href=/css/app.8abf48c5.css rel=preload as=style><link href=/css/chunk-vendors.da56ac75.css rel=preload as=style><link href=/js/app.54948d70.js rel=preload as=script><link href=/js/chunk-vendors.fe7dde0e.js rel=preload as=script><link href=/css/chunk-vendors.da56ac75.css rel=stylesheet><link href=/css/app.8abf48c5.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.fe7dde0e.js></script><script src=/js/app.54948d70.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-0337f7a6.4c6b622f.css rel=prefetch><link href=/css/chunk-14e0b302.32f796a8.css rel=prefetch><link href=/css/chunk-1be69b35.b6783003.css rel=prefetch><link href=/css/chunk-2a007c18.45475c5a.css rel=prefetch><link href=/css/chunk-31c8ea42.4a090118.css rel=prefetch><link href=/css/chunk-35e63e70.6a83ae7d.css rel=prefetch><link href=/css/chunk-4851a43a.09186be6.css rel=prefetch><link href=/css/chunk-4e835ab8.5f75da19.css rel=prefetch><link href=/css/chunk-55d28d8a.5710ea86.css rel=prefetch><link href=/css/chunk-5b9151a2.5ac5144c.css rel=prefetch><link href=/css/chunk-6d8b31f6.ad8d17b2.css rel=prefetch><link href=/css/chunk-9449c032.6f053d75.css rel=prefetch><link href=/css/chunk-bb4f0d4a.c1990d7c.css rel=prefetch><link href=/css/chunk-f1eac230.8481e8b4.css rel=prefetch><link href=/css/fail.809a6bc5.css rel=prefetch><link href=/js/chunk-0337f7a6.53ede862.js rel=prefetch><link href=/js/chunk-142c8832.919c15cb.js rel=prefetch><link href=/js/chunk-14e0b302.8cbbed1c.js rel=prefetch><link href=/js/chunk-1be69b35.3b96d59c.js rel=prefetch><link href=/js/chunk-2a007c18.d7c59ddb.js rel=prefetch><link href=/js/chunk-2d0b64bf.2af37a5a.js rel=prefetch><link href=/js/chunk-2d0d65a2.cea2ab69.js rel=prefetch><link href=/js/chunk-2d21a35c.8a7b3003.js rel=prefetch><link href=/js/chunk-2d228d13.f8dd7bb5.js rel=prefetch><link href=/js/chunk-31c8ea42.fcec41a2.js rel=prefetch><link href=/js/chunk-35e63e70.25724764.js rel=prefetch><link href=/js/chunk-4851a43a.eadb6121.js rel=prefetch><link href=/js/chunk-4b5e9e93.8033dcf8.js rel=prefetch><link href=/js/chunk-4e835ab8.734baaf4.js rel=prefetch><link href=/js/chunk-55d28d8a.e28b3150.js rel=prefetch><link href=/js/chunk-5b9151a2.9189da9d.js rel=prefetch><link href=/js/chunk-5bf599cc.c2681092.js rel=prefetch><link href=/js/chunk-6d8b31f6.cb49297f.js rel=prefetch><link href=/js/chunk-87e2df70.b954f846.js rel=prefetch><link href=/js/chunk-9449c032.8f6a0d1a.js rel=prefetch><link href=/js/chunk-bb4f0d4a.c336573f.js rel=prefetch><link href=/js/chunk-f1eac230.05982c8b.js rel=prefetch><link href=/js/fail.13f5cbab.js rel=prefetch><link href=/css/app.8abf48c5.css rel=preload as=style><link href=/css/chunk-vendors.da56ac75.css rel=preload as=style><link href=/js/app.e0ba5034.js rel=preload as=script><link href=/js/chunk-vendors.fe7dde0e.js rel=preload as=script><link href=/css/chunk-vendors.da56ac75.css rel=stylesheet><link href=/css/app.8abf48c5.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.fe7dde0e.js></script><script src=/js/app.e0ba5034.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

View File

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4b5e9e93"],{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("d28db"),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("17cc"),i=Object(c["a"])(s,n,o,!1,null,null,null);a["default"]=i.exports},d28db: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}}]);

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4b5e9e93"],{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:t.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",["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:"所有标签"}},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)}),1)],1)],1)],1)},o=[],r=e("d28db"),s={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.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()}}},i=s,l=e("17cc"),c=Object(l["a"])(i,n,o,!1,null,null,null);a["default"]=c.exports},d28db: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}}]);