[Dehs-devel] r81 - in trunk: . www

atomo64-guest at alioth.debian.org atomo64-guest at alioth.debian.org
Mon Dec 17 02:06:46 UTC 2007


Author: atomo64-guest
Date: 2007-12-17 02:06:46 +0000 (Mon, 17 Dec 2007)
New Revision: 81

Modified:
   trunk/update_wwwal.sh
   trunk/www/index.php
   trunk/www/maintainer.php
   trunk/www/menu.inc
   trunk/www/no_updated.php
   trunk/www/no_upstream.php
   trunk/www/no_watch.php
   trunk/www/stats.html
Log:
Changing the look&feel of the website

Modified: trunk/update_wwwal.sh
===================================================================
--- trunk/update_wwwal.sh	2007-12-17 00:39:51 UTC (rev 80)
+++ trunk/update_wwwal.sh	2007-12-17 02:06:46 UTC (rev 81)
@@ -9,6 +9,7 @@
 php4 -q $WORKDIR/www/no_watch.php > /org/alioth.debian.org/chroot/home/groups/dehs/htdocs/no_watch.html
 php4 -q $WORKDIR/www/no_upstream.php > /org/alioth.debian.org/chroot/home/groups/dehs/htdocs/no_upstream.html
 php4 -q $WORKDIR/www/no_updated.php > /org/alioth.debian.org/chroot/home/groups/dehs/htdocs/no_updated.html
+php4 -q $WORKDIR/www/stats.html > /org/alioth.debian.org/chroot/home/groups/dehs/htdocs/stats.html
 psql -A -q -d dehs -c "SELECT name || ': N/A' FROM pkgs WHERE watch IS NULL OR watch=''  AND dist='unstable' ORDER BY name ASC;" | egrep -v '\?column\?|rows\)'  > /org/alioth.debian.org/chroot/home/groups/dehs/htdocs/no_watch.txt
 psql -A -q -d dehs -c "SELECT name || ': Error' FROM pkgs WHERE up_version='' AND watch!='' AND dist='unstable' order by name asc;" | egrep -v '\?column\?|rows\)'  > /org/alioth.debian.org/chroot/home/groups/dehs/htdocs/no_upstream.txt
 psql -A -q -d dehs -c "SELECT name || ': ' || up_version FROM pkgs WHERE up_version!='' AND watch!='' AND dist='unstable' order by name asc;" | egrep -v '\?column\?|rows\)'  > /org/alioth.debian.org/chroot/home/groups/dehs/htdocs/no_updated.txt

Modified: trunk/www/index.php
===================================================================
--- trunk/www/index.php	2007-12-17 00:39:51 UTC (rev 80)
+++ trunk/www/index.php	2007-12-17 02:06:46 UTC (rev 81)
@@ -3,12 +3,21 @@
 <head>
   <meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type">
-  <title>Debian Watch Health Status</title>
+  <title>Debian External Health Status</title>
+  <link rel="shortcut icon" href="/favicon.ico">
 </head>
 <body>
 <div style="text-align: center;">
-<h1>Debian Watch Health Status</h1>
-<? include("menu.inc");?>
+<h1><img src="http://www.debian.org/logos/openlogo-nd-50.png" style="border:0px;" alt='' height='30.5px' width='25px'>&nbsp;<a href="http://dehs.alioth.debian.org/" style="color:black;font-size:35px">Debian External Health Status</a>&nbsp;<img src="/earth.png" style="border:0px;" alt='' height='30.5px' width='30.5px'></h1>
+<? include("menu.inc"); ?>
+<form action="/maintainer.php" method="get">
+By&nbsp;Maintainer:&nbsp;<input type="text" name="maint" value="foo at bar.com" onclick="this.value=(this.value=='foo at bar.com')?'':this.value;"/>
+<input type="submit" name="Display">
+</form>
+<form action="/maintainer.php" method="get">
+By&nbsp;package:&nbsp;<input type="text" name="name" value="libfoo" onclick="this.value=(this.value=='libfoo')?'':this.value;"/>
+<input type="submit" name="Display">
+/form>
 </div>
 <small><div style="text-align: center;">All the scripts are copyright of <a href='mailto:bluefuture at nospam@email.it'>Stefano Fabri</a>
 <br>Source code are available under GPL terms <a href="http://svn.debian.org/">here</a></br></div></small>

Modified: trunk/www/maintainer.php
===================================================================
--- trunk/www/maintainer.php	2007-12-17 00:39:51 UTC (rev 80)
+++ trunk/www/maintainer.php	2007-12-17 02:06:46 UTC (rev 81)
@@ -24,21 +24,22 @@
  http-equiv="content-type">
 <?php
 if (isset($_GET['maint']) && !empty($_GET['maint'])) {
-    $title = 'DEHS report for ' . htmlentities($_GET['maint']);
+    $title = 'DEHS report for ' . $_GET['maint'];
 } else if (isset($_GET['name']) && !empty($_GET['name'])) {
-    $title = 'DEHS report for package ' . htmlentities($_GET['name']);
+    $title = 'DEHS report for package ' . $_GET['name'];
 } else {
     $title = 'DEHS web query';
 }
 ?>
