2 Copyright
2008 Steven Barth
<steven@midlink.org
>
3 Copyright
2008 Jo-Philipp Wich
<jow@openwrt.org
>
4 Licensed to the public under the Apache License
2.0.
9 <h2><%:Freifunk Remote Update%
></h2>
11 <p><%:Check for new firmware versions and perform automatic updates.%
></p>
15 <% if update.info then %
>
16 <strong><%:Update available!%
></strong>
18 <pre><%=update.info%
></pre><br />
20 <strong><%:The installed firmware is the most recent version.%
></strong>
25 <form method=
"post" action=
"" class=
"inline">
26 <input type=
"hidden" name=
"flash" value=
"1" />
27 <input type=
"submit" class=
"cbi-button cbi-button-apply" value=
"<%:Start Upgrade%>" />
31 <% elseif confirm then %
>
33 <strong><%:Update Settings%
></strong>
36 <p><form method=
"post" action=
"" class=
"inline">
37 <input type=
"hidden" name=
"flash" value=
"1" />
38 <input type=
"hidden" name=
"confirm" value=
"1" />
40 <input type=
"checkbox" class=
"cbi-input-checkbox" name=
"keepcfg" value=
"1" checked=
"checked" id=
"cb_keepcfg" />
41 <label for=
"cb_keepcfg"><%:Keep configuration%
></label><br />
43 <input type=
"checkbox" class=
"cbi-input-checkbox" name=
"verify" value=
"1" checked=
"checked" id=
"cb_verify" />
44 <label for=
"cb_verify"><%:Verify downloaded images%
></label><br /><br />
46 <input type=
"submit" class=
"cbi-button cbi-button-apply" value=
"<%:Confirm Upgrade%>" />