tldtest.net/tldtest/templates/home.html

53 lines
3.6 KiB
HTML

{% extends "base.html" %}
{% block content %}
<div class="grid gap-4">
<div class="row-start-2">
<div class="flex justify-center">
<table class="table-auto border-separate border border-slate-500">
<thead>
<tr>
<th class="border border-slate-600">TLD</th>
<th class="border border-slate-600 text-l-blue-600"># Servers</th>
<th class="border border-slate-600 text-red-700">IPv4</th>
<th class="border border-slate-600 text-green-600">IPv6</th>
<th class="border border-slate-600">Strongest DNSSEC algo</th>
<th class="border border-slate-600"># keys</th>
<th class="border border-slate-600">RDAP</th>
<th class="border border-slate-600">latency-map</th>
<th class="border border-slate-600">Organisation</th>
<th class="border border-slate-600">ICANNWiki</th>
</tr>
</thead>
<tbody>
{% for TLD in object_list %}
<tr>
<td class="border border-slate-700">.{{ TLD.unicodetld }}</td>
<td class="border border-slate-700 text-l-blue-600">{{ TLD.nsamount }}</td>
<td class="border border-slate-700 text-red-700">{{ TLD.v4nsamount }}</td>
<td class="border border-slate-700 text-green-600">{{ TLD.v6nsamount }}</td>
<td class="border border-slate-700">{% if TLD.dnssec != 400 %} Algo {{ TLD.dnssec }}
{{ TLD.get_dnssec_display }} {% else %} {{ TLD.get_dnssec_display }} {% endif %}</td>
<td class="border border-slate-700">{{ TLD.amountofkeys }}</td>
{% if TLD.rdap == "Yes" %}
<td class="border border-slate-700 text-green-600">{{ TLD.rdap }}</td>
{% else %}
<td class="border border-slate-700 text-red-700">{{ TLD.rdap }}</td>
{% endif %}
<td class="border border-slate-700"><a class="text-red-700 underline" href="https://atlas.ripe.net/measurements/{{ TLD.atlasv4 }}" target="_blank">IPv4</a> <a class="text-green-600 underline" href="https://atlas.ripe.net/measurements/{{ TLD.atlasv6 }}" target="_blank">IPv6</a></td>
<td class="border border-slate-700"><a href="{{ TLD.link }}"
class="font-medium text-blue-600 dark:text-blue-500 hover:underline"
target="_blank"
rel="noopener noreferrer">{{ TLD.organisation }}</a>
</td>
<td class="border border-slate-700"><a href="https://icannwiki.org/.{{ TLD.unicodetld }}" class="font-medium text-blue-600 dark:text-blue-500 hover:underline"
target="_blank"
rel="noopener noreferrer">.{{ TLD.unicodetld }}</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
{% endblock content %}