-  <title><?=$title?></title>
+  <title><?=htmlentities($title)?></title>
+  <link rel="shortcut icon" href="/favicon.ico">
 </head>
 <body>
 <div style="text-align: center;">
-<h1><a href="http://dehs.alioth.debian.org/" style="color:black">Debian External Health Status</a></h1>
-<?=$title?><br>
+<h1><img src="http://www.debian.org/logos/openlogo-nd-50.png" style="border:0px;" alt='' height='30.5px' width='25px'>&nbsp;<a href="http://dehs.alioth.debian.org/" style="color:black;font-size:35px">Debian External Health Status</a>&nbsp;<img src="/earth.png" style="border:0px;" alt='' height='30.5px' width='30.5px'></h1>
 </div>
 <?php
+define('PBAR', true);
 include("menu.inc");
 require("config_www.inc");
 $maint='%';

Modified: trunk/www/menu.inc
===================================================================
--- trunk/www/menu.inc	2007-12-17 00:39:51 UTC (rev 80)
+++ trunk/www/menu.inc	2007-12-17 02:06:46 UTC (rev 81)
@@ -1,34 +1,35 @@
-<br>
-<div style="text-align: center;display:table;">
-    <div style="display:table-row;">
-        <div style="display:table-cell;">
-            <a href="no_watch.html">Pkgs without watch file</a>
-        </div>
-        <div style="display:table-cell;">
-            <a href="no_updated.html">Pkgs not in sync with upstream</a>
-        </div>
+<div style="text-align: center;font-family: Arial, Helvetica, sans-serif;font-size: 90%;">
+    <div>
+        <a href="no_watch.html">Pkgs without watch file</a> |
+        <a href="no_updated.html">Pkgs not in sync with upstream</a>
     </div>
-    <div style="display:table-row;">
-        <div style="display:table-cell;">
-            <a href="no_upstream.html">Pkgs with watch file but no upstream version checkable</a>
-        </div>
-        <div style="display:table-cell;">
-            <a href="stats.html">DEHS statistics</a>
-        </div>
+    <div>
+        <a href="no_upstream.html">Pkgs with watch file but no upstream version checkable</a> |
+        <a href="stats.html">DEHS statistics</a>
     </div>
-    <div style="display:table-row;">
-        <div style="display:table-cell;">
-            <form action="/maintainer.php" method="post">
-                Maintainer packages status <input type="text" name="maint" value="foo at bar.com" onclick="this.value=(this.value=='foo at bar.com')?'':this.value;"/>
-                <input type="submit" value="Display">
-            </form>
-        </div>
-        <div style="display:table-cell;">
-            <form action="/maintainer.php" method="post">
-                Status for package <input type="text" name="name" value="libfoo" onclick="this.value=(this.value=='libfoo')?'':this.value;"/>
-                <input type="submit" value="Display">
-            </form>
-        </div>
-    </div>
-</div>
-<br>
\ No newline at end of file
+</div><br/>
+<?php
+if (defined('PBAR') && isset($title)) {
+?>
+<table bgcolor="#DF0451" border="0" width="100%" cellpadding="0" cellspacing="0" summary="">
+<tr>
+<td valign="top">
+<img src="http://www.debian.org/Pics/red-upperleft.png" align="left" border="0" hspace="0" vspace="0" alt="" width="8" height="10">
+</td>
+<td rowspan="2" align="center">
+<font color="#FFFF00"><big><?=htmlentities($title)?></big></font>
+</td>
+<td valign="top">
+<img src="http://www.debian.org/Pics/red-upperright.png" align="right" border="0" hspace="0" vspace="0" alt="" width="8.5" height="10">
+</td>
+</tr>
+<tr>
+<td valign="bottom">
+<img src="http://www.debian.org/Pics/red-lowerleft.png" align="left" border="0" hspace="0" vspace="0" alt="" width="8.5" height="10">
+</td>
+<td valign="bottom">
+<img src="http://www.debian.org/Pics/red-lowerright.png" align="right" border="0" hspace="0" vspace="0" alt="" width="8" height="10">
+</td>
+</tr>
+</table>
+<?php } ?>
\ No newline at end of file

Modified: trunk/www/no_updated.php
===================================================================
--- trunk/www/no_updated.php	2007-12-17 00:39:51 UTC (rev 80)
+++ trunk/www/no_updated.php	2007-12-17 02:06:46 UTC (rev 81)
@@ -23,10 +23,11 @@
   <meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type">
   <title>Sources with newer upstream versions</title>
