2 LuCI - Lua Configuration Interface
3 Copyright
2008 Steven Barth
<steven@midlink.org
>
4 Copyright
2008 Jo-Philipp Wich
<xm@leipzig.freifunk.net
>
6 Licensed under the Apache License, Version
2.0 (the
"License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-
2.0
16 <h2><a id=
"content" name=
"content"><%:system%
></a></h2>
17 <h3><%:a_s_flash%
></h3>
18 <p><%:a_s_flash_upgrade1%
></p>
20 <% if sysupgrade and not ret then %
>
21 <form method=
"post" action=
"<%=REQUEST_URI%>" enctype=
"multipart/form-data">
22 <div class=
"left"><%:a_s_flash_fwimage%
>:
</div>
24 <input type=
"file" size=
"30" name=
"image" />
27 <% if keep_avail then -%
>
28 <input type=
"checkbox" name=
"keepcfg" value=
"1" checked=
"checked" />
29 <span class=
"bold"><%:a_s_flash_keepcfg%
></span>
33 <input type=
"submit" value=
"<%:a_s_flash_fwupgrade%>" />
37 <p><%:a_s_flash_received%
></p>
38 <p><%:a_s_flash_inprogress%
></p>
40 <!-- <%=string.rep(" ", 2048)%> -->
44 <div class=
"ok"><%:a_s_flash_flashed%
></div>
46 <div class=
"error"><%:a_s_flash_flasherr%
>! (<%:code%
> <%=ret%
>)
</div>
49 <div class=
"error"><%:a_s_flash_notimplemented%
></div>
52 <% if ret ==
0 then luci.sys.reboot() end %
>