8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-09-17 19:53:08 +00:00

Table -> grid pour l'affichage sur telephone

This commit is contained in:
grisel-davy 2020-10-27 11:31:51 +01:00
parent 0a2c48da6b
commit b5c01bf58f

View file

@ -60,25 +60,34 @@ 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-repsonsive"> <div class="container-fluid">
<table class="table"> <div class="row">
<thead> <div class="col-sm-3">
<tr> <b>{% trans "IPv4 address"%}</b>
<th>{% trans "IPv4 address"%}</th> </br>
<th>{% trans "Ports"%}</th> {{ switch.interface_set.first.ipv4 }}
<th>{% trans "Stack"%}</th> </div>
<th>{% trans "Stack member ID" %}</th> <div class="col-sm-2">
<th>{% trans "Switch model" %}</th> <b>{% trans "Ports"%}</b>
</tr> </br>
</thead> {{ switch.number }}
<tr> </div>
<td>{{ switch.interface_set.first.ipv4 }}</td> <div class="col-sm-2">
<td>{{ switch.number }}</td> <b>{% trans "Stack"%}</b>
<td>{{ switch.stack.name }}</td> </br>
<td>{{ switch.stack_member_id }}</td> {{ switch.stack.name }}
<td>{{ switch.model }}</td> </div>
</tr> <div class="col-sm-2">
</table> <b>{% trans "Stack member ID" %}</b>
</br>
{{ switch.stack_member_id }}
</div>
<div class="col-sm-3">
<b>{% trans "Switch model" %}</b>
</br>
{{ switch.model }}
</div>
</div>
</div> </div>
</div> </div>
{% if switch.interface_set.first.details %} {% if switch.interface_set.first.details %}