'Render a page.'

def render(self, message=None, css_class='alert', form_contents=None, status=200, title='Python    OpenID    Consumer    Example', sreg_data=None, pape_data=None):

    self.send_response(status)
    self.pageHeader(title)
    if message:
        self.wfile.write(("<div    class='%s'>" % (css_class,)))
        self.wfile.write(message)
        self.wfile.write('</div>')
    if (sreg_data is not None):
        self.renderSREG(sreg_data)
    if (pape_data is not None):
        self.renderPAPE(pape_data)
    self.pageFooter(form_contents)
