X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_system%2Fupgrade.htm;h=03cd555c75247b832705bf79905760d88e6a749c;hp=16ba50cd989c562882c09439efb81961ce6610b1;hb=9ce58c0339f2b570c049c7bee04af66c3d695a39;hpb=97ff4a156ff1aa6a4d2ab65ab13d12b4eb2651e2 diff --git a/modules/admin-full/luasrc/view/admin_system/upgrade.htm b/modules/admin-full/luasrc/view/admin_system/upgrade.htm index 16ba50cd9..03cd555c7 100644 --- a/modules/admin-full/luasrc/view/admin_system/upgrade.htm +++ b/modules/admin-full/luasrc/view/admin_system/upgrade.htm @@ -18,25 +18,26 @@ $Id$

<%:a_s_flash_upgrade1%>


<% if sysupgrade and not ret then %> -
" enctype="multipart/form-data"> -
-
-
<%:a_s_flash_fwimage%>
-
-
+ +
<%:a_s_flash_fwimage%>:
+
+
-
- - <%:a_s_flash_keepcfg%> -

-
- -
+ <% if keep_avail then -%> + + <%:a_s_flash_keepcfg%> + <% end -%> +
+
+
<% elseif ret then %> - <% if ret == 0 then %> +

<%:a_s_flash_received%>

+

<%:a_s_flash_inprogress%>

+ <% local ret = ret() + if ret == 0 then %>
<%:a_s_flash_flashed%>
<% else %>
<%:a_s_flash_flasherr%>! (<%:code%> <%=ret%>)