{% extends 'layout/base.twig' %} {% set title = 'TLD Registry' %} {% set pageTitle = 'TLD Registry' %} {% set pageDescription = 'Manage Top-Level Domain registry information' %} {% set pageIcon = 'fas fa-database' %} {% set currentFilters = filters|default({search: '', sort: 'tld', order: 'asc'}) %} {% block content %} {# Action Buttons #} {% if session.role is defined and session.role == 'admin' %}
View-only mode. Contact admin to import or modify TLD data.
Total TLDs
{{ tldStats.total|default(0) }}
Active
{{ tldStats.active|default(0) }}
With RDAP
{{ tldStats.with_rdap|default(0) }}
With WHOIS
{{ tldStats.with_whois|default(0) }}
| {% endif %} | TLD {{ sort_icon('tld', currentFilters.sort, currentFilters.order)|raw }} | RDAP Servers {{ sort_icon('rdap_servers', currentFilters.sort, currentFilters.order)|raw }} | WHOIS Server {{ sort_icon('whois_server', currentFilters.sort, currentFilters.order)|raw }} | Last Updated {{ sort_icon('updated_at', currentFilters.sort, currentFilters.order)|raw }} | Status {{ sort_icon('is_active', currentFilters.sort, currentFilters.order)|raw }} | Actions |
|---|---|---|---|---|---|---|
| {% endif %} |
{{ tld.tld }}
{% if tld.registry_url %}
{% endif %}
|
{% if tld.rdap_servers %}
{% set rdapServers = tld.rdap_servers|from_json %}
{% if rdapServers is iterable and rdapServers is not empty %}
{% for server in rdapServers|slice(0, 2) %}
{% else %}
None
{% endif %}
{% else %}
None
{% endif %}
{{ server }}
{% endfor %}
{% if rdapServers|length > 2 %}
+{{ rdapServers|length - 2 }} more
{% endif %}
|
{% if tld.whois_server %}
{{ tld.whois_server }}
{% else %}
None
{% endif %}
|
{% if tld.updated_at %}
{{ tld.updated_at|date('M d, H:i') }}
{% else %}
Never
{% endif %}
|
{{ tld.is_active ? 'Active' : 'Inactive' }} |
{% if currentFilters.search is not empty %} No TLDs match your search criteria. {% else %} Start by importing the TLD list from IANA. {% endif %}
{% if currentFilters.search is empty %} {% endif %}CSV columns: tld, whois_server, rdap_servers, registry_url, is_active
JSON: array of objects with same fields
Existing TLDs will be updated. New TLDs will be created as active.
' } %} {% endblock %}