{% extends "ui/base-devices.html" %}
{% load url from future %}
{% load icons %}
{% block content %}
|
Hostname |
Address |
Last Ping |
{% for item in device.ipaddress_set.all %}
{{ item|address_icon }} |
{{ item.hostname }} |
{{ item.address }} |
{{ item.last_seen|date:'Y-m-d H:i' }} |
{% endfor %}
|
Name |
Type |
Content |
TTL |
Priority |
{% for item in dns %}
{% icon 'fugue-price-tag' %} |
{{ item.name }} |
{{ item.type }} |
{{ item.content }} |
{{ item.ttl }} |
{{ item.prio|default:'' }} |
{% endfor %}
|
IP Address |
MAC Address |
{% for item in dhcp %}
{% icon 'fugue-network-ethernet' %} |
{{ item.ip }} |
{{ item.mac }} |
{% endfor %}
{% if balancers %}
|
Load Balancer |
Pool |
Port |
{% for item in balancers %}
{% 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 }} |
{% endfor %}
{% endif %}
{% endblock content %}