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 %}
Actions | -Proprietaire | -Nom dns | -Type | -Mac | -IP | -- | Nom DNS | +Type | +MAC | +IP | +Actions | + {% for machine in machines_list %} - {% for interface in machine.interface_set.all %} -||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+ | |||||||||||||||
+ {{ 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 }} - | - {% endif %} +|||||||||||||
{% if interface.domain.related_domain.all %}
@@ -72,19 +78,26 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{{ interface.domain }}
{% endif %}
|
- {{ 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 %} + |
+
+
+
+ {% include 'buttons/history.html' with href='machines:history' name='interface' id=interface.id %}
+ {% include 'buttons/suppr.html' with href='machines:del-interface' id=interface.id %}
@@ -120,5 +123,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
| |