diff --git a/machines/templates/machines/aff_machines.html b/machines/templates/machines/aff_machines.html index 3e26f64b..80e887d2 100644 --- a/machines/templates/machines/aff_machines.html +++ b/machines/templates/machines/aff_machines.html @@ -27,30 +27,36 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endif %} + + + + + + + - - - - - - - - - - + + + + + + {% for machine in machines_list %} - {% for interface in machine.interface_set.all %} - - {% if forloop.first %} - + + - - {% endif %} + + {% for interface in machine.interface_set.all %} + - - - + + + {% endfor %} +
ActionsProprietaireNom dnsTypeMacIP
Nom DNSTypeMACIPActions
+
+ {{ machine.name }} + + {{ machine.user }} + + {% include 'buttons/add.html' with href='machines:new-interface' id=machine.id desc='Ajouter une interface' %} - {% include 'buttons/suppr.html' with href='machines:del-machine' id=machine.id %} {% include 'buttons/history.html' with href='machines:history' name='machine' id=machine.id %} + {% include 'buttons/suppr.html' with href='machines:del-machine' id=machine.id %} - {{ machine.user }} -
{% if interface.domain.related_domain.all %} {{ interface.type }}{{ interface.mac_address }}IPv4 {{ interface.ipv4 }} - {% if ipv6_enabled %} -
- IPv6 {{ interface.ipv6 }} - {% endif %} -
- + {{ interface.mac_address }} + + IPv4 {{ interface.ipv4 }} +
+ {% if ipv6_enabled and interface.ipv6 != 'None'%} + IPv6 {{ interface.ipv6 }} + {% endif %} +
+