Changeset 5353
- Timestamp:
- 09/27/09 04:04:36 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
r5351 r5353 66 66 -- dunno yet 67 67 else 68 return " Unkown802.11 Wireless Controller"68 return "Generic 802.11 Wireless Controller" 69 69 end 70 70 end … … 161 161 <td colspan="2" style="text-align:left"> 162 162 <big><strong><%=state.hwname%> (<%=dev%>)</strong></big><br /> 163 <strong>Channel:</strong> <%=find_wifi_frequency(state)%> | 164 <strong>Bitrate:</strong> <%=(state and state.networks[1]) and (state.networks[1].info.bitrate / 1000) .. " Mb/s" or "n/a"%> 163 <% if state.networks[1] and state.networks[1].info then %> 164 <strong>Channel:</strong> <%=find_wifi_frequency(state)%> | 165 <strong>Bitrate:</strong> <%=state.networks[1].info.bitrate and (state.networks[1].info.bitrate / 1000) .. " Mb/s" or "n/a"%> 166 <% end %> 165 167 </td> 166 168 <td style="width:40px"> … … 177 179 <td></td> 178 180 <td class="cbi-value-field" style="width:16px; padding:3px"> 179 <img src="<%=guess_wifi_signal(net.info)%>" title="Signal: <%=net.info.signal %> dBm / Noise: <%=net.info.noise%> dBm" /><br />181 <img src="<%=guess_wifi_signal(net.info)%>" title="Signal: <%=net.info.signal or 0%> dBm / Noise: <%=net.info.noise or 0%> dBm" /><br /> 180 182 <small><%=percent_wifi_signal(net.info)%>%</small> 181 183 </td> … … 184 186 <strong>Mode:</strong> <%=net.info.mode%><br /> 185 187 <strong>BSSID:</strong> <%=net.info.bssid%> | 186 <strong>Encryption:</strong> <%=net.info.enctype %>188 <strong>Encryption:</strong> <%=net.info.enctype or "None"%> 187 189 </td> 188 190 <td class="cbi-value-field" style="width:40px">
