|
|
|
@ -2,12 +2,12 @@
|
|
|
|
|
module("luci.controller.seafile", package.seeall)
|
|
|
|
|
|
|
|
|
|
function index()
|
|
|
|
|
entry({"admin", "apps"}, firstchild(), _("Apps") , 45).dependent = false
|
|
|
|
|
entry({"admin", "nas"}, firstchild(), _("NAS") , 45).dependent = false
|
|
|
|
|
if not nixio.fs.access("/etc/config/seafile") then
|
|
|
|
|
return
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
local page = entry({"admin", "apps", "seafile"}, cbi("seafile"), _("seafile"))
|
|
|
|
|
local page = entry({"admin", "nas", "seafile"}, cbi("seafile"), _("Seafile"))
|
|
|
|
|
page.order = 10
|
|
|
|
|
page.dependent = true
|
|
|
|
|
page.acl_depends = { "luci-app-seafile" }
|
|
|
|
|