diff --git a/netbox/netbox/ui/panels.py b/netbox/netbox/ui/panels.py index e62d9f422..4d16cb8d3 100644 --- a/netbox/netbox/ui/panels.py +++ b/netbox/netbox/ui/panels.py @@ -65,6 +65,7 @@ class Panel: 'object': context.get('object'), 'title': self.title, 'actions': self.actions, + 'panel_class': self.__class__.__name__, } def render(self, context): diff --git a/netbox/templates/ui/panels/_base.html b/netbox/templates/ui/panels/_base.html index 1f11b020f..5128e6428 100644 --- a/netbox/templates/ui/panels/_base.html +++ b/netbox/templates/ui/panels/_base.html @@ -1,3 +1,4 @@ +