mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-17 22:30:25 +08:00
修改域名服务界面细节
This commit is contained in:
@@ -20,6 +20,7 @@ func init() {
|
|||||||
GetPost("/delete", new(DeleteAction)).
|
GetPost("/delete", new(DeleteAction)).
|
||||||
GetPost("/createNode", new(CreateNodeAction)).
|
GetPost("/createNode", new(CreateNodeAction)).
|
||||||
Post("/deleteNode", new(DeleteNodeAction)).
|
Post("/deleteNode", new(DeleteNodeAction)).
|
||||||
|
Get("/upgradeRemote", new(UpgradeRemoteAction)).
|
||||||
|
|
||||||
// 节点相关
|
// 节点相关
|
||||||
Prefix("/ns/clusters/cluster/node").
|
Prefix("/ns/clusters/cluster/node").
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ func (this *IndexAction) RunGet(params struct {
|
|||||||
|
|
||||||
// 检查是否有新版本
|
// 检查是否有新版本
|
||||||
if len(status.OS) > 0 {
|
if len(status.OS) > 0 {
|
||||||
checkVersionResp, err := this.RPC().NodeRPC().CheckNodeLatestVersion(this.AdminContext(), &pb.CheckNodeLatestVersionRequest{
|
checkVersionResp, err := this.RPC().NSNodeRPC().CheckNSNodeLatestVersion(this.AdminContext(), &pb.CheckNSNodeLatestVersionRequest{
|
||||||
Os: status.OS,
|
Os: status.OS,
|
||||||
Arch: status.Arch,
|
Arch: status.Arch,
|
||||||
CurrentVersion: status.BuildVersion,
|
CurrentVersion: status.BuildVersion,
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||||
|
|
||||||
|
package cluster
|
||||||
|
|
||||||
|
import "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
||||||
|
|
||||||
|
type UpgradeRemoteAction struct {
|
||||||
|
actionutils.ParentAction
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *UpgradeRemoteAction) Init() {
|
||||||
|
this.Nav("", "", "")
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *UpgradeRemoteAction) RunGet(params struct{}) {
|
||||||
|
this.Show()
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{$layout}
|
||||||
|
|
||||||
|
<p class="ui message error">此功能暂未开放。</p>
|
||||||
Reference in New Issue
Block a user