2 Copyright 2008 Steven Barth <steven@midlink.org>
3 Copyright 2008-2009 Jo-Philipp Wich <jow@openwrt.org>
4 Copyright 2012 Daniel Golle <dgolle@allnet.de>
5 Licensed to the public under the Apache License 2.0.
10 <h2 name="content"><%:Flash Firmware%> - <%:Verify%></h2>
12 <%_ The flash image was uploaded.
13 Below is the checksum and file size listed,
14 compare them with the original file to ensure data integrity.<br />
15 Click "Proceed" below to start the flash procedure. %>
17 <% if storage > 0 and size > storage then %>
19 <div class="error"><%:It appears that you are trying to
20 flash an image that does not fit into the flash memory, please verify
21 the image file! %></div>
26 <fieldset class="cbi-section">
28 <li><%:Checksum%>: <code><%=checksum%></code></li>
30 local w = require "luci.tools.webadmin"
31 write(w.byte_format(size))
34 write(luci.i18n.translatef(
36 w.byte_format(storage)
43 <div class="cbi-page-actions right">
44 <form style="display:inline" action="<%=REQUEST_URI%>" method="post">
45 <input class="cbi-button cbi-button-reset" type="submit" value="<%:Cancel%>" />
47 <form style="display:inline" action="<%=REQUEST_URI%>" method="post">
48 <input type="hidden" name="step" value="2" />
49 <input class="cbi-button cbi-button-apply" type="submit" value="<%:Proceed%>" />