Author: eallen
Date: 2009-08-12 13:41:39 -0400 (Wed, 12 Aug 2009)
New Revision: 3558
Modified:
mgmt/trunk/wooly/python/wooly/tables.py
mgmt/trunk/wooly/python/wooly/tables.strings
Log:
Added ability to give ItemTable a css class.
Modified: mgmt/trunk/wooly/python/wooly/tables.py
===================================================================
--- mgmt/trunk/wooly/python/wooly/tables.py 2009-08-12 17:35:37 UTC (rev 3557)
+++ mgmt/trunk/wooly/python/wooly/tables.py 2009-08-12 17:41:39 UTC (rev 3558)
@@ -94,6 +94,9 @@
return None
+ def render_class(self, session, *args):
+ return None
+
class ItemTableColumn(Widget):
def __init__(self, app, name):
super(ItemTableColumn, self).__init__(app, name)
Modified: mgmt/trunk/wooly/python/wooly/tables.strings
===================================================================
--- mgmt/trunk/wooly/python/wooly/tables.strings 2009-08-12 17:35:37 UTC (rev 3557)
+++ mgmt/trunk/wooly/python/wooly/tables.strings 2009-08-12 17:41:39 UTC (rev 3558)
@@ -1,5 +1,5 @@
[ItemTable.html]
-<table>
+<table {class}>
<thead><tr>{headers}</tr></thead>
<tbody>{items}</tbody>
</table>
Show replies by date