[Mpuls-commits] r2477 - in wasko/branches/2.0: . mpulsweb/lib mpulsweb/public/styles
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Apr 22 12:01:32 CEST 2010
Author: roland
Date: 2010-04-22 12:01:31 +0200 (Thu, 22 Apr 2010)
New Revision: 2477
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/mpulsweb/lib/renderer.py
wasko/branches/2.0/mpulsweb/public/styles/all.css
Log:
Wald issue #1442: added a slight margin to checkboxes
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-04-22 09:55:45 UTC (rev 2476)
+++ wasko/branches/2.0/ChangeLog 2010-04-22 10:01:31 UTC (rev 2477)
@@ -23,6 +23,8 @@
tooltips in admin area
* mpulsweb/public/images/logos/valid-html401.png: added valid HTML icon from the
W3 consortium
+ * mpulsweb/lib/renderer.py:
+ * mpulsweb/public/styles/all.css: Wald issue #1442: added a slight margin to checkboxes
2010-04-21 Torsten Irländer <torsten.irlaender at intevation.de>
Modified: wasko/branches/2.0/mpulsweb/lib/renderer.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/renderer.py 2010-04-22 09:55:45 UTC (rev 2476)
+++ wasko/branches/2.0/mpulsweb/lib/renderer.py 2010-04-22 10:01:31 UTC (rev 2477)
@@ -648,9 +648,15 @@
#checked = self.stateStack[-1] == value and "checked" or ""
#print "mvalue: %s value: %s" % (mvalue, value)
out = []
- out.append(tag("input", type="checkbox", id=id, name=id,
- value="1", disabled=self.ro_mode,
- checked=(value == 1), tabindex=self.next_tabindex(),
+ out.append(tag("input",
+ type = "checkbox",
+ class_ = "checkbox",
+ id = id,
+ name = id,
+ value = "1",
+ disabled = self.ro_mode,
+ checked = (value == 1),
+ tabindex = self.next_tabindex(),
**SET_MODIFICATION_ATTRS))
out.append(hidden_bool_tag(id))
out.append(self._renderLabel(node))
Modified: wasko/branches/2.0/mpulsweb/public/styles/all.css
===================================================================
--- wasko/branches/2.0/mpulsweb/public/styles/all.css 2010-04-22 09:55:45 UTC (rev 2476)
+++ wasko/branches/2.0/mpulsweb/public/styles/all.css 2010-04-22 10:01:31 UTC (rev 2477)
@@ -244,6 +244,10 @@
font-size: 0.9em;
}
+.checkbox{
+ margin-right: 4px;
+}
+
.formularpage .text {
padding: 0.25em;
border-color: #f1f1f1;
More information about the Mpuls-commits
mailing list