{%- extends "base.html" %} {% from "_helpers.html" import link_to_item, link_to_items %} {% block title %}View Item - CSEntry{% endblock %} {% block main %}
ICS id
{{ item['ics_id'] }}
Created
{{ item['created'] }}
Updated
{{ item['updated'] }}
Serial number
{{ item['serial_number'] }}
Manufacturer
{{ item['manufacturer'] }}
Model
{{ item['model'] }}
Location
{{ item['location'] }}
Status
{{ item['status'] }}
{% for mac in item['macs'] %} {% set macloop = loop %}
MAC Address{{ loop.index }}
{{ mac.address }}
{% for interface in mac.interfaces %}
Interface{{ macloop.index }}-{{ loop.index }}
IP: {{ interface.ip }} / name: {{ interface.name }}
{% endfor %} {% endfor %}
Parent
{{ link_to_item(item['parent']) }}
Children
{{ link_to_items(item['children']) }}

History

{% for version in item['history'] %} {% endfor %}
Updated Location Status Parent
{{ version['updated'] }} {{ version['location'] }} {{ version['status'] }} {{ link_to_item(version['parent']) }}
{%- endblock %}