{% extends "base.html" %} {% block title %}{{ site.site_name }} - Site Details{% endblock %} {% block head_extra %} {% endblock %} {% block content %}

Site Information

Site Code: {{ site.code }}
Site Name: {{ site.site_name }}
{% if site.description %}
Description: {{ site.description }}
{% endif %}

Device Statistics

Total Devices: {{ site.total_devices or 0 }}
Infrastructure: {{ site.infrastructure_devices or 0 }}
Stacked: {{ site.stacked_devices or 0 }}
With Serials: {{ site.devices_with_serials or 0 }}

Vendor Information

Vendor Count: {{ site.vendor_count or 0 }}
{% if site.vendors %}
Vendors: {{ site.vendors }}
{% endif %}
Last Update: {% if site.last_device_update %} {{ site.last_device_update[:19] }} {% else %} Never {% endif %}

Site Notes

Add Note
{% if site_notes %}
{% for note in site_notes %}

{{ note.title }}

{{ note.note_type|title }}
{{ note.content|striptags|truncate(200) }}
Updated: {{ note.updated_at[:19] }} {% if note.tags %}
{% set tags = note.tags|from_json %} {% for tag in tags[:2] %} {{ tag }} {% endfor %}
{% endif %}
{% endfor %}
{% else %}

No notes for this site

Add notes to document site information, configurations, or procedures

Create First Note
{% endif %}

Devices at This Site

{% if devices %} View in Device List {% endif %}
{% if devices %} {% for device in devices %} {% endfor %}
Status Device Vendor Model Role Captures Actions
{% if device.current_captures > 0 and device.last_fingerprint_success %} {% elif device.current_captures > 0 or device.last_fingerprint_success %} {% else %} {% endif %} {{ device.name }} {% if device.is_stack %} Stack {% endif %} {% if device.is_infrastructure %} Infra {% endif %} {{ device.vendor_name or '-' }} {{ device.model or '-' }} {{ device.role_name or '-' }} {% if device.current_captures > 0 %} {{ device.current_captures }} / {{ device.capture_types or 0 }} types {% else %} 0 {% endif %}
{% else %}

No devices at this site

Assign devices to this site to see them here

{% endif %}
{% if site.total_devices == 0 %}

Confirm Deletion

Delete site "{{ site.site_name }}" ({{ site.code }})?

This action cannot be undone.

{% endif %} {% endblock %}