From 495f93af2485e9148de1334fe4caba775d1172db Mon Sep 17 00:00:00 2001
From: Sunil Mohan Adapa
Date: Wed, 2 Sep 2020 14:45:49 -0700
Subject: [PATCH] firewall: Show port forwarding info in tabular format
Signed-off-by: Sunil Mohan Adapa
Reviewed-by: Veiko Aasa
---
plinth/templates/port-forwarding-info.html | 23 +++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/plinth/templates/port-forwarding-info.html b/plinth/templates/port-forwarding-info.html
index 3c9c94670..a7b2211a8 100644
--- a/plinth/templates/port-forwarding-info.html
+++ b/plinth/templates/port-forwarding-info.html
@@ -15,9 +15,22 @@
{% endblocktrans %}
-
- {% for port in port_forwarding_info %}
- - {{ port.0 }} {{ port.1 }}
- {% endfor %}
-
+
+
+
+ | {% trans "Protocol" %} |
+ {% trans "From Router/WAN Ports" %} |
+ {% blocktrans %}To {{box_name}} Ports{% endblocktrans %} |
+
+
+
+ {% for port in port_forwarding_info %}
+
+ | {{ port.0 }} |
+ {{ port.1 }} |
+ {{ port.1 }} |
+
+ {% endfor %}
+
+
{% endif %}