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
|
import horizon
|
||||||
|
|
||||||
|
|
||||||
class BasePanels(horizon.PanelGroup):
|
class Infrastructure(horizon.Dashboard):
|
||||||
slug = "infrastructure"
|
|
||||||
name = _("Infrastructure")
|
name = _("Infrastructure")
|
||||||
|
slug = "infrastructure"
|
||||||
panels = (
|
panels = (
|
||||||
'overview',
|
'overview',
|
||||||
'parameters',
|
'parameters',
|
||||||
@ -27,14 +27,6 @@ class BasePanels(horizon.PanelGroup):
|
|||||||
'images',
|
'images',
|
||||||
'history',
|
'history',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class Infrastructure(horizon.Dashboard):
|
|
||||||
name = _("Infrastructure")
|
|
||||||
slug = "infrastructure"
|
|
||||||
panels = (
|
|
||||||
BasePanels,
|
|
||||||
)
|
|
||||||
default_panel = 'overview'
|
default_panel = 'overview'
|
||||||
permissions = ('openstack.roles.admin',)
|
permissions = ('openstack.roles.admin',)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user