Merge "Group related panels in packages (resources)"

This commit is contained in:
Jenkins 2013-12-10 13:12:57 +00:00 committed by Gerrit Code Review
commit eb54c7a1c1
22 changed files with 16 additions and 16 deletions

View File

@ -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',
)

View File

@ -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)

View File

@ -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(

View File

@ -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)

View File

@ -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(

View File

@ -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)

View File

@ -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(

View File

@ -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)

View File

@ -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(

View File

@ -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)

View File

@ -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(