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

Holger Levsen holger at alioth.debian.org
Thu Mar 19 10:58:51 UTC 2009


Author: holger
Date: 2009-03-19 10:58:51 +0000 (Thu, 19 Mar 2009)
New Revision: 284

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

Modified: piatti/org/piuparts.debian.org/htdocs/style.css
===================================================================
--- piatti/org/piuparts.debian.org/htdocs/style.css	2009-03-19 10:13:55 UTC (rev 283)
+++ piatti/org/piuparts.debian.org/htdocs/style.css	2009-03-19 10:58:51 UTC (rev 284)
@@ -1,14 +1,20 @@
 #main {
         border: none;
-        width: 97%;
+        padding-top: 10px;
+        padding-bottom: 10px;
+        padding-left: 15px;
+        padding-right: 15px;
         vertical-align: top;
+        background-color: #ddd;
 }
 
 hr {
-  width: 100%; 
-  color:#d70751; 
-  background-color:#d70751; 
+  width: 100%;
+  color:#d70751;
+  background-color:#d70751;
   height:2px;
+  margin: 0px;
+  padding: 0px;
 }
 
 p.note {
@@ -30,9 +36,11 @@
 }
 
 body {
+ padding: 0px;
+ margin: 0px;
  font-family: Arial, Helvetica, sans-serif;
  color: #000000;
- background-color: #ddd;
+ background-color: white;
 }
 
 table.reddy
@@ -41,6 +49,8 @@
  background-color: #000;
  border: 0px solid #000;
  border-collapse: collapse;
+ margin-top: 0px;
+ padding-top: 0px;
 }
 
 ul {
@@ -58,6 +68,7 @@
  vertical-align: middle;
  text-align: center;
  padding: 0px;
+ margin: 0px;
 }
 
 p.validate {
@@ -71,6 +82,7 @@
  border: 0px solid #000;
  border-collapse: separate;
  border-spacing: 1px;
+ margin: 5px;
 }
 
 h1 {
@@ -183,18 +195,27 @@
  text-decoration: none;
 }
 
-a:hover{
+a:hover {
  color: #0000FF;
  text-decoration: underline;
 }
 
+#header {
+ padding: 3px;
+}
+
+h1.header {
+ font-size: 32px;
+ text-align: left;
+ margin-bottom: 0px;
+ padding-bottom: 0px;
+ padding-left: 30px;
+}
+
 #footer {
+ padding: 15px;
  font-size: 90%;
  text-align: center;
- background-color: white;
 }
 
-#headerfooter {
- font-size: 90%;
- background-color: white;
-}
+

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-03-19 10:13:55 UTC (rev 283)
+++ trunk/piuparts-report.py	2009-03-19 10:58:51 UTC (rev 284)
@@ -47,8 +47,8 @@
  </head>
  <body>
  <div id="header">
-  <div align="center">
-   <h1>
+  <div align="left">
+   <h1 class="header">
     <a href="http://www.debian.org/">
      <img src="http://piuparts.debian.org/images/openlogo-nd-50.png" border="0" hspace="0" vspace="0" alt=""></a>
     <a href="http://www.debian.org/">
@@ -57,7 +57,7 @@
    </h1>
   </div>
   <br>
-  <table class="reddy" width="100%">
+  <table class="reddy" width="97%">
    <tr>
     <td class="reddy">
      <img src="http://piuparts.debian.org/images/red-upperleft.png" align="left" border="0" hspace="0" vspace="0"
@@ -96,14 +96,14 @@
       alt="" width="15" height="16"></td>
    </tr>
   </table>
-  <hr>
  </div>
+ <hr>
 """
 
 
 HTML_FOOTER = """
-<hr>
-  <div id="footer">
+ <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 debian.org">Holger Levsen</a>,  




More information about the Piuparts-commits mailing list