Author: niallp
Date: Tue Dec  8 16:57:49 2009
New Revision: 888484

URL: http://svn.apache.org/viewvc?rev=888484&view=rev
Log:
Improve the L&F of the download links - switch to using tables & sub-sections 
to present source/binary distributions

Modified:
    
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-body.xml
    
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-foot.xml
    
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-head.xml

Modified: 
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-body.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-body.xml?rev=888484&r1=888483&r2=888484&view=diff
==============================================================================
--- 
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-body.xml
 (original)
+++ 
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-body.xml
 Tue Dec  8 16:57:49 2009
@@ -1,43 +1,30 @@
-    <subsection name="@NAME@ @VERSION@ @RELDESC@">
-      <p>
-        <div class="links"><span class="link"><a 
href="http://www.apache.org/dist/commons/KEYS";>KEYS</a></span></div>
-        <ul class="downloads">
-          <li class="group"><div class="links"><span 
class="label">Binary</span></div>
-            <ul>
-              <li class="download"><a 
href="[preferred]/commons/@ID@/binaries/@FINAL_NAME@@[email protected]">@[email protected]</a>
-                <ul class="attributes">
-                  <li><span class="md5">[<a 
href="http://www.apache.org/dist/commons/@ID@/binaries/@FINAL_NAME@@[email protected]";>md5</a>]</span>
-                      <span class="pgp">[<a 
href="http://www.apache.org/dist/commons/@ID@/binaries/@FINAL_NAME@@[email protected]";>pgp</a>]</span>
-                  </li>
-                </ul>
-              </li>
-              <li class="download"><a 
href="[preferred]/commons/@ID@/binaries/@FINAL_NAME@@[email protected]">@[email protected]</a>
-                <ul class="attributes">
-                  <li><span class="md5">[<a 
href="http://www.apache.org/dist/commons/@ID@/binaries/@FINAL_NAME@@[email protected]";>md5</a>]</span>
-                      <span class="pgp">[<a 
href="http://www.apache.org/dist/commons/@ID@/binaries/@FINAL_NAME@@[email protected]";>pgp</a>]</span>
-                  </li>
-                </ul>
-              </li>
-            </ul>
-          </li>
-          <li class="group"><div class="links"><span 
class="label">Source</span></div>
-            <ul>
-              <li class="download"><a 
href="[preferred]/commons/@ID@/source/@[email protected]">@[email protected]</a>
-                <ul class="attributes">
-                  <li><span class="md5">[<a 
href="http://www.apache.org/dist/commons/@ID@/source/@[email protected]";>md5</a>]</span>
-                      <span class="pgp">[<a 
href="http://www.apache.org/dist/commons/@ID@/source/@[email protected]";>pgp</a>]</span>
-                  </li>
-                </ul>
-              </li>
-              <li class="download"><a 
href="[preferred]/commons/@ID@/source/@[email protected]">@[email protected]</a>
-                <ul class="attributes">
-                  <li><span class="md5">[<a 
href="http://www.apache.org/dist/commons/@ID@/source/@[email protected]";>md5</a>]</span>
-                      <span class="pgp">[<a 
href="http://www.apache.org/dist/commons/@ID@/source/@[email protected]";>pgp</a>]</span>
-                  </li>
-                </ul>
-              </li>
-            </ul>
-          </li>
-        </ul>
-      </p>
-    </subsection>
+    <section name="@NAME@ @VERSION@ @RELDESC@">
+      <subsection name="Binaries">
+        <table>
+          <tr>
+              <td><a 
href="[preferred]/commons/@ID@/binaries/@FINAL_NAME@@[email protected]">@FINAL_NAME@@[email protected]</a></td>
+              <td><a 
href="http://www.apache.org/dist/commons/@ID@/binaries/@FINAL_NAME@@[email protected]";>md5</a></td>
+              <td><a 
href="http://www.apache.org/dist/commons/@ID@/binaries/@FINAL_NAME@@[email protected]";>pgp</a></td>
+          </tr>
+          <tr>
+              <td><a 
href="[preferred]/commons/@ID@/binaries/@FINAL_NAME@@[email protected]">@FINAL_NAME@@[email protected]</a></td>
+              <td><a 
href="http://www.apache.org/dist/commons/@ID@/binaries/@FINAL_NAME@@[email protected]";>md5</a></td>
+              <td><a 
href="http://www.apache.org/dist/commons/@ID@/binaries/@FINAL_NAME@@[email protected]";>pgp</a></td>
+          </tr>
+        </table>
+      </subsection>
+      <subsection name="Source">
+        <table>
+          <tr>
+              <td><a 
href="[preferred]/commons/@ID@/source/@[email protected]">@[email protected]</a></td>
+              <td><a 
href="http://www.apache.org/dist/commons/@ID@/source/@[email protected]";>md5</a></td>
+              <td><a 
href="http://www.apache.org/dist/commons/@ID@/source/@[email protected]";>pgp</a></td>
+          </tr>
+          <tr>
+              <td><a 
href="[preferred]/commons/@ID@/source/@[email protected]">@[email protected]</a></td>
+              <td><a 
href="http://www.apache.org/dist/commons/@ID@/source/@[email protected]";>md5</a></td>
+              <td><a 
href="http://www.apache.org/dist/commons/@ID@/source/@[email protected]";>pgp</a></td>
+          </tr>
+        </table>
+      </subsection>
+    </section>

Modified: 
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-foot.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-foot.xml?rev=888484&r1=888483&r2=888484&view=diff
==============================================================================
--- 
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-foot.xml
 (original)
+++ 
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-foot.xml
 Tue Dec  8 16:57:49 2009
@@ -1,4 +1,3 @@
-    <subsection name="Browse Download Area and Archives">
         <p>
           Older releases can be obtained from the archives.
         </p>
@@ -6,7 +5,6 @@
           <li class="download"><a href="[preferred]/commons/@ID@/">browse 
download area</a></li>
           <li><a 
href="http://archive.apache.org/dist/commons/@ID@/";>archives...</a></li>
         </ul>
-    </subsection>
     </section>
   </body>
 </document>

Modified: 
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-head.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-head.xml?rev=888484&r1=888483&r2=888484&view=diff
==============================================================================
--- 
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-head.xml
 (original)
+++ 
commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-head.xml
 Tue Dec  8 16:57:49 2009
@@ -88,7 +88,8 @@
       </form>
 
       <p>
-        The <code>KEYS</code> link links to the code signing keys used to sign 
the product.
+        The <a href="http://www.apache.org/dist/commons/KEYS";>KEYS</a>
+        link links to the code signing keys used to sign the product.
         The <code>PGP</code> link downloads the OpenPGP compatible signature 
from our main site. 
         The <code>MD5</code> link downloads the checksum from the main site.
       </p>


Reply via email to