+  <link rel="shortcut icon" href="/favicon.ico">
 </head>
 <body>
 <div style="text-align: center;">
-<h1><a href="http://dehs.alioth.debian.org/" style="color:black">Debian External Health Status</a></h1>
+<h1><img src="http://www.debian.org/logos/openlogo-nd-50.png" style="border:0px;" alt='' height='30.5px' width='25px'>&nbsp;<a href="http://dehs.alioth.debian.org/" style="color:black;font-size:35px">Debian External Health Status</a>&nbsp;<img src="/earth.png" style="border:0px;" alt='' height='30.5px' width='30.5px'></h1>
 Most popular packages that are not in sync with Upstream author version<br>
 <?include("menu.inc");?>
 <?

Modified: trunk/www/no_upstream.php
===================================================================
--- trunk/www/no_upstream.php	2007-12-17 00:39:51 UTC (rev 80)
+++ trunk/www/no_upstream.php	2007-12-17 02:06:46 UTC (rev 81)
@@ -4,10 +4,11 @@
   <meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type">
   <title>Sources failing to report upstream's version</title>
+  <link rel="shortcut icon" href="/favicon.ico">
 </head>
 <body>
 <div style="text-align: center;">
-<h1><a href="http://dehs.alioth.debian.org/" style="color:black">Debian External Health Status</a></h1>
+<h1><img src="http://www.debian.org/logos/openlogo-nd-50.png" style="border:0px;" alt='' height='30.5px' width='25px'>&nbsp;<a href="http://dehs.alioth.debian.org/" style="color:black;font-size:35px">Debian External Health Status</a>&nbsp;<img src="/earth.png" style="border:0px;" alt='' height='30.5px' width='30.5px'></h1>
 Most popular sources packages that have watch file but Uscan can't retrive an upstream version<br>
 Probably => An old Watch or bad filled Watch file in source package!
 <?include("menu.inc");?>

Modified: trunk/www/no_watch.php
===================================================================
--- trunk/www/no_watch.php	2007-12-17 00:39:51 UTC (rev 80)
+++ trunk/www/no_watch.php	2007-12-17 02:06:46 UTC (rev 81)
@@ -23,10 +23,11 @@
   <meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type">
   <title>Sources With No Watch</title>
+  <link rel="shortcut icon" href="/favicon.ico">
 </head>
 <body>
 <div style="text-align: center;">
-<h1><a href="http://dehs.alioth.debian.org/" style="color:black">Debian External Health Status</a></h1>
+<h1><img src="http://www.debian.org/logos/openlogo-nd-50.png" style="border:0px;" alt='' height='30.5px' width='25px'>&nbsp;<a href="http://dehs.alioth.debian.org/" style="color:black;font-size:35px">Debian External Health Status</a>&nbsp;<img src="/earth.png" style="border:0px;" alt='' height='30.5px' width='30.5px'></h1>
 Source packages that need watch files - Sorted by popularity<br><br>
 <?include("menu.inc");?>
  <?

Modified: trunk/www/stats.html
===================================================================
--- trunk/www/stats.html	2007-12-17 00:39:51 UTC (rev 80)
+++ trunk/www/stats.html	2007-12-17 02:06:46 UTC (rev 81)
@@ -6,17 +6,12 @@
   <!--<link rel="stylesheet" href="http://www.debian.org/debian.css" type="text/css" />-->
   <title>DEHS statistics</title>
   <meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
+  <link rel="shortcut icon" href="/favicon.ico">
 </head>
 <body>
 <div style="text-align: center;">
-<h1><a href="http://dehs.alioth.debian.org/" style="color:black">Debian External Health Status</a></h1>
-Overall DEHS statistics<br><br>
-     <div style="text-align: center;" class="navbar">
-<a href="no_watch.html" class="navbar">Pkgs without Watch file</a><br>
-<a href="no_upstream.html" class="navbar">Pkgs with Watch file but no upstream version
-checkable</a><br>
-<a href="no_updated.html" class="navbar">Pkgs not in sync with Upstream Author version</a><br>
-</div><br>
+<h1><img src="http://www.debian.org/logos/openlogo-nd-50.png" style="border:0px;" alt='' height='30.5px' width='25px'>&nbsp;<a href="http://dehs.alioth.debian.org/" style="color:black;font-size:35px">Debian External Health Status</a>&nbsp;<img src="/earth.png" style="border:0px;" alt='' height='30.5px' width='30.5px'></h1>
+<?php $title='Overall DEHS statistics'; define('PBAR', true); include("menu.inc"); ?><br>
   <table class="invisiblebox">
     <tr>
 	  <td colspan="2"><hr class="ruler" /></td>




More information about the Dehs-devel mailing list