Author: drazzib
Date: 2010-07-16 21:06:34 +0000 (Fri, 16 Jul 2010)
New Revision: 12762

Added:
   trunk/website/debian.css
Modified:
   trunk/website/building.html
   trunk/website/developers.html
   trunk/website/index.html
Log:
Cleanup webpages (use CSS and XHTML 1.0)


Modified: trunk/website/building.html
===================================================================
--- trunk/website/building.html 2010-07-16 20:20:54 UTC (rev 12761)
+++ trunk/website/building.html 2010-07-16 21:06:34 UTC (rev 12762)
@@ -1,31 +1,28 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
-    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
     <title>Building Java Packages in Debian</title>
-    <link rev="made" 
href="mailto:pkg-java-maintainers@lists.alioth.debian.org";>
-    <link rel="shortcut icon" href="http://www.debian.org/favicon.ico";>
-    <meta name="Keywords" content="debian, GNU, linux, java, jdk, jre, 
package, deb">
-    <meta name="Description" content="Debian GNU/Linux Java packaging project">
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+    <link rev="made" 
href="mailto:pkg-java-maintainers@lists.alioth.debian.org"/>
+    <link rel="shortcut icon" href="http://www.debian.org/favicon.ico"/>
+    <link rel="stylesheet" type="text/css" href="debian.css"/>
+    <meta name="Keywords" content="debian, GNU, linux, java, jdk, jre, 
package, deb"/>
+    <meta name="Description" content="Debian GNU/Linux Java packaging 
project"/>
   </head>
 
-  <body text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#800080" 
alink="#FF0000">
-    <div align="center">
-      <a href="http://www.debian.org/";><img 
src="http://www.debian.org/logos/openlogo-nd-50.png"; border="0" hspace="0" 
vspace="0" width="50" height="61" alt=""><img 
src="http://www.debian.org/Pics/debian.jpg"; border="0" hspace="0" vspace="0" 
width="179" height="61" alt="Debian Project"></a>
+  <body>
+    <div class="logo">
+      <a href="http://www.debian.org/";>
+      <img src="http://www.debian.org/logos/openlogo-nd-50.png"; width="50" 
height="61" alt=""/>
+      <img src="http://www.debian.org/Pics/debian.jpg"; width="179" height="61" 
alt="Debian Project"/></a>
     </div>
-    <br>
 
-    <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" width="15" height="16" alt=""></td>
-        <td rowspan="2" align="center"><font color="#FFFFFF" size="+2">Debian 
Java Packaging Project</font></td>
-        <td valign="top"><img 
src="http://www.debian.org/Pics/red-upperright.png"; align="right" border="0" 
hspace="0" vspace="0" width="16" height="16" alt=""></td>
-      </tr><tr>
-        <td valign="bottom"><img 
src="http://www.debian.org/Pics/red-lowerleft.png"; align="left" border="0" 
hspace="0" vspace="0" width="16" height="16" alt=""></td>
-        <td valign="bottom"><img 
src="http://www.debian.org/Pics/red-lowerright.png"; align="right" border="0" 
hspace="0" vspace="0" width="15" height="16" alt=""></td>
-      </tr>
-    </table>
+    <div class="header">
+        <div class="upper">&nbsp;<span class="left"></span><span 
class="right"></span></div>
+        <h1>Building Java Packages in Debian</h1>
+        <div class="lower">&nbsp;<span class="left"></span><span 
class="right"></span></div>
+    </div>
 
     <h1>Building Java Packages in Debian</h1>
     <p>It is very important to get the same results in the binary packages 
independent of the build environment. This means that you should use one 
specific JDK version and an exactly defined CLASSPATH for building your 
package.</p>
@@ -47,9 +44,9 @@
 
       <li>To update to a new upstream version, try to apply the .diff.gz from 
the previous version on top of the unpacked source tree. You can use uupdate 
from <a href="http://packages.debian.org/devscripts";>devscripts</a> to 
facilitate this.</li>
     </ul>
-    <hr>
+    <hr/>
 
-    <p><a href="http://validator.w3.org/check/referer";><img border="0" 
src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!" height="31" 
width="88" align="middle"></a>
+    <p class="footer"><a href="http://validator.w3.org/check/referer";><img 
src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!" height="31" 
width="88"/></a>
       Last Modified: $Date$
     </p>
   </body>

