mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
firewall: Show port forwarding info in tabular format
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
4aa8e6da09
commit
495f93af24
@ -15,9 +15,22 @@
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
{% for port in port_forwarding_info %}
|
||||
<li>{{ port.0 }} {{ port.1 }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<table class="table table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans "Protocol" %}</th>
|
||||
<th>{% trans "From Router/WAN Ports" %}</th>
|
||||
<th>{% blocktrans %}To {{box_name}} Ports{% endblocktrans %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for port in port_forwarding_info %}
|
||||
<tr>
|
||||
<td>{{ port.0 }}</td>
|
||||
<td>{{ port.1 }}</td>
|
||||
<td>{{ port.1 }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user