Remove the Infrastructure panel group
Remove the Infrastructure panel group, and place the panels directly under the Infrastructure dashboard. Change-Id: I321f9a84dd885732438ad58b6c62c480c9c10e37
This commit is contained in:
parent
610b303ff5
commit
54a3cf2994
@ -15,9 +15,9 @@ from django.utils.translation import ugettext_lazy as _
|
||||
import horizon
|
||||
|
||||
|
||||
class BasePanels(horizon.PanelGroup):
|
||||
slug = "infrastructure"
|
||||
class Infrastructure(horizon.Dashboard):
|
||||
name = _("Infrastructure")
|
||||
slug = "infrastructure"
|
||||
panels = (
|
||||
'overview',
|
||||
'parameters',
|
||||
@ -27,14 +27,6 @@ class BasePanels(horizon.PanelGroup):
|
||||
'images',
|
||||
'history',
|
||||
)
|
||||
|
||||
|
||||
class Infrastructure(horizon.Dashboard):
|
||||
name = _("Infrastructure")
|
||||
slug = "infrastructure"
|
||||
panels = (
|
||||
BasePanels,
|
||||
)
|
||||
default_panel = 'overview'
|
||||
permissions = ('openstack.roles.admin',)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user