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

Method build_html

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

Source from the content-addressed store, hash-verified

356 """Footer is only supposed to show in interactive web-context."""
357
358 def build_html(self, view, path, **kwargs):
359 cssId = self.getCssId()
360 b = self.context.b
361 b.comment('Start %s' % cssId)
362 b.footer()
363 b.div(cssId=cssId, cssClass='wrapper clearfix')
364 for e in self.elements:
365 e.build_html(view, path, **kwargs)
366 b._div()
367 b._footer()
368 b.comment('End %s' % cssId)
369
370if __name__ == '__main__':
371 import doctest

Callers

nothing calls this directly

Calls 7

getCssIdMethod · 0.80
commentMethod · 0.80
footerMethod · 0.80
divMethod · 0.80
_divMethod · 0.80
_footerMethod · 0.80
build_htmlMethod · 0.45

Tested by

no test coverage detected