阶段性提交

This commit is contained in:
GoEdgeLab
2020-09-13 20:37:07 +08:00
parent 124cbd3302
commit e3501a5a68
155 changed files with 1317 additions and 13193 deletions

View File

@@ -0,0 +1,5 @@
.right-box {
text-align: center;
margin-top: 1em;
}
/*# sourceMappingURL=index.css.map */

View File

@@ -1 +1 @@
undefined
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA;EACC,kBAAA;EACA,eAAA","file":"index.css"}

View File

@@ -2,5 +2,5 @@
{$template "/left_menu"}
<div class="right-box">
<div class="ui message">此功能暂未开放,敬请期待。</div>
<button class="ui button red" type="button" @click.prevent="deleteServer(serverId)">删除当前服务</button>
</div>

View File

@@ -0,0 +1,13 @@
Tea.context(function () {
this.deleteServer = function (serverId) {
teaweb.confirm("确定要删除当前服务吗?", function () {
this.$post("$")
.params({
"serverId": serverId
})
.success(function () {
teaweb.successURL("删除成功", "/servers")
})
})
}
})

View File

@@ -0,0 +1,4 @@
.right-box {
text-align: center;
margin-top: 1em;
}