Author: eallen
Date: 2010-08-30 10:30:15 -0400 (Mon, 30 Aug 2010)
New Revision: 4246
Modified:
mgmt/newdata/cumin/python/cumin/inventory/system.py
mgmt/newdata/cumin/python/cumin/inventory/system.strings
Log:
Add legend back into system slots.
Increase system slot vis size to match pool slot vis size.
Modified: mgmt/newdata/cumin/python/cumin/inventory/system.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/inventory/system.py 2010-08-27 20:44:29 UTC (rev
4245)
+++ mgmt/newdata/cumin/python/cumin/inventory/system.py 2010-08-30 14:30:15 UTC (rev
4246)
@@ -123,10 +123,10 @@
return sess.marshal()
def render_slot_chart_width(self, session):
- return 360
+ return 400
def render_slot_chart_height(self, session):
- return 200
+ return 400
class OldSystemView(CuminView):
def __init__(self, app, name, system):
Modified: mgmt/newdata/cumin/python/cumin/inventory/system.strings
===================================================================
--- mgmt/newdata/cumin/python/cumin/inventory/system.strings 2010-08-27 20:44:29 UTC (rev
4245)
+++ mgmt/newdata/cumin/python/cumin/inventory/system.strings 2010-08-30 14:30:15 UTC (rev
4246)
@@ -54,6 +54,7 @@
<h2>Slots</h2>
<div class="StatValueChart" id="{id}">
<div id="{id}_chart"></div>
+ {slot_legend}
</div>
</div>
<script type="text/javascript">
Show replies by date