Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I add it in bottom of my dashboard.py

from django.utils.translation import ugettext_lazy as _ import horizon

class TestPanels(horizon.PanelGroup): slug = "intrusion_detection" name = _("Intrusion detection system") panels = ('test',)

class Ids(horizon.Dashboard): name = _("IDS") slug = "ids" panels = (TestPanels,) default_panel = 'test' permissions = ('openstack.roles.admin',)

horizon.register(Ids)