Author: justi9
Date: 2009-09-21 17:51:12 -0400 (Mon, 21 Sep 2009)
New Revision: 3638
Modified:
mgmt/trunk/cumin/python/cumin/grid/job.py
mgmt/trunk/cumin/python/cumin/inventory/system.py
mgmt/trunk/cumin/python/cumin/messaging/queue.py
mgmt/trunk/cumin/python/cumin/widgets.py
Log:
Adjust top table column widths
Modified: mgmt/trunk/cumin/python/cumin/grid/job.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/grid/job.py 2009-09-21 21:44:47 UTC (rev 3637)
+++ mgmt/trunk/cumin/python/cumin/grid/job.py 2009-09-21 21:51:12 UTC (rev 3638)
@@ -132,13 +132,13 @@
super(TopJobSet, self).__init__(app, name)
col = self.NameColumn(app, "name")
- col.width = "70%"
+ col.width = "60%"
self.add_column(col)
self.set_default_column(col)
col = self.DurationColumn(app, "name")
- col.width = "20%"
+ col.width = "35%"
col.align = "right"
self.add_column(col)
Modified: mgmt/trunk/cumin/python/cumin/inventory/system.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/inventory/system.py 2009-09-21 21:44:47 UTC (rev 3637)
+++ mgmt/trunk/cumin/python/cumin/inventory/system.py 2009-09-21 21:51:12 UTC (rev 3638)
@@ -86,13 +86,13 @@
super(TopSystemSet, self).__init__(app, name)
col = self.NameColumn(app, "name")
- col.width = "70%"
+ col.width = "60%"
self.add_column(col)
self.set_default_column(col)
col = self.LoadColumn(app, "load")
- col.width = "20%"
+ col.width = "35%"
col.align = "right"
self.add_column(col)
Modified: mgmt/trunk/cumin/python/cumin/messaging/queue.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/messaging/queue.py 2009-09-21 21:44:47 UTC (rev 3637)
+++ mgmt/trunk/cumin/python/cumin/messaging/queue.py 2009-09-21 21:51:12 UTC (rev 3638)
@@ -159,13 +159,13 @@
super(TopQueueSet, self).__init__(app, name)
col = self.NameColumn(app, "name")
- col.width = "70%"
+ col.width = "60%"
self.add_column(col)
self.set_default_column(col)
col = self.EnqueuesColumn(app, "enqueues")
- col.width = "20%"
+ col.width = "35%"
col.align = "right"
self.add_column(col)
Modified: mgmt/trunk/cumin/python/cumin/widgets.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/widgets.py 2009-09-21 21:44:47 UTC (rev 3637)
+++ mgmt/trunk/cumin/python/cumin/widgets.py 2009-09-21 21:51:12 UTC (rev 3638)
@@ -688,7 +688,7 @@
self.html_class = TopTable.__name__
col = self.CountColumn(app, "name")
- col.width = "1em"
+ col.width = "5%"
col.align = "right"
self.add_column(col)