modules/admin-full: add some links to index page
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 13 Mar 2011 19:08:40 +0000 (19:08 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 13 Mar 2011 19:08:40 +0000 (19:08 +0000)
modules/admin-full/luasrc/view/admin_status/index.htm

index 230a7027234adfa8d228aeeb7a25b28c09e29d15..3e73eb13b36a5b03417fcd8a2dd6c9544606fe4a 100644 (file)
@@ -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 || '?'