From 7f95f764822e5b91dd7b34ffc26da198bc6b2558 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 29 Nov 2021 14:28:54 +0000 Subject: [PATCH] CSS: Replace card-deck with grid controls Signed-off-by: Michael Tremer --- src/templates/download/release.html | 54 +++++++++++++++-------------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/src/templates/download/release.html b/src/templates/download/release.html index 566292fd..ee0a56b6 100644 --- a/src/templates/download/release.html +++ b/src/templates/download/release.html @@ -26,34 +26,36 @@ {% end %}

-
+
{% for arch in release.arches %} -
-
-
- {{ arch }} - - {% if arch in release.experimental_arches %} - {{ _("Experimental") }} - {% elif arch in release.secondary_arches %} - {{ _("Legacy") }} +
+
+
+
+ {{ arch }} + + {% if arch in release.experimental_arches %} + {{ _("Experimental") }} + {% elif arch in release.secondary_arches %} + {{ _("Legacy") }} + {% end %} +
+
+ +
+ {% for file in release.get_files_by_arch(arch) %} + + + {{ _(file.desc) }} + + + + {{ format_size(file.size) }} + + {% end %} -
-
- -
- {% for file in release.get_files_by_arch(arch) %} - - - {{ _(file.desc) }} - - - - {{ format_size(file.size) }} - - - {% end %} +
{% end %} -- 2.47.3