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/05/30 22:01:57 UTC
svn commit: r1598724 -
/openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html
Author: marcus
Date: Fri May 30 20:01:56 2014
New Revision: 1598724
URL: http://svn.apache.org/r1598724
Log:
Added new analyze webpage for the select box implementation
Added:
openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html (with props)
Added: openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html?rev=1598724&view=auto
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html (added)
+++ openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html Fri May 30 20:01:56 2014
@@ -0,0 +1,208 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" />
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>Apache OpenOffice Downloads - Analyze errors of stable release</title>
+ <script type="text/javascript" src="globalvars_droplist.js"></script>
+ <script type="text/javascript" src="languages.js"></script>
+ <script type="text/javascript" src="release_matrix_droplist.js"></script>
+ <script type="text/javascript" src="download_droplist.js"></script>
+ <style type="text/css">
+ /* <![CDATA[ */
+ /*-------------------- Exceptions on standard css -----------------------*/
+ @import "styles.css";
+ @import "exceptions.css";
+ /* ]]> */
+ </style>
+</head>
+
+<body>
+
+<div class="optionset">
+
+ <!-- Text above the first colored box -->
+ <script type="text/javascript">
+ <!--
+ // The text in the H1 tag is intentionally shown as "display: none" (do not display).
+ // This is to please accessibility tools like a screen reader.
+ document.write( "<h1 style='display: none;'>Apache OpenOffice Download</h1>" );
+ -->
+ </script>
+
+ <!-- Green: Stable release -->
+ <!-- Download via select boxes -->
+ <script type="text/javascript">
+ <!--
+
+ // Set a specific language ISO code to force to assemble a certain localized build as download link.
+ // The variable can be found in the "msg_prop_l10n_<ISO_code>.js".
+ NL_LANG = "";
+
+ document.write( "<div class='first button green-sel' id='optionitem2'>"
+ + "<h2>"
+ + "<a title='Download Apache OpenOffice for your favorite operating system, language and version'>"
+ + "Download Apache OpenOffice</a>"
+ + "</h2>"
+
+ + "<p style='padding-bottom: 0px;'>"
+ + "<a title='Apache OpenOffice binary files are hosted by Sourceforge.net - A trusted website'>"
+ + "(Hosted by Sourceforge.net - A trusted website)</a>"
+ + "<a title='Select your favorite operating system, language and version'>"
+ + "<b>Select your favorite operating system, language and version:</b></a>"
+ + "</p>"
+
+ + "<form name='download'>"
+ + "<select class='sel-os' id='os' name='os' title='Select your favorite operating system'"
+ + "onchange='getLinkSel( 1 )'></select>"
+ + "<select class='sel-lang' id='lang' name='lang' title='Select your favorite language'"
+ + "onchange='getLinkSel( 1 )'></select>"
+ + "<select class='sel-ver' id='ver' name='ver' title='Select your favorite release version'"
+ + "onchange='getLinkSel( 1 )'></select>"
+ + "</form>"
+
+ + "<div class='dl-txt-btn'>"
+ + "<h3 style='display: inline; cursor: default;'>"
+ + "<a id='dl_f_link' style='padding: 5px 5px 5px 5px;' href='' title=''></a>"
+ + "<a id='dl_lp_link' style='padding: 5px 5px 5px 5px;' href='' title=''></a>"
+ + "</h3>"
+ + "<br /><br />"
+ + "</div>"
+ + "</div>" );
+
+ // Show some helpful data and links for filesizes and checksums.
+ document.write( "<div id='sub_green_box' class='sub-green-sel'>"
+ + "<div>"
+ + "<p>"
+ // Error text with hint.
+ + "<a id='dl_err' style='text-decoration: none; cursor: default; font-size: 1.2em'></a>"
+
+ // Release info.
+ + "<a id='dl_rel_info' style='text-decoration: none;'></a>"
+ + "<br />"
+
+ // Full installation: Filesize and checksums.
+ + "<a id='dl_f_info' style='text-decoration: none;'></a>"
+ + "<a id='dl_f_chk_keys' style='text-decoration: underline;' href='' title=''></a>"
+ + "<a id='space1' style='text-decoration: none;'></a>"
+ + "<a id='dl_f_chk_asc' style='text-decoration: underline;' href='' title=''></a>"
+ + "<a id='space2' style='text-decoration: none;'></a>"
+ + "<a id='dl_f_chk_md5' style='text-decoration: underline;' href='' title=''></a>"
+ + "<a id='space3' style='text-decoration: none;'></a>"
+ + "<a id='dl_f_chk_sha256' style='text-decoration: underline;' href='' title=''></a>"
+ + "<br />"
+
+ // Langpack: Filesize and checksums.
+ + "<a id='dl_lp_info' style='text-decoration: none;'></a>"
+ + "<a id='dl_lp_chk_keys' style='text-decoration: underline;' href='' title=''></a>"
+ + "<a id='space4' style='text-decoration: none;'></a>"
+ + "<a id='dl_lp_chk_asc' style='text-decoration: underline;' href='' title=''></a>"
+ + "<a id='space5' style='text-decoration: none;'></a>"
+ + "<a id='dl_lp_chk_md5' style='text-decoration: underline;' href='' title=''></a>"
+ + "<a id='space6' style='text-decoration: none;'></a>"
+ + "<a id='dl_lp_chk_sha256' style='text-decoration: underline;' href='' title=''></a>"
+ + "<br />"
+
+ // Help: What is a language pack?
+ + "<img id='dl_hlp_img' style='padding: 5px 5px 0px 0px;' src='' title='' height='16' width='16' alt='' />"
+ + "<a id='dl_hlp' href='' title='' target='_blank' onclick='showWindow( this.href ); return false;'></a>"
+ + "<a style='padding: 0px 0px 0px 30px;'></a>"
+
+ // Help: How to verify the download?
+ + "<img id='dl_chk_img' style='padding: 5px 5px 0px 0px;' src='' title='' height='16' width='16' alt='' />"
+ + "<a id='dl_chk' href='' title='' target='_blank'></a>"
+ + "<a style='padding: 0px 0px 0px 30px;'></a>"
+
+ // Help: Report broken link.
+ + "<img id='dl_rpt_img' style='padding: 5px 5px 0px 0px;' src='' title='' height='16' width='16' alt='' />"
+ + "<a id='dl_rpt' href='' title='' target='_blank'></a>"
+ + "</p>"
+ + "</div>" );
+ document.write( "</div>" );
+
+ // Fill the select boxes and wait for the user's choice.
+ init();
+
+ //-->
+ </script>
+
+ <!-- No JavaScript enabled -->
+ <noscript>
+ <div class="notice">
+ <h1>Apache OpenOffice Downloads - Analyze errors</h1>
+ <br />
+ <h2>JavaScript not enabled?</h2>
+ <p>JavaScript needs to be enabled to show the analysis data on this webpage.</p>
+ </div>
+ </noscript>
+
+ <p> </p>
+</div>
+
+<div>
+ <script type="text/javascript">
+ document.write( "<table border='1' style='width:100%; border-collapse:collapse; border-spacing: 2px; float: left'><tbody>" );
+ document.write( "<th style='width:25%;'><b>Browser variables</b> </th style='75%;'><th><b>Values</b></th></tr>" );
+ document.write( "<tr><td>navigator.appCodeName </td><td>" + navigator.appCodeName + "</td></tr>" );
+ document.write( "<tr><td>navigator.appName </td><td>" + navigator.appName + "</td></tr>" );
+ document.write( "<tr><td>navigator.appVersion </td><td>" + navigator.appVersion + "</td></tr>" );
+ document.write( "<tr><td>navigator.platform </td><td>" + navigator.platform + "</td></tr>" );
+ document.write( "<tr><td>navigator.oscpu </td><td>" + navigator.oscpu + "</td></tr>" );
+ document.write( "<tr><td>navigator.cpuClass </td><td>" + navigator.cpuClass + "</td></tr>" );
+ document.write( "<tr><td>navigator.product </td><td>" + navigator.product + "</td></tr>" );
+ document.write( "<tr><td>navigator.productSub </td><td>" + navigator.productSub + "</td></tr>" );
+ document.write( "<tr><td>navigator.vendor </td><td>" + navigator.vendor + "</td></tr>" );
+ document.write( "<tr><td>navigator.vendorSub </td><td>" + navigator.vendorSub + "</td></tr>" );
+ document.write( "<tr><td>navigator.language </td><td>" + navigator.language + "</td></tr>" );
+ document.write( "<tr><td>navigator.browserLanguage </td><td>" + navigator.browserLanguage + "</td></tr>" );
+ document.write( "<tr><td>navigator.userLanguage </td><td>" + navigator.userLanguage + "</td></tr>" );
+ document.write( "<tr><td>navigator.systemLanguage </td><td>" + navigator.systemLanguage + "</td></tr>" );
+
+ document.write( "<tr><td>navigator.userAgent </td><td>" + navigator.userAgent + "</td></tr>" );
+ if ( navigator.userAgent.indexOf( "Debian" ) != -1 )
+ document.write( "<tr><td>navigator.UserAgent (with Debian ?) </td><td>" + navigator.userAgent.indexOf( "Debian" ) + "</td></tr>" );
+ if ( navigator.userAgent.indexOf( "Ubuntu" ) != -1 )
+ document.write( "<tr><td>navigator.UserAgent (with Ubuntu ?) </td><td>" + navigator.userAgent.indexOf( "Ubuntu" ) + "</td></tr>" );
+ if ( navigator.userAgent.indexOf( "IceWeasel" ) != -1 )
+ document.write( "<tr><td>navigator.UserAgent (with IceWeasel ?) </td><td>" + navigator.userAgent.indexOf( "IceWeasel" ) + "</td></tr>" );
+
+ document.write( "<th style='width:23%;'><b>Stable Release</b> </th style='77%;'><th> </th></tr>" );
+ document.write( "<tr><th><b>JavaScript functions/variables</b> </th><th><b>Values</b></th></tr>" );
+ document.write( "<tr><td>Language name </td><td>" + LANG_ARRAY[ 2 ] + "</td></tr>" );
+ document.write( "<tr><td>Language ISO code </td><td>" + LANG_ISO + "</td></tr>" );
+ document.write( "<tr><td>Language ISO code (from select box) </td><td>" + LANG_SEL + "</td></tr>" );
+ document.write( "<tr><td>Language array data </td><td>" + LANG_ARRAY + "</td></tr>" );
+ document.write( "<tr><td>Release matrix platform position (full) </td><td>" + RELEASE_PLATFORM_POS_FULL + "</td></tr>" );
+ document.write( "<tr><td>Release matrix platform position (lp) </td><td>" + RELEASE_PLATFORM_POS_LP + "</td></tr>" );
+ document.write( "<tr><td>Release matrix platform array data </td><td>" + RELEASE_PLATFORM + "</td></tr>" );
+ document.write( "<tr><td>Release matrix language array data </td><td>" + RELEASE_LANG + "</td></tr>" );
+ document.write( "<tr><td>UI platform name </td><td>" + UI_PLATFORM + "</td></tr>" );
+ document.write( "<tr><td>UI platform name (not supported) </td><td>" + UI_PLATFORM_NO_SUP + "</td></tr>" );
+ document.write( "<tr><td>URL platform name </td><td>" + URL_PLATFORM + "</td></tr>" );
+ document.write( "<tr><td>URL platform name (from select box) </td><td>" + PLATFORM_SEL + "</td></tr>" );
+ document.write( "<tr><td>Version (from select box) </td><td>" + VERSION_SEL + "</td></tr>" );
+ document.write( "<tr><td>File name (full) </td><td>" + FILENAME_FULL + "</td></tr>" );
+ document.write( "<tr><td>File name (lp) </td><td>" + FILENAME_LP + "</td></tr>" );
+ document.write( "<tr><td>File extension </td><td>" + EXTENSION + "</td></tr>" );
+ document.write( "<tr><td>File size (full) (MByte) </td><td>" + FILESIZE_FULL + "</td></tr>" );
+ document.write( "<tr><td>File size (lp) (MByte) </td><td>" + FILESIZE_LP + "</td></tr>" );
+ document.write( "<tr><td>Download file link (full) </td><td>" + LINK_FULL + "</td></tr>" );
+ document.write( "<tr><td>Download file link (lp) </td><td>" + LINK_LP + "</td></tr>" );
+ document.write( "<tr><td>Checksum file link (full) (here for MD5) </td><td>" + LINK_CHK_MD5_FULL + "</td></tr>" );
+ document.write( "<tr><td>Checksum file link (lp) (here for MD5) </td><td>" + LINK_CHK_MD5_LP + "</td></tr>" );
+ document.write( "<tr><td>Base URL to Sourceforge.net </td><td>" + SOURCEFORGE_BASE_URL + "</td></tr>" );
+// document.write( "<tr><td>Base URL to Apache Dist </td><td>" + ASF_DIST_BASE_URL + "</td></tr>" );
+ document.write( "<tr><td>Base URL to Apache Archive </td><td>" + ASF_ARC_BASE_URL + "</td></tr>" );
+ document.write( "<tr><td>getLinkSel() </td><td>" + getLinkSel( 1 ) + "</td></tr>" );
+ document.write( "<tr><td>isLangSupported() ? </td><td>" + isLangSupported() + "</td></tr>" );
+ document.write( "<tr><td>Old platform ? </td><td>" + OLD_PLATFORM + "</td></tr>" );
+ document.write( "<tr><td>Contains link to Sourgeforge ? </td><td>" + SF + "</td></tr>" );
+ document.write( "<tr><td>Contains link to 'other.html' ? </td><td>" + OTHER + "</td></tr>" );
+ document.write( "<tr><td>Contains link to archived build ? </td><td>" + ARCHIVE + "</td></tr>" );
+ document.write( "<tr><td>General error ? </td><td>" + ERROR + "</td></tr>" );
+ document.write( "</tbody></table><br/><br/>" );
+ </script>
+</div>
+
+</body>
+</html>
+
Propchange: openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html
------------------------------------------------------------------------------
svn:eol-style = native