From: Rico Hoppe Date: Sat, 21 Oct 2023 17:58:55 +0000 (+0000) Subject: fireinfo/vendor(s): restyled vendor pages X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=905f1144aaac61566cea5474f6043308c656e269;p=ipfire.org.git fireinfo/vendor(s): restyled vendor pages --- diff --git a/src/templates/fireinfo/vendor.html b/src/templates/fireinfo/vendor.html index 1862bc80..5ae32ee2 100644 --- a/src/templates/fireinfo/vendor.html +++ b/src/templates/fireinfo/vendor.html @@ -2,17 +2,36 @@ {% block title %}{{ vendor_name }}{% end block %} -{% block content %} -
-
-
-
-

{{ vendor_name }}

+{% block container %} +
+
+
+ -

- {{ _("All known devices by %s") % vendor_name }} -

-
+

{{ _("All known devices by %s") % vendor_name }}

diff --git a/src/templates/fireinfo/vendors.html b/src/templates/fireinfo/vendors.html index 5e66ed74..fe5718a6 100644 --- a/src/templates/fireinfo/vendors.html +++ b/src/templates/fireinfo/vendors.html @@ -3,32 +3,48 @@ {% block title %}{{ _("Vendors") }}{% end block %} {% block container %} -
+
+
-
-
-

{{ _("Vendors") }}

-
-
+ + +

{{ _("Vendors") }}

-
+ +
+
-
-
-
- {% for vendor, subsystems in vendors %} - {% if vendor %} -
{{ vendor }}
-
- {% for subsystem, vendor_id in sorted(subsystems) %} - {{ subsystem.upper() }} - {% end %} -
+ {% for vendor, subsystems in vendors %} +
+ {% if vendor %} +
{{ vendor }}
+
+ {% for subsystem, vendor_id in sorted(subsystems) %} + {{ subsystem.upper() }} {% end %} - {% end %} -
+
+ {% end %}
-
+ {% end %} +
{% end block %}