You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by yo...@apache.org on 2005/11/02 18:56:48 UTC

svn commit: r330295 - in /tomcat/site/trunk: docs/download-55.html docs/stylesheets/ docs/stylesheets/tomcat.css xdocs/download-55.xml

Author: yoavs
Date: Wed Nov  2 09:56:46 2005
New Revision: 330295

URL: http://svn.apache.org/viewcvs?rev=330295&view=rev
Log:
Added stylesheets to docs directory, fixed mirror logo image.

Added:
    tomcat/site/trunk/docs/stylesheets/
    tomcat/site/trunk/docs/stylesheets/tomcat.css
Modified:
    tomcat/site/trunk/docs/download-55.html
    tomcat/site/trunk/xdocs/download-55.xml

Modified: tomcat/site/trunk/docs/download-55.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/download-55.html?rev=330295&r1=330294&r2=330295&view=diff
==============================================================================
--- tomcat/site/trunk/docs/download-55.html (original)
+++ tomcat/site/trunk/docs/download-55.html Wed Nov  2 09:56:46 2005
@@ -259,41 +259,33 @@
 <td>
 <p>
 <blockquote>
-      <p>You are currently using the <b>[preferred]</b> server for downloads.  Please note that
-      new releases can take as long as two days to be available on all the mirrors.
-      If you encounter a problem with this mirror, please select another from the dropdown list
-      below.  If all mirrors are failing, there are <i>backup</i> mirrors (at the 
-      end of the mirrors list) that should be available.
-      <br />
-
-      [if-any logo]
-      <a href="[link]">
-        <img align="right" src="[logo]" border="0" />
-      </a>
-      [end]
-      </p>
- 
-      
-      <p>
-        <form action="[location]" method="get" id="SelectMirror">
-        Other mirrors: 
-        <select name="Preferred">
-          [if-any http]
-            [for http]<option value="[http]">[http]</option>[end]
-          [end]
-          [if-any ftp]
-            [for ftp]<option value="[ftp]">[ftp]</option>[end]
-          [end]
-          [if-any backup]
-            [for backup]<option value="[backup]">[backup] (backup)</option>[end]
-          [end]
-        </select>
-        <input type="submit" value="Change" />
-        </form>
-      </p>
+       
+    <p>You are currently using <b>[preferred]</b>.  If you
+       encounter a problem with this mirror, please select another
+       mirror.  If all mirrors are failing, there are <i>backup</i>
+       mirrors (at the end of the mirrors list) that should be
+       available.<br />[if-any logo]<a href="[link]">
+<img align="right" src="[logo]" border="0" />
+</a>[end]</p>
+<p>
+<form action="[location]" method="get" id="SelectMirror">
+       Other mirrors: <select name="Preferred">
+         [if-any http]
+           [for http]<option value="[http]">[http]</option>[end]
+         [end]
+         [if-any ftp]
+           [for ftp]<option value="[ftp]">[ftp]</option>[end]
+         [end]
+         [if-any backup]
+           [for backup]<option value="[backup]">[backup] (backup)</option>[end]
+           [end]
+         </select>
+<input type="submit" value="Change" />
+</form>
+</p>
       
    
-      </blockquote>
+  </blockquote>
 </p>
 </td>
 </tr>
@@ -404,12 +396,12 @@
          <ul>
          <li>
            <a href="[preferred]/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.zip">zip</a> 
