[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New lintian pages available for testing



tim hall wrote:
I'm not offering to re-invent the wheel at this stage. Having just looked at how simple the templates are, I'd be more than happy to do some work on the HTML and add some suitable CSS as and when appropriate.

I'm not really sure what passes for good Debian web page design either. Any pointers to appropriate pages would be useful.
Something along these lines?

---
/* lintian.css -- Style sheet for lintian.debian.org pages. */

html, body { 	
	background: url('http://lintian.debian.org/bg.gif');
	border: 0;
	padding: 0;
}

#upperheader {
	background: none;
	margin: 0;
}

#logo {
	background: none;
	margin: 0 1em 0 0;
}

.linthead {
	color: #FFFF00;
	font-size: large;
	font-weight: normal;
}	

.note {
	font-size: small;
}

dt {
	font-weight: bolder
}

div.footer {
    font-size: smaller;
}
---
[index.tmpl]
---
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Lintian</title>
    <link rev="made" href="mailto:lintian-maint\@debian.org"; />
    <link rel="shortcut icon" href="/favicon.ico" />
<link href="http://www.debian.org/debian.css"; rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="lintian.css" type="text/css" />
  </head>

  <body>
    <div id="header">
      <div id="upperheader">
	<div id="logo">
<a href="http://lintian.debian.org/";><img align="left" src="http://lintian.debian.org/logo.gif"; alt="Lintian" width="300" height="200" /></a>
	</div> <!-- end logo -->
	<h1>Lintian</h1>
<p>Lintian dissects <a href="http://www.debian.org/";>Debian</a> <a href="http://packages.debian.org/";>packages</a> and tries to find bugs and policy violations. It contains automated checks for many aspects of <a href="http://www.debian.org/doc/debian-policy/";>Debian policy</a> as well as some checks for common errors. </p>

<p> For more information, see the <a href="manual/index.html">User Manual</a>. </p>

<p> Lintian is available in the Debian <a href="http://packages.debian.org/lintian";>lintian package</a>. </p>
      </div> <!-- end upperheader -->
      <div id="navbar">	
	  <ul><span class="linthead">Lintian report indices available: </span>
<li><strong><a href="reports/maintainers.html">Maintainers</a></strong></li>
	    <li><strong><a href="reports/tags.html">Tag types</a></strong></li>
	    <li><span class="linthead">Packages: </span>
	      <ul>
        	<li><a href="reports/packages_1.html">0-9, A-F</a></li>
        	<li><a href="reports/packages_2.html">G-L</a></li>
        	<li><a href="reports/packages_3.html">M-R</a></li>
        	<li><a href="reports/packages_4.html">S-Z</a></li>
	      </ul>
	    </li>
	  </ul>
      </div> <!-- end navbar -->
    </div> <!-- end header -->

    <dl>
    <dt>Statistics:</dt>
    <dd>
      <table>
        <tr><td>Last updated:</td>     <td>{$timestamp}</td></tr>
        <tr><td>Archive timestamp:</td><td>{$mirror}</td></tr>
        <tr><td>Distribution:</td>     <td>{$dist}</td></tr>
        <tr><td>Section:</td>          <td>{$section}</td></tr>
        <tr><td>Architecture:</td>     <td>{$architecture}</td></tr>
        <tr><td>Maintainers:</td>      <td>{$delta{maintainers}}</td></tr>
<tr><td>Source packages:</td> <td>{$delta{'source-packages'}}</td></tr> <tr><td>Binary packages:</td> <td>{$delta{'binary-packages'}}</td></tr> <tr><td>Udeb packages:</td> <td>{$delta{'udeb-packages'}}</td></tr>
        <tr><td>Warnings:</td>         <td>{$delta{warnings}}</td></tr>
        <tr><td>Errors:</td>           <td>{$delta{errors}}</td></tr>
        <tr><td>Info tags:</td>        <td>{$delta{info}}</td></tr>
        <tr><td>Overridden tags:</td>  <td>{$delta{overridden}}</td></tr>
        <tr><td>Experimental tags:</td><td>{$delta{experimental}}</td></tr>
        <tr><td>Lintian version:</td>  <td>{$version}</td></tr>
      </table>
    </dd>
  </dl>

<p class="note"> (The numbers in parentheses describe the changes since the last Lintian
    report, published on {$previous}.) </p>

    <hr />
    <div id="fineprint">
    <p>Please send all comments about these web pages to the
<a href="mailto:lintian-maint\@debian.org";>Lintian maintainers</a>.<br />
      Page last updated: {$timestamp} using Lintian {$version}</p>
    </div> <!-- end footer -->
  </body>
</html>
---
cheers,

tim


Reply to: