Merge "Group related panels in packages (resources)"
This commit is contained in:
commit
eb54c7a1c1
@ -38,14 +38,14 @@ class Deployment(horizon.PanelGroup):
|
||||
|
||||
|
||||
class Resources(horizon.PanelGroup):
|
||||
slug = "nodes"
|
||||
slug = "resources"
|
||||
name = _("Resources")
|
||||
panels = (
|
||||
'resources_overview',
|
||||
'resources_resource',
|
||||
'resources_management',
|
||||
'resources_unallocated',
|
||||
'resources_archived',
|
||||
'resources.overview',
|
||||
'resources.resource',
|
||||
'resources.management',
|
||||
'resources.unallocated',
|
||||
'resources.archived',
|
||||
)
|
||||
|
||||
|
||||
|
@ -21,7 +21,7 @@ from tuskar_ui.infrastructure import dashboard
|
||||
|
||||
class ResourcesArchived(horizon.Panel):
|
||||
name = _("Archived")
|
||||
slug = "resources_archived"
|
||||
slug = "resources.archived"
|
||||
|
||||
|
||||
dashboard.Infrastructure.register(ResourcesArchived)
|
@ -14,7 +14,7 @@
|
||||
|
||||
from django.conf.urls import defaults
|
||||
|
||||
from tuskar_ui.infrastructure.resources_overview import views
|
||||
from tuskar_ui.infrastructure.resources.archived import views
|
||||
|
||||
|
||||
urlpatterns = defaults.patterns(
|
@ -21,7 +21,7 @@ from tuskar_ui.infrastructure import dashboard
|
||||
|
||||
class ResourcesManagement(horizon.Panel):
|
||||
name = _("Management Nodes")
|
||||
slug = "resources_management"
|
||||
slug = "resources.management"
|
||||
|
||||
|
||||
dashboard.Infrastructure.register(ResourcesManagement)
|
@ -14,7 +14,7 @@
|
||||
|
||||
from django.conf.urls import defaults
|
||||
|
||||
from tuskar_ui.infrastructure.resources_management import views
|
||||
from tuskar_ui.infrastructure.resources.management import views
|
||||
|
||||
|
||||
urlpatterns = defaults.patterns(
|
@ -21,7 +21,7 @@ from tuskar_ui.infrastructure import dashboard
|
||||
|
||||
class ResourcesOverview(horizon.Panel):
|
||||
name = _("Overview")
|
||||
slug = "resources_overview"
|
||||
slug = "resources.overview"
|
||||
|
||||
|
||||
dashboard.Infrastructure.register(ResourcesOverview)
|
@ -14,7 +14,7 @@
|
||||
|
||||
from django.conf.urls import defaults
|
||||
|
||||
from tuskar_ui.infrastructure.resources_archived import views
|
||||
from tuskar_ui.infrastructure.resources.overview import views
|
||||
|
||||
|
||||
urlpatterns = defaults.patterns(
|
@ -21,7 +21,7 @@ from tuskar_ui.infrastructure import dashboard
|
||||
|
||||
class ResourcesResource(horizon.Panel):
|
||||
name = _("Resource Nodes")
|
||||
slug = "resources_resource"
|
||||
slug = "resources.resource"
|
||||
|
||||
|
||||
dashboard.Infrastructure.register(ResourcesResource)
|
@ -14,7 +14,7 @@
|
||||
|
||||
from django.conf.urls import defaults
|
||||
|
||||
from tuskar_ui.infrastructure.resources_resource import views
|
||||
from tuskar_ui.infrastructure.resources.resource import views
|
||||
|
||||
|
||||
urlpatterns = defaults.patterns(
|
@ -21,7 +21,7 @@ from tuskar_ui.infrastructure import dashboard
|
||||
|
||||
class ResourcesUnallocated(horizon.Panel):
|
||||
name = _("Unallocated")
|
||||
slug = "resources_unallocated"
|
||||
slug = "resources.unallocated"
|
||||
|
||||
|
||||
dashboard.Infrastructure.register(ResourcesUnallocated)
|
@ -14,7 +14,7 @@
|
||||
|
||||
from django.conf.urls import defaults
|
||||
|
||||
from tuskar_ui.infrastructure.resources_unallocated import views
|
||||
from tuskar_ui.infrastructure.resources.unallocated import views
|
||||
|
||||
|
||||
urlpatterns = defaults.patterns(
|
Loading…
x
Reference in New Issue
Block a user