From aebbafe1778799b77ec0ffaf53732589055ac147 Mon Sep 17 00:00:00 2001
From: Hannu Nyman
Date: Sun, 6 Aug 2023 22:18:47 +0300
Subject: luci-mod-admin-mini: Remove the broken ancient mini version
Remove the old mini version that has been marked BROKEN at least
since 2015 when LuCI build system was reorgnised in a major way.
The module is not compatible with the current stuff.
Signed-off-by: Hannu Nyman
---
.../luasrc/view/mini/applyreboot.htm | 13 ---
.../luasrc/view/mini/backup.htm | 32 --------
.../luci-mod-admin-mini/luasrc/view/mini/index.htm | 13 ---
.../luasrc/view/mini/reboot.htm | 25 ------
.../luasrc/view/mini/upgrade.htm | 96 ----------------------
5 files changed, 179 deletions(-)
delete mode 100644 modules/luci-mod-admin-mini/luasrc/view/mini/applyreboot.htm
delete mode 100644 modules/luci-mod-admin-mini/luasrc/view/mini/backup.htm
delete mode 100644 modules/luci-mod-admin-mini/luasrc/view/mini/index.htm
delete mode 100644 modules/luci-mod-admin-mini/luasrc/view/mini/reboot.htm
delete mode 100644 modules/luci-mod-admin-mini/luasrc/view/mini/upgrade.htm
(limited to 'modules/luci-mod-admin-mini/luasrc/view')
diff --git a/modules/luci-mod-admin-mini/luasrc/view/mini/applyreboot.htm b/modules/luci-mod-admin-mini/luasrc/view/mini/applyreboot.htm
deleted file mode 100644
index d33a2ca291..0000000000
--- a/modules/luci-mod-admin-mini/luasrc/view/mini/applyreboot.htm
+++ /dev/null
@@ -1,13 +0,0 @@
-<%#
- Copyright 2008 Steven Barth
- Copyright 2008 Jo-Philipp Wich
- Licensed to the public under the Apache License 2.0.
--%>
-
-<%+header%>
-
<%:System%>
-
-
<% 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
deleted file mode 100644
index efc6aa72f7..0000000000
--- a/modules/luci-mod-admin-mini/luasrc/view/mini/backup.htm
+++ /dev/null
@@ -1,32 +0,0 @@
-<%#
- Copyright 2008 Steven Barth
- Copyright 2008 Jo-Philipp Wich
- Licensed to the public under the Apache License 2.0.
--%>
-
-<%+header%>
-
<%:System%>
-
<%:Backup / Restore%>
-
<%:Here you can backup and restore your configuration and - if possible - reset this device to the default settings.%>
-
-
-
-
-<%+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
deleted file mode 100644
index 621e3cbe89..0000000000
--- a/modules/luci-mod-admin-mini/luasrc/view/mini/index.htm
+++ /dev/null
@@ -1,13 +0,0 @@
-<%#
- Copyright 2008 Steven Barth
- Copyright 2008 Jo-Philipp Wich
- Licensed to the public under the Apache License 2.0.
--%>
-
-
<%:Hello!%>
-
<%_This is the administration area of LuCI.%>
-
<%_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.%>
-
-<%- 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
deleted file mode 100644
index ef3e2e8d12..0000000000
--- a/modules/luci-mod-admin-mini/luasrc/view/mini/upgrade.htm
+++ /dev/null
@@ -1,96 +0,0 @@
-<%#
- Copyright 2008 Steven Barth
- Copyright 2008-2009 Jo-Philipp Wich
- Licensed to the public under the Apache License 2.0.
--%>
-
-<%+header%>
-
-
<%:System%>
-
<%:Flash Firmware%>
-
-<% if step == 1 then %>
- <% if supported then %>
-
-
- <%:Firmware image%>:
-
-
-
-
- <% if keepavail then -%>
-
- <%:Keep configuration files%>
- <% end -%>
-
-
-
-
-
- <% else %>
-
<%_ Sorry.
- A system upgrade is not supported 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. %>