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

Affichage sans chevauchement sur toute la gamme de largeurs

This commit is contained in:
grisel-davy 2020-10-26 19:15:51 +01:00
parent 8a67b0ca0e
commit 718e761d2a

View file

@ -45,9 +45,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</div> </div>
<div class="col-sm-4 text-center"> <div class="col-sm-4 text-center">
{% if type.need_infra %} {% if type.need_infra %}
<span class="text-success">{% trans "Infra right required" %} <span class="label label-success">{% trans "Infra right required" %}
{% else %} {% else %}
<span class="text-danger">{% trans "Infra right not required" %} <span class="label label-danger">{% trans "Infra right not required" %}
{% endif %} {% endif %}
</div> </div>
<div class="col-sm-2 text-right"> <div class="col-sm-2 text-right">
@ -60,27 +60,38 @@ 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-8">
<tr> <b>{% trans "IPv4 range" %}</b>
<th>{% trans "IPv4 range" %}</th> {{ type.domaine_ip_start }} - {{ type.domaine_ip_stop }}
<th>{% trans "v6 prefix" %}</th> {% if type.ip_network %}
<th>{% trans "DNSSEC reverse v4/v6" %}</th>
<th>{% trans "On VLAN(s)" %}</th>
<th>{% trans "Default ports opening" %}</th>
</tr>
</thead>
<tr>
<td>{{ type.domaine_ip_start }}-{{ type.domaine_ip_stop }}{% if type.ip_network %}
<b><u> on </u></b> <b><u> on </u></b>
{{ type.ip_network }}{% endif %}</td> {{ type.ip_network }}{% endif %}
<td>{{ type.prefix_v6 }}/{{ type.prefix_v6_length }}</td> </div>
<td>{{ type.reverse_v4|tick }}/{{ type.reverse_v6|tick }}</td> <div class="col-sm-4">
<td>{{ type.vlan }}</td> <b>{% trans "v6 prefix" %}</b>
<td>{{ type.ouverture_ports }}</td> {{ type.prefix_v6 }} /{{ type.prefix_v6_length }}
</tr> </div>
</table> </div>
</br>
<div class="row">
<div class="col-sm-4">
<b>{% trans "DNSSEC reverse v4/v6" %}</b>
</br>
{{ type.reverse_v4|tick }}/{{ type.reverse_v6|tick }}
</div>
<div class="col-sm-4">
<b>{% trans "On VLAN(s)" %}</b>
</br>
{{ type.vlan }}
</div>
<div class="col-sm-4">
<b>{% trans "Default ports opening" %}</b>
</br>
{{ type.ouverture_ports }}
</div>
</div>
</div> </div>
</div> </div>
</div> </div>