{% extends "network/hosts.html" %} {% from "_helpers.html" import link_to_item, delete_button_with_confirmation %} {% block title %}View Host - CSEntry{% endblock %} {% block hosts_nav %} {% endblock %} {% block hosts_main %}
Hostname
{{ host.name }}
Type
{{ host.type }}
{% if host.type == 'Physical' %}
Item
{{ link_to_item(host.item) }}
{% endif %}
Description
{{ host.description }}

Interfaces

{% for interface in host.interfaces %} {% endfor %}
Name Cnames IP MAC Network Tags
{{ delete_button_with_confirmation("Delete interface", "deleteConfirmation-%s" | format(interface.id), "Are you sure you want to delete interface %s?" | format(interface.name)) }}
{{ interface.name }} {{ interface.cnames | join(' ') }} {{ interface.ip }} {{ interface.mac }} {{ interface.network }} {{ interface.tags | join(' ') }}
{%- endblock %}