-           <a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.zip.asc">pgp</a>, 
+           (<a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.zip.asc">pgp</a>, 
            <a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.zip.md5">md5</a>)
          </li>
          <li>
            <a href="[preferred]/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.tar.gz">tar.gz</a> 
-           <a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.tar.gz.asc">pgp</a>, 
+           (<a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.tar.gz.asc">pgp</a>, 
            <a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.tar.gz.md5">md5</a>)
          </li>
          </ul>

Added: tomcat/site/trunk/docs/stylesheets/tomcat.css
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/stylesheets/tomcat.css?rev=330295&view=auto
==============================================================================
--- tomcat/site/trunk/docs/stylesheets/tomcat.css (added)
+++ tomcat/site/trunk/docs/stylesheets/tomcat.css Wed Nov  2 09:56:46 2005
@@ -0,0 +1,31 @@
+/*
+* Copyright 2002-2005 The Apache Software Foundation
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+.searchbox {
+    position: relative;
+    left: -50px;
+    top: 20px;
+    height: 42px;
+    white-space: nowrap;
+    text-align: right;
+    z-index:0;
+    bottom: -1px; /* compensate for IE rendering issue */
+}
+
+.searchbox form {
+    padding: 5px 10px;
+    margin: 0;
+}

Modified: tomcat/site/trunk/xdocs/download-55.xml
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/xdocs/download-55.xml?rev=330295&r1=330294&r2=330295&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/download-55.xml (original)
+++ tomcat/site/trunk/xdocs/download-55.xml Wed Nov  2 09:56:46 2005
@@ -35,43 +35,28 @@
     </p>
   </section>
 
-      <section name="Mirrors">
-      <p>You are currently using the <b>[preferred]</b> server for downloads.  Please note that
-      new releases can take as long as two days to be available on all the mirrors.
-      If you encounter a problem with this mirror, please select another from the dropdown list
-      below.  If all mirrors are failing, there are <i>backup</i> mirrors (at the 
-      end of the mirrors list) that should be available.
-      <br/>
-
-      [if-any logo]
-      <a href="[link]">
-        <img align="right" src="[logo]" border="0"/>
-      </a>
-      [end]
-      </p>
- 
-      <!-- Begin mirror list -->
-      <p>
-        <form action="[location]" method="get" id="SelectMirror">
-        Other mirrors: 
-        <select name="Preferred">
-          [if-any http]
-            [for http]<option value="[http]">[http]</option>[end]
-          [end]
-          [if-any ftp]
-            [for ftp]<option value="[ftp]">[ftp]</option>[end]
-          [end]
-          [if-any backup]
-            [for backup]<option value="[backup]">[backup] (backup)</option>[end]
-          [end]
-        </select>
-        <input type="submit" value="Change"/>
-        </form>
-      </p>
+  <section name="Mirrors">
+    <!-- Note: the following CGI code is sensitive to line breaks.  Don't "prettify" it. -->   
+    <p>You are currently using <b>[preferred]</b>.  If you
+       encounter a problem with this mirror, please select another
+       mirror.  If all mirrors are failing, there are <i>backup</i>
+       mirrors (at the end of the mirrors list) that should be
+       available.<br/>[if-any logo]<a href="[link]"><img align="right" src="[logo]" border="0"/></a>[end]</p><p><form action="[location]" method="get" id="SelectMirror">
+       Other mirrors: <select name="Preferred">
+         [if-any http]
+           [for http]<option value="[http]">[http]</option>[end]
+         [end]
+         [if-any ftp]
+           [for ftp]<option value="[ftp]">[ftp]</option>[end]
+         [end]
+         [if-any backup]
+           [for backup]<option value="[backup]">[backup] (backup)</option>[end]
+           [end]
+         </select><input type="submit" value="Change"/></form></p>
       <!-- End mirror list -->
    
-      </section>
-      <!-- End mirrors section -->
+  </section>
+  <!-- End mirrors section -->
 
       <!-- Begin 5.5.12 section -->
       <section name="5.5.12">
@@ -150,12 +135,12 @@
          <ul>
          <li>
            <a href="[preferred]/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.zip">zip</a> 
-           <a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.zip.asc">pgp</a>, 
+           (<a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.zip.asc">pgp</a>, 
            <a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.zip.md5">md5</a>)
          </li>
          <li>
            <a href="[preferred]/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.tar.gz">tar.gz</a> 
-           <a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.tar.gz.asc">pgp</a>, 
+           (<a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.tar.gz.asc">pgp</a>, 
            <a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-compat.tar.gz.md5">md5</a>)
          </li>
          </ul>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org