From b53997836f5eaca421d26b06ecbc4a708c4fb853 Mon Sep 17 00:00:00 2001 From: "aiyion.prime" Date: Thu, 13 May 2021 19:43:05 +0200 Subject: [PATCH] gluon-status-page: show vpn protocol --- .../files/lib/gluon/status-page/view/status-page.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/gluon-status-page/files/lib/gluon/status-page/view/status-page.html b/package/gluon-status-page/files/lib/gluon/status-page/view/status-page.html index 1fa46c12..d9210479 100644 --- a/package/gluon-status-page/files/lib/gluon/status-page/view/status-page.html +++ b/package/gluon-status-page/files/lib/gluon/status-page/view/status-page.html @@ -114,8 +114,14 @@
<%:Primary MAC address%>
<%| nodeinfo.network.mac %>
<%:IP address%>
<%= pcdata(table.concat(sorted(nodeinfo.network.addresses), '\n')):gsub('\n', '
') %>
<%:Firmware%>
<%| nodeinfo.software.firmware.release %>
- <% if nodeinfo.software.fastd then -%> -
<%:Mesh VPN%>
<%| enabled(nodeinfo.software.fastd.enabled) %>
+ <% if nodeinfo.network.mesh_vpn then -%> +
<%:Mesh VPN%>
+
+ <%| enabled(nodeinfo.network.mesh_vpn.enabled) %> + <% if nodeinfo.network.mesh_vpn.provider then -%> +
<%| nodeinfo.network.mesh_vpn.provider %> + <%- end %> +
<%- end %>
<%:Site%>
<%| site.site_name() %>
<% if nodeinfo.system.domain_code then -%>