]> git.ipfire.org Git - ipfire.org.git/commitdiff
dnsbl: Fix spacing between multiple reports
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 31 Dec 2025 15:04:01 +0000 (15:04 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 31 Dec 2025 15:04:01 +0000 (15:04 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/dnsbl/lists/reports.html

index 988d4310acaf1424d8f5ddc2f73bd942123668ab..f586318783471a85791767c6a0d40f1940863729 100644 (file)
 
        <section class="section">
                <div class="container">
-                       <h3 class="title is-3">
+                       <h5 class="title is-5">
                                {{ _("Pending Reports") }}
-                       </h3>
+                       </h5>
 
                        {# Show any pending reports #}
                        {% if reports %}
                                {% for report in reports %}
-                                       <div class="card">
-                                               <div class="card-content">
-                                                       <div class="columns">
-                                                               <div class="column">
-                                                                       <p class="title is-5">
-                                                                               <a href="/dnsbl/reports/{{ report.id }}">
-                                                                                       {{ report }}
-                                                                               </a>
-                                                                       </p>
-
-                                                                       <p class="subtitle is-6">
-                                                                               {{ _("Submitted %(when)s by %(who)s") % {
-                                                                                       "when" : locale.format_date(report.reported_at),
-                                                                                       "who"  : report.reported_by,
-                                                                               } }}
-                                                                       </p>
-                                                               </div>
-
-                                                               {# Comment #}
-                                                               {% if report.comment %}
+                                       <div class="block">
+                                               <div class="card">
+                                                       <div class="card-content">
+                                                               <div class="columns">
                                                                        <div class="column">
-                                                                               <pre>{{ report.comment }}</pre>
+                                                                               <p class="title is-5">
+                                                                                       <a href="/dnsbl/reports/{{ report.id }}">
+                                                                                               {{ report }}
+                                                                                       </a>
+                                                                               </p>
+
+                                                                               <p class="subtitle is-6">
+                                                                                       {{ _("Submitted %(when)s by %(who)s") % {
+                                                                                               "when" : locale.format_date(report.reported_at),
+                                                                                               "who"  : report.reported_by,
+                                                                                       } }}
+                                                                               </p>
                                                                        </div>
-                                                               {% end %}
+
+                                                                       {# Comment #}
+                                                                       {% if report.comment %}
+                                                                               <div class="column">
+                                                                                       <pre>{{ report.comment }}</pre>
+                                                                               </div>
+                                                                       {% end %}
+                                                               </div>
                                                        </div>
                                                </div>
                                        </div>