summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/view
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-04-07 21:01:39 +0000
committerSteven Barth <steven@midlink.org>2008-04-07 21:01:39 +0000
commitf341dfe91a766003a9333725e88823e2866fb3c8 (patch)
tree3596ea31d97ff8c730c5805f2f4d16641b6456cd /src/ffluci/view
parent9de2f0d5918a0fb2b6d73fb8bcf9db1c9f9cc745 (diff)
* Added configuration pages for Dropbear, HTTPd, Mount Points
* Reorganized menu structure * Prepare firmware upgrade mechanism
Diffstat (limited to 'src/ffluci/view')
-rw-r--r--src/ffluci/view/admin_services/index.htm2
-rw-r--r--src/ffluci/view/admin_system/packages.htm1
-rw-r--r--src/ffluci/view/admin_system/upgrade.htm26
3 files changed, 29 insertions, 0 deletions
diff --git a/src/ffluci/view/admin_services/index.htm b/src/ffluci/view/admin_services/index.htm
new file mode 100644
index 000000000..75aa02658
--- /dev/null
+++ b/src/ffluci/view/admin_services/index.htm
@@ -0,0 +1,2 @@
+<%+header%>
+<%+footer%> \ No newline at end of file
diff --git a/src/ffluci/view/admin_system/packages.htm b/src/ffluci/view/admin_system/packages.htm
index ef27f369a..d9cdb4dd0 100644
--- a/src/ffluci/view/admin_system/packages.htm
+++ b/src/ffluci/view/admin_system/packages.htm
@@ -23,6 +23,7 @@
<% end %>
<div>
+<a href="<%=controller%>/admin/system/ipkg"><%:packages_ipkg Paketlisten und Installationsziele bearbeiten%></a><br />
<a href="<%=controller%>/admin/system/packages?update=1"><%:packages_updatelist Paketlisten aktualisieren%></a><br />
<a href="<%=controller%>/admin/system/packages?upgrade=1"><%:packages_upgrade Installierte Pakete aktualisieren%></a>
</div>
diff --git a/src/ffluci/view/admin_system/upgrade.htm b/src/ffluci/view/admin_system/upgrade.htm
new file mode 100644
index 000000000..e7a8f2f68
--- /dev/null
+++ b/src/ffluci/view/admin_system/upgrade.htm
@@ -0,0 +1,26 @@
+<%+header%>
+<h1><%:system System%></h1>
+<h2><%:upgrade Upgrade%></h2>
+<br />
+<% if sysupgrade then %>
+<form method="post" action="<%=controller%>-upload/admin/system/upgrade" enctype="multipart/form-data">
+ <fieldset class="cbi-section-node">
+ <div class="cbi-value clear">
+ <div class="cbi-value-title left"><%:fwimage Firmwareimage%></div>
+ <div class="cbi-value-field"><input type="file" size="30" name="image" /></div>
+ </div>
+ <br />
+ <div class="cbi-value clear">
+ <input type="checkbox" name="keepcfg" value="1" checked="checked" />
+ <span class="bold"><%:keepcfg Konfigurationsdateien übernehmen%></span>
+ </div>
+ <br />
+ <div>
+ <input type="submit" value="<%:fwupgrade Firmware aktualisieren%>" />
+ </div>
+ </fieldset>
+</form>
+<% else %>
+<div class="error"><%:notimplemented Diese Funktion ist leider (noch) nicht eingebaut.%></div>
+<% end %>
+<%+footer%> \ No newline at end of file