From: Michael Tremer Date: Tue, 16 Oct 2018 09:13:47 +0000 (+0100) Subject: download: Make download page look similar to other pages X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed07e1fab13c16e9165031bd35f600e189d844f2;p=ipfire.org.git download: Make download page look similar to other pages Signed-off-by: Michael Tremer --- diff --git a/src/templates/download/release.html b/src/templates/download/release.html index 37b99600..aec3a2c5 100644 --- a/src/templates/download/release.html +++ b/src/templates/download/release.html @@ -2,62 +2,80 @@ {% block title %}{{ _("Download %s") % release }}{% end block %} -{% block content %} -
-

{{ release }}

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

{{ _("Download") }}

+
+
+
-
    - {% for file in release.get_files_by_arch(arch) %} -
  • -
    - {{ _(file.desc) }} - - {% if file.size >= 1024 * 1024 %} - {{ format_size(file.size) }} - {% end %} -
    -
  • +
    +
    +
    +

    {{ 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 file in release.get_files_by_arch(arch) %} +
  • +
    + {{ _(file.desc) }} + + {% if file.size >= 1024 * 1024 %} + {{ format_size(file.size) }} + {% end %} +
    +
  • + {% end %} +
+
+ {% end %} +
+ +

+ {{ _("Running IPFire in the Cloud?") }} + + + {{ _("IPFire is available on Amazon Cloud") }} + +

+
+ + +
+
+ + +
+
+
{% for f in release.files %}{{ "%-50s SHA1: %s\n" % (f.basename, f.sha1) }}{% end %}
+
- {% end %} -
- -

- {{ _("Running IPFire in the Cloud?") }} - - - {{ _("IPFire is available on Amazon Cloud") }} - -

- - - -
-
-
{% for f in release.files %}{{ "%-50s SHA1: %s\n" % (f.basename, f.sha1) }}{% end %}
-
+
{% end block %}