From 95e0f615c25d1f1955450bf1d51c5d4a6b87c78b Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Tue, 22 Sep 2026 19:40:37 +0800 Subject: [PATCH] Update dashboard.patch --- .github/diy/patches/dashboard.patch | 35 +++++++++++++++++++---------- 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/.github/diy/patches/dashboard.patch b/.github/diy/patches/dashboard.patch index 3cfe62ab5..ae7cb4e3b 100644 --- a/.github/diy/patches/dashboard.patch +++ b/.github/diy/patches/dashboard.patch @@ -1,20 +1,31 @@ +--- a/luci-mod-dashboard/root/etc/config/dashboard ++++ b/luci-mod-dashboard/root/etc/config/dashboard +@@ -1 +1,18 @@ + config dashboard 'layout' ++ list cards 'internet' ++ list cards 'uptime' ++ list cards 'cpu' ++ list cards 'memory' ++ list cards 'dhcp' ++ list cards 'wifi' ++ list cards 'load' ++ list charts 'wan' ++ list charts 'system' ++ list charts 'distribution' ++ list charts 'signal' ++ list charts 'traffic' ++ list tabs 'internet' ++ list tabs 'system' ++ list tabs 'resources' ++ list tabs 'dhcp' ++ list tabs 'wifi' + --- a/luci-mod-dashboard/root/usr/share/luci/menu.d/luci-mod-dashboard.json +++ b/luci-mod-dashboard/root/usr/share/luci/menu.d/luci-mod-dashboard.json -@@ -1,13 +1,15 @@ +@@ -1,6 +1,5 @@ { "admin/dashboard": { - "title": "Dashboard", "order": 1, "action": { "type": "view", - "path": "dashboard/index" - }, - "depends": { -- "acl": [ "luci-mod-dashboard-index" ] -+ "acl": [ "luci-mod-dashboard-index" ], -+ "uci": { -+ "wireless": true -+ } - } - } - }