[Piuparts-commits] rev 281 - piatti/org/piuparts.debian.org/htdocs trunk

Holger Levsen holger at alioth.debian.org
Wed Mar 18 14:36:16 UTC 2009


Author: holger
Date: 2009-03-18 14:36:15 +0000 (Wed, 18 Mar 2009)
New Revision: 281

Modified:
   piatti/org/piuparts.debian.org/htdocs/style.css
   trunk/piuparts-report.py
Log:
some layout improvements

Modified: piatti/org/piuparts.debian.org/htdocs/style.css
===================================================================
--- piatti/org/piuparts.debian.org/htdocs/style.css	2009-03-18 02:37:05 UTC (rev 280)
+++ piatti/org/piuparts.debian.org/htdocs/style.css	2009-03-18 14:36:15 UTC (rev 281)
@@ -4,6 +4,13 @@
         vertical-align: top;
 }
 
+hr {
+  width: 95%; 
+  color:#d70751; 
+  background-color:#d70751; 
+  height:3px;
+}
+
 p.note {
  font-family: sans-serif;
  color: #900;
@@ -25,7 +32,7 @@
 body {
  font-family: Arial, Helvetica, sans-serif;
  color: #000000;
- background-color: #FFF;
+ background-color: #ddd;
 }
 
 table.reddy
@@ -45,9 +52,9 @@
  font-family: serif;
  font-size: 24px;
  font-weight: normal;
- background-color: #DF0451;
+ background-color: #d70751;
  color: #FFFF00;
- border: 0px solid #DF0451;
+ border: 0px solid #d70751;
  vertical-align: middle;
  text-align: center;
  padding: 0px;
@@ -181,6 +188,7 @@
  text-decoration: underline;
 }
 
-.footer {
+#footer {
  font-size: 90%;
+ text-align: center;
 }

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-03-18 02:37:05 UTC (rev 280)
+++ trunk/piuparts-report.py	2009-03-18 14:36:15 UTC (rev 281)
@@ -96,13 +96,20 @@
 
 
 HTML_FOOTER = """
-<a href="http://validator.w3.org/check?uri=referer">
+<hr>
+  <div id="footer">
+  <div>
+   piuparts was written by <a href="mailto:liw at iki.fi">Lars Wirzenius</a> and is now maintained by <a href="mailto:holger at layer-acht.org">Holger Levsen</a> and others. GPL2 licenced.
+  </div>
+  <div>
+   <a href="http://validator.w3.org/check?uri=referer">
     <img border="0" src="/images/valid-html401.png" alt="Valid HTML 4.01!" height="31" width="88">
-</a>
-<a href="http://jigsaw.w3.org/css-validator/check/referer">
+   </a>
+   <a href="http://jigsaw.w3.org/css-validator/check/referer">
     <img border="0" src="/images/vcss.png" alt="Valid CSS!"  height="31" width="88">
-</a>
-    
+   </a>
+  </div>
+ </div>
 </body>
 </html>
 """
@@ -113,7 +120,7 @@
 <h1>%(title)s</h1>
 <p>%(preface)s</p>
 <p>The list has %(count)d packages, with %(versioncount)s total versions.
-This page was generated: %(time)s.</p>
+</p><p>This page was generated: %(time)s.</p>
 <ul>
 %(loglist)s
 </ul>
@@ -124,7 +131,7 @@
 STATE_BODY_TEMPLATE = """
 <div id="main">
 <h1>Packages in state "%(state)s"</h1>
-<p>This page contains a list of packages in state "%(state)s". Last updated: %(time)s.</p>
+<p>This page contains a list of packages in state "%(state)s".</p><p>Last updated: %(time)s.</p>
 %(list)s
 </div>
 """
@@ -133,8 +140,8 @@
 SECTION_STATS_BODY_TEMPLATE = """
 <div id="main">
 <h1>Statistics of packages per section</h1>
-<p>This page contains some statistics about packages from <pre>%(packages-url)s</pre>piuparts is looking
-at. Last updated: %(time)s.</p>
+<p>This page contains some statistics about packages from <code>%(packages-url)s</code> piuparts is looking
+at.</p><p>Last updated: %(time)s.</p>
 %(table)s
 </div>
 """




More information about the Piuparts-commits mailing list