mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 03:55:13 +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
|
--- a/luci-app-vantage/root/usr/share/luci/menu.d/luci-app-vantage.json
|
||||||
+++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut
|
+++ 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
|
--- a/luci-theme-vantage/ucode/template/themes/vantage/header.ut
|
||||||
+++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut
|
+++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut
|
||||||
@@ -12,6 +12,8 @@
|
@@ -12,6 +12,8 @@
|
||||||
|
|||||||
Reference in new issue
Block a user