Author: eallen
Date: 2009-01-30 10:11:14 -0500 (Fri, 30 Jan 2009)
New Revision: 3084
Modified:
mgmt/trunk/cumin/python/cumin/pool.py
mgmt/trunk/cumin/python/cumin/pool.strings
Log:
Add title and help text to machine visualization.
Modified: mgmt/trunk/cumin/python/cumin/pool.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/pool.py 2009-01-30 12:39:00 UTC (rev 3083)
+++ mgmt/trunk/cumin/python/cumin/pool.py 2009-01-30 15:11:14 UTC (rev 3084)
@@ -454,8 +454,11 @@
return action.get_boxes(session, pool)
def render_title(self, session):
- return ""
+ return "Machines"
+ def render_vis_help(self, session):
+ return "Click on a machine to view its slots"
+
def get_1st_machine(self, session):
pool = self.frame.get_args(session)[0]
action = self.app.model.pool.machines
Modified: mgmt/trunk/cumin/python/cumin/pool.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/pool.strings 2009-01-30 12:39:00 UTC (rev 3083)
+++ mgmt/trunk/cumin/python/cumin/pool.strings 2009-01-30 15:11:14 UTC (rev 3084)
@@ -142,7 +142,7 @@
[ShowAllSlots.html]
<div style="margin:1em;">
- <a href="{href}"><button class="{class}"
type="button" tabindex="100" >Show All
Slots</button></a>
+ <a href="{href}"><button class="{class}"
type="button" tabindex="100" >Show All
Machines</button></a>
</div>
[MachineVisualization.javascript]