[rhmessaging-commits] rhmessaging commits: r3900 - mgmt/newdata/cumin/python/cumin/inventory.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Thu Apr 8 11:38:30 EDT 2010
Author: eallen
Date: 2010-04-08 11:38:29 -0400 (Thu, 08 Apr 2010)
New Revision: 3900
Modified:
mgmt/newdata/cumin/python/cumin/inventory/system.py
Log:
First crack at adding System Overview tab
Modified: mgmt/newdata/cumin/python/cumin/inventory/system.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/inventory/system.py 2010-04-08 15:21:20 UTC (rev 3899)
+++ mgmt/newdata/cumin/python/cumin/inventory/system.py 2010-04-08 15:38:29 UTC (rev 3900)
@@ -36,6 +36,12 @@
super(SystemFrame, self).__init__(app, name, cls)
+ self.icon_href = "resource?name=system-36.png"
+
+ overview = SystemStats(app, "overview", self.object)
+ self.view.add_tab(overview)
+
+
class TopSystemSet(TopTable):
def __init__(self, app, name):
super(TopSystemSet, self).__init__(app, name)
@@ -97,7 +103,7 @@
self.add_child(slot_vis)
def render_title(self, session):
- return "Statistics"
+ return "Overview"
def render_slot_job_url(self, session):
#job = Identifiable("XXX")
More information about the rhmessaging-commits
mailing list