From a167574a4a4d066af7a7f12d84905635f5acc6bf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 5 Oct 2026 08:46:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=85=20Sync=202026-10-05=2008:46:44?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-mod-status/Makefile | 2 +- .../luci-static/resources/view/status/include/08_stats.js | 2 +- .../resources/view/status/include/{26_ports.js => 15_ports.js} | 0 luci-mod-status/root/usr/lib/lua/luci/controller/netstat.lua | 3 --- 4 files changed, 2 insertions(+), 5 deletions(-) rename luci-mod-status/htdocs/luci-static/resources/view/status/include/{26_ports.js => 15_ports.js} (100%) diff --git a/luci-mod-status/Makefile b/luci-mod-status/Makefile index f33fefb71..699914d21 100644 --- a/luci-mod-status/Makefile +++ b/luci-mod-status/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI Status Pages LUCI_DEPENDS:=+luci-base +luci-app-oui +luci-mod-dashboard +libiwinfo +rpcd-mod-iwinfo +rpcd-mod-rrdns +ucode +ucode-mod-fs +ucode-mod-ubus +ucode-mod-socket -PKG_RELEASE:=28 +PKG_RELEASE:=29 PKG_BUILD_DEPENDS:=iwinfo PKG_LICENSE:=Apache-2.0 diff --git a/luci-mod-status/htdocs/luci-static/resources/view/status/include/08_stats.js b/luci-mod-status/htdocs/luci-static/resources/view/status/include/08_stats.js index 43ee59f81..7ef1f701e 100644 --- a/luci-mod-status/htdocs/luci-static/resources/view/status/include/08_stats.js +++ b/luci-mod-status/htdocs/luci-static/resources/view/status/include/08_stats.js @@ -474,7 +474,7 @@ function maybeRefreshIp() { // ─── Main baseclass ─────────────────────────────────────────────────────────── return baseclass.extend({ - title: _(''), + title: _('Status'), load() { // Use ?fast=1 to skip slow public-IP APIs — response is near-instant diff --git a/luci-mod-status/htdocs/luci-static/resources/view/status/include/26_ports.js b/luci-mod-status/htdocs/luci-static/resources/view/status/include/15_ports.js similarity index 100% rename from luci-mod-status/htdocs/luci-static/resources/view/status/include/26_ports.js rename to luci-mod-status/htdocs/luci-static/resources/view/status/include/15_ports.js diff --git a/luci-mod-status/root/usr/lib/lua/luci/controller/netstat.lua b/luci-mod-status/root/usr/lib/lua/luci/controller/netstat.lua index 6f87315d8..6beb60110 100644 --- a/luci-mod-status/root/usr/lib/lua/luci/controller/netstat.lua +++ b/luci-mod-status/root/usr/lib/lua/luci/controller/netstat.lua @@ -3,9 +3,6 @@ local nixio = require("nixio") local uci = require("luci.model.uci").cursor() function index() - entry({"admin", "tools"}, firstchild(), _("Tools"), 50).dependent = false - entry({"admin", "tools", "netstat"}, cbi("netstat/config"), _("Netstat"), 20).leaf = true - entry({"admin", "tools", "netstat_config"}, alias("admin", "tools", "netstat")).dependent = true entry({"admin", "tools", "get_netdev_stats"}, call("getNetdevStats"), nil).sysauth = false end