openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1753840 - /openoffice/ooo-site/trunk/content/download/test/boxed_download.js
Date Fri, 22 Jul 2016 22:40:44 GMT
Author: marcus
Date: Fri Jul 22 22:40:44 2016
New Revision: 1753840

URL: http://svn.apache.org/viewvc?rev=1753840&view=rev
Log:
Created new box with orange color 'Get Developers'

Modified:
    openoffice/ooo-site/trunk/content/download/test/boxed_download.js

Modified: openoffice/ooo-site/trunk/content/download/test/boxed_download.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/boxed_download.js?rev=1753840&r1=1753839&r2=1753840&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/boxed_download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/boxed_download.js Fri Jul 22 22:40:44
2016
@@ -27,7 +27,7 @@ DL.createDownloadBox = function() {
 
     // Select drop-down boxes.
     + "<form name='download'>"
-      + "<select class='sel-os' id='os' name='os' ' onchange='DL.getLinkSelection()'"
+      + "<select class='sel-os' id='os' name='os' onchange='DL.getLinkSelection()'"
         + "title='" + l10n.dl_green_box_selectbox_os_title   + "'>"
       + "</select>"
       + "<select class='sel-language' id='language' name='language' onchange='DL.getLinkSelection()'"
@@ -119,6 +119,33 @@ DL.createDownloadBox = function() {
 }
 
 /*
+ * Get more developers box
+ * Show the clickable text for the "Get Involved" webpage
+ * @param:  None
+ * @return: None
+ */
+DL.createGetDevBox = function() {
+  document.write( "<div class='orange button' id='optionitem5' "
+    + "onclick='openItem(\"optionitem5\",\"" + l10n.dl_getdev_orange_box_text_href + "\");
return false;'>"
+    // No icon in the right corner of the box.
+    // + "<div class='<color>-icon'></div>"
+
+    // Headline.
+    + "<h2 title='" + l10n.dl_getdev_orange_box_headline_title + "'>"
+      + l10n.dl_getdev_orange_box_headline_text
+    + "</h2>"
+
+    // Box text.
+    + "<p style='margin-left: 5px; padding-bottom: 3%;'>"
+      + "<a href='" + l10n.dl_getdev_orange_box_text_href + "' title='" + l10n.dl_getdev_orange_box_text_title
+ "'>"
+        + l10n.dl_getdev_orange_box_text_text
+      + "</a>"
+    + "</p>"
+  + "</div>" );
+  return;
+}
+
+/*
  * Social network box
  * Show the clickable icons for the social networks
  * @param:  None
@@ -371,13 +398,13 @@ DL.createLogoSection = function() {
 
     // Sourceforge logo.
     + "<a href='" + l10n.dl_img_sourceforge_href + "' target='_blank' title='" + l10n.dl_img_sourceforge_title
+ "'>"
-      + "<img src='" + l10n.dl_img_sourceforge_src + "' width='160' height='34' alt='"
+ l10n.dl_img_sourceforge_alt + "' />"
+      + "<img class='sf_logo' src='" + l10n.dl_img_sourceforge_src + "' width='160' height='34'
alt='" + l10n.dl_img_sourceforge_alt + "' />"
     + "</a>"
     + "<br /><br />"
 
     // W3C Validator logo.
     + "<a href='" + l10n.dl_img_w3c_href + "' target='_blank' title='" + l10n.dl_img_w3c_title
+ "'>"
-      + "<img src='" + l10n.dl_img_w3c_src + "' alt='" + l10n.dl_img_w3c_alt + "' />"
+      + "<img class='w3c_logo' src='" + l10n.dl_img_w3c_src + "' alt='" + l10n.dl_img_w3c_alt
+ "' />"
     + "</a>"
   + "</div>" );
   return;



Mime
View raw message