From: Rico Hoppe Date: Sat, 21 Oct 2023 17:58:02 +0000 (+0000) Subject: fireinfo/processors: restyled the page X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=514e41e6185684dfa41adb13f75a67f18e456d3d;p=ipfire.org.git fireinfo/processors: restyled the page --- diff --git a/src/templates/fireinfo/processors.html b/src/templates/fireinfo/processors.html index 56dddbcc..62b496c0 100644 --- a/src/templates/fireinfo/processors.html +++ b/src/templates/fireinfo/processors.html @@ -36,9 +36,9 @@ {% for platform in flags %}

{{ platform }}

-
- {% for flag, percentage in flags[platform] %} -
+ {% for flag, percentage in flags[platform] %} +
+
{% if flag == "aes" %} {{ _("AES Instruction Set") }} {% elif flag == "avx" %} @@ -98,9 +98,9 @@ {% else %} {{ flag }} {% end %} -
+ -
+
{% if percentage >= 0.95 %} {% module ProgressBar(percentage, "success") %} {% elif percentage >= 0.5 %} @@ -110,9 +110,9 @@ {% else %} {% module ProgressBar(percentage, "danger") %} {% end %} -
- {% end %} -
+ + + {% end %} {% end %}