Example #1
0
 def _render_snapin_styles(self, snapin_instance):
     # type: (cmk.gui.plugins.sidebar.SidebarSnapin) -> None
     styles = snapin_instance.styles()
     if styles:
         html.open_style()
         html.write(styles)
         html.close_style()
Example #2
0
 def _render_snapin_styles(self, snapin_instance: SidebarSnapin) -> None:
     styles = snapin_instance.styles()
     if styles:
         html.open_style()
         html.write_text(styles)
         html.close_style()