[rhmessaging-commits] rhmessaging commits: r2741 - mgmt/trunk/cumin/python/cumin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Wed Nov 5 10:06:45 EST 2008
Author: eallen
Date: 2008-11-05 10:06:45 -0500 (Wed, 05 Nov 2008)
New Revision: 2741
Modified:
mgmt/trunk/cumin/python/cumin/widgets.strings
Log:
Changed the button style on MoreFieldSet to be consistent with other form buttons.
Modified: mgmt/trunk/cumin/python/cumin/widgets.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/widgets.strings 2008-11-05 15:05:44 UTC (rev 2740)
+++ mgmt/trunk/cumin/python/cumin/widgets.strings 2008-11-05 15:06:45 UTC (rev 2741)
@@ -996,6 +996,7 @@
div.more_inputs {
display: none;
margin-left: 0.5em;
+ margin-right: 0.5em;
padding: 0.5em;
border: 1px dashed #333;
background-color: #FCFCFC;
@@ -1007,7 +1008,11 @@
[MoreFieldSet.html]
<div class="more_field_set">
- <input type="button" id="button_{id}" onclick="toggle_more_fieldset(); return false;" value="{more_text}" />
+ <ul class="actions">
+ <li>
+ <a class="nav" href="#" onclick="toggle_more_fieldset(); return false;"><span id="button_{id}">{more_text}</span></a>
+ </li>
+ </ul>
<div id="{id}" class="more_inputs" style="display:none;">
{inputs}
</div>
@@ -1020,11 +1025,11 @@
if (oDiv.style.display == "none") {
oDiv.style.display = "block";
if (oButton)
- oButton.value = "{less_text}";
+ oButton.innerHTML = "{less_text}";
} else {
oDiv.style.display = "none"
if (oButton)
- oButton.value = "{more_text}";
+ oButton.innerHTML = "{more_text}";
}
}
}
More information about the rhmessaging-commits
mailing list