From 81f52d429081bba20a898d3a6ed5ad7241cbadc0 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sat, 29 Jul 2017 10:02:21 +0200 Subject: luci-app-travelmate: enhancements & fixes * Further optimized Station Overview & Scan page, especially for mobile devices * add a "Rescan" button in manual mode on overview page * XHTML fixes Signed-off-by: Dirk Brenken --- .../luasrc/view/travelmate/stations.htm | 35 ++++++++++------------ 1 file changed, 16 insertions(+), 19 deletions(-) (limited to 'applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm') diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm index bdb265f195..f1c6be1628 100644 --- a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm +++ b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm @@ -3,7 +3,6 @@ Copyright 2017 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() @@ -14,17 +13,17 @@ This is free software, licensed under the Apache License, Version 2.0

<%:Wireless Stations%>

-
<%:Provides an overview of all configured uplink interfaces for travelmate. You can edit and delete existing interfaces or scan for new uplinks.%>
+
+ <%:Provides an overview of all configured uplinks for the travelmate interface (%><%=trmiface%><%:). You can edit, delete or re-order existing uplinks or scan for a new one. The currently used uplink is emphasized in blue.%> +
- - - + <% local pos = 1 @@ -39,24 +38,21 @@ This is free software, licensed under the Apache License, Version 2.0 local disabled = s.disabled or "" local style = "color:#000000" if disabled == "0" then - style = "color:#0069d6" + style = "color:#0069d6;font-weight:bold" end if iface == trmiface then %> - + - - - - - <% @@ -71,13 +67,14 @@ This is free software, licensed under the Apache License, Version 2.0 local device = s[".name"] %> - - - + + + <% end) %> + <%+footer%> -- cgit v1.2.3
<%:Device%><%:Mode%><%:Uplink Interface%> <%:SSID%> <%:Encryption%><%:Disabled%><%:Actions%>
<%=device%><%=mode%><%=iface%> <%=ssid%> <%=encryption%><%=disabled%> - - + + + - - + + +