{% extends "ui/base-devices.html" %} {% load url from future %} {% load icons %} {% block content %}

DNS Records

{% csrf_token %} {% for f in dnsform %} {% if f.label == 'name' %} {% if '_new_' in f.name %} {% else %} {% endif %} {% endif %} {% if f.label == 'del' %} {% endif %} {% endfor %}
Name Type Content PTR Del
{% icon 'fugue-price-tag--plus' %} {% icon 'fugue-price-tag' %} {% if canedit %} {{ f }} {% else %} {{ f.value|default:'' }} {% endif %} {% for e in f.errors %}
{{ e }}
{% empty %} {% if f.help_text %}
{{ f.help_text }}
{% endif %} {% endfor %}
{% if canedit %}
{% spaceless %} {% endspaceless %}
{% endif %}

DHCP Entries

{% csrf_token %} {% for f in dhcpform %} {% if f.label == 'ip' %} {% endif %} {% if f.label = 'del' %} {% endif %} {% endfor %}
IP Address MAC Address Del
{% icon 'fugue-network-ethernet' %} {% if canedit %} {{ f }} {% else %} {{ f.value|default:'' }} {% endif %} {% for e in f.errors %}
{{ e }}
{% empty %} {% if f.help_text %}
{{ f.help_text }}
{% endif %} {% endfor %}
{% if canedit %}
{% spaceless %} {% endspaceless %}
{% endif %}

Detected addresses

{% csrf_token %} {% for f in ipform %} {% if f.label == 'hostname' %} {% endif %} {% if f.label = 'del' %} {% endif %} {% if f.label = 'del' %} {% endif %} {% endfor %}
Hostname Address Last Ping Del
{% if f.field.record %} {{ f.field.record|address_icon }} {% else %} {% icon 'fugue-plus' %} {% endif %} {{ f.field.record.last_seen|date:'Y-m-d H:i' }} {% if canedit %} {{ f }} {% else %} {{ f.value|default:'' }} {% endif %} {% for e in f.errors %}
{{ e }}
{% empty %} {% if f.help_text %}
{{ f.help_text }}
{% endif %} {% endfor %}
{% if canedit %}
{% spaceless %} {% endspaceless %}
{% endif %}
{% if balancers %}

Load balancers

{% for item in balancers %} {% endfor %}
Load Balancer Pool Port
{% if item.server %} {% icon 'fugue-balance' %} {% else %} {% if item.enabled %} {% icon 'fugue-tick-circle' %} {% else %} {% icon 'fugue-cross-circle' %} {% endif %} {% endif %} {% if item.server %} {{ item.server }} {% else %} {{ item.balancer }} {% endif %} {{ item.pool }} {{ item.port }}
{% endif %}
{% endblock content %}