summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-07-24 19:54:31 +0300
committerGitHub <noreply@github.com>2017-07-24 19:54:31 +0300
commit6c8a9f104ce849534069fe6e0d23d8cbadddd30d (patch)
tree0edaa9f91c9f10af6f0e57d95928b87d7bcc07bc /applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm
parent844a741e7ea29dc460249774c35c34b20c463877 (diff)
parent31f77a3cfe3ff04d7c20d7ba6d2daacdcc9fbc5d (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.htm6
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 e79fb0c95b..ee58f52e13 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>