Author: marcus
Date: Wed Mar 12 21:13:36 2014
New Revision: 1576906

URL: http://svn.apache.org/r1576906
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=1576906&r1=1576905&r2=1576906&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:13:36 2014
@@ -67,6 +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>"
         + "<h2><a href='" + LINK + "' title='Version " + VERSION + " | 
Milestone " + MILESTONE
         + " | Build ID " + BUILD + " | SVN " + SVN_REV + " | Released: " + 
REL_DATE + "'>"
         + "Download Apache OpenOffice " + VERSION + "</a></h2>"
@@ -80,6 +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>"
         + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
         + "Download Apache OpenOffice</a></h2>"
         + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " 
+ VERSION + " for "
@@ -91,6 +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>"
         + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
         + "Download Apache OpenOffice</a></h2>"
         + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " 
+ VERSION + " for "
@@ -102,6 +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>"
       + "<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 "
@@ -143,6 +147,7 @@ screen reader. -->
   <!-- Green: Stable release: No JavaScript enabled -->
   <noscript>
   <div class="first button green_gradient" id="optionitem1">
+    <div class="green_icon"></div>
     <h2><a>Download Apache OpenOffice</a></h2>
     <p><a href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/";
     title="Select from all platforms, languages, language packs to 
download">Your browser does not seem to allow JavaScript
@@ -180,6 +185,7 @@ screen reader. -->
         // If a Beta Release is available for download, then download from 
Sourceforge with displayed platform and language.
         document.write( "<div class=\"button yellow_gradient\" 
id=\"optionitem2\" onclick=\"openItem('optionitem2','"
           + LINK + "') return false;\">"
+          + "<div class='yellow_icon'></div>"
           + "<h2><a href='" + LINK + "' title='Version " + BETA_NAME + " | 
Milestone " + BETA_MILESTONE
           + " | Build ID " + BETA_BUILD + " | SVN " + BETA_SVN_REV + " | 
Released: " + BETA_REL_DATE + "'>"
           + "Download Apache OpenOffice " + BETA_NAME + "</a></h2>"
@@ -195,6 +201,7 @@ screen reader. -->
         // then use "other.html" as download link.
         document.write( "<div class=\"button yellow_gradient\" 
id=\"optionitem1\" onclick=\"openItem('optionitem1','"
           + LINK + "');" + "return false;\">"
+          + "<div class='yellow_icon'></div>"
           + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
           + "Download Apache OpenOffice</a></h2>"
           + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice 
" + BETA_NAME + " for "
@@ -206,6 +213,7 @@ screen reader. -->
         // then provide a download link to the previous version.
         document.write( "<div class=\"button yellow_gradient\" 
id=\"optionitem1\" onclick=\"openItem('optionitem1','"
           + LINK + "');" + "return false;\">"
+          + "<div class='yellow_icon'></div>"
           + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
           + "Download Apache OpenOffice</a></h2>"
           + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice 
" + BETA_NAME + " for "
@@ -218,6 +226,7 @@ screen reader. -->
       // LINK = "http://www.openoffice.org/download/test/all_beta.html";;
       document.write( "<div class=\"button yellow_gradient\" 
id=\"optionitem2\" onclick=\"openItem('optionitem2','"
         + LINK + "') return false;\">"
+        + "<div class='yellow_icon'></div>"
         + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
         + "Download Apache OpenOffice " + BETA_NAME + "</a></h2>"
         + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " 
+ BETA_NAME + " for "
@@ -249,6 +258,7 @@ screen reader. -->
   <!-- Yellow: Beta: No JavaScript enabled -->
   <noscript>
   <div class="button yellow_gradient" id="optionitem2" 
onclick="openItem('optionitem2','all_beta.html'); return false;">
+    <div class="yellow_icon"></div>
     <h2><a href="all_beta.html" title="Select from all platforms, languages, 
language packs to download">
     Download Apache OpenOffice Beta</a></h2>
     <p><a href="http://sourceforge.net/projects/openofficeorg.mirror/files/";
@@ -267,6 +277,7 @@ screen reader. -->
 
   <!-- Light Blue: Share download with social networks -->
   <div class="button lightblue_gradient" id="optionitem3">
+    <div class="lightblue_icon"></div>
     <h2><a style="cursor: default;" title="Help spread the word and tell your 
friends about Apache OpenOffice">
     Help Spread the Word</a></h2>
     <p style="cursor: default;" id="ShareDownloadLinks">
@@ -287,6 +298,7 @@ screen reader. -->
   <!-- Blue: Extensions -->
   <div class="button blue_gradient" id="optionitem4" 
onclick="openItem('optionitem4','http://extensions.openoffice.org');
     return false;">
+    <div class="blue_icon"></div>
     <h2><a href="http://extensions.openoffice.org";
     title="Choose from a wide range of additional and individual 
functionality">
     Get Apache OpenOffice Extensions and Dictionaries</a></h2>
@@ -299,6 +311,7 @@ screen reader. -->
   <!-- Blue: Templates -->
   <div class="button blue_gradient" id="optionitem5" 
onclick="openItem('optionitem5','http://templates.openoffice.org');
     return false;">
+    <div class="blue_icon"></div>
     <h2><a href="http://templates.openoffice.org";
     title="Choose from a wide range of additional and individual documents">
     Get Apache OpenOffice Templates</a></h2>


Reply via email to