<% if msg then %><%=msg%><% else %><%:Changes applied.%><% end %>
+
<%:Please wait: Device rebooting...%>
+
+<%+footer%>
\ No newline at end of file
diff --git a/modules/luci-mod-admin-mini/luasrc/view/mini/backup.htm b/modules/luci-mod-admin-mini/luasrc/view/mini/backup.htm
new file mode 100644
index 0000000000..eb9dc46e47
--- /dev/null
+++ b/modules/luci-mod-admin-mini/luasrc/view/mini/backup.htm
@@ -0,0 +1,40 @@
+<%#
+LuCI - Lua Configuration Interface
+Copyright 2008 Steven Barth
+Copyright 2008 Jo-Philipp Wich
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+
+-%>
+<%+header%>
+
+
+
+
+
+<%+footer%>
diff --git a/modules/luci-mod-admin-mini/luasrc/view/mini/index.htm b/modules/luci-mod-admin-mini/luasrc/view/mini/index.htm
new file mode 100644
index 0000000000..c14d3b0b23
--- /dev/null
+++ b/modules/luci-mod-admin-mini/luasrc/view/mini/index.htm
@@ -0,0 +1,21 @@
+<%#
+LuCI - Lua Configuration Interface
+Copyright 2008 Steven Barth
+Copyright 2008 Jo-Philipp Wich
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+
+-%>
+
<%_LuCI is a free, flexible, and user friendly graphical interface for configuring OpenWrt.%>
+<%:On the following pages you can adjust all important settings of this device.%>
+
<%:As we always want to improve this interface we are looking forward to your feedback and suggestions.%>
diff --git a/modules/luci-mod-admin-mini/luasrc/view/mini/reboot.htm b/modules/luci-mod-admin-mini/luasrc/view/mini/reboot.htm
new file mode 100644
index 0000000000..9e57d89f9f
--- /dev/null
+++ b/modules/luci-mod-admin-mini/luasrc/view/mini/reboot.htm
@@ -0,0 +1,33 @@
+<%#
+LuCI - Lua Configuration Interface
+Copyright 2008 Steven Barth
+Copyright 2008 Jo-Philipp Wich
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+
+-%>
+<%+header%>
+
+
+<%- end -%>
+<%+footer%>
\ No newline at end of file
diff --git a/modules/luci-mod-admin-mini/luasrc/view/mini/upgrade.htm b/modules/luci-mod-admin-mini/luasrc/view/mini/upgrade.htm
new file mode 100644
index 0000000000..6ff5d84919
--- /dev/null
+++ b/modules/luci-mod-admin-mini/luasrc/view/mini/upgrade.htm
@@ -0,0 +1,105 @@
+<%#
+LuCI - Lua Configuration Interface
+Copyright 2008 Steven Barth
+Copyright 2008-2009 Jo-Philipp Wich
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+
+-%>
+
+<%+header%>
+
+
+
+<% if step == 1 then %>
+ <% if supported then %>
+
+
+ <%:Firmware image%>:
+
+
+
+
+ <% if keepavail then -%>
+
+ <%:Keep configuration files%>
+ <% end -%>
+
+
+
+
+
+ <% else %>
+
<%_ Sorry.
+ OpenWrt does not support a system upgrade on this platform.
+ You need to manually flash your device. %>
+ <% end %>
+<% elseif step == 2 then %>
+
+ <%_ The flash image was uploaded.
+ Below is the checksum and file size listed,
+ compare them with the original file to ensure data integrity.
+ Click "Proceed" below to start the flash procedure. %>
+
+ <% if flashsize > 0 and filesize > flashsize then %>
+
+
<%:It appears that you are trying to
+ flash an image that does not fit into the flash memory, please verify
+ the image file! %>
+ <% end %>
+
+
+
+
<%:Checksum%>: <%=checksum%>
+
<%:Size%>: <%
+ local w = require "luci.tools.webadmin"
+ write(w.byte_format(filesize))
+
+ if flashsize > 0 then
+ write(luci.i18n.translatef(
+ " (%s available)",
+ w.byte_format(flashsize)
+ ))
+ end
+ %>
+
+
+
+
+
+
+<% elseif step == 3 then %>
+
<%_ The system is flashing now.
+ DO NOT POWER OFF THE DEVICE!
+ Wait a few minutes before you try to reconnect.
+ It might be necessary to renew the address of your computer to reach the device
+ again, depending on your settings. %>