summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/view
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-04-08 19:15:11 +0000
committerSteven Barth <steven@midlink.org>2008-04-08 19:15:11 +0000
commit30ca47c27a5e0fd4dd4538523d5ee5f16282494e (patch)
treefd368a0b4cda6c73fbe9f6c9793487aaa7939d36 /src/ffluci/view
parentf341dfe91a766003a9333725e88823e2866fb3c8 (diff)
* Completed Firmware-Upgrade page
* Added Dnsmasq configuration page
Diffstat (limited to 'src/ffluci/view')
-rw-r--r--src/ffluci/view/admin_system/upgrade.htm10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ffluci/view/admin_system/upgrade.htm b/src/ffluci/view/admin_system/upgrade.htm
index e7a8f2f686..d91d169a4a 100644
--- a/src/ffluci/view/admin_system/upgrade.htm
+++ b/src/ffluci/view/admin_system/upgrade.htm
@@ -2,7 +2,7 @@
<h1><%:system System%></h1>
<h2><%:upgrade Upgrade%></h2>
<br />
-<% if sysupgrade then %>
+<% if sysupgrade and not ret then %>
<form method="post" action="<%=controller%>-upload/admin/system/upgrade" enctype="multipart/form-data">
<fieldset class="cbi-section-node">
<div class="cbi-value clear">
@@ -20,7 +20,13 @@
</div>
</fieldset>
</form>
+<% elseif ret then %>
+ <% if ret == 0 then %>
+<div class="ok"><%:flashed Flashvorgang erfolgreich. Router startet neu...%></div>
+ <% else %>
+<div class="error"><%:flasherr Flashvorgang fehlgeschlagen!%> (<%:code Code%> <%=ret%>)</div>
+ <% end %>
<% else %>
-<div class="error"><%:notimplemented Diese Funktion ist leider (noch) nicht eingebaut.%></div>
+<div class="error"><%:notimplemented Diese Funktion steht leider (noch) nicht zur Verfügung.%></div>
<% end %>
<%+footer%> \ No newline at end of file