From: Scott Baker Date: Wed, 21 May 2014 23:55:18 +0000 (-0700) Subject: fix slice_interactions locking up nav bar X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7237cdc335bc7fa6a706d585c15017dd214e1fb3;p=plstackapi.git fix slice_interactions locking up nav bar --- 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