8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-07-02 04:04:06 +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> <b><u> on </u></b>
<th>{% trans "On VLAN(s)" %}</th> {{ type.ip_network }}{% endif %}
<th>{% trans "Default ports opening" %}</th> </div>
</tr> <div class="col-sm-4">
</thead> <b>{% trans "v6 prefix" %}</b>
<tr> {{ type.prefix_v6 }} /{{ type.prefix_v6_length }}
<td>{{ type.domaine_ip_start }}-{{ type.domaine_ip_stop }}{% if type.ip_network %} </div>
<b><u> on </u></b> </div>
{{ type.ip_network }}{% endif %}</td> </br>
<td>{{ type.prefix_v6 }}/{{ type.prefix_v6_length }}</td> <div class="row">
<td>{{ type.reverse_v4|tick }}/{{ type.reverse_v6|tick }}</td> <div class="col-sm-4">
<td>{{ type.vlan }}</td> <b>{% trans "DNSSEC reverse v4/v6" %}</b>
<td>{{ type.ouverture_ports }}</td> </br>
</tr> {{ type.reverse_v4|tick }}/{{ type.reverse_v6|tick }}
</table> </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>