{% extends "base.html" %} {% block content %} {% if wireguard_instances %}
{% for peer in peer_list %}
{% if peer.name %} {{ peer.name}} {% else %} {{ peer.public_key|slice:":16" }}{% if peer.public_key|length > 16 %}...{% endif %} {% endif %}
{% if user_acl.user_level >= 30 %}
{% endif %}
{% comment %}This needs to be improved{% endcomment %}

Transfer:
Latest Handshake:
Endpoints:
Allowed IPs: {% for address in peer.peerallowedip_set.all %} {% if address.priority == 0 and address.config_file == 'server' %}{{ address }}{% endif %} {% endfor %} {% for address in peer.peerallowedip_set.all %} {% if address.priority >= 1 and address.config_file == 'server' %}{{ address }}{% endif %} {% endfor %}

{% endfor %}
{% if add_peer_enabled %} Create Peer {% else %} Create Peer {% endif %} {% comment %}Import peers{% endcomment %}
{% else %}

Add WireGuard Instance

{% endif %} {% endblock %} {% block custom_page_scripts %} {% endblock %}