Added: trunk/website/debian.css
===================================================================
--- trunk/website/debian.css                            (rev 0)
+++ trunk/website/debian.css    2010-07-16 21:06:34 UTC (rev 12762)
@@ -0,0 +1,87 @@
+/**
+ * Standards styles
+ */
+body {
+    color: #000000;
+    background-color: #FFFFFF;
+    padding: 0;
+    marging: 0;
+}
+
+a:link {
+    color: #0000FF;
+}
+
+a:visited {
+    color: #800080;
+}
+
+a:active {
+    color: #FF0000;
+}
+
+table, img {
+    border: 0;
+}
+
+.left {
+    float: left;
+}
+
+.right {
+    float: right;
+}
+
+/**
+ * Header
+ */
+
+.header div {
+    clear: both;
+    background-color: #DF0451;
+    height: 16px;
+}
+
+.header h1 {
+    color: #FFFFFF;
+    background-color: #DF0451;
+    margin: 0;
+    text-align: center;
+    font-size: 130%;
+}
+
+.header .left, .header .right {
+    height: 16px;
+    width: 16px;
+}
+
+.header .upper .left {
+    width: 15px;
+    background-image: url("http://www.debian.org/Pics/red-upperleft.png";)
+}
+
+.header .upper .right {
+    background-image: url("http://www.debian.org/Pics/red-upperright.png";)
+}
+
+.header .lower .left {
+    background-image: url("http://www.debian.org/Pics/red-lowerleft.png";)
+}
+
+.header .lower .right {
+    width: 15px;
+    background-image: url("http://www.debian.org/Pics/red-lowerright.png";)
+}
+
+/**
+ * Debian spec.
+ */
+
+.logo {
+    text-align: center;
+    padding-bottom: 2em;
+}
+
+.footer img {
+    vertical-align: middle;
+}
\ No newline at end of file

Modified: trunk/website/developers.html
===================================================================
--- trunk/website/developers.html       2010-07-16 20:20:54 UTC (rev 12761)
+++ trunk/website/developers.html       2010-07-16 21:06:34 UTC (rev 12762)
@@ -1,30 +1,27 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
-    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
     <title>Co-maintaining Java packages in Debian</title>
-    <link rev="made" 
href="mailto:pkg-java-maintainers@lists.alioth.debian.org";>
-    <link rel="shortcut icon" href="http://www.debian.org/favicon.ico";>
-    <meta name="Keywords" content="debian, GNU, linux, java, jdk, jre, 
package, deb">
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+    <link rev="made" 
href="mailto:pkg-java-maintainers@lists.alioth.debian.org"/>
+    <link rel="shortcut icon" href="http://www.debian.org/favicon.ico"/>
+    <link rel="stylesheet" type="text/css" href="debian.css"/>
+    <meta name="Keywords" content="debian, GNU, linux, java, jdk, jre, 
package, deb"/>
   </head>
 
-  <body text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#800080" 
alink="#FF0000">
-    <div align="center">
-      <a href="http://www.debian.org/";><img 
src="http://www.debian.org/logos/openlogo-nd-50.png"; border="0" hspace="0" 
vspace="0" width="50" height="61" alt=""><img 
src="http://www.debian.org/Pics/debian.jpg"; border="0" hspace="0" vspace="0" 
width="179" height="61" alt="Debian Project"></a>
+  <body>
+    <div class="logo">
+      <a href="http://www.debian.org/";>
+      <img src="http://www.debian.org/logos/openlogo-nd-50.png"; height="61" 
alt=""/>
+      <img src="http://www.debian.org/Pics/debian.jpg"; width="179" height="61" 
alt="Debian Project"/></a>
     </div>
-    <br>
 
-    <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" width="15" height="16" alt=""></td>
-        <td rowspan="2" align="center"><font color="#FFFFFF" size="+2">Debian 
Java Packaging Project</font></td>
-        <td valign="top"><img 
src="http://www.debian.org/Pics/red-upperright.png"; align="right" border="0" 
hspace="0" vspace="0" width="16" height="16" alt=""></td>
-      </tr><tr>
-        <td valign="bottom"><img 
src="http://www.debian.org/Pics/red-lowerleft.png"; align="left" border="0" 
hspace="0" vspace="0" width="16" height="16" alt=""></td>
-        <td valign="bottom"><img 
src="http://www.debian.org/Pics/red-lowerright.png"; align="right" border="0" 
hspace="0" vspace="0" width="15" height="16" alt=""></td>
-      </tr>
-    </table>
+    <div class="header">
+        <div class="upper">&nbsp;<span class="left"></span><span 
class="right"></span></div>
+        <h1>Co-maintaining Java packages in Debian</h1>
+        <div class="lower">&nbsp;<span class="left"></span><span 
class="right"></span></div>
+    </div>
 
     <h1>Co-maintaining Java packages in Debian</h1>
 
@@ -39,7 +36,7 @@
 
       <li>Ask a Debian developer from the project to upload your changes if 
you are not yet a Debian developer yourself</li>
     </ol>
-    <hr>
+    <hr/>
 
     <h2><a name="rules"></a>General rules</h2>
 
@@ -58,19 +55,19 @@
 
       <li>Only add <a 
href="http://www.debian.org/social_contract#guidelines";>DFSG</a>-free packages 
to the repository, <b>no non-free software</b>! You need to accept at least one 
co-maintainer for your package if you don't want to make your package 
public.</li>
     </ul>
-    <hr>
+    <hr/>
 
     <h2><a name="svn">SVN repository</a></h2>
 
     <ul>
       <li><b>Only commit modified files</b> (from *.diff.gz) to the SVN 
