X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fluci-mod-admin-full%2Fluasrc%2Fview%2Fadmin_system%2Freboot.htm;h=c9551804d2aa352248920e85f28658f3cac40920;hp=aa7441d130e4dea9043496a4e05587a1a58778fd;hb=38a9993bd1bf0024639e19a9c25328a9d5d5954e;hpb=ada4a0ea98fbd8fa396cb601ace6c52f3857f5cc diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm index aa7441d13..c9551804d 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm @@ -1,25 +1,59 @@ <%# Copyright 2008 Steven Barth - Copyright 2008 Jo-Philipp Wich + Copyright 2008-2015 Jo-Philipp Wich Licensed to the public under the Apache License 2.0. -%> <%+header%> -

<%:System%>

-

<%:Reboot%>

+ +

<%:Reboot%>

+
+

<%:Reboots the operating system of your device%>

-<%- -local c = require("luci.model.uci").cursor():changes() -if c and next(c) then --%> -

<%:Warning: There are unsaved changes that will be lost while rebooting!%>

-<%- -end -if not reboot then --%> -

<%:Perform reboot%>

-<%- else -%> -

<%:Please wait: Device rebooting...%>

- + +<%- local c = require("luci.model.uci").cursor():changes(); if c and next(c) then -%> +

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

<%- end -%> -<%+footer%> \ No newline at end of file + +
+ + + + + + + +<%+footer%>