示例#1
0
 def __init__(self, db=None):
     cols = ['name', 'address', 'email', 'description']
     TableElement.__init__(self, cols)
     self.setAttribute('border', '0')
     row = self.firstChild
     row.setAttribute('bgcolor', 'cornsilk')
示例#2
0
 def __init__(self, db=None):
     cols = ["title", "status"]
     TableElement.__init__(self, cols)
示例#3
0
 def __init__(self, db=None):
     cols = ['name', 'address', 'isp', 'connection', 'ip', 'static', 'serviced']
     TableElement.__init__(self, cols)
     row = self.firstChild
     row.setAttribute('bgcolor', 'DarkSeaGreen')
示例#4
0
 def __init__(self, db=None):
     cols = ['title', 'status']
     TableElement.__init__(self, cols)