mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 02:02:52 +08:00
Update vantage.patch
This commit is contained in:
1 parent
a94b62a00b
commit
c3bb636e7b
1 file changed
+27
-2
@@ -1,5 +1,30 @@
|
||||
--- a/luci-theme-vantage/ucode/template/themes/vantage/header.ut
|
||||
+++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut
|
||||
--- 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
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
- "admin/dashboard": {
|
||||
+ "admin/status/dashboard": {
|
||||
"title": "Dashboard",
|
||||
"order": 1,
|
||||
"action": {
|
||||
@@ -7,7 +7,15 @@
|
||||
"path": "vantage/overview"
|
||||
},
|
||||
"depends": {
|
||||
- "acl": [ "luci-app-vantage" ]
|
||||
+ "acl": [ "luci-app-vantage" ],
|
||||
+ "uci": {
|
||||
+ "vantage": true,
|
||||
+ "luci": {
|
||||
+ "main": {
|
||||
+ "mediaurlbase": "/luci-static/vantage"
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
--- a/luci-theme-vantage/ucode/template/themes/vantage/header.ut
|
||||
+++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut
|
||||
@@ -12,6 +12,8 @@
|
||||
|
||||
Reference in new issue
Block a user