You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/03/12 22:22:01 UTC

svn commit: r1576918 - /openoffice/ooo-site/trunk/content/download/test/index_gradient.html

Author: marcus
Date: Wed Mar 12 21:22:00 2014
New Revision: 1576918

URL: http://svn.apache.org/r1576918
Log:
Inserted a DIV inside the DIV for the color gradient to show the little icon top right

Modified:
    openoffice/ooo-site/trunk/content/download/test/index_gradient.html

Modified: openoffice/ooo-site/trunk/content/download/test/index_gradient.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/index_gradient.html?rev=1576918&r1=1576917&r2=1576918&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index_gradient.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/index_gradient.html Wed Mar 12 21:22:00 2014
@@ -67,7 +67,7 @@ screen reader. -->
       // then download from Sourceforge with displayed platform and language.
       document.write( "<div class=\"first button green_gradient\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
         + LINK + "');" + "return false;\">"
-	+ "<div class='green_icon'></div>"
+        + "<div class='green_icon'></div>"
         + "<h2><a href='" + LINK + "' title='Version " + VERSION + " | Milestone " + MILESTONE
         + " | Build ID " + BUILD + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'>"
         + "Download Apache OpenOffice " + VERSION + "</a></h2>"
@@ -81,7 +81,7 @@ screen reader. -->
       // then use "other.html" as download link.
       document.write( "<div class=\"first button green_gradient\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
         + LINK + "');" + "return false;\">"
-	+ "<div class='green_icon'></div>"
+        + "<div class='green_icon'></div>"
         + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
         + "Download Apache OpenOffice</a></h2>"
         + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
@@ -93,7 +93,7 @@ screen reader. -->
       // then provide a download link to the previous version.
       document.write( "<div class=\"first button green_gradient\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
         + LINK + "');" + "return false;\">"
-	+ "<div class='green_icon'></div>"
+        + "<div class='green_icon'></div>"
         + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
         + "Download Apache OpenOffice</a></h2>"
         + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
@@ -105,7 +105,7 @@ screen reader. -->
     // If browser language do not match with AOO languages, then download from an alternative webpage.
     document.write( "<div class=\"first button green_gradient\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
       + LINK + "');" + "return false;\">"
-	+ "<div class='green_icon'></div>"
+      + "<div class='green_icon'></div>"
       + "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>"
       + "Download Apache OpenOffice</a></h2>"
       + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>Apache OpenOffice " + VERSION + " for "
@@ -325,15 +325,16 @@ screen reader. -->
   /*
   <!--
   if ( RC_ACTIVE == 1 ) {
-    document.write( "<div class=\"button yellow\" id=\"optionitem4\" onclick=\"openItem('optionitem4',"
+    document.write( "<div class=\"button yellow_gradient\" id=\"optionitem4\" onclick=\"openItem('optionitem4',"
       + "'all_rc.html#untested-full');"
       + "return false;\">"
+      + "<div class='yellow_icon'></div>"
       + "<h2><a href='all_rc.html#untested-full' title='Select from other platforms and languages to download'>"
       + "Get OpenOffice.org Release Candidates</a></h2>"
       + "<p><a href='all_rc.html#untested-full' title='Select from other platforms and languages to download'>"
       + "<b>Most recent: OOo " + RC_NAME + " " + RC_NUMBER + "</b></a></p>"
     + "</div>" );
-    document.write( "<div class=\"sub-yellow\">"
+    document.write( "<div class=\"sub-yellow_gradient\">"
       + "<p><a href='all_rc.html' title='Get all platforms, languages, language packs to download'>"
       + "Get all platforms, languages, language packs</a> | "
       + "<a href='http://www.openoffice.org/development/releases/" + RC_BUILD + ".html'"
@@ -343,7 +344,7 @@ screen reader. -->
     + "</div>" );
   } else if ( RC_ACTIVE == 0 ) {
   // Yellow: Release Candidate coming soon
-    document.write( "<div class=\"button yellow\" id=\"optionitem4\">"
+    document.write( "<div class=\"button yellow_gradient\" id=\"optionitem4\">"
       + "<h2><a>Get OpenOffice.org Release Candidate <small>(" + RC_NAME + RC_NUMBER + " coming soon)</small></a></h2>"
       + "<p><a>A wide range of platforms and languages will be available."
       + "<br /><b>Important:</b> These builds are nearly ready but needs to be finally tested and are therefore not "
@@ -357,14 +358,16 @@ screen reader. -->
   <!-- Yellow: Release Candidate: No JavaScript enabled -->
   <!--
   <noscript>
-  <div class="button yellow" id="optionitem4" onclick="openItem('optionitem4','all_rc.html#untested-full'); return false;">
+  <div class="button yellow_gradient" id="optionitem4" onclick="openItem('optionitem4','all_rc.html#untested-full');
+    return false;">
+    <div class="yellow_icon"></div>
     <h2><a href="all_rc.html" title="Select from all platforms, languages, language packs to download">
     Get OpenOffice.org Release Candidate</a></h2>
     <p><a href="all_rc.html" title="Select from other platforms, languages, language packs to download">
     JavaScript needs to be enabled to take full advantage of this download section. Currently it does not seem to be enabled.
     Please click on this text to use the alternative webpage to select the favorite platform and language.</a></p>
   </div>
-  <div class="sub-yellow">
+  <div class="sub-yellow_gradient">
     <p><a href="all_rc.html" title="Get all platforms, languages, language packs to download">
     Get all platforms, languages, language packs</a> |
     <a href="http://www.openoffice.org/development/releases/dev_index.html"
@@ -378,8 +381,9 @@ screen reader. -->
   <script type="text/javascript">
   /*
   <!--
-  document.write( "<div class=\"button orange\" id=\"optionitem5\" onclick=\"openItem('optionitem5','next/index.html');"
-    + "return false;\">"
+  document.write( "<div class=\"button orange_gradient\" id=\"optionitem5\"
+    onclick=\"openItem('optionitem5','next/index.html'); return false;\">"
+    + "<div class='orange_icon'></div>"
     + "<h2><a href='next/index.html' title='Select from the most recent OpenOffice.org Developer Snapshots'>"
     + "Get OpenOffice.org Developer Snapshots</a></h2>" );
     document.write( "<p><a href='next/index.html' title='Select from the most recent OpenOffice.org Developer "
@@ -392,7 +396,7 @@ screen reader. -->
     }
     document.write( "</b></a></p>"
   + "</div>" );
-  document.write( "<div class=\"sub-orange\">"
+  document.write( "<div class=\"sub-orange_gradient\">"
     + "<p><a href='next/other.html' title='Get all platforms, languages, SDK builds, source tarballs to download'>"
     + "Get all platforms, languages, SDK builds, source tarballs</a> | "
     + "<a href='http://www.openoffice.org/development/releases/dev_index.html'"
@@ -406,14 +410,15 @@ screen reader. -->
   <!-- Red: Developer Snapshots: No JavaScript enabled -->
   <!--
   <noscript>
-  <div class="button orange" id="optionitem5" onclick="openItem('optionitem5','next/index.html'); return false;">
+  <div class="button orange_gradient" id="optionitem5" onclick="openItem('optionitem5','next/index.html'); return false;">
+    <div class="orange_icon"></div>
     <h2><a href="next/other.html" title="Select from the most recent OpenOffice.org Developer Snapshots">
     Get OpenOffice.org Developer Snapshots</a></h2>
     <p><a href="next/other.html" title="Select from the most recent OpenOffice.org Developer Snapshots">
     JavaScript needs to be enabled to take full advantage of this download section. Currently it does not seem to be enabled.
     Please click on this text to use the alternative webpage to select the favorite platform and language.</a></p>
   </div>
-  <div class="sub-orange">
+  <div class="sub-orange_gradient">
     <p><a href="next/other.html" title="Get all platforms, languages, language packs, SDK builds, source tarballs to
     download">
     Get all platforms, languages, language packs, SDK builds, source tarballs</a> |