diff --git a/tuskar_ui/infrastructure/dashboard.py b/tuskar_ui/infrastructure/dashboard.py index 311ba525f..d87a513a0 100644 --- a/tuskar_ui/infrastructure/dashboard.py +++ b/tuskar_ui/infrastructure/dashboard.py @@ -49,30 +49,6 @@ class Resources(horizon.PanelGroup): ) -class Networks(horizon.PanelGroup): - slug = "networks" - name = _("Networks") - panels = ( - 'networks_overview', - ) - - -class Images(horizon.PanelGroup): - slug = "images" - name = _("Images") - panels = ( - 'images_overview', - ) - - -class Logs(horizon.PanelGroup): - slug = "logs" - name = _("Logs") - panels = ( - 'logs_overview', - ) - - class Infrastructure(horizon.Dashboard): name = _("Infrastructure") slug = "infrastructure" diff --git a/tuskar_ui/infrastructure/images_overview/__init__.py b/tuskar_ui/infrastructure/images_overview/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/tuskar_ui/infrastructure/images_overview/panel.py b/tuskar_ui/infrastructure/images_overview/panel.py deleted file mode 100644 index ff391346d..000000000 --- a/tuskar_ui/infrastructure/images_overview/panel.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf8 -*- -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from django.utils.translation import ugettext_lazy as _ # noqa - -import horizon - -from tuskar_ui.infrastructure import dashboard - - -class ImagesOverview(horizon.Panel): - name = _("Overview") - slug = "images_overview" - - -dashboard.Infrastructure.register(ImagesOverview) diff --git a/tuskar_ui/infrastructure/images_overview/urls.py b/tuskar_ui/infrastructure/images_overview/urls.py deleted file mode 100644 index 710009134..000000000 --- a/tuskar_ui/infrastructure/images_overview/urls.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf8 -*- -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from django.conf.urls import defaults - -from tuskar_ui.infrastructure.images_overview import views - - -urlpatterns = defaults.patterns( - '', - defaults.url(r'^$', views.IndexView.as_view(), name='index'), -) diff --git a/tuskar_ui/infrastructure/images_overview/views.py b/tuskar_ui/infrastructure/images_overview/views.py deleted file mode 100644 index f046b626b..000000000 --- a/tuskar_ui/infrastructure/images_overview/views.py +++ /dev/null @@ -1,18 +0,0 @@ -# -*- coding: utf8 -*- -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -from django.views import generic - - -class IndexView(generic.TemplateView): - template_name = 'infrastructure/base.html' diff --git a/tuskar_ui/infrastructure/logs_overview/__init__.py b/tuskar_ui/infrastructure/logs_overview/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/tuskar_ui/infrastructure/logs_overview/panel.py b/tuskar_ui/infrastructure/logs_overview/panel.py deleted file mode 100644 index 1effb660d..000000000 --- a/tuskar_ui/infrastructure/logs_overview/panel.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf8 -*- -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from django.utils.translation import ugettext_lazy as _ # noqa - -import horizon - -from tuskar_ui.infrastructure import dashboard - - -class LogsOverview(horizon.Panel): - name = _("Overview") - slug = "logs_overview" - - -dashboard.Infrastructure.register(LogsOverview) diff --git a/tuskar_ui/infrastructure/logs_overview/urls.py b/tuskar_ui/infrastructure/logs_overview/urls.py deleted file mode 100644 index 05d7bfda1..000000000 --- a/tuskar_ui/infrastructure/logs_overview/urls.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf8 -*- -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from django.conf.urls import defaults - -from tuskar_ui.infrastructure.logs_overview import views - - -urlpatterns = defaults.patterns( - '', - defaults.url(r'^$', views.IndexView.as_view(), name='index'), -) diff --git a/tuskar_ui/infrastructure/logs_overview/views.py b/tuskar_ui/infrastructure/logs_overview/views.py deleted file mode 100644 index f046b626b..000000000 --- a/tuskar_ui/infrastructure/logs_overview/views.py +++ /dev/null @@ -1,18 +0,0 @@ -# -*- coding: utf8 -*- -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -from django.views import generic - - -class IndexView(generic.TemplateView): - template_name = 'infrastructure/base.html' diff --git a/tuskar_ui/infrastructure/networks_overview/__init__.py b/tuskar_ui/infrastructure/networks_overview/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/tuskar_ui/infrastructure/networks_overview/panel.py b/tuskar_ui/infrastructure/networks_overview/panel.py deleted file mode 100644 index 30f63c780..000000000 --- a/tuskar_ui/infrastructure/networks_overview/panel.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf8 -*- -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from django.utils.translation import ugettext_lazy as _ # noqa - -import horizon - -from tuskar_ui.infrastructure import dashboard - - -class NetworksOverview(horizon.Panel): - name = _("Overview") - slug = "networks_overview" - - -dashboard.Infrastructure.register(NetworksOverview) diff --git a/tuskar_ui/infrastructure/networks_overview/urls.py b/tuskar_ui/infrastructure/networks_overview/urls.py deleted file mode 100644 index a80bae820..000000000 --- a/tuskar_ui/infrastructure/networks_overview/urls.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf8 -*- -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from django.conf.urls import defaults - -from tuskar_ui.infrastructure.networks_overview import views - - -urlpatterns = defaults.patterns( - '', - defaults.url(r'^$', views.IndexView.as_view(), name='index'), -) diff --git a/tuskar_ui/infrastructure/networks_overview/views.py b/tuskar_ui/infrastructure/networks_overview/views.py deleted file mode 100644 index f046b626b..000000000 --- a/tuskar_ui/infrastructure/networks_overview/views.py +++ /dev/null @@ -1,18 +0,0 @@ -# -*- coding: utf8 -*- -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -from django.views import generic - - -class IndexView(generic.TemplateView): - template_name = 'infrastructure/base.html'