repository, <b>not the whole source tree</b>!</li>
 
-      <li><b>Tag uploaded package</b> versions in tags/<i>package 
name</i>/RELEASE_X_Y-Z for Debian version X.Y-Z<br>
+      <li><b>Tag uploaded package</b> versions in tags/<i>package 
name</i>/RELEASE_X_Y-Z for Debian version X.Y-Z<br/>
       </li>
     </ul>
-    <hr>
+    <hr/>
 
-    <p><a href="http://validator.w3.org/check/referer";><img border="0" 
src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!" height="31" 
width="88" align="middle"></a>
+    <p class="footer"><a href="http://validator.w3.org/check/referer";><img 
src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!" height="31" 
width="88"/></a>
       Last Modified: $Date$
     </p>
   </body>

Modified: trunk/website/index.html
===================================================================
--- trunk/website/index.html    2010-07-16 20:20:54 UTC (rev 12761)
+++ trunk/website/index.html    2010-07-16 21:06:34 UTC (rev 12762)
@@ -1,32 +1,29 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
-    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
     <title>Debian Java Packaging Project</title>
-    <link rev="made" 
href="mailto:pkg-java-maintainers@lists.alioth.debian.org";>
-    <link rel="shortcut icon" href="http://www.debian.org/favicon.ico";>
-    <meta name="Keywords" content="debian, GNU, linux, java, jdk, jre, 
package, deb">
-    <meta name="Description" content="Debian GNU/Linux Java packaging project">
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+    <link rev="made" 
href="mailto:pkg-java-maintainers@lists.alioth.debian.org"/>
+    <link rel="shortcut icon" href="http://www.debian.org/favicon.ico"/>
+    <link rel="stylesheet" type="text/css" href="debian.css"/>
+    <meta name="Keywords" content="debian, GNU, linux, java, jdk, jre, 
package, deb"/>
+    <meta name="Description" content="Debian GNU/Linux Java packaging 
project"/>
   </head>
 
-  <body text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#800080" 
alink="#FF0000">
-    <div align="center">
-      <a href="http://www.debian.org/";><img 
src="http://www.debian.org/logos/openlogo-nd-50.png"; border="0" hspace="0" 
vspace="0" width="50" height="61" alt=""><img 
src="http://www.debian.org/Pics/debian.jpg"; border="0" hspace="0" vspace="0" 
width="179" height="61" alt="Debian Project"></a>
+  <body>
+    <div class="logo">
+      <a href="http://www.debian.org/";>
+      <img src="http://www.debian.org/logos/openlogo-nd-50.png"; alt=""/>
+      <img src="http://www.debian.org/Pics/debian.jpg"; alt="Debian 
Project"/></a>
     </div>
-    <br>
+    
+    <div class="header">
+        <div class="upper">&nbsp;<span class="left"></span><span 
class="right"></span></div>
+        <h1>Debian Java Packaging Project</h1>
+        <div class="lower">&nbsp;<span class="left"></span><span 
class="right"></span></div>
+    </div>
 
-    <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" width="15" height="16" alt=""></td>
-        <td rowspan="2" align="center"><font color="#FFFFFF" size="+2">Debian 
Java Packaging Project</font></td>
-        <td valign="top"><img 
src="http://www.debian.org/Pics/red-upperright.png"; align="right" border="0" 
hspace="0" vspace="0" width="16" height="16" alt=""></td>
-      </tr><tr>
-        <td valign="bottom"><img 
src="http://www.debian.org/Pics/red-lowerleft.png"; align="left" border="0" 
hspace="0" vspace="0" width="16" height="16" alt=""></td>
-        <td valign="bottom"><img 
src="http://www.debian.org/Pics/red-lowerright.png"; align="right" border="0" 
hspace="0" vspace="0" width="15" height="16" alt=""></td>
-      </tr>
-    </table>
-
     <h2>What is the Debian Java Packaging Project?</h2>
     <p>This project was created to co-maintain Debian packages of Java 
software. Everyone is invited to participate; see the <a 
href="developers.html">information for developers</a> for details.</p>
 
@@ -39,7 +36,7 @@
     </ol>
 
     <p>The goal is to make all base and library package public so that you can 
change them easily e.g. when your application needs an updated version. You 
don't have to file a bug report in this case and wait for the maintainer to 
upload a new version, you can simply upload the fixed package yourself. This 
will hopefully speed up the integration of Java packages in Debian since most 
maintainers work in "bursts" and are unable to spend time for Debian from time 
to time.</p>
-    <hr>
+    <hr/>
     
      <h2>Links</h2>
 
@@ -66,9 +63,9 @@
 
     </ul>
 
-    <hr>
+    <hr/>
 
-    <p><a href="http://validator.w3.org/check/referer";><img border="0" 
src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!" height="31" 
width="88" align="middle"></a>
+    <p class="footer"><a href="http://validator.w3.org/check/referer";><img 
src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!" height="31" 
width="88"/></a>
       Last Modified: $Date$
     </p>
   </body>


_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to