From f652606fe422412e4484dcdc9559441305aaa65d Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Mon, 26 Oct 2020 19:23:41 +0100 Subject: [PATCH] Affichage sans chevauchement sur toute la gamme de largeur --- machines/templates/machines/aff_portlist.html | 44 +++++++++++-------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/machines/templates/machines/aff_portlist.html b/machines/templates/machines/aff_portlist.html index 814e0b55..b01f407c 100644 --- a/machines/templates/machines/aff_portlist.html +++ b/machines/templates/machines/aff_portlist.html @@ -37,10 +37,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
-
+

{{ ports.name }}

-
+
{% can_edit ports %} {% include 'buttons/edit.html' with href='machines:edit-portlist' id=ports.id %} {% acl_end %} @@ -52,23 +52,29 @@ with this program; if not, write to the Free Software Foundation, Inc.,
-
- - - - - - - - - - - - - - - -
{% trans "TCP (input)" %}{% trans "TCP (output)" %}{% trans "UDP (input)" %}{% trans "UDP (output)" %}
{% for p in ports.tcp_ports_in %}{{ p.show_port }}, {% endfor %}{% for p in ports.tcp_ports_out %}{{ p.show_port }}, {% endfor %}{% for p in ports.udp_ports_in %}{{ p.show_port }}, {% endfor %}{% for p in ports.udp_ports_out %}{{ p.show_port }}, {% endfor %}
+
+
+
+ {% trans "TCP (input)" %} +
+ {% for p in ports.tcp_ports_in %}{{ p.show_port }}, {% endfor %} +
+
+ {% trans "TCP (output)" %} +
+ {% for p in ports.tcp_ports_out %}{{ p.show_port }}, {% endfor %} +
+
+ {% trans "UDP (input)" %} +
+ {% for p in ports.udp_ports_in %}{{ p.show_port }}, {% endfor %} +
+
+ {% trans "UDP (output)" %} +
+ {% for p in ports.udp_ports_out %}{{ p.show_port }}, {% endfor %} +
+