增加手动安装节点列表

This commit is contained in:
刘祥超
2020-10-28 12:47:24 +08:00
parent 3e520c4863
commit 94a4db2e1d
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),