From 7f25212a0549fa16358f36adcb48aa00d65ed4d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Sat, 16 Jun 2018 13:29:47 +0000 Subject: [PATCH] Force the dropdown of edit machine to be align with the edit button --- machines/templates/machines/aff_machines.html | 120 +++++++++--------- 1 file changed, 61 insertions(+), 59 deletions(-) diff --git a/machines/templates/machines/aff_machines.html b/machines/templates/machines/aff_machines.html index 986e1765..0020d8b3 100644 --- a/machines/templates/machines/aff_machines.html +++ b/machines/templates/machines/aff_machines.html @@ -44,7 +44,7 @@ with this program; if not, write to the Free Software Foundation, Inc., IP Actions - {% for machine in machines_list %} + {% for machine in machines_list %} {{ machine.name|default:'Pas de nom' }} @@ -53,26 +53,26 @@ with this program; if not, write to the Free Software Foundation, Inc., - {% can_create Interface machine.id %} + {% can_create Interface machine.id %} {% include 'buttons/add.html' with href='machines:new-interface' id=machine.id desc='Ajouter une interface' %} - {% acl_end %} + {% acl_end %} {% include 'buttons/history.html' with href='machines:history' name='machine' id=machine.id %} - {% can_delete machine %} + {% can_delete machine %} {% include 'buttons/suppr.html' with href='machines:del-machine' id=machine.id %} - {% acl_end %} + {% acl_end %} {% for interface in machine.interface_set.all %} - {% if interface.domain.related_domain.all %} - {{ interface.domain }} - - {% else %} + {% else %} {{ interface.domain }} - {% endif %} + {% endif %} {{ interface.type }} @@ -85,50 +85,52 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if ipv6_enabled and interface.ipv6 != 'None'%} IPv6 - + {% endif %} -