2 LuCI - Lua Configuration Interface
3 Copyright
2008 Steven Barth
<steven@midlink.org
>
4 Copyright
2008-
2009 Jo-Philipp Wich
<xm@subsignal.org
>
5 Copyright
2012 Daniel Golle
<dgolle@allnet.de
>
7 Licensed under the Apache License, Version
2.0 (the
"License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-
2.0
19 <h2><a id=
"content" name=
"content"><%:Flash Firmware%
> - <%:Verify%
></a></h2>
21 <%_ The flash image was uploaded.
22 Below is the checksum and file size listed,
23 compare them with the original file to ensure data integrity.
<br />
24 Click
"Proceed" below to start the flash procedure. %
>
26 <% if storage
> 0 and size
> storage then %
>
28 <div class=
"error"><%:It appears that you are trying to
29 flash an image that does not fit into the flash memory, please verify
30 the image file! %
></div>
35 <fieldset class=
"cbi-section">
37 <li><%:Checksum%
>:
<code><%=checksum%
></code></li>
39 local w = require
"luci.tools.webadmin"
40 write(w.byte_format(size))
43 write(luci.i18n.translatef(
45 w.byte_format(storage)
52 <div class=
"cbi-page-actions right">
53 <form style=
"display:inline" action=
"<%=REQUEST_URI%>" method=
"post">
54 <input class=
"cbi-button cbi-button-reset" type=
"submit" value=
"<%:Cancel%>" />
56 <form style=
"display:inline" action=
"<%=REQUEST_URI%>" method=
"post">
57 <input type=
"hidden" name=
"step" value=
"2" />
58 <input class=
"cbi-button cbi-button-apply" type=
"submit" value=
"<%:Proceed%>" />