8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 22:22:26 +00:00

Affichage sans chevauchement sur toute la gamme de largeur

This commit is contained in:
grisel-davy 2020-10-26 19:23:41 +01:00
parent 718e761d2a
commit 0a2c48da6b

View file

@ -37,10 +37,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="panel-heading"> <div class="panel-heading">
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-sm-3"> <div class="col-sm-9">
<h4>{{ ports.name }}</h4> <h4>{{ ports.name }}</h4>
</div> </div>
<div class="col-sm-9 text-right"> <div class="col-sm-3 text-right">
{% can_edit ports %} {% can_edit ports %}
{% include 'buttons/edit.html' with href='machines:edit-portlist' id=ports.id %} {% include 'buttons/edit.html' with href='machines:edit-portlist' id=ports.id %}
{% acl_end %} {% acl_end %}
@ -52,23 +52,29 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</div> </div>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="table-responsive"> <div class="container-fluid">
<table class="table table-striped"> <div class="row">
<thead> <div class="col-sm-3">
<tr> <b>{% trans "TCP (input)" %}</b>
<th>{% trans "TCP (input)" %}</th> </br>
<th>{% trans "TCP (output)" %}</th> {% for p in ports.tcp_ports_in %}{{ p.show_port }}, {% endfor %}
<th>{% trans "UDP (input)" %}</th> </div>
<th>{% trans "UDP (output)" %}</th> <div class="col-sm-3">
</tr> <b>{% trans "TCP (output)" %}</b>
</thead> </br>
<tr> {% for p in ports.tcp_ports_out %}{{ p.show_port }}, {% endfor %}
<td>{% for p in ports.tcp_ports_in %}{{ p.show_port }}, {% endfor %}</td> </div>
<td>{% for p in ports.tcp_ports_out %}{{ p.show_port }}, {% endfor %}</td> <div class="col-sm-3">
<td>{% for p in ports.udp_ports_in %}{{ p.show_port }}, {% endfor %}</td> <b>{% trans "UDP (input)" %}</b>
<td>{% for p in ports.udp_ports_out %}{{ p.show_port }}, {% endfor %}</td> </br>
</tr> {% for p in ports.udp_ports_in %}{{ p.show_port }}, {% endfor %}
</table> </div>
<div class="col-sm-3">
<b>{% trans "UDP (output)" %}</b>
</br>
{% for p in ports.udp_ports_out %}{{ p.show_port }}, {% endfor %}
</div>
</div>
</div> </div>
</div> </div>
<div class="panel-footer"> <div class="panel-footer">