]> mj.ucw.cz Git - pciids.git/commitdiff
Fix footer widths
authorMichal Vaner <vorner@ucw.cz>
Sun, 5 Oct 2008 10:29:01 +0000 (12:29 +0200)
committerMichal Vaner <vorner@ucw.cz>
Sun, 5 Oct 2008 10:29:01 +0000 (12:29 +0200)
PciIds/Html/Util.pm
index.html
static/common.css

index 32173f2cd4a52e7d8cb294dca23578df97e1b69f..633fe0a485fd22f1e64aea1c32c5c8c28bf4c978 100644 (file)
@@ -59,22 +59,17 @@ sub genHtmlFooter( $$$ ) {
                require PciIds::Html::Jump;
                PciIds::Html::Jump::jumpWindow( $req, $args );
        }
-       print '<hr>
-<table width="100%">
-<tr>
-<td>
+       print '
+<div class="footer"><hr>
+<div class="campaign"><a href="http://sourceforge.net/"><img src="http://sourceforge.net/sflogo.php?group_id=35833" width="88" height="31" border="0" alt="SourceForge"></a></div>
+<div class="campaign"><a href="http://www.anybrowser.org/campaign/"><img src="/static/anybrowser.png" width=88 height=31 alt="Best viewed with any browser."></a></div>
+<p class="maintain">
 Maintained by <a href="http://mj.ucw.cz/">Martin Mares</a> and <a href="http://vorner.pretel.cz/">Michal
 Vaner</a> with great help by volunteers from the <a href="http://www.sourceforge.net/projects/pciids/">pciids project</a>
 at <a href="http://www.sourceforge.net/">SourceForge</a>.
-</td><td rowspan=2>
-<a href="http://www.anybrowser.org/campaign/"><img src="/static/anybrowser.png" width=88 height=31 alt="Best viewed with any browser."></a>
-</td><td rowspan=2>
-<a href="http://sourceforge.net/"><img src="http://sourceforge.net/sflogo.php?group_id=35833" width="88" height="31" border="0" alt="SourceForge"></a>
-</td></tr>
-<tr><td><span style="display: block">No counters, no frames, no syntax
-errors.</span></td></tr>
-</table>
+<p class="maintain">No counters, no frames, no syntax errors.
 </div>';
