X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-app-travelmate%2Fluasrc%2Fview%2Ftravelmate%2Fstations.htm;h=11c36d427ccc0e9f17b87078c62781cd1552a1d5;hp=41c9f5267da1112b6526bf460355a4e5bddf0d69;hb=c7b39ae08f29f49b8b014054161b8b34a4cda8fb;hpb=b110746b982c68e6e27c693a37862827d65bec9f diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm index 41c9f5267..11c36d427 100644 --- a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm +++ b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm @@ -4,8 +4,8 @@ This is free software, licensed under the Apache License, Version 2.0 -%> <%- - local write = io.write - local uci = require "luci.model.uci".cursor() + local write = io.write + local uci = require("luci.model.uci").cursor() local trmiface = uci:get("travelmate", "global", "trm_iface") or "trm_wwan" -%> @@ -22,6 +22,7 @@ This is free software, licensed under the Apache License, Version 2.0 <%:Device%> <%:SSID%> + <%:BSSID%> <%:Encryption%> <%:Actions%> @@ -29,11 +30,11 @@ This is free software, licensed under the Apache License, Version 2.0 uci:foreach("wireless", "wifi-iface", function(s) local iface = s.network or "" if iface == trmiface then - local section = s['.name'] - local device = s.device or "" - local mode = s.mode or "" - local ssid = s.ssid or "" - local encryption = s.encryption or "" + local section = s['.name'] or "" + local device = s.device or "-" + local ssid = s.ssid or "-" + local bssid = s.bssid or "-" + local encryption = s.encryption or "-" local disabled = s.disabled or "" local style = "color:#000000" if disabled == "0" then @@ -43,14 +44,15 @@ This is free software, licensed under the Apache License, Version 2.0 <%=device%> <%=ssid%> + <%=bssid%> <%=encryption%> - - + + - - + + <% @@ -64,7 +66,7 @@ This is free software, licensed under the Apache License, Version 2.0 uci:foreach("wireless", "wifi-device", function(s) local device = s[".name"] %> -
+