Author: eallen
Date: 2008-11-06 09:13:38 -0500 (Thu, 06 Nov 2008)
New Revision: 2754
Modified:
mgmt/trunk/cumin/python/cumin/broker.py
mgmt/trunk/cumin/python/cumin/broker.strings
Log:
Removing after Unregister button.
Modified: mgmt/trunk/cumin/python/cumin/broker.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/broker.py 2008-11-06 14:12:00 UTC (rev 2753)
+++ mgmt/trunk/cumin/python/cumin/broker.py 2008-11-06 14:13:38 UTC (rev 2754)
@@ -48,6 +48,9 @@
def render_content(self, session):
return "Unregister"
+ def render_class(self, session):
+ return "unregister"
+
def process_submit(self, session):
ids = self.parent.ids.get(session)
self.parent.ids.clear(session)
Modified: mgmt/trunk/cumin/python/cumin/broker.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/broker.strings 2008-11-06 14:12:00 UTC (rev 2753)
+++ mgmt/trunk/cumin/python/cumin/broker.strings 2008-11-06 14:13:38 UTC (rev 2754)
@@ -10,6 +10,11 @@
from broker_registration as br
{sql_where}
+[BrokerSet.css]
+div.sactions button.unregister {
+ margin-right: 2em;
+}
+
[BrokerSet.html]
<form id="{id}" method="post" action="?">
<!-- <select
onchange="document.getElementById('{id}.submit').submit()"> -->
@@ -18,8 +23,6 @@
<h2>Act on Selection:</h2>
{unregister}
-
-
<h2>Add to Group:</h2>
{groups} {groupify}
</div>