From c65c88a0e7ebb6f1e29712640b1181b18fff81fc Mon Sep 17 00:00:00 2001
From: meeh <meeh@mail.i2p>
Date: Sat, 20 Jul 2019 00:44:11 +0000
Subject: [PATCH] Prepare a browser download page

---
 i2p2www/pages/site/browser/download.html | 107 +++++++++++++++++++++++
 1 file changed, 107 insertions(+)
 create mode 100644 i2p2www/pages/site/browser/download.html

diff --git a/i2p2www/pages/site/browser/download.html b/i2p2www/pages/site/browser/download.html
new file mode 100644
index 000000000..8a1e7a200
--- /dev/null
+++ b/i2p2www/pages/site/browser/download.html
@@ -0,0 +1,107 @@
+{% extends "global/layout.html" %}
+{%- from "downloads/macros" import package_outer with context -%}
+{% block title %}I2P Lab{% endblock %}
+{% block content %}
+
+
+<section id="download">
+  <h1>{{ _('I2P Browser download page') }}</h1>
+  <p>{% trans -%}
+    The Invisible Internet browser is a fork of TorBrowser/Mozilla Firefox ESR that comes preconfigured with proxy
+    settings, NoScript and i2pbutton which contains some security/privacy improvements like a drag and drop filter and
+    external app blocker.
+    {%- endtrans %}</p>
+  <p>{% trans -%}
+    Builds for Linux, Windows and Mac OS X are available. Currently we provide binaries for 64bit systems. 32bit builds
+    for Linux and Windows are planned.
+    {%- endtrans %}</p>
+  <p>{% trans -%}
+    At this time I2P Browser does not ship with its own I2P router. Ensure that you have I2P installed and running
+    before you launch the I2P Browser.
+    {%- endtrans %}</p>
+  {% trans %}
+  Status: Beta-4
+  <ul>
+    <li><a href="https://github.com/mikalv/test-i2p-browser">Firefox Branch</a></li>
+    <li><a href="https://github.com/mikalv/i2p-browser-build-scripts">Build Scripts</a></li>
+    <li><a href="https://github.com/mikalv/i2pbutton">Browser Extension</a></li>
+  </ul>
+  {%- endtrans %}
+
+  {%- set name     = 'Windows' -%}
+  {%- set icon     = 'images/download/windows.png' -%}
+  {%- set filename = 'i2pbrowser-install-win64-2.0-beta4_en-US.exe' -%}
+  {%- set hash     = '65a2f84a7dca9d000e359dc1cd5168555f363a29a837fadbbf9fff58c8b7bad9' -%}
+  {% call package_outer('windows', name, icon) %}
+  <div class="file">
+    <a class="default"
+      href="https://download.i2p2.de/experimental/i2pbrowser-beta4/windows64/i2pbrowser-install-win64-2.0-beta4_en-US.exe">
+      <span class="name">{{ filename }}</span>
+    </a>
+  </div>
+  <div class="meta">
+    <div class="hash">
+      <code>{{ hash }}</code>
+    </div>
+  </div>
+  <p>{% trans -%}
+    The default is to download the english version, however it's also built for some other languages,
+    please check out the link below
+    if you want to see if we have the browser in your language.
+    {%- endtrans %}</p>
+  <a
+    href="https://download.i2p2.de/experimental/i2pbrowser-beta4/windows64/">https://download.i2p2.de/experimental/i2pbrowser-beta4/windows64/</a>
+  {% endcall %}
+
+  {%- set name     = 'Mac OS X' -%}
+  {%- set icon     = 'images/download/mac-osx.png' -%}
+  {%- set filename = 'I2PBrowser-2.0-beta4-osx64_en-US.dmg' -%}
+  {%- set hash     = '95dff56f2443920f027a9a649793f67a37db55850980035956d7dcaad95f0d93' -%}
+  {% call package_outer('mac-osx', name, icon) %}
+  <div class="file">
+    <a class="default"
+      href="https://download.i2p2.de/experimental/i2pbrowser-beta4/macosx64/I2PBrowser-2.0-beta4-osx64_en-US.dmg">
+      <span class="name">{{ filename }}</span>
+    </a>
+  </div>
+  <div class="meta">
+    <div class="hash">
+      <code>{{ hash }}</code>
+    </div>
+  </div>
+  <p>{% trans -%}
+    The default is to download the english version, however it's also built for some other languages,
+    please check out the link below
+    if you want to see if we have the browser in your language.
+    {%- endtrans %}</p>
+  <a
+    href="https://download.i2p2.de/experimental/i2pbrowser-beta4/macosx64/">https://download.i2p2.de/experimental/i2pbrowser-beta4/macosx64/</a>
+  {% endcall %}
+
+  {%- set name     = 'Linux' -%}
+  {%- set icon     = 'images/download/freebsd-tux.png' -%}
+  {%- set filename = 'i2p-browser-linux64-2.0-beta4_en-US.tar.xz' -%}
+  {%- set hash     = 'da772ebe03937b09915f9016d9c09b64666025b4ae4c9353861dcf40d916ca7d' -%}
+  {% call package_outer('freebsd-tux', name, icon) %}
+  <div class="file">
+    <a class="default"
+      href="https://download.i2p2.de/experimental/i2pbrowser-beta4/linux64/i2p-browser-linux64-2.0-beta4_en-US.tar.xz">
+      <span class="name">{{ filename }}</span>
+    </a>
+  </div>
+  <div class="meta">
+    <div class="hash">
+      <code>{{ hash }}</code>
+    </div>
+  </div>
+  <p>{% trans -%}
+    The default is to download the english version, however it's also built for some other languages,
+    please check out the link below
+    if you want to see if we have the browser in your language.
+    {%- endtrans %}</p>
+  <a
+    href="https://download.i2p2.de/experimental/i2pbrowser-beta4/linux64">https://download.i2p2.de/experimental/i2pbrowser-beta4/linux64</a>
+  {% endcall %}
+</section>
+
+{% endblock %}
\ No newline at end of file
-- 
GitLab