X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-app-travelmate%2Fluasrc%2Fview%2Ftravelmate%2Fstations.htm;h=75e52aeb27323d5b217ab48167a1a2a08a68a99b;hp=cbb6c189b8132697497d3bdcee44611c6d8e0571;hb=85342e2c03129b9588390eebfd3475ff892c6198;hpb=5d35777a34d3fda12d7947047351a5151107771e
diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm
index cbb6c189b..75e52aeb2 100644
--- a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm
+++ b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm
@@ -1,18 +1,17 @@
<%#
-Copyright 2017 Dirk Brenken (dev@brenken.org)
+Copyright 2017-2018 Dirk Brenken (dev@brenken.org)
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"
-%>
<%+header%>
-
<%:Wireless Stations%>
<%=translatef("Provides an overview of all configured uplinks for the travelmate interface (%s). You can edit, delete or re-order existing uplinks or scan for a new one. The currently used uplink is emphasized in blue.", trmiface)%>
@@ -22,6 +21,7 @@ This is free software, licensed under the Apache License, Version 2.0
<%:Device%>
<%:SSID%>
+
<%:BSSID%>
<%:Encryption%>
<%:Actions%>
@@ -30,26 +30,28 @@ This is free software, licensed under the Apache License, Version 2.0
local iface = s.network or ""
if iface == trmiface then
local section = s['.name'] or ""
- local device = s.device or ""
- local ssid = s.ssid or ""
- local encryption = s.encryption 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"
+ local style = "text-align:left;color:#000000"
if disabled == "0" then
- style = "color:#0069d6;font-weight:bold"
+ style = "text-align:left;color:#0069d6;font-weight:bold"
end
%>
-
<%=device%>
-
<%=ssid%>
-
<%=encryption%>
-
-
-
+
<%=device%>
+
<%=ssid%>
+
<%=bssid%>
+
<%=encryption%>
+
+
+
-
-
-
+
+
+
<%
@@ -63,10 +65,10 @@ This is free software, licensed under the Apache License, Version 2.0
uci:foreach("wireless", "wifi-device", function(s)
local device = s[".name"]
%>
-
<%
end)