Unverified Commit 64f4095c authored by David Bauer's avatar David Bauer Committed by GitHub
Browse files

gluon-status-page: add wireless client count (#2085)

This adds the wireless client count for 2.4GHz and 5 GHz radios to the
status page. Previously, only the total client count advertised by
the mesh protocol was visible.
parent 96f1547d
......@@ -142,7 +142,13 @@
<tr><th><%:RAM%></th><td><%= statistics('memory', 'memory') %></td></tr>
<tr><th><%:Filesystem%></th><td><%= statistics('rootfs_usage', 'percent') %></td></tr>
<tr><th><%:Gateway%></th><td><%= statistics('gateway') %><br /><%= statistics('gateway_nexthop', 'neighbour') %></td></tr>
<tr><th><%:Clients%></th><td><%= statistics('clients/total') %></td></tr>
</table>
<h3><%:Clients%></h3>
<table>
<tr><th><%:Total%></th><td><%= statistics('clients/total') %></td></tr>
<tr><th><%:Wireless 2.4 GHz%></th><td><%= statistics('clients/wifi24') %></td></tr>
<tr><th><%:Wireless 5 GHz%></th><td><%= statistics('clients/wifi5') %></td></tr>
</table>
<h3><%:Traffic%></h3>
......
......@@ -55,9 +55,6 @@ msgstr "Weitergeleitet"
msgid "Gateway"
msgstr "Gateway"
msgid "Gateway Nexthop"
msgstr "Gateway Nexthop"
msgid "IP address"
msgstr "IP-Adresse"
......@@ -106,6 +103,9 @@ msgstr "Site"
msgid "Status"
msgstr "Status"
msgid "Total"
msgstr "Gesamt"
msgid "Traffic"
msgstr ""
......@@ -115,6 +115,12 @@ msgstr "Gesendet"
msgid "Uptime"
msgstr "Laufzeit"
msgid "Wireless 2.4 GHz"
msgstr ""
msgid "Wireless 5 GHz"
msgstr ""
msgid "connected"
msgstr "verbunden"
......@@ -126,3 +132,6 @@ msgstr "aktiviert"
msgid "not connected"
msgstr "nicht verbunden"
#~ msgid "Gateway Nexthop"
#~ msgstr "Gateway Nexthop"
......@@ -46,9 +46,6 @@ msgstr ""
msgid "Gateway"
msgstr ""
msgid "Gateway Nexthop"
msgstr ""
msgid "IP address"
msgstr ""
......@@ -97,6 +94,9 @@ msgstr ""
msgid "Status"
msgstr ""
msgid "Total"
msgstr ""
msgid "Traffic"
msgstr ""
......@@ -106,6 +106,12 @@ msgstr ""
msgid "Uptime"
msgstr ""
msgid "Wireless 2.4 GHz"
msgstr ""
msgid "Wireless 5 GHz"
msgstr ""
msgid "connected"
msgstr ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment