Package glue :: Module cbcwebpage :: Class cbcpage
[hide private]
[frames] | no frames]

Class cbcpage

source code

markup.page --+
              |
             cbcpage

Instance Methods [hide private]
 
__init__(self, title='cbc web page', path='./', css=['//versions.ligo.org/cgit/lalsuite/plain/glue/etc/cbcwebpage...., script=None, pagenum=1, verbose=False)
Stuff that effects the whole document.
source code
 
add_external_frame(self, linkurl, linktext) source code
 
add_footer(self) source code
 
add_link(self, **kwargs) source code
 
add_section(self, tag, title='', level=2, open_by_default=False) source code
 
add_subpage(self, tag, title, link_text=None) source code
 
add_table(self, two_d_data, title='', caption='', tag='table') source code
 
add_text(self, **kwargs) source code
 
close_subpage(self, id=None) source code
 
write(self, file_name='index', image='https://www.lsc-group.phys.uwm.edu/ligovirgo/cbc/public/segme..., tag='CBC') source code

Inherited from markup.page: __call__, __getattr__, __str__, add, addcontent, addfooter, addheader, css, init, metainfo, scripts

Method Details [hide private]

__init__(self, title='cbc web page', path='./', css=['//versions.ligo.org/cgit/lalsuite/plain/glue/etc/cbcwebpage...., script=None, pagenum=1, verbose=False)
(Constructor)

source code 
Stuff that effects the whole document.

mode -- 'strict_html'   for HTML 4.01 (default)
        'html'          alias for 'strict_html'
        'loose_html'    to allow some deprecated elements
        'xml'           to allow arbitrary elements

case -- 'lower'         element names will be printed in lower case (default)
        'upper'         they will be printed in upper case
        'given'         element names will be printed as they are given

onetags --              list or tuple of valid elements with opening tags only
twotags --              list or tuple of valid elements with both opening and closing tags
                        these two keyword arguments may be used to select
                        the set of valid elements in 'xml' mode
                        invalid elements will raise appropriate exceptions

separator --            string to place between added elements, defaults to newline

class_ --               a class that will be added to every element if defined

Overrides: markup.page.__init__