projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modules/admin-full: rework wifi status templates
[project/luci.git]
/
modules
/
admin-full
/
luasrc
/
view
/
admin_network
/
wifi_overview.htm
diff --git
a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
index
615e766
..
29de11c
100644
(file)
--- a/
modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
+++ b/
modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
@@
-167,7
+167,7
@@
$Id$
{
if (is_assoc)
info.innerHTML = String.format(
{
if (is_assoc)
info.innerHTML = String.format(
- '<strong><%:SSID%>:</strong> %
s
| ' +
+ '<strong><%:SSID%>:</strong> %
h
| ' +
'<strong><%:Mode%>:</strong> %s<br />' +
'<strong><%:BSSID%>:</strong> %s | ' +
'<strong><%:Encryption%>:</strong> %s',
'<strong><%:Mode%>:</strong> %s<br />' +
'<strong><%:BSSID%>:</strong> %s | ' +
'<strong><%:Encryption%>:</strong> %s',
@@
-175,7
+175,12
@@
$Id$
iw.encryption ? iw.encryption.description : '<%:None%>'
);
else
iw.encryption ? iw.encryption.description : '<%:None%>'
);
else
- info.innerHTML = '<em><%:Wireless is disabled or not associated%></em>';
+ info.innerHTML = String.format(
+ '<strong><%:SSID%>:</strong> %h | ' +
+ '<strong><%:Mode%>:</strong> %s<br />' +
+ '<em><%:Wireless is disabled or not associated%></em>',
+ iw.ssid || '?', iw.mode
+ );
}
var dev = document.getElementById(wifidevs[iw.id] + '-iw-devinfo');
}
var dev = document.getElementById(wifidevs[iw.id] + '-iw-devinfo');