Ejemplo n.º 1
0
 def __init__(self, app, title='BaseDocument', **atts):
     SimpleDocument.__init__(self, title=title)
     if atts:
         print atts
         print 'Warning attributes are unimplemented in BaseDocument'
     self.app = app
     self.conn = app.conn
Ejemplo n.º 2
0
 def __init__(self, app, tableclass=BaseMainTable, title="BaseDocument", **args):
     SimpleDocument.__init__(self, title=title)
     self.app = app
     self.maintable = tableclass(self.app)
     self.body.set(self.maintable)
Ejemplo n.º 3
0
 def __init__(self, title='BasePage', stylesheet='/css/default.css', **args):
     SimpleDocument.__init__(self, title=title, stylesheet=stylesheet)
     self.set_stylesheet()
     self.favicon = Favicon()
     self.head.append(self.favicon)
Ejemplo n.º 4
0
 def __init__(self, app):
     SimpleDocument.__init__(self, title='Uml Machines')
     self.app = app
     self.umlcfg = self.app.umlcfg
     self.opttable = OptionsTable()