E.g Admin Panel uses an additional PanelGroup:
class SystemPanels(horizon.PanelGroup): slug = "admin" name = _("System") panels = ('overview', 'metering', 'hypervisors', 'aggregates', ¦ ¦ ¦ 'instances', 'volumes', 'flavors', 'images', ¦ ¦ ¦ 'networks', 'routers', 'defaults', 'info')
class Admin(horizon.Dashboard): name = _("Admin") slug = "admin" panels = (SystemPanels,) default_panel = 'overview' permissions = ('openstack.roles.admin',)
It should be sufficient to add panels directly to Admin instead of using SystemPanels
E.g Admin Panel uses an additional PanelGroup:
class SystemPanels( horizon. PanelGroup) :
slug = "admin"
name = _("System")
panels = ('overview', 'metering', 'hypervisors', 'aggregates',
¦ ¦ ¦ 'instances', 'volumes', 'flavors', 'images',
¦ ¦ ¦ 'networks', 'routers', 'defaults', 'info')
class Admin(horizon. Dashboard) : roles.admin' ,)
name = _("Admin")
slug = "admin"
panels = (SystemPanels,)
default_panel = 'overview'
permissions = ('openstack.
It should be sufficient to add panels directly to Admin instead of using SystemPanels