i2p: Show port forwarding information

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa committed 2019-05-13 15:54:24 -07:00
1 parent ad5b34ed35
commit 4bfb1accfb
3 files changed
+9

No files matched your search

+6
View File
@@ -60,6 +60,12 @@ proxies_service = None
manual_page = 'I2P'
port_forwarding_info = [
('TCP', 4444),
('TCP', 4445),
('TCP', 6668),
]
tunnels_to_manage = {
'I2P HTTP Proxy': 'i2p-http-proxy-freedombox',
'I2P HTTPS Proxy': 'i2p-https-proxy-freedombox',
+2
View File
@@ -49,6 +49,8 @@
{% endif %}
{% endblock %}
{% include "port-forwarding-info.html" with service_name=title %}
<h3>{% trans "Configuration" %}</h3>
<form class="form form-configuration" method="post">
+1
View File
@@ -56,6 +56,7 @@ class I2PServiceView(ServiceView):
context['clients'] = i2p.clients
context['manual_page'] = i2p.manual_page
context['subsubmenu'] = subsubmenu
context['port_forwarding_info'] = i2p.port_forwarding_info
return context