From: Michael Tremer Date: Thu, 14 Dec 2023 13:55:36 +0000 (+0000) Subject: downloads: Refactor the page again and add an extra cloud page X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e71d96a7e1f7a7f732c4d0e284bf667d4505165;p=ipfire.org.git downloads: Refactor the page again and add an extra cloud page Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 5cbb9d14..3e42ad59 100644 --- a/Makefile.am +++ b/Makefile.am @@ -224,6 +224,7 @@ templates_docs_modules_DATA = \ templates_docs_modulesdir = $(templates_docsdir)/modules templates_downloads_DATA = \ + src/templates/downloads/cloud.html \ src/templates/downloads/mirrors.html \ src/templates/downloads/release.html \ src/templates/downloads/thank-you.html @@ -986,6 +987,15 @@ CLEANFILES += \ static_img_authdir = $(static_imgdir)/auth +static_img_downloadsdir = $(static_imgdir)/downloads + +dist_static_img_downloads_cloud_DATA = \ + src/static/img/downloads/cloud/aws.svg \ + src/static/img/downloads/cloud/exoscale.svg \ + src/static/img/downloads/cloud/hetzner.svg + +static_img_downloads_clouddir = $(static_img_downloadsdir)/cloud + static_images_tux_DATA = \ src/static/img/tux/ipfire_tux_16x16.png \ src/static/img/tux/ipfire_tux_20x20.png \ diff --git a/src/static/img/downloads/cloud/aws.svg b/src/static/img/downloads/cloud/aws.svg new file mode 100644 index 00000000..214e1414 --- /dev/null +++ b/src/static/img/downloads/cloud/aws.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + + + diff --git a/src/static/img/downloads/cloud/exoscale.svg b/src/static/img/downloads/cloud/exoscale.svg new file mode 100644 index 00000000..1a353271 --- /dev/null +++ b/src/static/img/downloads/cloud/exoscale.svg @@ -0,0 +1,46 @@ + + + + + + + + + diff --git a/src/static/img/downloads/cloud/hetzner.svg b/src/static/img/downloads/cloud/hetzner.svg new file mode 100644 index 00000000..97bf32c4 --- /dev/null +++ b/src/static/img/downloads/cloud/hetzner.svg @@ -0,0 +1,19 @@ + + + + + + Element 1 + + + + + + + + + + + diff --git a/src/templates/downloads/cloud.html b/src/templates/downloads/cloud.html new file mode 100644 index 00000000..3bea19ff --- /dev/null +++ b/src/templates/downloads/cloud.html @@ -0,0 +1,170 @@ +{% extends "../base.html" %} + +{% block title %}{{ _("Cloud") }}{% end block %} + +{% block container %} +
+
+
+ + +

+ {{ _("Cloud") }} +

+ +

+ {{ _("Explore IPFire In The Cloud") }} +

+
+
+
+ +
+
+
+
+

+ Unlock the flexibility of IPFire in the cloud by choosing from our + trusted cloud service providers. + These partners offer seamless integration and optimal performance for + hosting IPFire, ensuring robust network security in virtual environments. +

+ +

+ Whether you're a small business, enterprise, or individual user, find + the right cloud provider to suit your needs. + Enhance your cybersecurity measures by deploying IPFire in the cloud + with one of our reliable partners. +

+
+
+
+
+ +
+ +
+ +
+
+
+
+
+

Why Choose IPFire in the Cloud?

+ +
    +
  • + Scalability: + Easily scale your network security infrastructure as your business grows. +
  • + +
  • + Flexibility: + Enjoy the flexibility of cloud deployment with the robust security of IPFire. +
  • + +
  • + Performance: + Leverage the high-performance capabilities of leading cloud providers for optimal security. +
  • +
+
+ +
+

Getting Started

+ +
+

+ Explore the offerings of our featured cloud providers and select the one + that aligns with your requirements. Follow the integration guides and + documentation for a smooth deployment experience. +

+ +

+ Secure your digital assets in the cloud with IPFire! +

+
+
+
+
+
+
+{% end block %} diff --git a/src/templates/downloads/release.html b/src/templates/downloads/release.html index 9e32e3f3..a3f8e790 100644 --- a/src/templates/downloads/release.html +++ b/src/templates/downloads/release.html @@ -18,90 +18,67 @@

- {{ _("Download %s") % release }} + {{ release }}

{{ _("Released %s") % locale.format_date(release.published, relative=True, shorter=True) }} - - {% if release.blog %} - • - {{ _("Release Notes") }} - {% end %}
- - - -
-
-
- {% for arch in release.arches %} -
-
-

{{ arch }}

+
+ {% for arch in release.arches %} + -
- {% end %} + {% end %} +
-
+
-
-
-

{{ _("Running IPFire in the Cloud?") }}

+

+ {{ _("Deploying IPFire In The Cloud?") }} -

- {{ _("IPFire is now available in the Amazon Cloud.") }} - {{ _("Create flexible firewall rules and use our Intrusion Detection System to protect your servers in the Cloud.") }} - {{ _("Connect to them securely using our VPN technologies.") }} -

-
+ + {{ _("Read More") }} + +

+
+
-
- - - - - - {{ _("x86_64") }} - - + {% if release.blog %} +
+
+

{{ _("Release Notes") }}

- - - - - - {{ _("aarch64") }} - - +
+ {% raw release.blog.html %}
-
-
- - + + {% end %} {% end block %} {% block javascript %} diff --git a/src/web/__init__.py b/src/web/__init__.py index 5c9b367c..f6422612 100644 --- a/src/web/__init__.py +++ b/src/web/__init__.py @@ -155,6 +155,7 @@ class Application(tornado.web.Application): # Downloads (r"/downloads", downloads.IndexHandler), + (r"/downloads/cloud", StaticHandler, { "template" : "../downloads/cloud.html" }), (r"/downloads/mirrors", downloads.MirrorsHandler), (r"/downloads/thank-you", downloads.ThankYouHandler), (r"/downloads/([0-9a-z\-\.]+)", downloads.ReleaseHandler),