+       genHtmlTail();
 }
 
 sub htmlDiv( $$ ) {
index a645ab4043b3b8e3d3e8ca32fae59ff43b4b236c..b6b21d423e2abd8487e956fc5d4afd384024005b 100644 (file)
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html lang="en"><head><title>The PCI ID Repository</title>
-<link rel='stylesheet' type='text/css' media='all' href='/static/common.css'>
-<link rel='stylesheet' type='text/css' media='screen' href='/static/screen.css'>
-<link rel='stylesheet' type='text/css' media='print' href='/static/print.css'>
+<link rel="stylesheet" type="text/css" media="all" href="/static/common.css">
+<link rel="stylesheet" type="text/css" media="screen" href="/static/screen.css">
+<link rel="stylesheet" type="text/css" media="print" href="/static/print.css">
 </head><body>
 
-<div class='top'><div class='bigbluesquare'>
+<div class="top"><div class="bigbluesquare">
 <h1>The PCI ID Repository</h1>
-<p class='home'>The home of the <code>pci.ids</code> file
+<p class="home">The home of the <code>pci.ids</code> file
 </div></div>
 
-<p>This is a public repository of all known ID's used in PCI devices:
-ID's of vendors, devices, subsystems and device classes. It is used in
+<p>This is a public repository of all known ID"s used in PCI devices:
+ID"s of vendors, devices, subsystems and device classes. It is used in
 various programs (e.g., <a href="http://mj.ucw.cz/pciutils.html">The PCI Utilities</a>)
 to display full human-readable names instaed of cryptic numeric codes.
 
@@ -21,11 +21,11 @@ to display full human-readable names instaed of cryptic numeric codes.
 entries or to update the existing ones:
 
 <ul>
-       <li><a href='/read/PC/'>PCI devices</a>
-       <li><a href='/read/PD/'>PCI device classes</a>
+       <li><a href="/read/PC/">PCI devices</a>
+       <li><a href="/read/PD/">PCI device classes</a>
 </ul>
 
-<p>You may want to read <a href='/read/?action=help?help=index'>help</a> before you start using the
+<p>You may want to read <a href="/read/?action=help?help=index">help</a> before you start using the
 web interface.
 
 <h2>Download</h2>
@@ -35,14 +35,14 @@ web interface.
 the list used by your system:
 
 <ul>
-       <li><a href='/v2.2/pci.ids'>pci.ids</a>
-       <li><a href='/v2.2/pci.ids.gz'>pci.ids.gz</a> (compressed by gzip)
-       <li><a href='/v2.2/pci.ids.bz2'>pci.ids.bz2</a> (compressed by bzip2)
+       <li><a href="/v2.2/pci.ids">pci.ids</a>
+       <li><a href="/v2.2/pci.ids.gz">pci.ids.gz</a> (compressed by gzip)
+       <li><a href="/v2.2/pci.ids.bz2">pci.ids.bz2</a> (compressed by bzip2)
 </ul>
 
 <p>The above files require pciutils v2.2 or newer. If you are still using an older
-version for some reason, please get these instead: <a href='/pci.ids'>pci.ids-2.0</a>,
-<a href='/pci.ids.gz'>pci.ids-2.0.gz</a>, or <a href='/pci.ids.bz2'>pci.ids-2.0.bz2</a>. They
+version for some reason, please get these instead: <a href="/pci.ids">pci.ids-2.0</a>,
+<a href="/pci.ids.gz">pci.ids-2.0.gz</a>, or <a href="/pci.ids.bz2">pci.ids-2.0.bz2</a>. They
 could however lack some subsystems.
 
 <p>The contents of the database and the generated files can be distributed
@@ -62,32 +62,25 @@ welcome, but in this case please always add a discussion comment explaining the
 reason for the change.
 
 <p>Updates can be submitted either via the web interface, or as patches to the <code>pci.ids</code>
-file sent by e-mail to our mail robot at <a href='mailto:pci-ids@ucw.cz'>pci-ids@ucw.cz</a>
-(see the <a href='/read/?action=help?help=mailsubmit'>mail submit help</a>).
+file sent by e-mail to our mail robot at <a href="mailto:pci-ids@ucw.cz">pci-ids@ucw.cz</a>
+(see the <a href="/read/?action=help?help=mailsubmit">mail submit help</a>).
 
-<p><em>In all cases, please read the <a href='/read/?action=help?help=newitem'>submission guidelines</a>
+<p><em>In all cases, please read the <a href="/read/?action=help?help=newitem">submission guidelines</a>
 first.</em>
 
 <h2>Feedback</h2>
 
-<p>If you have encountered any problems or if you have any suggestions, please <a href='mailto:pciids-devel@lists.sourceforge.net'>let
+<p>If you have encountered any problems or if you have any suggestions, please <a href="mailto:pciids-devel@lists.sourceforge.net">let
 us know</a>.
 
-<div><hr>
-<table width="100%">
-<tr>
-<td>
+<div class="footer"><hr>
+<div class="campaign"><a href="http://sourceforge.net/"><img src="http://sourceforge.net/sflogo.php?group_id=35833" width="88" height="31" border="0" alt="SourceForge"></a></div>
+<div class="campaign"><a href="http://www.anybrowser.org/campaign/"><img src="/static/anybrowser.png" width=88 height=31 alt="Best viewed with any browser."></a></div>
+<p class="maintain">
 Maintained by <a href="http://mj.ucw.cz/">Martin Mares</a> and <a href="http://vorner.pretel.cz/">Michal
 Vaner</a> with great help by volunteers from the <a href="http://www.sourceforge.net/projects/pciids/">pciids project</a>
 at <a href="http://www.sourceforge.net/">SourceForge</a>.
-</td><td rowspan=2>
-<a href="http://www.anybrowser.org/campaign/"><img src="/static/anybrowser.png" width=88 height=31 alt="Best viewed with any browser."></a>
-</td><td rowspan=2>
-<a href="http://sourceforge.net/"><img src="http://sourceforge.net/sflogo.php?group_id=35833" width="88" height="31" border="0" alt="SourceForge"></a>
-</td></tr>
-<tr><td><span style="display: block">No counters, no frames, no syntax
-errors.</span></td></tr>
-</table>
+<p class="maintain">No counters, no frames, no syntax errors.
 </div>
 
 </body></html>
index 826e573a8147fd6e484e315f9d7cfce257d562d1..740e0abf41f719281a71f89e5eea0e1b0f9b85f1 100644 (file)
@@ -16,6 +16,12 @@ form table col.edit
 {
        width: 85%;
 }
+div.footer div.campaign
+{
+       float: right;
+       margin: 0.2em;
+       margin-top: 0.6em;
+}
 input.text,
 input.password,
 textarea