コード例 #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)