From 7237cdc335bc7fa6a706d585c15017dd214e1fb3 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Wed, 21 May 2014 16:55:18 -0700 Subject: [PATCH] fix slice_interactions locking up nav bar --- planetstack/core/plus/views.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/planetstack/core/plus/views.py b/planetstack/core/plus/views.py index 11cc4f5..407ad38 100644 --- a/planetstack/core/plus/views.py +++ b/planetstack/core/plus/views.py @@ -59,7 +59,12 @@ class DashboardDynamicView(TemplateView): try: template= open("/opt/planetstack/templates/admin/dashboard/%s.html" % fn, "r").read() if (fn=="tenant"): + # fix for tenant view - it writes html to a div called tabs-5 template = '
' + template + if (fn=="slice_interactions"): + # fix for slice_interactions - it gives its container div a 40px + # margin, and then positions it's header at -40px + template = '
' + template + '
' return template except: return "failed to open %s" % fn -- 2.45.2