summaryrefslogtreecommitdiff
path: root/horizon/browsers
diff options
context:
space:
mode:
authorThai Tran <tqtran@us.ibm.com>2016-11-17 11:33:13 -0800
committerThai Tran <tqtran@us.ibm.com>2016-11-17 12:07:16 -0800
commit8c7c33381cfe3c1191754742b1ba54964761d851 (patch)
tree46e6891f2c2e951e1305ff1a65ee5335141ccbf3 /horizon/browsers
parent7018cd3fea26440909e14bb4ab34c0491ec78ae6 (diff)
downloadhorizon-8c7c33381cfe3c1191754742b1ba54964761d851.tar.gz
Consolidated common angular view
We have views that references angular.html all over the dashboard. This patch creates a single view for angular views and consolidate others. Change-Id: I31bd7eb1ce9eac5ec4e13531679b12fc5ebbe60b
Diffstat (limited to 'horizon/browsers')
-rw-r--r--horizon/browsers/views.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/horizon/browsers/views.py b/horizon/browsers/views.py
index 351f48338..75dfe6e32 100644
--- a/horizon/browsers/views.py
+++ b/horizon/browsers/views.py
@@ -13,6 +13,7 @@
# under the License.
from django.utils.translation import ugettext_lazy as _
+from django.views import generic
from horizon.tables import MultiTableView # noqa
from horizon.utils import memoized
@@ -56,3 +57,7 @@ class ResourceBrowserView(MultiTableView):
browser = self.get_browser()
context["%s_browser" % browser.name] = browser
return context
+
+
+class AngularIndexView(generic.TemplateView):
+ template_name = 'angular.html'