mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-30 05:11:41 +08:00
172 lines
2.7 KiB
JSON
172 lines
2.7 KiB
JSON
{
|
|
"admin": {
|
|
"title": "Administration",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "firstchild",
|
|
"recurse": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/status": {
|
|
"title": "Status",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "firstchild",
|
|
"preferred": "overview",
|
|
"recurse": true
|
|
}
|
|
},
|
|
|
|
"admin/system": {
|
|
"title": "System",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "firstchild",
|
|
"preferred": "system",
|
|
"recurse": true
|
|
}
|
|
},
|
|
|
|
"admin/services": {
|
|
"title": "Services",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "firstchild",
|
|
"recurse": true
|
|
}
|
|
},
|
|
|
|
"admin/nas": {
|
|
"title": "NAS",
|
|
"order": 40,
|
|
"action": {
|
|
"type": "firstchild",
|
|
"recurse": true
|
|
}
|
|
},
|
|
|
|
"admin/vpn": {
|
|
"title": "VPN",
|
|
"order": 50,
|
|
"action": {
|
|
"type": "firstchild",
|
|
"recurse": true
|
|
}
|
|
},
|
|
|
|
"admin/control": {
|
|
"title": "Control",
|
|
"order": 51,
|
|
"action": {
|
|
"type": "firstchild",
|
|
"recurse": true
|
|
}
|
|
},
|
|
|
|
"admin/network": {
|
|
"title": "Network",
|
|
"order": 60,
|
|
"action": {
|
|
"type": "firstchild",
|
|
"recurse": true
|
|
}
|
|
},
|
|
|
|
"admin/translations/*": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.admin.index",
|
|
"function": "action_translations"
|
|
},
|
|
"auth": {}
|
|
},
|
|
|
|
"admin/ubus/*": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.admin.index",
|
|
"function": "action_ubus"
|
|
},
|
|
"auth": {}
|
|
},
|
|
|
|
"admin/logout": {
|
|
"title": "Log out",
|
|
"order": 999,
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.admin.index",
|
|
"function": "action_logout"
|
|
},
|
|
"depends": {
|
|
"acl": [ "luci-base" ]
|
|
},
|
|
"firstchild_ineligible": true
|
|
},
|
|
|
|
"admin/uci": {
|
|
"action": {
|
|
"type": "firstchild"
|
|
}
|
|
},
|
|
|
|
"admin/uci/revert": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.admin.uci",
|
|
"function": "action_revert",
|
|
"post": true
|
|
}
|
|
},
|
|
|
|
"admin/uci/apply_rollback": {
|
|
"cors": true,
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.admin.uci",
|
|
"function": "action_apply_rollback",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ]
|
|
}
|
|
},
|
|
|
|
"admin/uci/apply_unchecked": {
|
|
"cors": true,
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.admin.uci",
|
|
"function": "action_apply_unchecked",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ]
|
|
}
|
|
},
|
|
|
|
"admin/uci/confirm": {
|
|
"cors": true,
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.admin.uci",
|
|
"function": "action_confirm"
|
|
},
|
|
"auth": {}
|
|
},
|
|
|
|
"admin/menu": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.admin.index",
|
|
"function": "action_menu"
|
|
},
|
|
"auth": {}
|
|
}
|
|
}
|