From ffc5290c8c1b32bee13641a358d5ff164dd90d56 Mon Sep 17 00:00:00 2001 From: Rico Hoppe Date: Wed, 17 May 2023 16:58:39 +0000 Subject: [PATCH] release.html: finished download-cards --- src/templates/download/release.html | 218 +++++++++++++++++++++------- 1 file changed, 166 insertions(+), 52 deletions(-) diff --git a/src/templates/download/release.html b/src/templates/download/release.html index dba92674..0c8a4f9a 100644 --- a/src/templates/download/release.html +++ b/src/templates/download/release.html @@ -3,28 +3,128 @@ {% block title %}{{ release }}{% end block %} {% block container %} -
-
-

{{ _("Download") }}

- -

- IPFire is free to download for everyone... XXX -

+
+
+
+ +

+ Download {{ release }} +

+

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

+
-
+ -
-
-

{{ release }}

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

{{ arch }}

+ {% for file in release.get_files_by_arch(arch) %} + + + {{ _(file.desc) }} + + + {{ format_size(file.size) }} + + +
+ {% end %} +
+
+
+ {% end %} +
+
+
+ + +
-
-
- -
- -
-

{{ _("Running 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.") }} -

- - - {{ _("Go to Amazon Web Services") }} - +
+
+
+

{{ _("Running 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.") }} +

+ + + {{ _("Go to Amazon Web Services") }} + +
-
+
-
-
-

- {{ _("All downloads will be served from one of our mirror servers that are sponsored by various organisations from all around the world to help us make IPFire available for everyone") }} -

- - -
-
+
+
+
+
+
+
+
+
+

+ {{ _("All downloads will be served from one of our mirror servers that are sponsored by various organisations from all around the world to help us make IPFire available for everyone") }} +

+
+
+ +
+
+
+
+
+
{% end block %} {% block javascript %} @@ -112,4 +226,4 @@ window.location = "/download/thank-you?file=" + this.href; }); -{% end %} +{% end %} \ No newline at end of file -- 2.39.5