summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-03-13 19:08:40 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-03-13 19:08:40 +0000
commit2321cd2afe89035478faf341fb62ea449e6c08ba (patch)
treec89b3e540b296dd01ab0a36cbb2bbc6f3b41a96a /modules/admin-full/luasrc
parent02a7db92524ba1fd67f2a38a286b748b19fd8e67 (diff)
modules/admin-full: add some links to index page
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/view/admin_status/index.htm14
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/admin-full/luasrc/view/admin_status/index.htm b/modules/admin-full/luasrc/view/admin_status/index.htm
index 230a70272..3e73eb13b 100644
--- a/modules/admin-full/luasrc/view/admin_status/index.htm
+++ b/modules/admin-full/luasrc/view/admin_status/index.htm
@@ -170,8 +170,9 @@ $Id$
ss.innerHTML = String.format('<small>%s</small>', s);
si.innerHTML = String.format(
- '<a href="%s"><img src="<%=resource%>/icons/ethernet.png" /></a>' +
- '<br /><small>%s</small>', ifc.link, ifc.ifname
+ '<img src="<%=resource%>/icons/ethernet.png" />' +
+ '<br /><small><a href="%s">%s</a></small>',
+ ifc.link, ifc.ifname
);
}
else
@@ -212,8 +213,9 @@ $Id$
ss6.innerHTML = String.format('<small>%s</small>', s);
si6.innerHTML = String.format(
- '<a href="%s"><img src="<%=resource%>/icons/ethernet.png" /></a>' +
- '<br /><small>%s</small>', ifc6.link, ifc6.ifname
+ '<img src="<%=resource%>/icons/ethernet.png" />' +
+ '<br /><small><a href="%s">%s</a></small>',
+ ifc6.link, ifc6.ifname
);
}
else
@@ -311,13 +313,13 @@ $Id$
'<img src="%s" title="<%:Signal%>: %d dBm / Noise: <%:Noise%>: %d dBm" />' +
'<br /><small>%d%%</small>' +
'</td><td style="text-align:left; padding:3px"><small>' +
- '<strong><%:SSID%>:</strong> %h<br />' +
+ '<strong><%:SSID%>:</strong> <a href="%s">%h</a><br />' +
'<strong><%:Mode%>:</strong> %s<br />' +
'<strong><%:Channel%>:</strong> %d (%.2f GHz)<br />' +
'<strong><%:Bitrate%>:</strong> %s Mb/s<br />',
icon, net.signal, net.noise,
net.quality,
- net.ssid,
+ net.link, net.ssid,
net.mode,
net.channel, net.frequency,
net.bitrate || '?'