Author: kschenk Date: Fri Jul 11 00:20:22 2014 New Revision: 1609596 URL: http://svn.apache.org/r1609596 Log: Commit new index.html to see if buildbot works now.
Modified: openoffice/ooo-site/trunk/content/test/index.html Modified: openoffice/ooo-site/trunk/content/test/index.html URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/test/index.html?rev=1609596&r1=1609595&r2=1609596&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/test/index.html (original) +++ openoffice/ooo-site/trunk/content/test/index.html Fri Jul 11 00:20:22 2014 @@ -17,19 +17,69 @@ @import "exceptions.css"; /* ]]> */ </style> - <script> - function follow(platform) { - _gaq.push(['_trackEvent','social', 'followUs', platform]); - if (platform == 'Facebook') { - window.open("https://www.facebook.com/ApacheOO","_blank"); - } else if (platform == 'Twitter') { - window.open("https://twitter.com/ApacheOO","_blank"); - } else if (platform == 'GooglePlus') { - window.open("https://plus.google.com/+openoffice","_blank"); - } else if (platform == 'ApacheBlog') { - window.open("https://blogs.apache.org/OOo/","_blank"); + function follow( platform ) { + _gaq.push( ['_trackEvent', 'social', 'followUs', platform] ); + + if ( platform == 'ApacheBlog' ) + window.open( "https://blogs.apache.org/OOo/", "_blank" ); + else if ( platform == 'Facebook' ) + window.open( "https://www.facebook.com/ApacheOO", "_blank" ); + else if ( platform == 'Twitter' ) + window.open( "https://twitter.com/ApacheOO", "_blank" ); + else if ( platform == 'GooglePlus' ) + window.open( "https://plus.google.com/+openoffice", "_blank" ); + } + + function showAlertbox( show ) { + // More see "http://html-color-codes.info/" + var l10n_alert_box_background_color = "#F5A9A9"; + // Make the whole alert box clickable with a link. + var l10n_alert_box_href = "index.html"; + // Maximum 49 characters. + var l10n_alert_box_headline_text = "Headline text with max. 49 characters"; + // Maximum 630 characters. + var l10n_alert_box_text_text = "Text with max. 630 characters." + + "<br /><br />" + + "This alert box is now within the layout of the list items below." + + "<br /><br />" + + "The following link can be added to point the user to more information or " + + "to a solution. But the link can also be left out. Then the link will not " + + "be shown."; + // Show alert box or not? + if( show ) { + // If no background color value was set then use the default value. + if( ! l10n_alert_box_background_color ) + var l10n_alert_box_background_color = "#FFD9A7"; + + // Show alert box with defined background color. + // Depending if link is available, make the whole DIV clickable or not. + if( l10n_alert_box_href ) { + // Show the text with link and cursor as poiner. + document.write( "<div id='alert_box' style='background: " + l10n_alert_box_background_color + + "; ' onclick='window.open(\"" + l10n_alert_box_href + "\", \"_blank\"); return false;'>" ); + + // Show headline. + document.write( "<h2 style='cursor: pointer;'>" + l10n_alert_box_headline_text + "</h2>" ); + + // Show text. + if( l10n_alert_box_text_text ) + document.write( "<p style='cursor: pointer;'>" + l10n_alert_box_text_text + "</p>" ); + + } else { + // Show the text without link and normal cursor. + document.write( "<div id='alert_box' style='background: " + l10n_alert_box_background_color + "'>" ); + + // Show headline. + document.write( "<h2 style='cursor: default;'>" + l10n_alert_box_headline_text + "</h2>" ); + + // Shoe text. + if( l10n_alert_box_text_text ) + document.write( "<p style='cursor: default;'>" + l10n_alert_box_text_text + "</p>" ); } + + document.write( "</div>" ); // Alert box + } } </script> </head> @@ -39,17 +89,29 @@ <!-- The text in the H1 tag is intentionally shown as not displayable, just to please accessibility tools like a screen reader. --> -<!-- KLS: 04-21-2014: my small change --> - <h1 style="display: none;">Apache OpenOffice</h1> <div id="actionstatements"> + + <script type="text/javascript"> + <!-- + // Show alert box. + // Change to 'true' if you want to show the text that is defined in the variables above. + showAlertbox( false ); + //--> + </script> + <ul> <li> + <hr /> + </li> + <li> <div class="action-info"> <div class="action-text action-link"> - <a href="../why/index.html"><h2>I want to learn more about OpenOffice</h2> - <p>What is Apache OpenOffice? Why should I use it? Is it <em>really</em> free?</p></a> + <a href="why/index.html"> + <h2>I want to learn more about OpenOffice</h2> + <p>What is Apache OpenOffice? And why should I use it?</p> + </a> </div> </div> </li> @@ -57,25 +119,52 @@ screen reader. <hr /> </li> - <!-- Show the currently available version, load via JavaScript --> + <!-- Show the download link with currently available version number, loaded via JavaScript --> <script type="text/javascript"> <!-- document.write( "<li>" + "<div class='action-download'>" + "<div class='action-text action-link'>" - + "<a href='download/index.html'><h2>I want to download Apache OpenOffice " + VERSION + "</h2>" - + "<p>Download Apache OpenOffice for free, or find out about other ways of getting it.</p></a>" + + "<a href='download/index.html'>" + + "<h2>I want to download Apache OpenOffice</h2>" + + "<p style='font-size: 1.0em; font-weight: bold;'>(Most recent release: " + VERSION + ")</p>" + + "<p>Download Apache OpenOffice for free <b>(really!)</b> | " + + "<a href='https://blogs.apache.org/OOo/entry/with_apache_openoffice_you_get'" + + "title='Blog post: With Apache OpenOffice you get what you do not pay for' target='_blank'>" + + "Click here to get more information" + + "</a>." + + "</p>" + + "</a>" + "</div>" + "</div>" + "</li>" ); //--> </script> + <!-- Show the download link, without version number --> + <noscript> + <li> + <div class="action-download"> + <div class="action-text action-link"> + <a href="download/index.html"> + <h2>I want to download Apache OpenOffice</h2> + <p>Download Apache OpenOffice for free, or find out about other ways of getting it.</p> + </a> + </div> + </div> + </li> + </noscript> + + <li> + <hr /> + </li> <li> <div class="action-help"> <div class="action-text action-link"> - <a href="support/index.html"><h2>I need help with my OpenOffice</h2> - <p>Help is at hand whenever you need it.</p></a> + <a href="support/index.html"> + <h2>I need help with my OpenOffice</h2> + <p>Help is at hand whenever you need it.</p> + </a> </div> </div> </li> @@ -85,8 +174,10 @@ screen reader. <li> <div class="action-extend"> <div class="action-text action-link"> - <a href="extensions/index.html"><h2>I want to do more with my OpenOffice</h2> - <p>Extend Apache OpenOffice with additional functionality, templates and clipart.</p></a> + <a href="extensions/index.html"> + <h2>I want to do more with my OpenOffice</h2> + <p>Extend Apache OpenOffice with additional functionality, templates and clipart.</p> + </a> </div> </div> </li> @@ -96,8 +187,10 @@ screen reader. <li> <div class="action-participate"> <div class="action-text action-link"> - <a href="http://openoffice.apache.org/get-involved.html"><h2>I want to participate in OpenOffice</h2> - <p>Apache OpenOffice is made with help from people all over the world. Feel free to contribute!</p></a> + <a href="http://openoffice.apache.org/get-involved.html"> + <h2>I want to participate in OpenOffice</h2> + <p>Apache OpenOffice is made with help from people all over the world. Feel free to contribute!</p> + </a> </div> </div> </li> @@ -105,116 +198,162 @@ screen reader. <hr /> </li> <li> - <div class="action-social"> + <div class="action-social"> <div class="action-text action-link"> - <a href="social/index.html" onclick="javascript:follow('SocialLink');"> - <h2>I want to stay in touch with OpenOffice</h2> - <p>Follow the progress of OpenOffice via our announcement list, social media areas and blog.</p></a> - <div class="action-social-extra"> - <p> - <span style="padding:0 5px;cursor: pointer; cursor: hand;" onclick="javascript:follow('ApacheBlog');" - title="Blog of OpenOffice"><img src="images/logo-rss-16.png" alt="Blog of OpenOffice" /> - <a>Official Blog</a></span> - <span style="padding:0 5px;cursor: pointer; cursor: hand;" onclick="javascript:follow('Facebook');" - title="Follow us on Facebook"><img src="images/logo-facebook-16.png" alt="Follow us on Facebook" /> - <a>Facebook</a></span> - <span style="padding:0 5px;cursor: pointer; cursor: hand;" onclick="javascript:follow('Twitter');" - title="Follow us on Twitter"><img src="images/logo-twitter-16.png" alt="Follow us on Twitter" /> - <a>Twitter</a></span> - <span style="padding:0 5px;cursor: pointer; cursor: hand;" onclick="javascript:follow('GooglePlus');" - title="Follow us on Google+"><img src="images/logo-googleplus-16.png" alt="Follow us on Google+" /> - <a>Google+</a></span> - </p> - </div> + <a href="social/index.html" onclick="javascript:follow( 'SocialLink' );"> + <h2>I want to stay in touch with OpenOffice</h2> + <p>Follow the progress of OpenOffice via announce list, our blog or social media.</p> + </a> + <div class="action-social-extra"> + <p> + <span style="padding: 0 5px; cursor: pointer;" onclick="javascript:follow( 'ApacheBlog' );" + title="Blog of OpenOffice."> + <img src="images/logo-rss-16.png" alt="Blog of OpenOffice" /> + <a>Official Blog</a> + </span> + <span style="padding: 0 5px; cursor: pointer;" onclick="javascript:follow( 'Facebook' );" + title="Follow us on Facebook."> + <img src="images/logo-facebook-16.png" alt="Follow us on Facebook" /> + <a>Facebook</a> + </span> + <span style="padding: 0 5px; cursor: pointer;" onclick="javascript:follow( 'Twitter' );" + title="Follow us on Twitter."> + <img src="images/logo-twitter-16.png" alt="Follow us on Twitter" /> + <a>Twitter</a> + </span> + <span style="padding: 0 5px; cursor: pointer;" onclick="javascript:follow( 'GooglePlus' );" + title="Follow us on Google+."> + <img src="images/logo-googleplus-16.png" alt="Follow us on Google+" /> + <a>Google+</a> + </span> + </p> + </div> </div> </div> - </li> + </li> <li> <hr /> </li> </ul> -</div> -<div id="news"> - - <div class="campaign"> - <h2>Recent Blog Posts</h2> - <p> - <em>10 March:</em><br /><a href="https://blogs.apache.org/OOo/entry/seeking_beta_testers_for_apache"> - Announcing Apache OpenOffice 4.1.0 Beta</a><br/> - <em>24 February:</em><br /><a href="https://blogs.apache.org/OOo/entry/international_mother_language_day_2014"> - International Mother Language Day 2014</a><br/> - <em>31 December:</em><br /><a href="https://blogs.apache.org/OOo/entry/apache_openoffice_in_2013_a"> - Apache OpenOffice in 2013: a year in review</a><br/> - <em>15 November:</em><br /><a href="https://blogs.apache.org/OOo/entry/apache_openoffice_4_1_to"> - Apache OpenOffice 4.1 to Bring Enhanced Accessibility Support</a><br/> - <em>30 October:</em><br /><a href="https://blogs.apache.org/OOo/entry/75_million_downloads_of_apache"> - 75 Million Downloads of Apache OpenOffice</a><br/> - <em>1 October:</em><br /><a href="https://blogs.apache.org/OOo/entry/announcing_apache_openoffice_4_0"> - Announcing Apache OpenOffice 4.0.1</a><br/> - <em>29 July:</em><br /><a href="https://blogs.apache.org/OOo/entry/developer_in_aoo_1year_celebration"> - Developer in AOO, 1year celebration</a><br/> - <em>29 July:</em><br /><a href="https://blogs.apache.org/OOo/entry/interview_with_the_developers_of"> - Interview with the developers of PrOOo-Box</a><br/> - <em>17 June:</em><br /><a href="https://blogs.apache.org/OOo/entry/with_apache_openoffice_you_get"> - With Apache OpenOffice you get what you don't pay for</a><br/> - <em>04 June:</em><br /><a href="https://blogs.apache.org/OOo/entry/the_sidebar_new_and_improved"> - The Sidebar, New and Improved</a><br/> - </p> - <p style="text-align:right"><a href="http://blogs.apache.org/OOo/">All Posts</a></p> + <div id="SupportedAndSupporters"> + <a href="http://validator.w3.org/check?uri=referer" + title="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents"> + <img src="http://www.w3.org/Icons/valid-xhtml10-blue.png" + alt="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents" /></a> </div> +</div> - <div class="campaign"> - <h2>Recent News</h2> - - <p><br /></p> +<div id="news" style="margin: 2% 3% 0 0; height: 520px;"> - <h2>Italian region adopts OpenOffice, saves 2M Euro</h2> + <div class="campaign" style="height: 200px; float: right; overflow: auto;"> + <h2 style="display: inline;">Recent Blog Posts</h2> - <p><em>10 October 2013:</em> - The Italian administrative region of Emilia-Romagna announced plans to move to OpenOffice, - <a href="https://joinup.ec.europa.eu/community/osor/news/openoffice-italian-emilia-romagna-save-2-million"> - saving 2 million euro</a>.</p> + <p style="text-align:right"> + <a href="http://blogs.apache.org/OOo/">All Posts</a> + </p> + + <p> + <em>29 April:</em> + <br /> + <a href="https://blogs.apache.org/OOo/entry/the_apache_openoffice_project_announce"> + Apache OpenOffice 4.1.0 released</a> + <br /> + + <em>28 April:</em> + <br /> + <a href="https://blogs.apache.org/OOo/entry/apache_openoffice_weekly_news_2"> + Apache OpenOffice Weekly News #2</a> + <br /> + + <em>25 April:</em> + <br /> + <a href="https://blogs.apache.org/OOo/entry/apache_openoffice_weekly_news_1"> + Apache OpenOffice Weekly News #1</a> + <br /> + + <em>17 April:</em> + <br /> + <a href="https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announces56"> + 100 Million downloads</a> + <br /> + + <em>31 December:</em> + <br /> + <a href="https://blogs.apache.org/OOo/entry/apache_openoffice_in_2013_a"> + Apache OpenOffice in 2013: a year in review</a> + <br/> + </p> </div> + <div id="all_news" style="height: 320px; float: left; overflow: auto;"> + <div class="campaign"> + <h2>Recent News</h2> - <div class="campaign"> - <h2>Volunteers, not Amateurs</h2> + <p style="text-align:right"> + <a href="news/index.html">All News</a> + </p> + <p></p> - <p><em>8 January 2013:</em> - Apache OpenOffice is developed 100% by volunteers. Apache does not pay for developers, for translators, for QA, for - marketing, for UI, for support, etc. Of course, we're happy to accept - <a href="http://www.apache.org/foundation/contributing.html">donations to the Apache Software Foundation</a>, to keep - our servers runnings and for similar overhead expenses. But our products are developed entirely by volunteers. + <h2>Apache OpenOffice 4.1.0 released</h2> - <p>Some users are initially worried by this statement:<br /><strong>How can software for free, developed by volunteers, - be any good?<br /></strong><a href="why/why_volunteers.html">Read on for an answer...</a></p> - </div> + <p> + <em>29 April 2014:</em> + The Apache OpenOffice project announces the + <a href="https://blogs.apache.org/OOo/entry/the_apache_openoffice_project_announce" + title="Offical blog post about Apache OpenOffice 4.1.0">official release of version 4.1.0</a>. + In the <a href="https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1+Release+Notes" + title="Release Notes for Apache OpenOffice 4.1.0">Release Notes</a> you can read about all new features, functions + and languages. <a href="https://www.openoffice.org/download/" + title="Download Apache OpenOffice 4.1.0">Don't miss to download</a> the new release and find out yourself. + </p> + </div> - <div class="campaign"> - <h2>Apache OpenOffice given two Bossie Awards!</h2> + <div class="campaign"> + <h2>100 Million downloads</h2> - <p><em>18 September 2012:</em> - InfoWorld has awarded Apache OpenOffice two Bossies (Best of Open Source), one for the OpenOffice application, and one - for our <a href="http://templates.openoffice.org/">templates website</a>.<br /> - <a href="https://plus.google.com/u/0/b/114598373874764163668/114598373874764163668/posts/guW3vcCvFFy"> - Read more on our Google+ page</a>.</p> - </div> + <p> + <em>17 April 2014:</em> + The Apache OpenOffice project is proud to tell you that our software was + <a href="https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announces56" + title="Apache OpenOffice was downloaded 100 million times">downloaded over 100 million times</a>. Join us in + celebrating this big achievement! + </p> + </div> - <div class="campaign"> - <p><a href="news/index.html">More OpenOffice News...</a></p> - </div> + <div class="campaign"> + <h2>Italian region adopts OpenOffice, saves 2 Million Euro</h2> -<!-- - <div id="SupportedAndSupporters"> - <a href="http://validator.w3.org/check?uri=referer" - title="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents"> - <img src="http://www.w3.org/Icons/valid-xhtml10-blue.png" - alt="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents"/></a> + <p> + <em>10 October 2013:</em> + The Italian administrative region of Emilia-Romagna announced plans to move to OpenOffice, + <a href="https://joinup.ec.europa.eu/community/osor/news/openoffice-italian-emilia-romagna-save-2-million"> + saving 2 million euro</a>. + </p> + </div> + + <div class="campaign"> + <h2>Volunteers, not Amateurs</h2> + + <p> + <em>8 January 2013:</em> + Apache OpenOffice is developed 100% by volunteers. Apache does not pay for developers, for translators, for QA, for + marketing, for UI, for support, etc. Of course, we're happy to accept + <a href="http://www.apache.org/foundation/contributing.html">donations to the Apache Software Foundation</a>, to keep + our servers runnings and for similar overhead expenses. But our products are developed entirely by volunteers. + </p> + <p>Some users are initially worried by this statement:<br /><strong>How can software for free, developed by + volunteers, be any good?<br /></strong><a href="why/why_volunteers.html">Read on for an answer...</a> + </p> + </div> </div> ---> </div> +<!-- Every new element and text that is defined below the previous DIV will be actually dislayed wrapped below this DIV +(because of "clear: both" instead of floated around the previous DIVs. This is really needed. --> + +<div style="clear: both;"></div> + </body> </html>