Package buildbot :: Package status :: Module html
[frames | no frames]

Module buildbot.status.html

Classes
Box  
BuildBox  
BuildTopBox  
ChangeBox  
ChunkConsumer  
CurrentBox  
EventBox  
HTMLLog  
HtmlResource  
Spacer  
SpacerBox  
StaticHTML  
StatusResource  
StatusResourceBuild  
StatusResourceBuilder  
StatusResourceBuildStep  
StatusResourceChanges  
StatusResourceTestResult  
StatusResourceTestResults  
StepBox  
TextLog  
Waterfall I implement the primary web-page status interface, called a 'Waterfall Display' because builds and steps are presented in a grid of boxes which move downwards over time.
WaterfallStatusResource This builds the main status page, with the waterfall display, and all child pages.

Function Summary
  build_get_class(b)
Return the class to use for a finished build or buildstep, based on the result.
  insertGaps(g, lastEventTime, idleGap)
  make_row(label, field)
Create a name/value row for the HTML.
  td(text, parms, **props)

Variable Summary
dict colormap = {'green': '#72ff75'}
str ROW_TEMPLATE = '\n<div class="row">\n  <span class="labe...
str textlog_stylesheet = '\n<style type="text/css">\n div.da...

Function Details

build_get_class(b)

Return the class to use for a finished build or buildstep, based on the result.

make_row(label, field)

Create a name/value row for the HTML.

`label` is plain text; it will be HTML-encoded.

`field` is a bit of HTML structure; it will not be encoded in any way.

Variable Details

colormap

Type:
dict
Value:
{'green': '#72ff75'}                                                   

ROW_TEMPLATE

Type:
str
Value:
'''
<div class="row">
  <span class="label">%(label)s</span>
  <span class="field">%(field)s</span>
</div>'''                                                              

textlog_stylesheet

Type:
str
Value:
'''
<style type="text/css">
 div.data {
  font-family: "Courier New", courier, monotype;
 }
 span.stdout {
  font-family: "Courier New", courier, monotype;
 }
...                                                                    

Generated by Epydoc 2.1 on Sun Dec 10 22:04:45 2006 http://epydoc.sf.net