cvs commit: www/test/style screen.css

jeroen at linuxfromscratch.org jeroen at linuxfromscratch.org
Wed Aug 6 06:02:06 PDT 2003


jeroen      03/08/06 07:02:06

  Modified:    test     mail.html
               test/cgi-bin lfscounter.cgi
               test/style screen.css
  Log:
  Minor modifications to the counter and the stylesheet; all pages generated by the counter should validate and look good now.
  
  Revision  Changes    Path
  1.21      +4 -8      www/test/mail.html
  
  Index: mail.html
  ===================================================================
  RCS file: /home/cvsroot/www/test/mail.html,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- mail.html	6 Aug 2003 11:05:13 -0000	1.20
  +++ mail.html	6 Aug 2003 13:02:06 -0000	1.21
  @@ -146,10 +146,8 @@
   				<li><a href="index.html" title="Home (mirror list)" accesskey="1">Home (Mirror list)</a></li>
   				<li><a href="sitemap.html" title="Structured overview of the website" accesskey="3">Sitemap</a></li>
   				<li><a href="accesskeys.html" title="Speed up your browsing" accesskey="0">Accesskeys</a></li>
  -				<li><a href="website.html" title="Todo, general information and changelog">Website
  -information</a></li>
  -				<li><a href="mailto:website at linuxfromscratch.org" title="Problems, questions or suggestions?"
  -accesskey="9">Discuss this website</a></li>
  +				<li><a href="website.html" title="Todo, general information and changelog">Website information</a></li>
  +				<li><a href="mailto:website at linuxfromscratch.org" title="Problems, questions or suggestions?" accesskey="9">Discuss this website</a></li>
   			</ul>
   		</li>
   	</ul>
  @@ -163,10 +161,8 @@
   		<li>Site design by Jeroen Coumans.</li>
   	</ul>
   	<ul>
  -		<li><a href="http://validator.w3.org/check/referer"><img src="images/xhtml-1.1.png" alt="Valid XHTML 1.1!"
  -height="15" width="80" /></a></li>
  -		<li><a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="images/css.png" alt="Valid CSS!"
  -height="15" width="80" /></a></li>
  +		<li><a href="http://validator.w3.org/check/referer"><img src="images/xhtml-1.1.png" alt="Valid XHTML 1.1!" height="15" width="80" /></a></li>
  +		<li><a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="images/css.png" alt="Valid CSS!" height="15" width="80" /></a></li>
   	</ul>
   </div>
   </body>
  
  
  
  1.4       +19 -21    www/test/cgi-bin/lfscounter.cgi
  
  Index: lfscounter.cgi
  ===================================================================
  RCS file: /home/cvsroot/www/test/cgi-bin/lfscounter.cgi,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- lfscounter.cgi	6 Aug 2003 11:40:34 -0000	1.3
  +++ lfscounter.cgi	6 Aug 2003 13:02:06 -0000	1.4
  @@ -64,7 +64,7 @@
   <div id="header">
   	<ul id="sectionnav">
   		<li><a href="#index" class="hidden" accesskey="2">Skip to content</a></li>
  -		<li><a href="lfs/index.html" accesskey="l"><span class="accesskey">L</span>FS</a></li>
  +		<li><a href="../lfs/index.html" accesskey="l"><span class="accesskey">L</span>FS</a></li>
   		<li><a href="../blfs/news.html" accesskey="b"><span class="accesskey">B</span>eyond LFS</a></li>
   		<li><a href="../alfs/news.html" accesskey="a"><span class="accesskey">A</span>utomated LFS</a></li>
   		<li><a href="../hints/news.html" accesskey="h"><span class="accesskey">H</span>ints</a></li>
  @@ -113,7 +113,7 @@
   		<li><h3>Contribute:</h3>
   			<ul>
   				<li><a href="../donation.html" title="We accept all donations, really">Make a donation</a></li>
  -				<li><a href="http://linuxfromscratch.org/cgi-bin/lfscounter.cgi" class="currentpage" title="Register freely!">Register as LFS user</a></li>
  +				<li><a href="lfscounter.cgi" class="currentpage" title="Register freely!">Register as LFS user</a></li>
   				<li><a href="../becomemirror.html" title="If you have some bandwidth to spare">Become a mirror</a></li>
   			</ul>
   		</li>
  @@ -129,7 +129,7 @@
   		</li>
   		<li><h3>About this website:</h3>
   			<ul>
  -				<li><a href="index.html" title="Home (mirror list)" accesskey="1">Home (Mirror list)</a></li>
  +				<li><a href="../index.html" title="Home (mirror list)" accesskey="1">Home (Mirror list)</a></li>
   				<li><a href="../sitemap.html" title="Structured overview of the website" accesskey="3">Sitemap</a></li>
   				<li><a href="../accesskeys.html" title="Speed up your browsing" accesskey="0">Accesskeys</a></li>
   				<li><a href="../website.html" title="Todo, general information and changelog">Website information</a></li>
  @@ -503,25 +503,24 @@
   		$sth = $dbh->prepare("$sql_send limit $position,$increment");
   		$sth->execute;
   
  -		print "<table border=\"0\" cellspacing=\"0\"
  -			class=\"bodytext\">\n";
  -		print "<th align=\"left\">LFS ID</th>
  -				<th align=\"left\">Name</th>
  -				<th align=\"left\">First LFS
  -			version</th>\n";
  -		print "<tr><td colspan=\"3\"> </td></tr>\n";
  +		print "<table><tbody>\n";
  +		print "<tr>\n";
  +		print "
  +	<th>LFS ID</th>
  +	<th>Name</th>
  +	<th>First LFS version</th>\n";
  +		print "</tr>\n";
   
   		while ($sql_output = $sth->fetchrow_hashref()) {
   			$lfs_users++;
  -			print "<tr>";
  -			print "<td>$sql_output->{'id'}</td>";
  -			print "<td>$sql_output->{'name'}</td>";
  -			print "<td>$sql_output->{'first_lfs'}</td>";
  +			print "<tr>\n";
  +			print "	<td>$sql_output->{'id'}</td>\n";
  +			print "	<td>$sql_output->{'name'}</td>\n";
  +			print "	<td>$sql_output->{'first_lfs'}</td>\n";
   			print "</tr>\n";
   		}
   
  -		print "</tbody>
  -</table>\n";
  +		print "</tbody></table>\n";
   
   		$first_result = $position + 1;
   		$last_result = $position + $lfs_users;
  @@ -555,8 +554,7 @@
   		if (!$lfs_users) {
   			print "<p>Sorry, query unsuccessful</p>\n";
   		} else {
  -			print "<p>Displaying $first_result - $last_result  out of
  -				$total matches</p>\n";
  +			print "<p>Displaying $first_result - $last_result out of $total matches</p>\n";
   		}
   
   		print "<p><a href=\"$me\">Back</a></p>\n";
  @@ -611,9 +609,9 @@
   			print "<p>You have registered already:</p>\n";
   			print "<table border=\"0\" cellspacing=\"0\"
   				class=\"bodytext\">\n";
  -			print "<th align=\"left\">LFS ID</th>
  -				<th align=\"left\">Name</th>
  -				<th align=\"left\">First LFS version</th>\n";
  +			print "<th>LFS ID</th>
  +				<th>Name</th>
  +				<th>First LFS version</th>\n";
   			print "<tr><td colspan=\"3\"> </td></tr>\n";
   			print "<tr>";
   			print "<td>$sql_output->{'id'}</td>";
  
  
  
  1.32      +1 -0      www/test/style/screen.css
  
  Index: screen.css
  ===================================================================
  RCS file: /home/cvsroot/www/test/style/screen.css,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- screen.css	6 Aug 2003 11:40:34 -0000	1.31
  +++ screen.css	6 Aug 2003 13:02:06 -0000	1.32
  @@ -103,6 +103,7 @@
   
   td {
   	background-color: #eee;
  +	width: auto;
   }
   
   th {
  
  
  



More information about the website mailing list