2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008-2009 Jo-Philipp Wich <xm@subsignal.org>
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
18 <h2><a id="content" name="content"><%:Flash Firmware%> - <%:Verify%></a></h2>
20 <%_ The flash image was uploaded.
21 Below is the checksum and file size listed,
22 compare them with the original file to ensure data integrity.<br />
23 Click "Proceed" below to start the flash procedure. %>
25 <% if storage > 0 and size > storage then %>
27 <div class="error"><%:It appears that you are trying to
28 flash an image that does not fit into the flash memory, please verify
29 the image file! %></div>
34 <fieldset class="cbi-section">
36 <li><%:Checksum%>: <code><%=checksum%></code></li>
38 local w = require "luci.tools.webadmin"
39 write(w.byte_format(size))
42 write(luci.i18n.translatef(
44 w.byte_format(storage)
48 <li><% if keep then %>
49 <%:Configuration files will be kept.%>
51 <%:Note: Configuration files will be erased.%>
56 <div class="cbi-page-actions right">
57 <form style="display:inline" action="<%=REQUEST_URI%>" method="post">
58 <input class="cbi-button cbi-button-reset" type="submit" value="<%:Cancel%>" />
60 <form style="display:inline" action="<%=REQUEST_URI%>" method="post">
61 <input type="hidden" name="step" value="2" />
62 <input type="hidden" name="keep" value="<%=keep and "1" or ""%>" />
63 <input class="cbi-button cbi-button-apply" type="submit" value="<%:Proceed%>" />