mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-26 22:22:52 +08:00
Update luci-mod-status.patch
This commit is contained in:
1 parent
4ffd7b4d67
commit
bbeb5d27c4
1 file changed
+12
-12
@@ -163,6 +163,18 @@ similarity index 100%
|
||||
rename from luci-mod-status/htdocs/luci-static/resources/view/status/include/15_ports.js
|
||||
rename to luci-mod-status/htdocs/luci-static/resources/view/status/include/26_ports.js
|
||||
|
||||
--- 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
|
||||
|
||||
--- 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")
|
||||
@@ -175,15 +187,3 @@ rename to luci-mod-status/htdocs/luci-static/resources/view/status/include/26_po
|
||||
entry({"admin", "tools", "get_netdev_stats"}, call("getNetdevStats"), nil).sysauth = false
|
||||
end
|
||||
|
||||
|
||||
--- 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
|
||||
Reference in new issue
Block a user