diff options
author | Stan Grishin <stangri@melmac.net> | 2020-01-10 07:54:11 -0700 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2020-01-10 07:54:11 -0700 |
commit | 37dd98bde3ec04d540dafa6302cdfcf9e2ea07aa (patch) | |
tree | 3377f0adf6ff75b3dfd14a16246f79412e7c0ea0 /applications/luci-app-advanced-reboot/luasrc/view | |
parent | c8909a6bf8150e1798fe205acbbcfa088f9da5cb (diff) |
luci-app-advanced-reboot: pluggable device files, highlight current partition
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-advanced-reboot/luasrc/view')
-rw-r--r-- | applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm index f3d8338c47..49985b32ce 100644 --- a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm +++ b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm @@ -1,7 +1,7 @@ <%# Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org> - Copyright 2017-2018 Stan Grishin <stangri@melmac.net> + Copyright 2017-2020 Stan Grishin <stangri@melmac.net> Licensed to the public under the Apache License 2.0. -%> @@ -28,7 +28,7 @@ <div class="th cbi-section-table-cell"><%:Firmware%></div> <div class="th cbi-section-table-cell"><%:Reboot%></div> </div> - <div class="tr cbi-section-table-row cbi-rowstyle-1"> + <div class="tr cbi-section-table-row cbi-rowstyle-<%- if bev1p1 == current_partition then -%><%=1%><%- else -%><%=2%><%- end -%>"> <div class="td"> <%=string.format("%X", bev1p1)%> </div> @@ -52,7 +52,7 @@ <%- end -%> </div> </div> - <div class="tr cbi-section-table-row cbi-rowstyle-2"> + <div class="tr cbi-section-table-row cbi-rowstyle-<%- if bev1p2 == current_partition then -%><%=1%><%- else -%><%=2%><%- end -%>"> <div class="td"> <%=string.format("%X", bev1p2)%> </div> |