update 04-08 20:07

This commit is contained in:
github-actions[bot]
2022-04-08 20:07:18 +08:00
parent 6b51123239
commit 5d064a6879
2 changed files with 11 additions and 9 deletions

View File

@@ -6,6 +6,8 @@ include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI support for Fileassistant
LUCI_PKGARCH:=all
PKG_VERSION:=1.0
PKG_RELEASE:=2
include $(TOPDIR)/feeds/luci/luci.mk

View File

@@ -1,32 +1,32 @@
module("luci.controller.fileassistant", package.seeall)
function index()
entry({"admin", "system"}, firstchild(), _("System") , 45).dependent = false
entry({"admin", "services"}, firstchild(), _("Services") , 45).dependent = false
entry({"admin", "system"}, firstchild(), "System", 44).dependent = false
entry({"admin", "services"}, firstchild(), "Services", 44).dependent = false
local page
page = entry({"admin", "system", "fileassistant"}, template("fileassistant"), _("文件助手"), 1)
page = entry({"admin", "services", "fileassistant"}, template("fileassistant"), _("文件助手"), 1)
page.i18n = "base"
page.dependent = true
page.acl_depends = { "luci-app-fileassistant" }
page = entry({"admin", "system", "fileassistant", "list"}, call("fileassistant_list"), nil)
page = entry({"admin", "services", "fileassistant", "list"}, call("fileassistant_list"), nil)
page.leaf = true
page = entry({"admin", "system", "fileassistant", "open"}, call("fileassistant_open"), nil)
page = entry({"admin", "services", "fileassistant", "open"}, call("fileassistant_open"), nil)
page.leaf = true
page = entry({"admin", "system", "fileassistant", "delete"}, call("fileassistant_delete"), nil)
page = entry({"admin", "services", "fileassistant", "delete"}, call("fileassistant_delete"), nil)
page.leaf = true
page = entry({"admin", "system", "fileassistant", "rename"}, call("fileassistant_rename"), nil)
page = entry({"admin", "services", "fileassistant", "rename"}, call("fileassistant_rename"), nil)
page.leaf = true
page = entry({"admin", "system", "fileassistant", "upload"}, call("fileassistant_upload"), nil)
page = entry({"admin", "services", "fileassistant", "upload"}, call("fileassistant_upload"), nil)
page.leaf = true
page = entry({"admin", "system", "fileassistant", "install"}, call("fileassistant_install"), nil)
page = entry({"admin", "services", "fileassistant", "install"}, call("fileassistant_install"), nil)
page.leaf = true
end