ajout d'une couleur random pour les boites
darcs-hash:20060417100007-f46e9-e8c3cdaf10a7c03ef4a56457dcee55e1d1c03b56.gz
This commit is contained in:
parent
c553d5fda0
commit
1baf6e6a58
2 changed files with 15 additions and 5 deletions
|
@ -59,7 +59,7 @@ class PortailFormatter:
|
|||
def cell(self, title, description, image):
|
||||
if self.counter==0:
|
||||
self.request.write(self.formatter.table_row(1))
|
||||
self.request.write(self.formatter.table_cell(1,{'style':'width:50%;border:none;padding:20px 20px 20px 50px;background:transparent url(\'' + image.replace("\'","\\\'") + '\') center left no-repeat; vertical-align:center;'}))
|
||||
self.request.write(self.formatter.table_cell(1,{'style':'width:50%;border:none;padding:20px 20px 20px 50px;background:transparent url(\'' + image.replace("\'","\\\'") + '\') center left no-repeat; vertical-align:middle;'}))
|
||||
self.request.write(title)
|
||||
self.request.write(description)
|
||||
self.request.write(self.formatter.table_cell(0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue