From 14cd02ba9f317117841f9cdce269a91b541a48c4 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Tue, 9 Jun 2020 13:31:31 +0100 Subject: luci-app-dawn: Add hostname and interface to network overview Signed-off-by: David Woodhouse --- applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_network.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_network.lua b/applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_network.lua index c626a3d0c..222778162 100644 --- a/applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_network.lua +++ b/applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_network.lua @@ -33,6 +33,8 @@ function s.render(self, sid)
+
Hostname
+
Interface
MAC
Utilization
Frequency
@@ -41,6 +43,8 @@ function s.render(self, sid)
VHT Sup
+
<%= data.hostname %>
+
<%= data.iface %>
<%= mac %>
<%= "%.2f" %(data.channel_utilization / 2.55) %> %
<%= "%.3f" %( data.freq / 1000 ) %> GHz (Channel: <%= "%d" %( status.frequency_to_channel(data.freq) ) %>)
@@ -89,4 +93,4 @@ function s.render(self, sid) ]]) end -return m \ No newline at end of file +return m -- cgit v1.2.3