* Completed Firmware-Upgrade page
[project/luci.git] / src / ffluci / view / admin_system / upgrade.htm
1 <%+header%>
2 <h1><%:system System%></h1>
3 <h2><%:upgrade Upgrade%></h2>
4 <br />
5 <% if sysupgrade and not ret then %>
6 <form method="post" action="<%=controller%>-upload/admin/system/upgrade" enctype="multipart/form-data">
7 <fieldset class="cbi-section-node">
8 <div class="cbi-value clear">
9 <div class="cbi-value-title left"><%:fwimage Firmwareimage%></div>
10 <div class="cbi-value-field"><input type="file" size="30" name="image" /></div>
11 </div>
12 <br />
13 <div class="cbi-value clear">
14 <input type="checkbox" name="keepcfg" value="1" checked="checked" />
15 <span class="bold"><%:keepcfg Konfigurationsdateien übernehmen%></span>
16 </div>
17 <br />
18 <div>
19 <input type="submit" value="<%:fwupgrade Firmware aktualisieren%>" />
20 </div>
21 </fieldset>
22 </form>
23 <% elseif ret then %>
24 <% if ret == 0 then %>
25 <div class="ok"><%:flashed Flashvorgang erfolgreich. Router startet neu...%></div>
26 <% else %>
27 <div class="error"><%:flasherr Flashvorgang fehlgeschlagen!%> (<%:code Code%> <%=ret%>)</div>
28 <% end %>
29 <% else %>
30 <div class="error"><%:notimplemented Diese Funktion steht leider (noch) nicht zur Verfügung.%></div>
31 <% end %>
32 <%+footer%>