From 36917719e07a8cd601145bf1dd9cc240026ebe51 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Mon, 5 Oct 2026 09:16:16 +0800 Subject: [PATCH] Update vantage.patch --- .github/diy/patches/vantage.patch | 54 +++++++------------------------ 1 file changed, 11 insertions(+), 43 deletions(-) diff --git a/.github/diy/patches/vantage.patch b/.github/diy/patches/vantage.patch index 673928f39..d8c1d3c0d 100644 --- a/.github/diy/patches/vantage.patch +++ b/.github/diy/patches/vantage.patch @@ -39,52 +39,20 @@ LUCI_MAINTAINER:=anothaDev <10740588+anothaDev@users.noreply.github.com> LUCI_URL:=https://github.com/anothaDev/luci-theme-vantage -diff --git a/luci-app-vantage/root/usr/share/luci/menu.d/luci-app-vantage.json b/luci-app-vantage/root/usr/share/luci/menu.d/luci-app-vantage.json -deleted file mode 100644 -index ad0a166..0000000 +diff --git a/luci-app-vantage/root/usr/share/luci/menu.d/luci-app-vantage.json b/luci-app-vantage/root/usr/share/luci/menu.d/z-luci-app-vantage.json +similarity index 85% +rename from luci-app-vantage/root/usr/share/luci/menu.d/luci-app-vantage.json +rename to luci-app-vantage/root/usr/share/luci/menu.d/z-luci-app-vantage.json +index ad0a166..c58c860 100644 --- a/luci-app-vantage/root/usr/share/luci/menu.d/luci-app-vantage.json -+++ /dev/null -@@ -1,13 +0,0 @@ --{ -- "admin/dashboard": { -- "title": "Dashboard", -- "order": 1, -- "action": { -- "type": "view", -- "path": "vantage/overview" -- }, -- "depends": { -- "acl": [ "luci-app-vantage" ] -- } -- } --} -diff --git a/luci-app-vantage/root/usr/share/luci/menu.d/z-luci-app-vantage.json b/luci-app-vantage/root/usr/share/luci/menu.d/z-luci-app-vantage.json -new file mode 100644 -index 0000000..c2de6d4 ---- /dev/null +++ b/luci-app-vantage/root/usr/share/luci/menu.d/z-luci-app-vantage.json -@@ -0,0 +1,21 @@ -+{ +@@ -1,5 +1,5 @@ + { +- "admin/dashboard": { + "admin/status/dashboard": { -+ "title": "Dashboard", -+ "order": 1, -+ "action": { -+ "type": "view", -+ "path": "vantage/overview" -+ }, -+ "depends": { -+ "acl": [ "luci-app-vantage" ], -+ "uci": { -+ "vantage": true, -+ "luci": { -+ "main": { -+ "mediaurlbase": "/luci-static/vantage" -+ } -+ } -+ } -+ } -+ } -+} + "title": "Dashboard", + "order": 1, + "action": { --- a/luci-theme-vantage/ucode/template/themes/vantage/header.ut +++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut