<tbody>
{% for source in sorted(sources) %}
<tr>
- <th scope="row">
+ <td>
<a href="{{ source.url }}" target="_blank">
{{ source.name }}
</a>
<br>
- <small>{{ source.license }}</small>
- </th>
+ <small class="has-text-grey">
+ {{ source.license }}
+ </small>
+ </td>
<td class="has-text-right">
{{ locale.format_date(source.updated_at, shorter=True) }}
{% block title %}{{ _("IPFire DNSBL") }} - {{ _("Lists") }}{% end block %}
{% block container %}
- <section class="hero">
+ <section class="hero is-dark">
<div class="hero-body">
<div class="container">
<nav class="breadcrumb" aria-label="breadcrumbs">
</li>
</ul>
</nav>
+
+ <h1 class="title">
+ {{ _("Lists") }}
+ </h1>
</div>
</div>
</section>
- <section>
+ <section class="section">
<div class="container">
{% module DNSBLLists(lists) %}
</div>
-<table class="table is-fullwidth">
- <tbody>
- {% for l in sorted(lists) %}
- <tr>
- <th scope="row">
- <a href="/dnsbl/lists/{{ l.slug }}">
- {{ l.name }}
- </a>
- </th>
+{% for l in sorted(lists) %}
+ <div class="block">
+ <h5 class="title is-5">
+ <a href="/dnsbl/lists/{{ l.slug }}">
+ {{ l }}
+ </a>
+ </h5>
- <td>
- {% if l.description %}
- {{ l.description }}
- {% end %}
- </td>
-
- <td class="has-text-right">
- {{ _("%s Domain", "%s Domains", l.total_domains) % format_number(l.total_domains) }}
- </td>
- </tr>
+ {# Description #}
+ {% if l.description %}
+ <h6 class="subtitle is-6">
+ {{ l.description }}
+ </h6>
{% end %}
- </tbody>
-</table>
+ </div>
+{% end %}