8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00

Affichage améliorer avec 2 footers

This commit is contained in:
grisel-davy 2020-10-27 11:41:46 +01:00 committed by Gabriel Detraz
parent 7b1aecf831
commit 0a1aabd4e2

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 "Speed limit" %}</th>
<th>{% trans "MAC address limit" %}</th>
<th>{% trans "Security" %}</th>
</tr>
</thead>
<tr>
<td>
{{ 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 %}
</td>
<td>
@ -72,11 +71,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endif %}
<td>{{ port_profile.speed }}</td>
<td>{{ port_profile.mac_limit }}</td>
<td>{{ port_profile.security_parameters_enabled|join:"<br>" }}</td>
</tr>
</table>
</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="container-fluid">
<div class="row">