From: Michael Tremer Date: Tue, 30 Dec 2025 13:04:21 +0000 (+0000) Subject: dnsbl: Simplify the layout X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8daea9671de5880290d659043cbd5d89caab0420;p=ipfire.org.git dnsbl: Simplify the layout Signed-off-by: Michael Tremer --- diff --git a/src/templates/dnsbl/list.html b/src/templates/dnsbl/list.html index a7f70618..e583e3ae 100644 --- a/src/templates/dnsbl/list.html +++ b/src/templates/dnsbl/list.html @@ -73,15 +73,17 @@ {% for source in sorted(sources) %} - + {{ source.name }}
- {{ source.license }} - + + {{ source.license }} + + {{ locale.format_date(source.updated_at, shorter=True) }} diff --git a/src/templates/dnsbl/lists.html b/src/templates/dnsbl/lists.html index 7c78b96a..b4661e0c 100644 --- a/src/templates/dnsbl/lists.html +++ b/src/templates/dnsbl/lists.html @@ -9,7 +9,7 @@ {% block title %}{{ _("IPFire DNSBL") }} - {{ _("Lists") }}{% end block %} {% block container %} -
+
+ +

+ {{ _("Lists") }} +

-
+
{% module DNSBLLists(lists) %}
diff --git a/src/templates/dnsbl/modules/lists.html b/src/templates/dnsbl/modules/lists.html index 71d72347..c4e657d4 100644 --- a/src/templates/dnsbl/modules/lists.html +++ b/src/templates/dnsbl/modules/lists.html @@ -1,23 +1,16 @@ - - - {% for l in sorted(lists) %} - - +{% for l in sorted(lists) %} + - - - + {# Description #} + {% if l.description %} +
+ {{ l.description }} +
{% end %} - -
- - {{ l.name }} - - - {% if l.description %} - {{ l.description }} - {% end %} - - {{ _("%s Domain", "%s Domains", l.total_domains) % format_number(l.total_domains) }} -
+ +{% end %}