2 Copyright 2008 Steven Barth <steven@midlink.org>
3 Copyright 2008-2009 Jo-Philipp Wich <jow@openwrt.org>
4 Licensed to the public under the Apache License 2.0.
9 <h2 name="content"><%:Flash Firmware%> - <%:Verify%></h2>
11 <%_ The flash image was uploaded.
12 Below is the checksum and file size listed,
13 compare them with the original file to ensure data integrity.<br />
14 Click "Proceed" below to start the flash procedure. %>
16 <% if storage > 0 and size > storage then %>
18 <div class="error"><%:It appears that you are trying to
19 flash an image that does not fit into the flash memory, please verify
20 the image file! %></div>
25 <fieldset class="cbi-section">
27 <li><%:Checksum%>: <code><%=checksum%></code></li>
29 local w = require "luci.tools.webadmin"
30 write(w.byte_format(size))
33 write(luci.i18n.translatef(
35 w.byte_format(storage)
39 <li><% if keep then %>
40 <%:Configuration files will be kept.%>
42 <%:Note: Configuration files will be erased.%>
47 <div class="cbi-page-actions right">
48 <form style="display:inline" action="<%=REQUEST_URI%>" method="post">
49 <input class="cbi-button cbi-button-reset" type="submit" value="<%:Cancel%>" />
51 <form style="display:inline" action="<%=REQUEST_URI%>" method="post">
52 <input type="hidden" name="step" value="2" />
53 <input type="hidden" name="keep" value="<%=keep and "1" or ""%>" />
54 <input class="cbi-button cbi-button-apply" type="submit" value="<%:Proceed%>" />