diff --git a/i2p2www/downloads.py b/i2p2www/downloads.py index 99fe96fa..f2d731b5 100644 --- a/i2p2www/downloads.py +++ b/i2p2www/downloads.py @@ -75,6 +75,10 @@ def downloads_firefox(): def_mirror = DEFAULT_MIRROR return render_template('downloads/firefox.html', def_mirror=def_mirror) +# The Lab +def downloads_lab(): + return render_template('downloads/lab.html') + # Specific file downloader def downloads_select(version, file): mirrors=read_mirrors() diff --git a/i2p2www/legacy.py b/i2p2www/legacy.py index 1baa56c4..715d27eb 100644 --- a/i2p2www/legacy.py +++ b/i2p2www/legacy.py @@ -18,6 +18,7 @@ LEGACY_FUNCTIONS_MAP={ 'announcements': {'function': 'blog_index', 'params': {}}, 'debian': {'function': 'downloads_debian', 'params': {}}, 'firefox': {'function': 'downloads_firefox', 'params': {}}, + 'lab': {'function': 'downloads_lab', 'params': {}}, 'download': {'function': 'downloads_list', 'params': {}}, 'installation': {'function': 'downloads_list', 'params': {}}, 'meetings': {'function': 'meetings_index', 'params': {}}, diff --git a/i2p2www/pages/downloads/lab.html b/i2p2www/pages/downloads/lab.html new file mode 100644 index 00000000..04fabde7 --- /dev/null +++ b/i2p2www/pages/downloads/lab.html @@ -0,0 +1,33 @@ +{% extends "global/layout.html" %} +{% block title %}I2P Lab{% endblock %} +{% block content %} +
Welcome to the I2P Laboratory! This is the home of various experimental projects that are not yet ready to go live. We invite you to look around and give them a try, but we do not offer support for them. Any of these projects may be discontinued at any time. +
++We welcome your feedback at the I2P Forum +
+{%- endtrans %} + +
+This is an I2P installer for Windows that does not depend on Java. It comes with everything it needs out of the box. +
++Download the installer and double-click on it. +
+{%- endtrans %} + +{% endblock %} diff --git a/i2p2www/sitemap.py b/i2p2www/sitemap.py index d485ce8d..355eb921 100644 --- a/i2p2www/sitemap.py +++ b/i2p2www/sitemap.py @@ -112,6 +112,9 @@ def render_sitemap(): urls.append({ 'path': '/download/firefox', }) + urls.append({ + 'path': '/download/lab', + }) # Render and return the sitemap response = make_response(render_template('global/sitemap.xml', url_root=url_root, langs=LANG_FRAGS, diff --git a/i2p2www/urls.py b/i2p2www/urls.py index e79c0089..0ba3f7d7 100644 --- a/i2p2www/urls.py +++ b/i2p2www/urls.py @@ -79,6 +79,7 @@ url('/