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

Affichage améliorer avec 2 footers

This commit is contained in:
grisel-davy 2020-10-27 11:41:46 +01:00
parent b5c01bf58f
commit 7bedf0c9dc

View file

@ -54,14 +54,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<th>{% trans "RADIUS settings" %}</th> <th>{% trans "RADIUS settings" %}</th>
<th>{% trans "Speed limit" %}</th> <th>{% trans "Speed limit" %}</th>
<th>{% trans "MAC address limit" %}</th> <th>{% trans "MAC address limit" %}</th>
<th>{% trans "Security" %}</th>
</tr> </tr>
</thead> </thead>
<tr> <tr>
<td> <td>
{{ port_profile.profil_default }} {{ port_profile.profil_default }}
{% if port_profile.profil_default%} {% if port_profile.profil_default%}
<b> - {% if port_profile.on_dormitory %}{% blocktrans with dorm=port_profile.on_dormitory %} on {{ dorm }}{% endblocktrans %}{% else %}{% trans "Everywhere" %}{% endif %}</b> {% if port_profile.on_dormitory %}{% blocktrans with dorm=port_profile.on_dormitory %}<b> on</b> {{ dorm }}{% endblocktrans %}{% else %}{% trans "Everywhere" %}{% endif %}
{% endif %} {% endif %}
</td> </td>
<td> <td>
@ -72,11 +71,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endif %} {% endif %}
<td>{{ port_profile.speed }}</td> <td>{{ port_profile.speed }}</td>
<td>{{ port_profile.mac_limit }}</td> <td>{{ port_profile.mac_limit }}</td>
<td>{{ port_profile.security_parameters_enabled|join:"<br>" }}</td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>
{% if port_profile.security_parameters_enabled %}
<div class="panel-footer">
<p class="text-warning"><b>{% trans "Security" %}: </b>{{ port_profile.security_parameters_enabled|join:", " }}
</div>
{% endif %}
<div class="panel-footer"> <div class="panel-footer">
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">