diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-01-10 23:45:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 23:45:50 +0200 |
commit | 8b39d9a76b6efcf618fe3ca527ca3e593deacaf0 (patch) | |
tree | 1ed622676efa38d23dae9c99a571b474f0520472 /applications/luci-app-travelmate/luasrc/view/travelmate | |
parent | 5d0f0b997df1dba7652b4a8ee425f947b262c651 (diff) | |
parent | 2b200cfa792ab159247243dc2d7e961c10cb1a4d (diff) |
Merge pull request #1524 from dibdot/travelmate
luci-app-travelmate: sync with travelmate 1.0.2
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/view/travelmate')
-rw-r--r-- | applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm | 4 | ||||
-rw-r--r-- | applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm index 2b9885567..e7827b5c3 100644 --- a/applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm +++ b/applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm @@ -1,10 +1,10 @@ <%# -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 -%> <%+cbi/valueheader%> -<input name="runtime" id="runtime" type="text" class="cbi-input-text" style="border:none; box-shadow:none; background-color:#ffffff; color:#0069d6;" value="<%=self:cfgvalue(section)%>" disabled="disabled" /> +<input name="runtime" id="runtime" type="text" class="cbi-input-text" style="outline:none;border:none;box-shadow:none;background:transparent;color:#0069d6;font-weight:bold;line-height:30px;height:30px;" value="<%=self:cfgvalue(section)%>" disabled="disabled" /> <%+cbi/valuefooter%> diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm index 11c36d427..ae1ea797a 100644 --- a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm +++ b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm @@ -1,5 +1,5 @@ <%# -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 -%> @@ -36,21 +36,21 @@ This is free software, licensed under the Apache License, Version 2.0 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 %> <tr class="cbi-section-table-row cbi-rowstyle-1" style="<%=style%>"> - <td style="text-align:left"><%=device%></td> - <td style="text-align:left"><%=ssid%></td> - <td style="text-align:left"><%=bssid%></td> - <td style="text-align:left"><%=encryption%></td> - <td class="cbi-value-field" style="width:70px;text-align:right"> + <td style="<%=style%>"><%=device%></td> + <td style="<%=style%>"><%=ssid%></td> + <td style="<%=style%>"><%=bssid%></td> + <td style="<%=style%>"><%=encryption%></td> + <td class="cbi-value-field" style="width:80px"> <input class="cbi-button cbi-button-up" type="button" value="" onclick="location.href='<%=luci.dispatcher.build_url('admin/services/travelmate/wifiorder')%>?cfg=<%=section%>;dir=up'" alt="<%:Move up%>" title="<%:Move up%>"/> <input class="cbi-button cbi-button-down" type="button" value="" onclick="location.href='<%=luci.dispatcher.build_url('admin/services/travelmate/wifiorder')%>?cfg=<%=section%>;dir=down'" alt="<%:Move down%>" title="<%:Move down%>"/> </td> - <td class="cbi-value-field" style="width:150px;text-align:right"> + <td class="cbi-value-field" style="width:150px"> <input type="button" class="cbi-button cbi-button-edit" onclick="location.href='<%=luci.dispatcher.build_url('admin/services/travelmate/wifiedit')%>?cfg=<%=section%>'" title="<%:Edit this Uplink%>" value="<%:Edit%>"/> <input type="button" class="cbi-button cbi-button-remove" onclick="location.href='<%=luci.dispatcher.build_url('admin/services/travelmate/wifidelete')%>?cfg=<%=section%>'" title="<%:Delete this Uplink%>" value="<%:Delete%>"/> </td> |