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

Holger Levsen holger at alioth.debian.org
Mon Mar 16 02:23:57 UTC 2009


Author: holger
Date: 2009-03-16 02:23:57 +0000 (Mon, 16 Mar 2009)
New Revision: 250

Modified:
   piatti/org/piuparts.debian.org/htdocs/index.html
   piatti/org/piuparts.debian.org/htdocs/style.css
   trunk/piuparts-report.py
Log:
provide navigation bar

Modified: piatti/org/piuparts.debian.org/htdocs/index.html
===================================================================
--- piatti/org/piuparts.debian.org/htdocs/index.html	2009-03-16 01:47:37 UTC (rev 249)
+++ piatti/org/piuparts.debian.org/htdocs/index.html	2009-03-16 02:23:57 UTC (rev 250)
@@ -30,46 +30,50 @@
      <img src="http://piuparts.debian.org/images/red-lowerright.png" align="right" border="0" hspace="0" vspace="0"
       alt="" width="15" height="16"></td>
    </tr>
+   <tr>
+    <td class="reddy">
+     <img src="http://piuparts.debian.org/images/red-upperleft.png" align="left" border="0" hspace="0" vspace="0"
+      alt="" width="15" height="16"></td>
+    <td rowspan="2" class="reddy">
+      <a href="http://wiki.debian.org/piuparts">About</a> - <a href="http://wiki.debian.org/piuparts/FAQ">FAQ</a> -
+      reports: <a href="/sid/">sid</a> - <a href="/squeeze/">squeeze</a> - <a href="/lenny2squeeze/">lenny2squeeze</a>
+    </td>
+    <td class="reddy">
+     <img src="http://piuparts.debian.org/images/red-upperright.png" align="right" border="0" hspace="0" vspace="0"
+     alt="" width="16" height="16"></td>
+   </tr>
+   <tr>
+    <td class="reddy">
+     <img src="http://piuparts.debian.org/images/red-lowerleft.png" align="left" border="0" hspace="0" vspace="0"
+      alt="" width="16" height="16"></td>
+    <td class="reddy">
+     <img src="http://piuparts.debian.org/images/red-lowerright.png" align="right" border="0" hspace="0" vspace="0"
+      alt="" width="15" height="16"></td>
+   </tr>
   </table>
 
-<div class="sidebar">
-<a href="http://wiki.debian.org/piuparts">About</a>
-<a href="http://wiki.debian.org/piuparts/FAQ">FAQ</a>
-<hr>
-<ul>
-<li><a href="/sid/">sid</a></li>
-<li><a href="/squeeze/">squeeze</a></li>
-<li><a href="/lenny2squeeze/">lenny2squeeze</a></li>
-</ul>
-</div>
+<div id="main">
+ <p>This machine is 
+  <a href="http://db.debian.org/machines.cgi?host=piatti">piatti.debian.org</a>, 
+  generously donated by HP and hosted at piuparts.cs.helsinki.fi by the 
+  University of Helsinki, CS department.
+ </p>
 
-<div class="main">
-<p>This machine is piatti.debian.org, generously donated by HP and 
-hosted at piuparts.cs.helsinki.fi by the University of Helsinki,
-CS department.</p>
+ <p>
+  The <a href="http://wiki.debian.org/piuparts">piuparts</a> setup is currently
+  still being polished. Better reports and stats as well as PTS integration is
+   planned. Join #debian-qa if you want to help.
+ </p>
 
-<p><a href="http://db.debian.org/machines.cgi?host=piatti">piatti</a> runs piuparts, currently the setup is still being polished. Better reports and stats as well as PTS integration is planned. Join #debian-qa if you want to help.</p>
+ <p>These pages are updated every 30 minutes.</p>
+</div>
 
-<b><u>Test cases:</b></u>
-
-<ul>
-<li><a href="/sid/stats.html">package installation and removal in sid</a></li>
-<li><a href="/squeeze/stats.html">package installation and removal in squeeze</a></li>
-<li><a href="/lenny2squeeze/stats.html">package installation in lenny, upgrade to squeeze and removal in squeeze</a></li>
-</ul>
-
-
-<p>These pages are updated every 30 minutes.</p>
-
-<p>More information about the setup is available at <a href="http://wiki.debian.org/piuparts">wiki.debian.org/piuparts</a>.</p>
-
-</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">
     <img border="0" src="/images/vcss.gif" alt="Valid CSS!"  height="31" width="88">
 </a>
-<    
+    
 </body>
 </html>

Modified: piatti/org/piuparts.debian.org/htdocs/style.css
===================================================================
--- piatti/org/piuparts.debian.org/htdocs/style.css	2009-03-16 01:47:37 UTC (rev 249)
+++ piatti/org/piuparts.debian.org/htdocs/style.css	2009-03-16 02:23:57 UTC (rev 250)
@@ -1,17 +1,9 @@
 #main {
         border: none;
-        width: 100%;
+        width: 97%;
         vertical-align: top;
 }
 
-#sidebar {
-        float: left;
-        width: 220px;
-        background-color: rgb(200,200,200);
-        border: 1px solid black;
-        margin : 4px;
-}
-
 p.note {
  font-family: sans-serif;
  color: #900;

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-03-16 01:47:37 UTC (rev 249)
+++ trunk/piuparts-report.py	2009-03-16 02:23:57 UTC (rev 250)
@@ -71,6 +71,26 @@
      <img src="http://piuparts.debian.org/images/red-lowerright.png" align="right" border="0" hspace="0" vspace="0"
       alt="" width="15" height="16"></td>
    </tr>
+   <tr>
+    <td class="reddy">
+     <img src="http://piuparts.debian.org/images/red-upperleft.png" align="left" border="0" hspace="0" vspace="0"
+      alt="" width="15" height="16"></td>
+    <td rowspan="2" class="reddy">
+      <a href="http://wiki.debian.org/piuparts">About</a> - <a href="http://wiki.debian.org/piuparts/FAQ">FAQ</a> -
+      reports: <a href="/sid/">sid</a> - <a href="/squeeze/">squeeze</a> - <a href="/lenny2squeeze/">lenny2squeeze</a>
+    </td>
+    <td class="reddy">
+     <img src="http://piuparts.debian.org/images/red-upperright.png" align="right" border="0" hspace="0" vspace="0"
+     alt="" width="16" height="16"></td>
+   </tr>
+   <tr>
+    <td class="reddy">
+     <img src="http://piuparts.debian.org/images/red-lowerleft.png" align="left" border="0" hspace="0" vspace="0"
+      alt="" width="16" height="16"></td>
+    <td class="reddy">
+     <img src="http://piuparts.debian.org/images/red-lowerright.png" align="right" border="0" hspace="0" vspace="0"
+      alt="" width="15" height="16"></td>
+   </tr>
   </table>
 """
 
@@ -89,7 +109,7 @@
 
 
 LOG_LIST_BODY_TEMPLATE = """
-<div class="main">
+<div id="main">
 <h1>%(title)s</h1>
 <p>%(preface)s</p>
 <p>The list has %(count)d packages, with %(versioncount)s total versions.
@@ -102,7 +122,7 @@
 
 
 STATS_BODY_TEMPLATE = """
-<div class="main">
+<div id="main">
 <h1>Statistics of packages</h1>
 <p>This page contains some statistics about packages piuparts is looking
 at.</p>
@@ -112,7 +132,7 @@
 
 
 STATE_BODY_TEMPLATE = """
-<div class="main">
+<div id="main">
 <h1>Packages in state "%(state)s"</h1>
 <p>This page contains a list of package in state "%(state)s".</p>
 %(list)s




More information about the Piuparts-commits mailing list