]> git.ipfire.org Git - ipfire.org.git/commitdiff
dnsbl: Add a small sub-navigation to list pages
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Dec 2025 16:41:43 +0000 (16:41 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Dec 2025 16:41:43 +0000 (16:41 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/dnsbl/lists/show.html

index 3156849102535596afe92bfbb39732edf902ed05..5f1c2b2ef3141f21a708ad138d9dc10f76a320a4 100644 (file)
                                        </div>
                                </div>
                        </div>
+
+                       {# Navigation #}
+                       <div class="buttons are-small is-centered">
+                               <a class="button" href="/dnsbl/lists/{{ list.slug }}/reports">
+                                       <span class="icon is-small">
+                                               <i class="fa-solid fa-flag" aria-hidden="true"></i>
+                                       </span>
+
+                                       <span>{{ _("Reports") }}</span>
+                               </a>
+
+                               <a class="button" href="/dnsbl/lists/{{ list.slug }}/sources">
+                                       <span class="icon is-small">
+                                               <i class="fas fa-list-check" aria-hidden="true"></i>
+                                       </span>
+
+                                       <span>{{ _("Sources") }}</span>
+                               </a>
+                       </div>
                </div>
        </section>