调整界面

This commit is contained in:
GoEdgeLab
2020-10-25 19:45:42 +08:00
parent 9524a0d145
commit cccc64a629
11 changed files with 36 additions and 7 deletions

View File

@@ -51,6 +51,8 @@ func (this *ClusterHelper) BeforeAction(action *actions.ActionObject) {
tabbar.Add("集群列表", "", "/clusters", "", false)
tabbar.Add("节点", "", "/clusters/cluster?clusterId="+clusterIdString, "server", selectedTabbar == "node")
tabbar.Add("设置", "", "/clusters/cluster/settings?clusterId="+clusterIdString, "setting", selectedTabbar == "setting")
tabbar.Add("删除", "", "/clusters/cluster/delete?clusterId="+clusterIdString, "trash", selectedTabbar == "delete")
{
m := tabbar.Add("当前集群:"+cluster.Name, "", "/clusters/cluster?clusterId="+clusterIdString, "", false)
m["right"] = true