MCPcopy Create free account
hub / github.com/PageBot/PageBot / build_html

Method build_html

Lib/pagebot/elements/web/simplesite/siteelements.py:51–59  ·  view source on GitHub ↗
(self, view, path, **kwargs)

Source from the content-addressed store, hash-verified

49 Element.build for non-Html contexts.
50 """
51 def build_html(self, view, path, **kwargs):
52 cssId = self.getCssId()
53 b = self.context.b
54 b.comment('Start %s ' % cssId)
55 b.header(cssId=cssId, cssClass='wrapper clearfix') #Header
56 for e in self.elements:
57 e.build_html(view, path, **kwargs)
58 b._header()
59 b.comment('End %s' % cssId)
60
61class Banner(SiteColumn):
62 """Container for banner elements on a page.

Callers

nothing calls this directly

Calls 5

getCssIdMethod · 0.80
commentMethod · 0.80
headerMethod · 0.80
_headerMethod · 0.80
build_htmlMethod · 0.45

Tested by

no test coverage detected