[Mpuls-commits] r4219 - in base/trunk: . mpulsweb/lib mpulsweb/public/styles

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 17 16:41:40 CET 2010


Author: frank
Date: 2010-11-17 16:41:30 +0100 (Wed, 17 Nov 2010)
New Revision: 4219

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/lib/renderer.py
   base/trunk/mpulsweb/public/styles/screen.css
Log:
Minor rendering improvements

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-11-17 11:45:19 UTC (rev 4218)
+++ base/trunk/ChangeLog	2010-11-17 15:41:30 UTC (rev 4219)
@@ -1,3 +1,11 @@
+2010-11-17  Frank Koormann <frank.koormann at intevation.de>
+
+	Minor rendering improvements:
+
+	* mpulsweb/lib/renderer.py (ViewRenderer._renderInfo): Fix image size.
+	* mpulsweb/public/styles/screen.css: div#content_ueberschrift: Slight
+	  top margin to place content header equal to text in modusfield. 
+
 2010-11-17  Roland Geider <roland.geider at intevation.de>
 
 	* mpulsweb/lib/renderer.py,

Modified: base/trunk/mpulsweb/lib/renderer.py
===================================================================
--- base/trunk/mpulsweb/lib/renderer.py	2010-11-17 11:45:19 UTC (rev 4218)
+++ base/trunk/mpulsweb/lib/renderer.py	2010-11-17 15:41:30 UTC (rev 4219)
@@ -523,8 +523,8 @@
         depth = 1 #visibleDepth(node)
         if text:
             out.append('<p class="text">')
-            out.append(tag("img", src=icon("formular/info.png"), width="48",
-                        height="48"))
+            out.append(tag("img", src=icon("formular/info.png"), width="12",
+                        height="12"))
             out.append(escape(text))
             out.append('</p>')
             self.toTarget(Item("".join(out)), meta.getTarget())
@@ -1044,7 +1044,7 @@
             out.append('<td>')
             out.append(self.render_digest(sd.rg, sd.fields))
             out.append('</td>')
-            out.append('<td class="actions">')
+            out.append('<td class="actions hcontrol">')
             out.append(tag("a",
                            href=url_for(controller="/navigation",
                                         action="select_branch",

Modified: base/trunk/mpulsweb/public/styles/screen.css
===================================================================
--- base/trunk/mpulsweb/public/styles/screen.css	2010-11-17 11:45:19 UTC (rev 4218)
+++ base/trunk/mpulsweb/public/styles/screen.css	2010-11-17 15:41:30 UTC (rev 4219)
@@ -440,8 +440,8 @@
 	width: 23em;
 	font-size:1.2em;
 	font-weight:bold;	
-	padding:0em 0 0 0;
-	margin:0;
+	margin-top:       0.4em;
+	padding:          0.3pt;
 }
 
 #content_header #content_ueberschrift ul, #content_header_small #content_ueberschrift ul, #content_header_large #content_ueberschrift ul {



More information about the Mpuls-commits mailing list