modules/admin-full: add some links to index page

This commit is contained in:
Jo-Philipp Wich 2011-03-13 19:08:40 +00:00
parent 02a7db9252
commit 2321cd2afe

View file

@ -170,8 +170,9 @@ $Id$
ss.innerHTML = String.format('<small>%s</small>', s); ss.innerHTML = String.format('<small>%s</small>', s);
si.innerHTML = String.format( si.innerHTML = String.format(
'<a href="%s"><img src="<%=resource%>/icons/ethernet.png" /></a>' + '<img src="<%=resource%>/icons/ethernet.png" />' +
'<br /><small>%s</small>', ifc.link, ifc.ifname '<br /><small><a href="%s">%s</a></small>',
ifc.link, ifc.ifname
); );
} }
else else
@ -212,8 +213,9 @@ $Id$
ss6.innerHTML = String.format('<small>%s</small>', s); ss6.innerHTML = String.format('<small>%s</small>', s);
si6.innerHTML = String.format( si6.innerHTML = String.format(
'<a href="%s"><img src="<%=resource%>/icons/ethernet.png" /></a>' + '<img src="<%=resource%>/icons/ethernet.png" />' +
'<br /><small>%s</small>', ifc6.link, ifc6.ifname '<br /><small><a href="%s">%s</a></small>',
ifc6.link, ifc6.ifname
); );
} }
else else
@ -311,13 +313,13 @@ $Id$
'<img src="%s" title="<%:Signal%>: %d dBm / Noise: <%:Noise%>: %d dBm" />' + '<img src="%s" title="<%:Signal%>: %d dBm / Noise: <%:Noise%>: %d dBm" />' +
'<br /><small>%d%%</small>' + '<br /><small>%d%%</small>' +
'</td><td style="text-align:left; padding:3px"><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><%:Mode%>:</strong> %s<br />' +
'<strong><%:Channel%>:</strong> %d (%.2f GHz)<br />' + '<strong><%:Channel%>:</strong> %d (%.2f GHz)<br />' +
'<strong><%:Bitrate%>:</strong> %s Mb/s<br />', '<strong><%:Bitrate%>:</strong> %s Mb/s<br />',
icon, net.signal, net.noise, icon, net.signal, net.noise,
net.quality, net.quality,
net.ssid, net.link, net.ssid,
net.mode, net.mode,
net.channel, net.frequency, net.channel, net.frequency,
net.bitrate || '?' net.bitrate || '?'