{% extends 'base/layout.html' %} {% load static %} {% block title %}Proxmox2NetBox{% endblock %} {% block content %} {# Sync Controls #}
Synchronization {% if last_synced %} Last sync: {{ last_synced|timesince }} ago {% endif %}
{% if can_sync %}
{% else %}
Missing permission: proxmox2netbox.change_proxmoxendpoint
{% endif %} {# Schedule #}
{# Sync Result #}
{# Endpoints #} {% if proxmox_endpoint_list and proxmox_endpoint_list|length > 0 %}
Proxmox Endpoints
{% for object in proxmox_endpoint_list %} {% if proxmox_endpoint_list|length == 1 %}
{% elif proxmox_endpoint_list|length == 2 %}
{% else %}
{% endif %} {% include "proxmox2netbox/home/proxmox_card.html" with object=object %}
{% endfor %}
{% else %}
No Proxmox Endpoints configured
Add Proxmox Endpoint
{% endif %} {% endblock %} {% block footer_links %} {{ block.super }} {% include "proxmox2netbox/footer.html" %} {% endblock %}