diff options
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm')
-rw-r--r-- | applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm index e79fb0c95..ee58f52e1 100644 --- a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm +++ b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm @@ -35,9 +35,13 @@ This is free software, licensed under the Apache License, Version 2.0 local ssid = s.ssid or "" local encryption = s.encryption or "" local disabled = s.disabled or "" + local style = "color:#000000" + if disabled == "0" then + style = "color:#0069d6" + end if iface == trmiface then %> - <tr class="cbi-section-table-row cbi-rowstyle-6"> + <tr class="cbi-section-table-row cbi-rowstyle-6" style="<%=style%>"> <td style="text-align:left"><%=device%></td> <td style="text-align:left"><%=mode%></td> <td style="text-align:left"><%=iface%></td> |