From d4d1807247c4074d12eb37345a5b85d5db7a200b Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Fri, 6 Nov 2026 03:27:53 +0800 Subject: [PATCH] Update vantage.patch --- .github/diy/patches/vantage.patch | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/diy/patches/vantage.patch b/.github/diy/patches/vantage.patch index 87c987eb2..a7c6f6d79 100644 --- a/.github/diy/patches/vantage.patch +++ b/.github/diy/patches/vantage.patch @@ -188,11 +188,21 @@ --- a/luci-theme-vantage/ucode/template/themes/vantage/sysauth.ut +++ b/luci-theme-vantage/ucode/template/themes/vantage/sysauth.ut -@@ -37,7 +37,14 @@ +@@ -12,6 +12,8 @@ + if (type(tls) == 'string') + tls = split(tls, /\s+/); + const tls_ports = uniq(filter(map(tls, e => +(match(e, /\d+$/)?.[0] ?? 0)), p => (p > 0 && p <= 65535))); ++ const boardinfo = ubus.call("system", "board"); ++ const hostname = striptags(boardinfo?.hostname ?? '?'); + -%} + + +@@ -37,8 +39,18 @@
+ {% if (fuser): %} diff --git a/luci-theme-vantage/htdocs/luci-static/vantage/pattern.svg b/luci-theme-vantage/htdocs/luci-static/vantage/pattern.svg new file mode 100644 index 000000000..72eb03cdc