From: David Woodhouse Date: Tue, 9 Jun 2020 12:31:31 +0000 (+0100) Subject: luci-app-dawn: Add hostname and interface to network overview X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=14cd02ba9f317117841f9cdce269a91b541a48c4;p=oweals%2Fluci.git luci-app-dawn: Add hostname and interface to network overview Signed-off-by: David Woodhouse --- 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