diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-07-24 19:54:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 19:54:31 +0300 |
commit | 6c8a9f104ce849534069fe6e0d23d8cbadddd30d (patch) | |
tree | 0edaa9f91c9f10af6f0e57d95928b87d7bcc07bc /applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm | |
parent | 844a741e7ea29dc460249774c35c34b20c463877 (diff) | |
parent | 31f77a3cfe3ff04d7c20d7ba6d2daacdcc9fbc5d (diff) |
Merge pull request #1250 from dibdot/luci-app-travelmate
luci-app-travelmate: small bugfixes
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> |