Author: brane
Date: Wed Mar 25 20:48:57 2015
New Revision: 1669221
URL: http://svn.apache.org/r1669221
Log:
Split the downloads page into a wrapper that takes care of includes and a
template that generates the download links.
Added:
incubator/ignite/site/trunk/downloads.html
- copied, changed from r1669218, incubator/ignite/site/trunk/download.html
Modified:
incubator/ignite/site/trunk/download.html
incubator/ignite/site/trunk/includes/header.html
Modified: incubator/ignite/site/trunk/download.html
URL:
http://svn.apache.org/viewvc/incubator/ignite/site/trunk/download.html?rev=1669221&r1=1669220&r2=1669221&view=diff
==============================================================================
--- incubator/ignite/site/trunk/download.html (original)
+++ incubator/ignite/site/trunk/download.html Wed Mar 25 20:48:57 2015
@@ -1,203 +1,124 @@
-<!--
- âââ ââââââ âââ ââââââ
âââ ââ ââââââ âââ âââââ
ââââ â ââââââââââââââââââ
-ââââââ ââââ âââââââââ
ââââ ââ ââââ âââââ â ââââ
âââ âââ ââ ââ â âââââ âââ ââââ
â
-âââ âââ ââââ âââââââ âââ âââ
â ââââââââââââ
âââââââââââââââ ââ ââââââââ
ââââ ââââââ
-âââââââââ âââââââ
ââââââââââ ââââ âââââââ âââ
âââ â âââââââ âââââââ
ââââââââââ ââââ â âââ â
- ââ ââââââââ â â ââ âââââ
âââââ ââââââââââââââââ
ââââââââââââââââ ââââââââ
ââââ â âââââââ
- ââ ââââââââ â â ââ âââââ ââ
â â â âââââââ ââ â ââ ââ â â
ââ â â ââ â ââ ââ ââ â
- â ââ âââ â â ââ â â â â âââ
â â â â â â â â â ââ â ââ â â â
â â â
- â â ââ â â â â ââ â â
â ââ â â â â â â â â â
- â â â ââ â â â â â â
â â â â â â
--->
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Apache Ignite - Download</title>
- <link media="all" rel="stylesheet" href="css/all.css">
- <link
href="https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"
rel="stylesheet">
- <link
href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic'
rel='stylesheet' type='text/css'>
-
- <!--#include virtual="/includes/sh.html" -->
-</head>
-<body>
-<div id="wrapper">
- <!--#include virtual="/includes/header.html" -->
-
- [define version]1.0.0-rc3[end]
- [define distdir]incubator/ignite/1.0.0-RC3[end]
- [define disturl]https://www.apache.org/dist[end]
-
- <main id="main" role="main" class="container key-features">
-
- <section id="mirror">
- <h2 style="text-align: left;">Mirrors</h2>
-
- <p>[if-any logo]
- <a href="[link]"><img align="right" src="[logo]" border="0"
/></a>[end]
- The currently selected mirror is
- <a href="[preferred]incubator/ignite/"><b>[preferred]</b></a>.
- If you encounter a problem with this mirror, please select another
mirror.
- If all mirrors are failing, there are <i>backup</i> mirrors
- (at the end of the mirrors list) that should be available.</p>
-
- <form action="/download/" method="get" id="SelectMirror">
- Other mirrors:
- <select name="Preferred" onchange="submit()">
- [if-any http]
- [for http]<option value="[http]"[is http preferred]
selected="selected"[end]>[http]</option>[end]
- [end]
- [if-any ftp]
- [for ftp]<option value="[ftp]"[is ftp preferred]
selected="selected"[end]>[ftp]</option>[end]
- [end]
- [if-any backup]
- [for backup]<option value="[backup]"[is backup preferred]
selected="selected"[end]>[backup] (backup)</option>[end]
- [end]
- </select>
- <input type="submit" value="Change" />
- </form>
-
- <p>You may also consult the
- <a href="http://www.apache.org/mirrors/">complete list of
mirrors</a>.</p>
- </section><!-- mirror -->
-
- <section id="download-source" class="feature-block">
- <h2 style="text-align: left;">Source Downloads</h2>
- <table>
- <tr>
- <td>
- <span>Source</span>
- </td>
- <td>
- <span><time datetime="2015-02-16">March 25,
2015</time></span>
- </td>
- <td>
- <a id="apache_ignite_source_download"
-
href="[preferred]/[distdir]/incubator-ignite-[version].zip"
- onclick="ga('send', 'event',
'apache_ignite_download', 'download', 'apache ignite
v1.0');">incubator-ignite-[version].zip.zip</a>
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version].zip.asc">PGP</a>]
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version].zip.md5">MD5</a>]
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version].zip.sha1">SHA1</a>]</td>
- </tr>
- </table>
- </section><!-- download-source -->
-
- <section id="build-source" class="feature-block">
- <h2 style="text-align: left;">Building the source</h2>
- <div class="features-heading">From Git:</div>
- <pre class="brush:bash">
- # Check Out Sprint 2 branch.
- $ git clone
https://git-wip-us.apache.org/repos/asf/incubator-ignite -b sprint-2
- # Build the binary release
- $ cd incubator-ignite
- $ mvn clean package -DskipTests
- </pre>
- <div class="features-heading">From a source package:</div>
- <pre class="brush:bash">
- # Unpack the source package
- $ unzip -q incubator-ignite-[version].zip
- # Build the binary release
- $ cd incubator-ignite-[version]
- $ mvn clean package -DskipTests -P-release
- </pre>
- </section><!-- build-source -->
-
- <section id="download-binary" class="feature-block">
- <h2 style="text-align: left;">Binary Downloads</h2>
- <p>
- The Apache Ignite (incubating) project provides a
- number of binaries as a convenience for those who do
- not wish to compile the source themselves. These
- binaries are not official Apache Ignite (incubating)
- releases. We recommended that you download the
- officially released source distributions and verify
- the signatures of the downloaded files before opening
- them.
- </p>
- <p>The binary download includes:</p>
- <ul style="line-height: 112%" class="features-list">
- <li>startup scripts</li>
- <li>default configuraiton</li>
- <li>examples for all major components</li>
- <li>libraries (required and optional)</li>
- </ul>
- <br/>
- <table>
- <tr>
- <td>
- <span>Binary</span>
- </td>
- <td>
- <span><time datetime="2015-02-16">March 25,
2015</time></span>
- </td>
- <td>
- <a id="apache_ignite_binary_download"
-
href="[preferred]/[distdir]/incubator-ignite-[version]-bin.zip"
- onclick="ga('send', 'event',
'apache_ignite_download', 'download', 'apache ignite
v1.0');">incubator-ignite-[version]-bin.zip</a>
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version]-bin.zip.asc">PGP</a>]
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version]-bin.zip.md5">MD5</a>]
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version]-bin.zip.sha1">SHA1</a>]
- </td>
- </tr>
- </table>
- </section><!-- download-binary -->
- </main>
- <!--#include virtual="/includes/footer.html" -->
-</div>
-<!--#include virtual="/includes/scripts.html" -->
-<!--
-<script>
- var downloadLink =
document.getElementById('apache_ignite_source_download');
- addListener(downloadLink, 'download', function() {
- ga('send', 'event', 'apache_ignite_download', 'download', 'apache ignite
v1.0');
- });
- downloadLink = document.getElementById('apache_ignite_binary_download');
- addListener(downloadLink, 'download', function() {
- ga('send', 'event', 'apache_ignite_download', 'download', 'apache ignite
v1.0');
- });
-
- /**
- * Utility to wrap the different behaviors between W3C-compliant browsers
- * and IE when adding event handlers.
- *
- * @param {Object} element Object on which to attach the event listener.
- * @param {string} type A string representing the event type to listen for
- * (e.g. load, click, etc.).
- * @param {function()} callback The function that receives the
notification.
- */
- function addListener(element, type, callback) {
- if (element.addEventListener) element.addEventListener(type, callback);
- else if (element.attachEvent) element.attachEvent('on' + type, callback);
- }
-</script>
--->
-</body>
-</html>
+[define version]1.0.0-rc3[end]
+[define distdir]incubator/ignite/1.0.0-RC3[end]
+[define disturl]https://www.apache.org/dist[end]
+
+<main id="main" role="main" class="container key-features">
+
+ <section id="mirror">
+ <h2 style="text-align: left;">Mirrors</h2>
+
+ <p>[if-any logo]
+ <a href="[link]"><img align="right" src="[logo]" border="0" /></a>[end]
+ The currently selected mirror is
+ <a href="[preferred]incubator/ignite/"><b>[preferred]</b></a>.
+ If you encounter a problem with this mirror, please select another
mirror.
+ If all mirrors are failing, there are <i>backup</i> mirrors
+ (at the end of the mirrors list) that should be available.</p>
+
+ <form action="/download/" method="get" id="SelectMirror">
+ Other mirrors:
+ <select name="Preferred" onchange="submit()">
+ [if-any http]
+ [for http]<option value="[http]"[is http preferred]
selected="selected"[end]>[http]</option>[end]
+ [end]
+ [if-any ftp]
+ [for ftp]<option value="[ftp]"[is ftp preferred]
selected="selected"[end]>[ftp]</option>[end]
+ [end]
+ [if-any backup]
+ [for backup]<option value="[backup]"[is backup preferred]
selected="selected"[end]>[backup] (backup)</option>[end]
+ [end]
+ </select>
+ <input type="submit" value="Change" />
+ </form>
+
+ <p>You may also consult the
+ <a href="http://www.apache.org/mirrors/">complete list of
mirrors</a>.</p>
+ </section><!-- mirror -->
+
+ <section id="download-source" class="feature-block">
+ <h2 style="text-align: left;">Source Downloads</h2>
+ <table>
+ <tr>
+ <td>
+ <span>Source</span>
+ </td>
+ <td>
+ <span><time datetime="2015-02-16">March 25,
2015</time></span>
+ </td>
+ <td>
+ <a id="apache_ignite_source_download"
+
href="[preferred]/[distdir]/incubator-ignite-[version].zip"
+ onclick="ga('send', 'event', 'apache_ignite_download',
'download', 'apache ignite v1.0');">incubator-ignite-[version].zip.zip</a>
+
+ [<a
href="[disturl]/[distdir]/incubator-ignite-[version].zip.asc">PGP</a>]
+
+ [<a
href="[disturl]/[distdir]/incubator-ignite-[version].zip.md5">MD5</a>]
+
+ [<a
href="[disturl]/[distdir]/incubator-ignite-[version].zip.sha1">SHA1</a>]</td>
+ </tr>
+ </table>
+ </section><!-- download-source -->
+
+ <section id="build-source" class="feature-block">
+ <h2 style="text-align: left;">Building the source</h2>
+ <div class="features-heading">From Git:</div>
+ <pre class="brush:bash">
+ # Check Out Sprint 2 branch.
+ $ git clone
https://git-wip-us.apache.org/repos/asf/incubator-ignite -b sprint-2
+ # Build the binary release
+ $ cd incubator-ignite
+ $ mvn clean package -DskipTests
+ </pre>
+ <div class="features-heading">From a source package:</div>
+ <pre class="brush:bash">
+ # Unpack the source package
+ $ unzip -q incubator-ignite-[version].zip
+ # Build the binary release
+ $ cd incubator-ignite-[version]
+ $ mvn clean package -DskipTests -P-release
+ </pre>
+ </section><!-- build-source -->
+
+ <section id="download-binary" class="feature-block">
+ <h2 style="text-align: left;">Binary Downloads</h2>
+ <p>
+ The Apache Ignite (incubating) project provides a
+ number of binaries as a convenience for those who do
+ not wish to compile the source themselves. These
+ binaries are not official Apache Ignite (incubating)
+ releases. We recommended that you download the
+ officially released source distributions and verify
+ the signatures of the downloaded files before opening
+ them.
+ </p>
+ <p>The binary download includes:</p>
+ <ul style="line-height: 112%" class="features-list">
+ <li>startup scripts</li>
+ <li>default configuraiton</li>
+ <li>examples for all major components</li>
+ <li>libraries (required and optional)</li>
+ </ul>
+ <br/>
+ <table>
+ <tr>
+ <td>
+ <span>Binary</span>
+ </td>
+ <td>
+ <span><time datetime="2015-02-16">March 25,
2015</time></span>
+ </td>
+ <td>
+ <a id="apache_ignite_binary_download"
+
href="[preferred]/[distdir]/incubator-ignite-[version]-bin.zip"
+ onclick="ga('send', 'event', 'apache_ignite_download',
'download', 'apache ignite v1.0');">incubator-ignite-[version]-bin.zip</a>
+
+ [<a
href="[disturl]/[distdir]/incubator-ignite-[version]-bin.zip.asc">PGP</a>]
+
+ [<a
href="[disturl]/[distdir]/incubator-ignite-[version]-bin.zip.md5">MD5</a>]
+
+ [<a
href="[disturl]/[distdir]/incubator-ignite-[version]-bin.zip.sha1">SHA1</a>]
+ </td>
+ </tr>
+ </table>
+ </section><!-- download-binary -->
+</main>
Copied: incubator/ignite/site/trunk/downloads.html (from r1669218,
incubator/ignite/site/trunk/download.html)
URL:
http://svn.apache.org/viewvc/incubator/ignite/site/trunk/downloads.html?p2=incubator/ignite/site/trunk/downloads.html&p1=incubator/ignite/site/trunk/download.html&r1=1669218&r2=1669221&rev=1669221&view=diff
==============================================================================
--- incubator/ignite/site/trunk/download.html (original)
+++ incubator/ignite/site/trunk/downloads.html Wed Mar 25 20:48:57 2015
@@ -46,130 +46,8 @@ under the License.
<div id="wrapper">
<!--#include virtual="/includes/header.html" -->
- [define version]1.0.0-rc3[end]
- [define distdir]incubator/ignite/1.0.0-RC3[end]
- [define disturl]https://www.apache.org/dist[end]
+ <!--#exec cgi="/download.cgi" -->
- <main id="main" role="main" class="container key-features">
-
- <section id="mirror">
- <h2 style="text-align: left;">Mirrors</h2>
-
- <p>[if-any logo]
- <a href="[link]"><img align="right" src="[logo]" border="0"
/></a>[end]
- The currently selected mirror is
- <a href="[preferred]incubator/ignite/"><b>[preferred]</b></a>.
- If you encounter a problem with this mirror, please select another
mirror.
- If all mirrors are failing, there are <i>backup</i> mirrors
- (at the end of the mirrors list) that should be available.</p>
-
- <form action="/download/" method="get" id="SelectMirror">
- Other mirrors:
- <select name="Preferred" onchange="submit()">
- [if-any http]
- [for http]<option value="[http]"[is http preferred]
selected="selected"[end]>[http]</option>[end]
- [end]
- [if-any ftp]
- [for ftp]<option value="[ftp]"[is ftp preferred]
selected="selected"[end]>[ftp]</option>[end]
- [end]
- [if-any backup]
- [for backup]<option value="[backup]"[is backup preferred]
selected="selected"[end]>[backup] (backup)</option>[end]
- [end]
- </select>
- <input type="submit" value="Change" />
- </form>
-
- <p>You may also consult the
- <a href="http://www.apache.org/mirrors/">complete list of
mirrors</a>.</p>
- </section><!-- mirror -->
-
- <section id="download-source" class="feature-block">
- <h2 style="text-align: left;">Source Downloads</h2>
- <table>
- <tr>
- <td>
- <span>Source</span>
- </td>
- <td>
- <span><time datetime="2015-02-16">March 25,
2015</time></span>
- </td>
- <td>
- <a id="apache_ignite_source_download"
-
href="[preferred]/[distdir]/incubator-ignite-[version].zip"
- onclick="ga('send', 'event',
'apache_ignite_download', 'download', 'apache ignite
v1.0');">incubator-ignite-[version].zip.zip</a>
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version].zip.asc">PGP</a>]
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version].zip.md5">MD5</a>]
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version].zip.sha1">SHA1</a>]</td>
- </tr>
- </table>
- </section><!-- download-source -->
-
- <section id="build-source" class="feature-block">
- <h2 style="text-align: left;">Building the source</h2>
- <div class="features-heading">From Git:</div>
- <pre class="brush:bash">
- # Check Out Sprint 2 branch.
- $ git clone
https://git-wip-us.apache.org/repos/asf/incubator-ignite -b sprint-2
- # Build the binary release
- $ cd incubator-ignite
- $ mvn clean package -DskipTests
- </pre>
- <div class="features-heading">From a source package:</div>
- <pre class="brush:bash">
- # Unpack the source package
- $ unzip -q incubator-ignite-[version].zip
- # Build the binary release
- $ cd incubator-ignite-[version]
- $ mvn clean package -DskipTests -P-release
- </pre>
- </section><!-- build-source -->
-
- <section id="download-binary" class="feature-block">
- <h2 style="text-align: left;">Binary Downloads</h2>
- <p>
- The Apache Ignite (incubating) project provides a
- number of binaries as a convenience for those who do
- not wish to compile the source themselves. These
- binaries are not official Apache Ignite (incubating)
- releases. We recommended that you download the
- officially released source distributions and verify
- the signatures of the downloaded files before opening
- them.
- </p>
- <p>The binary download includes:</p>
- <ul style="line-height: 112%" class="features-list">
- <li>startup scripts</li>
- <li>default configuraiton</li>
- <li>examples for all major components</li>
- <li>libraries (required and optional)</li>
- </ul>
- <br/>
- <table>
- <tr>
- <td>
- <span>Binary</span>
- </td>
- <td>
- <span><time datetime="2015-02-16">March 25,
2015</time></span>
- </td>
- <td>
- <a id="apache_ignite_binary_download"
-
href="[preferred]/[distdir]/incubator-ignite-[version]-bin.zip"
- onclick="ga('send', 'event',
'apache_ignite_download', 'download', 'apache ignite
v1.0');">incubator-ignite-[version]-bin.zip</a>
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version]-bin.zip.asc">PGP</a>]
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version]-bin.zip.md5">MD5</a>]
-
- [<a
href="[disturl]/[distdir]/incubator-ignite-[version]-bin.zip.sha1">SHA1</a>]
- </td>
- </tr>
- </table>
- </section><!-- download-binary -->
- </main>
<!--#include virtual="/includes/footer.html" -->
</div>
<!--#include virtual="/includes/scripts.html" -->
Modified: incubator/ignite/site/trunk/includes/header.html
URL:
http://svn.apache.org/viewvc/incubator/ignite/site/trunk/includes/header.html?rev=1669221&r1=1669220&r2=1669221&view=diff
==============================================================================
--- incubator/ignite/site/trunk/includes/header.html (original)
+++ incubator/ignite/site/trunk/includes/header.html Wed Mar 25 20:48:57 2015
@@ -22,7 +22,7 @@
<li><a
href="http://apacheignite.readme.io/v1.0/docs">Documentation</a></li>
<li><a
href="http://apacheignite.readme.io/v1.0/discuss">Ask a Question</a></li>
<li><a
href="/community.html">Community</a></li>
- <li><a href="/download.cgi">Download</a></li>
+ <li><a href="/downloads.html">Download</a></li>
</ul>
</div>
</div>