Browse Source

Affichage sans chevauchement sur toute la gamme de largeur

release-2.9
grisel-davy 5 years ago
committed by Gabriel Detraz
parent
commit
f652606fe4
  1. 44
      machines/templates/machines/aff_portlist.html

44
machines/templates/machines/aff_portlist.html

@ -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">

Loading…
Cancel
Save