Export: move export page to a full page (not view on storage) (#60263)

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
This commit is contained in:
Ryan McKinley
2022-12-13 19:40:20 -08:00
committed by GitHub
co-authored by nmarrs
parent 821614fb43
commit 4064fa51c6
7 changed files with 295 additions and 271 deletions
+10
View File
@@ -161,6 +161,16 @@ func (s *ServiceImpl) getServerAdminNode(c *models.ReqContext) *navtree.NavLink
}
adminNavLinks = append(adminNavLinks, storage)
if s.features.IsEnabled(featuremgmt.FlagExport) {
storage.Children = append(storage.Children, &navtree.NavLink{
Text: "Export",
Id: "export",
SubTitle: "Export grafana settings",
Icon: "cube",
Url: s.cfg.AppSubURL + "/admin/storage/export",
})
}
if s.features.IsEnabled(featuremgmt.FlagK8s) {
storage.Children = append(storage.Children, &navtree.NavLink{
Text: "Kubernetes",