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

Method build_html

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

Source from the content-addressed store, hash-verified

243 pass
244
245 def build_html(self, view, path, **kwargs):
246 cssId = self.getCssId()
247 b = self.context.b
248 b.comment('Start %s' % cssId)
249 b.section(cssId=cssId, cssClass='clearFix')
250 b.div(cssClass='wrapper')
251 b.div(cssClass='row')
252
253 b.div(cssClass='grid_4')
254 b.addHtml('(Introduction)')
255 self.introduction.build_html(view, path, **kwargs)
256 b._div()
257 b.comment('End .grid_4')
258
259 b.div(cssClass="grid_8")
260 b.addHtml('(Slideshow)')
261 self.slideShow.build_html(view, path, **kwargs)
262 b._div()
263 b.comment('End .grid_8')
264
265 b._div() # end .row
266 b.comment('End .row')
267 b._div() # end .wrapper
268 b._section()
269 b.comment('End .wrapper')
270 b.comment('End %s' % cssId)
271
272class Content(SiteColumn):
273

Callers

nothing calls this directly

Calls 8

getCssIdMethod · 0.80
commentMethod · 0.80
sectionMethod · 0.80
divMethod · 0.80
addHtmlMethod · 0.80
_divMethod · 0.80
_sectionMethod · 0.80
build_htmlMethod · 0.45

Tested by

no test coverage detected