8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-28 18:03:45 +00:00

Table -> grid pour l'affichage sur telephone

This commit is contained in:
grisel-davy 2020-10-27 11:31:51 +01:00 committed by Gabriel Detraz
parent f652606fe4
commit 7b1aecf831

View file

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