{% extends "base-fluid.html" %} {% from "_helpers.html" import link_to_item, link_to_items, format_datetime %} {% block title %}View Item - CSEntry{% endblock %} {% block main %}
ICS id
{{ item.ics_id }}
Created
{{ format_datetime(item._created) }}
Updated
{{ format_datetime(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) }}

Comments

{% for comment in item.comments %}
{{ comment.user }} commented on {{ format_datetime(comment.timestamp) }}
{{ comment.text }}
{% endfor %}
{{ form.hidden_tag() }}
{{ form.text.label() }} {{ form.text(class_="form-control", rows=5, required=True) }} Styling with Markdown is supported using Showdown. A preview is visible below.
Comment preview

Cancel

History

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