X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_network%2Fwifi_overview.htm;h=22d27cb1cd59c3eb754cf62a90341e62f511d4f7;hb=86e17aa65773a07b1f48e14bb02b97d18a210ece;hp=485ad4069d8fe6a24ddaad0777cfdfe80d1b82a4;hpb=fd052a6e648c309daacf0d0186f632f466e437d0;p=project%2Fluci.git 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 485ad4069..22d27cb1c 100644 --- a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm +++ b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm @@ -113,7 +113,7 @@ $Id$ <% if not has_iwinfo then %>
<%:Package libiwinfo required!%>
- <%_The libiwinfo package is not installed. You must install this component for working wireless configuration!%> + <%_The libiwinfo-lua package is not installed. You must install this component for working wireless configuration!%>
<% end %> @@ -213,13 +213,13 @@ $Id$ { if (is_assoc) { - toggle.style.backgroundImage = 'url(<%=resource%>/cbi/reset.gif)'; + toggle.className = 'cbi-button cbi-button-reset'; toggle.value = '<%:Disable%>'; toggle.title = '<%:Shutdown this network%>'; } else { - toggle.style.backgroundImage = 'url(<%=resource%>/cbi/reload.gif)'; + toggle.className = 'cbi-button cbi-button-reload'; toggle.value = '<%:Enable%>'; toggle.title = '<%:Activate this network%>'; } @@ -300,7 +300,7 @@ $Id$ icon, assoclist[j].signal, assoclist[j].noise ); - tr.insertCell(-1).innerHTML = iw.ssid ? iw.ssid : '?'; + tr.insertCell(-1).innerHTML = String.format('%h', iw.ssid ? iw.ssid : '?'); tr.insertCell(-1).innerHTML = assoclist[j].bssid; tr.insertCell(-1).innerHTML = arptable[assoclist[j].bssid] @@ -309,6 +309,16 @@ $Id$ tr.insertCell(-1).innerHTML = String.format('%d dBm', assoclist[j].signal); tr.insertCell(-1).innerHTML = String.format('%d dBm', assoclist[j].noise); + tr.insertCell(-1).innerHTML = (assoclist[j].rx_mcs > -1) + ? String.format('%.1f Mbit/s, MCS %d, %dMHz', assoclist[j].rx_rate / 1000, assoclist[j].rx_mcs, assoclist[j].rx_40mhz ? 40 : 20) + : String.format('%.1f Mbit/s', assoclist[j].rx_rate / 1000) + ; + + tr.insertCell(-1).innerHTML = (assoclist[j].tx_mcs > -1) + ? String.format('%.1f Mbit/s, MCS %d, %dMHz', assoclist[j].tx_rate / 1000, assoclist[j].tx_mcs, assoclist[j].tx_40mhz ? 40 : 20) + : String.format('%.1f Mbit/s', assoclist[j].tx_rate / 1000) + ; + rowstyle = (rowstyle == 1) ? 2 : 1; } } @@ -320,7 +330,7 @@ $Id$ tr.className = 'cbi-section-table-row'; var td = tr.insertCell(-1); - td.colSpan = 6; + td.colSpan = 8; td.innerHTML = '
<%:No information available%>'; } @@ -356,9 +366,9 @@ $Id$ <%=guess_wifi_hw(dev:name())%> (<%=dev:name()%>)
- - ?device=<%=dev:name()%>'" title="<%:Find and join network%>" value="<%:Scan%>" /> - ?device=<%=dev:name()%>'" title="<%:Provide new network%>" value="<%:Add%>" /> + + ?device=<%=dev:name()%>'" title="<%:Find and join network%>" value="<%:Scan%>" /> + ?device=<%=dev:name()%>'" title="<%:Provide new network%>" value="<%:Add%>" /> @@ -375,10 +385,10 @@ $Id$ <%:Collecting data...%> - - - - '" title="<%:Delete this network%>" value="<%:Remove%>" /> + + + + '" title="<%:Delete this network%>" value="<%:Remove%>" /> <% end %> @@ -400,7 +410,7 @@ $Id$

<%:Associated Stations%>

- +
@@ -408,9 +418,11 @@ $Id$ + + -
<%:SSID%><%:Address%> <%:Signal%> <%:Noise%><%:RX Rate%><%:TX Rate%>
+ <%:Collecting data...%>