You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
447 B
Lua
16 lines
447 B
Lua
|
|
module("luci.controller.seafile", package.seeall)
|
|
|
|
function index()
|
|
entry({"admin", "nas"}, firstchild(), _("NAS") , 45).dependent = false
|
|
if not nixio.fs.access("/etc/config/seafile") then
|
|
return
|
|
end
|
|
|
|
local page = entry({"admin", "nas", "seafile"}, cbi("seafile"), _("Seafile"))
|
|
page.order = 10
|
|
page.dependent = true
|
|
page.acl_depends = { "luci-app-seafile" }
|
|
entry({"admin","apps","seafile","status"},call("act_status")).leaf=true
|
|
end
|