X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_system%2Fupgrade.htm;h=950eba8e75c05ee958073d4aca8462aa668d9eb4;hb=6245ad6a73090ac3668e8f4b9749614592294a08;hp=372fa5971da2ef61ab5af189fbf819af8ca7ef63;hpb=eb6e37ebb7b9d576e9eb9f1a0d140936d11ddf11;p=project%2Fluci.git diff --git a/modules/admin-full/luasrc/view/admin_system/upgrade.htm b/modules/admin-full/luasrc/view/admin_system/upgrade.htm index 372fa5971..950eba8e7 100644 --- a/modules/admin-full/luasrc/view/admin_system/upgrade.htm +++ b/modules/admin-full/luasrc/view/admin_system/upgrade.htm @@ -15,96 +15,53 @@ $Id$ <%+header%> -

<%:System%>

-

<%:Flash Firmware%>

+

<%:System%> - <%:Flash Firmware%> - <%:Verify%>

+

+ <%_ The flash image was uploaded. + Below is the checksum and file size listed, + compare them with the original file to ensure data integrity.
+ Click "Proceed" below to start the flash procedure. %> -<% if step == 1 then %> - <% if supported then %> -

-

- <%:Upload an OpenWrt image file to reflash the device.%> - <% if bad_image then %> -

-

<%:The uploaded image file does not - contain a supported format. Make sure that you choose the generic - image format for your platform. %>
- <% end %> -

-
- <%:Firmware image%>:
- - -
-
- <% if keepavail then -%> - - <%:Keep configuration files%> - <% end -%> - -
- -
-
- <% else %> -
<%_ Sorry. - OpenWrt does not support a system upgrade on this platform.
- You need to manually flash your device. %>
+ <% if storage > 0 and size > storage then %> +

+
<%:It appears that you try to + flash an image that does not fit into the flash memory, please verify + the image file! %>
<% end %> -<% elseif step == 2 then %> -

- <%_ The flash image was uploaded. - Below is the checksum and file size listed, - compare them with the original file to ensure data integrity.
- Click "Proceed" below to start the flash procedure. %> - <% if flashsize > 0 and filesize > flashsize then %> -

-

<%:It appears that you try to - flash an image that does not fit into the flash memory, please verify - the image file! %>
- <% end %> +

-
- -

-
-
- - " /> - -
-
- - " /> - -
-
-<% elseif step == 3 then %> -

<%_ The system is flashing now.
- DO NOT POWER OFF THE DEVICE!
- Wait a few minutes until you try to reconnect. - It might be necessary to renew the address of your computer to reach the device - again, depending on your settings. %>

- - -<% end %> -<%+footer%> +
+ +
+
+
+ + " /> + +
+
+ +
+
+ +<%+footer%>