增加手动安装节点列表

This commit is contained in:
GoEdgeLab
2020-10-28 12:47:24 +08:00
parent 97b5405fcf
commit 4c8ea8953b
8 changed files with 131 additions and 1 deletions

View File

@@ -8,6 +8,11 @@ import (
// 安装升级相关的左侧菜单
func LeftMenuItemsForInstall(clusterId int64, selectedItem string) []maps.Map {
return []maps.Map{
{
"name": "手动安装",
"url": "/clusters/cluster/installManual?clusterId=" + numberutils.FormatInt64(clusterId),
"isActive": selectedItem == "manual",
},
{
"name": "自动注册",
"url": "/clusters/cluster/installNodes?clusterId=" + numberutils.FormatInt64(clusterId),