{% extends 'layout/base.twig' %} {% set title = 'Domain Details' %} {% set pageTitle = domain.domain_name %} {% set pageDescription = 'Domain information and monitoring status' %} {% set pageIcon = 'fas fa-globe' %} {% set daysLeft = domain.daysLeft %} {% set domainStatus = domain.displayStatus %} {% set expiryColor = domain.expiryColor %} {% block content %}
{{ domain.statusText }} {% if domainStatus != 'available' %} {{ daysLeft is not null ? daysLeft ~ ' days left' : 'No expiry date' }} {% endif %} {{ domain.is_active ? 'Monitoring Active' : 'Monitoring Paused' }} {% set domainTags = domain.tags ? domain.tags|split(',') : [] %} {% set tagColorList = domain.tag_colors ? domain.tag_colors|split('|') : [] %} {% for tag in domainTags %} {% set tagName = tag|trim %} {% set matchedTags = availableTags|filter(t => t.name == tagName) %} {% if matchedTags|length > 0 %} {% set colorClass = matchedTags|first.color %} {% elseif tagColorList[loop.index0] is defined %} {% set colorClass = tagColorList[loop.index0] %} {% else %} {% set colorClass = 'bg-gray-100 dark:bg-slate-700 text-gray-700 dark:text-slate-300 border-gray-200 dark:border-slate-700' %} {% endif %} {{ tagName|capitalize }} {% endfor %}
{{ csrf_field() }}
Edit
{{ csrf_field() }}
Back

Registration Details

{{ domain.registrar|default('Unknown') }}

{% if domain.registrar_url is not empty %}
Visit
{% endif %} {% if domain.abuse_email is not empty %} {% endif %} {% if whoisData.whois_server is defined %}

{{ whoisData.whois_server }}

{% endif %} {% if whoisData.owner is defined %}

{{ whoisData.owner }}

{% endif %}

Important Dates

{% if domain.expiration_date is not empty %}

Expiration {% if domain.isManualExpiration %} Manual {% endif %}

{{ domain.expiration_date ? domain.expiration_date|date('M j, Y') : 'Unknown' }}

{{ daysLeft }} days
{% endif %} {% if domain.updated_date is not empty %}

Last Updated

{{ domain.updated_date|date('M j, Y') }}

{% endif %} {% if whoisData.creation_date is defined %}

Created

{{ whoisData.creation_date|date('M j, Y') }}

{% endif %}

Last Checked

{{ domain.last_checked|date('M j, Y H:i') }}

{% if whoisData.nameservers is not empty %}

Nameservers ({{ whoisData.nameservers|length }})

{% for ns in whoisData.nameservers %}
{{ loop.index }}

{{ ns }}

{% endfor %}
{% endif %} {% if domain.parsedStatuses is not empty %}

Domain Status ({{ domain.parsedStatuses|length }})

{% for status in domain.parsedStatuses %} {{ status }} {% endfor %}
{% endif %}
{% if domain.group_name is not empty %}

Notification Group

{{ domain.group_name }}

{% if domain.channels is not empty %}

{{ domain.activeChannelCount|default(0) }} / {{ domain.channels|length }} channels active

{% endif %}
{% if domain.channels is not empty %}
{% for channel in domain.channels %}
{{ channel.channel_type|capitalize }}
{% endfor %}
{% endif %}
{% else %}

No Group Assigned

Won't receive notifications

Assign Group
{% endif %}

Notes

{{ csrf_field() }}

Notification History ({{ logs|length }})

{% if logs is empty %}

No notifications sent yet

{% else %}
{% for log in logs %} {% endfor %}
Channel Status Date Message
{{ log.channel_type|capitalize }} {% set logStatusClass = log.status == 'sent' ? 'bg-green-100 dark:bg-green-500/10 text-green-800 dark:text-green-400' : 'bg-red-100 dark:bg-red-500/10 text-red-800 dark:text-red-400' %} {{ log.status|capitalize }} {{ log.sent_at|date('M j, H:i') }} {{ log.message }}
{% endif %}
{% if domain.whois_data is not empty %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}