diff options
author | Stan Grishin <stangri@melmac.net> | 2017-12-25 23:23:40 -0800 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2017-12-25 23:35:53 -0800 |
commit | e045f4d8a49af832415500618f51efd4886c1488 (patch) | |
tree | 674ddd6470c81fdd1f1086ecfad4777b6a744dc8 /applications/luci-app-advanced-reboot/luasrc/view | |
parent | a2a1c357869a06bb216497e4fdd4e66c85e9995b (diff) |
luci-app-advanced-reboot: 2 new routers + error reporting
Added support for: Linksys EA3500 and ZyXEL NBG6817
Added error reporting to both system log and WebUI on errors
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 | 8 |
1 files changed, 6 insertions, 2 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 206d250543..0629c84b36 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 @@ -14,6 +14,10 @@ <p class="alert-message warning"><%:Warning: There are unsaved changes that will get lost on reboot!%></p> <%- end -%> +<%- if errorMessage and errorMessage ~= "" then -%> + <p class="alert-message warning"><%:ERROR: %><%=errorMessage%></p> +<%- end -%> + <%- if device_name then -%> <fieldset class="cbi-section"> <legend><%=device_name%><%: Partitions%></legend> @@ -26,7 +30,7 @@ </tr> <tr class="cbi-section-table-row"> <td> - <%=boot_envvar1_partition_one%> + <%=string.format("%X", boot_envvar1_partition_one)%> </td> <td> <%- if boot_envvar1_partition_one == current_partition then -%><%:Current%><%- else -%><%:Alternative%><%- end -%> @@ -50,7 +54,7 @@ </tr> <tr class="cbi-section-table-row"> <td> - <%=boot_envvar1_partition_two%> + <%=string.format("%X", boot_envvar1_partition_two)%> </td> <td> <%- if boot_envvar1_partition_two == current_partition then -%><%:Current%><%- else -%><%:Alternative%><%- end -%> |