{% include 'header.html' %}

{{ device.name }}

Allocated IPs:

    {% for ip in device_ips %}
  • {{ ip.ip }}
  • {% endfor %}
{% if ip_history %}

IP Assignment History:

{% for entry in ip_history %}
{% if entry.action == 'assigned' %} {% else %} {% endif %}
{{ entry.ip }} {% if entry.action == 'assigned' %}Assigned{% else %}Removed{% endif %} to {{ entry.device_name }}
{{ entry.subnet_name }} ({{ entry.subnet_cidr }})
by {{ entry.user_name }} • {{ entry.timestamp.strftime('%Y-%m-%d %H:%M:%S') if entry.timestamp else 'Unknown' }}
{% endfor %}
{% endif %}

Tags:

{% if device_tags %} {% for tag in device_tags %}
{{ tag.name }} {% if can_remove_device_tag %}
{% endif %}
{% endfor %} {% else %} No tags assigned {% endif %}
{% if can_assign_device_tag and all_tags %}
{% endif %}