From df538aaf5173bc062098ac433d5fcd4edefad2f2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 8 Feb 2026 16:19:10 +0000 Subject: [PATCH] dbl: Refactor the lists header Signed-off-by: Michael Tremer --- src/templates/dbl/lists/show.html | 87 +++++++++++++++---------------- 1 file changed, 41 insertions(+), 46 deletions(-) diff --git a/src/templates/dbl/lists/show.html b/src/templates/dbl/lists/show.html index 37716bba..a5c68f20 100644 --- a/src/templates/dbl/lists/show.html +++ b/src/templates/dbl/lists/show.html @@ -10,76 +10,71 @@ {% block title %}{{ _("IPFire DBL") }} - {{ list }}{% end block %} {% block container %} - {% import urllib.parse %} - -
+
- -

{{ list }}

-
-
- {{ list.license }} -
- - {# Description #} - {% if list.description %} + {# Description #} + {% if list.description %} +
{{ list.description }} - {% end %} -
+ + {% end %}
-
- {# Information #} -
-
-
-
+
+
+ {# Domains #} +
-

- {{ _("Domains Listed") }} -

-

+

{{ format_number(list.total_domains) }}

+ +

+ {{ _("Domains") }} +

-
+ {# Last Updated #} +
+

+ {{ locale.format_date(list.updated_at, shorter=True) }} +

+

{{ _("Last Updated") }}

-

- {{ locale.format_date(list.updated_at, shorter=True) }} -

+ + {# License #} + {% if list.license %} +
+
+

+ {{ list.license }} +

+ +

+ {{ _("License") }} +

+
+
+ {% end %}
+
+
+ {# Information #} +
+
{# Navigation #}