Author: eallen
Date: 2010-07-09 16:56:48 -0400 (Fri, 09 Jul 2010)
New Revision: 4097
Modified:
mgmt/newdata/cumin/python/cumin/grid/negotiator.py
mgmt/newdata/cumin/python/cumin/grid/negotiator.strings
Log:
Make the + and - on negotiator groups a button
Modified: mgmt/newdata/cumin/python/cumin/grid/negotiator.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/grid/negotiator.py 2010-07-09 20:15:59 UTC (rev 4096)
+++ mgmt/newdata/cumin/python/cumin/grid/negotiator.py 2010-07-09 20:56:48 UTC (rev 4097)
@@ -219,8 +219,9 @@
self.expand.set(branch, next_expand)
hover = state == "-" and "Collapse" or
"Expand"
+ cls = "action"
- return fmt_link(branch.marshal(), state, link_title=hover)
+ return fmt_link(branch.marshal(), state, class_=cls, link_title=hover)
class GroupColumn(ItemTableColumn):
def render_title(self, session, *args):
Modified: mgmt/newdata/cumin/python/cumin/grid/negotiator.strings
===================================================================
--- mgmt/newdata/cumin/python/cumin/grid/negotiator.strings 2010-07-09 20:15:59 UTC (rev
4096)
+++ mgmt/newdata/cumin/python/cumin/grid/negotiator.strings 2010-07-09 20:56:48 UTC (rev
4097)
@@ -10,6 +10,12 @@
th.ExpandColumn {
width: 2em;
}
+td.ExpandColumn a.action {
+ width: 1em;
+ display: block;
+ text-align: center;
+}
+
th.GroupColumn {
width: 50%;
}
Show replies by date