From e045f4d8a49af832415500618f51efd4886c1488 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Mon, 25 Dec 2017 23:23:40 -0800 Subject: 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 --- .../luasrc/view/advanced_reboot/advanced_reboot.htm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-advanced-reboot/luasrc/view') 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 @@

<%:Warning: There are unsaved changes that will get lost on reboot!%>

<%- end -%> +<%- if errorMessage and errorMessage ~= "" then -%> +

<%:ERROR: %><%=errorMessage%>

+<%- end -%> + <%- if device_name then -%>
<%=device_name%><%: Partitions%> @@ -26,7 +30,7 @@ - <%=boot_envvar1_partition_one%> + <%=string.format("%X", boot_envvar1_partition_one)%> <%- if boot_envvar1_partition_one == current_partition then -%><%:Current%><%- else -%><%:Alternative%><%- end -%> @@ -50,7 +54,7 @@ - <%=boot_envvar1_partition_two%> + <%=string.format("%X", boot_envvar1_partition_two)%> <%- if boot_envvar1_partition_two == current_partition then -%><%:Current%><%- else -%><%:Alternative%><%- end -%> -- cgit v1.2.3