[dpdk-web] [PATCH 2/2] add releases page

Thomas Monjalon thomas.monjalon at 6wind.com
Tue May 24 00:28:03 CEST 2016


Point to most important release tarballs via the fast CDN.
Other lists are the release index and the git refs.
Give also visibility to the roadmap aside the old releases.

This new page is linked from the download page.
The fast URL is also pointed in the download page.

Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
---
 content.css   | 23 ++++++++++++++++
 download.html |  6 ++---
 rel.html      | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 113 insertions(+), 3 deletions(-)
 create mode 100644 rel.html

diff --git a/content.css b/content.css
index bfc5e4f..9a76bb0 100644
--- a/content.css
+++ b/content.css
@@ -48,6 +48,11 @@ section pre {
 section span.pre {
 	font: 1.2em monospace;
 }
+section#rel pre {
+	margin: 0;
+	padding: 0;
+	border: none;
+}
 
 section a {
 	color: #ef4e22;
@@ -65,6 +70,17 @@ section#ml th {
 	text-align: right;
 }
 
+section#rel th,
+section#rel td{
+	padding: 6px 40px;
+}
+section#rel td:nth-child(2) {
+	font-size: 85%;
+}
+section#rel tr:hover td {
+	background-color: #faf8ff;
+}
+
 section .button {
 	display: inline-block;
 	background-color: rgba(0, 35, 60, 0.07);
@@ -84,3 +100,10 @@ section .button:hover {
 	-o-transition: background-color .08s linear;
 	transition: background-color .08s linear;
 }
+
+section hr {
+	margin: 2em 0 1em 0;
+	border: 0;
+	height: 1px;
+	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
+}
diff --git a/download.html b/download.html
index 3bea45a..a9290f1 100644
--- a/download.html
+++ b/download.html
@@ -39,7 +39,7 @@
 		</header>
 		<section>
 			<h2>Download</h2>
-			<a href="/browse/dpdk/snapshot/dpdk-16.04.tar.gz" class="button" style="width: 28%;">
+			<a href="http://fast.dpdk.org/rel/dpdk-16.04.tar.xz" class="button" style="width: 28%;">
 				<i class="material-icons" style="font-size: 4em;">archive</i><br>
 				Latest Version: 16.04
 			</a><!-- no whitespace
@@ -47,9 +47,9 @@
 				<i class="material-icons" style="font-size: 4em;">access_time</i><br>
 				Quick Start Instructions
 			</a><!-- no whitespace
-			--><a href="/browse/dpdk/refs/" class="button" style="width: 28%;">
+			--><a href="/rel/" class="button" style="width: 28%;">
 				<i class="material-icons" style="font-size: 4em;">view_list</i><br>
-				Other Versions & Git
+				Other Versions
 			</a>
 			<ul>
 			<h3>Applications</h3>
diff --git a/rel.html b/rel.html
new file mode 100644
index 0000000..1ecd697
--- /dev/null
+++ b/rel.html
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+	<meta charset="utf-8" />
+	<meta name=viewport content="width=device-width, initial-scale=1" />
+	<title>DPDK download</title>
+	<link rel="stylesheet" href="/reset.css" />
+	<link rel="stylesheet" href="/layout.css" />
+	<link rel="stylesheet" href="/content.css" />
+	<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
+	<script type="text/javascript">
+		var _gaq = _gaq || [];
+		_gaq.push(['_setAccount', 'UA-39229303-1']);
+		_gaq.push(['_setDomainName', 'dpdk.org']);
+		_gaq.push(['_setAllowLinker', true]);
+		_gaq.push(['_trackPageview']);
+		(function() {
+			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+			ga.src = 'http://www.google-analytics.com/ga.js';
+			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+		})();
+	</script>
+</head>
+<body>
+<header>
+	<h1><a href="http://dpdk.org/"><img src="/dpdk.png" alt="DPDK: Data Plane Development Kit"></a></h1>
+	<nav>
+		<ul>
+			<li><a href="/">Home</a></li>
+			<li><a href="/download" id="current">Download</a></li>
+			<li><a href="/doc">Documentation</a></li>
+			<li><a href="/dev">Development</a></li>
+			<li><a href="/ml">Mailing Lists</a></li>
+			<li><a href="/events">Events</a></li>
+			<li><a href="/news">News</a></li>
+			<li><a href="/about">About</a></li>
+		</ul>
+	</nav>
+</header>
+<section id="rel">
+	<h2>Releases</h2>
+	<a href="/dev/roadmap" class="button" style="width: 28%;">
+		<i class="material-icons" style="font-size: 4em;">date_range</i><br>
+		Roadmap
+	</a><!-- no whitespace
+	--><a href="http://fast.dpdk.org/rel/" class="button" style="width: 28%; margin: 0 8%;">
+		<i class="material-icons" style="font-size: 4em;">view_list</i><br>
+		All Releases
+	</a><!-- no whitespace
+	--><a href="/browse/dpdk/refs/" class="button" style="width: 28%;">
+		<i class="material-icons" style="font-size: 4em;">call_split</i><br>
+		Archives from Git
+	</a>
+	<hr>
+	<table>
+		<tr>
+			<th>file</th>
+			<th>date/changelog</th>
+			<th>md5</th>
+		</tr>
+		<tr>
+			<td><a href="http://fast.dpdk.org/rel/dpdk-16.04.tar.xz">DPDK 16.04</a></td>
+			<td><a href="/doc/guides/rel_notes/release_16_04.html">2016 April 12</a></td>
+			<td><pre>d1f82e7d7589b3b2f623c155442b8306</pre></td>
+		</tr>
+		<tr>
+			<td><a href="http://fast.dpdk.org/rel/dpdk-2.2.0.tar.xz">DPDK 2.2</a></td>
+			<td><a href="/doc/guides/rel_notes/release_2_2.html">2015 December 15</a></td>
+			<td><pre>bfa10283b49d56264c82519d130458cc</pre></td>
+		</tr>
+		<tr>
+			<td><a href="http://fast.dpdk.org/rel/dpdk-2.1.0.tar.xz">DPDK 2.1</a></td>
+			<td><a href="/doc/guides/rel_notes/release_2_1.html">2015 August 17</a></td>
+			<td><pre>a0d69f78f360e03dbdf38ae93fad32d4</pre></td>
+		</tr>
+		<tr>
+			<td><a href="http://fast.dpdk.org/rel/dpdk-2.0.0.tar.xz">DPDK 2.0</a></td>
+			<td><a href="/doc/guides/rel_notes/release_2_0.html">2015 April 3</a></td>
+			<td><pre>44bf2ffd39e8370d4dee8907699f964a</pre></td>
+		</tr>
+		<tr>
+			<td><a href="http://fast.dpdk.org/rel/dpdk-1.8.0.tar.xz">DPDK 1.8</a></td>
+			<td><a href="/doc/guides/rel_notes/release_1_8.html">2014 December 3</a></td>
+			<td><pre>14f26ca9e1c9f72f0d7abda83cbf8127</pre></td>
+		</tr>
+	</table>
+</section>
-- 
2.7.0



More information about the web mailing list