gluon-status-page: show vpn protocol
This commit is contained in:
parent
b2414ec4a9
commit
b53997836f
@ -114,8 +114,14 @@
|
|||||||
<dt><%:Primary MAC address%></dt><dd><%| nodeinfo.network.mac %></dd>
|
<dt><%:Primary MAC address%></dt><dd><%| nodeinfo.network.mac %></dd>
|
||||||
<dt><%:IP address%></dt><dd><%= pcdata(table.concat(sorted(nodeinfo.network.addresses), '\n')):gsub('\n', '<br />') %></dd>
|
<dt><%:IP address%></dt><dd><%= pcdata(table.concat(sorted(nodeinfo.network.addresses), '\n')):gsub('\n', '<br />') %></dd>
|
||||||
<dt><%:Firmware%></dt><dd><%| nodeinfo.software.firmware.release %></dd>
|
<dt><%:Firmware%></dt><dd><%| nodeinfo.software.firmware.release %></dd>
|
||||||
<% if nodeinfo.software.fastd then -%>
|
<% if nodeinfo.network.mesh_vpn then -%>
|
||||||
<dt><%:Mesh VPN%></dt><dd><%| enabled(nodeinfo.software.fastd.enabled) %></dd>
|
<dt><%:Mesh VPN%></dt>
|
||||||
|
<dd>
|
||||||
|
<%| enabled(nodeinfo.network.mesh_vpn.enabled) %>
|
||||||
|
<% if nodeinfo.network.mesh_vpn.provider then -%>
|
||||||
|
<br /><%| nodeinfo.network.mesh_vpn.provider %>
|
||||||
|
<%- end %>
|
||||||
|
</dd>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
<dt><%:Site%></dt><dd><%| site.site_name() %></dd>
|
<dt><%:Site%></dt><dd><%| site.site_name() %></dd>
|
||||||
<% if nodeinfo.system.domain_code then -%>
|
<% if nodeinfo.system.domain_code then -%>
|
||||||
|
Loading…
Reference in New Issue
Block a user