module("luci.controller.joplin", package.seeall) function index() entry({"admin", "apps"}, firstchild(), _("Apps") , 45).dependent = false if not nixio.fs.access("/etc/config/joplin") then return end local page = entry({"admin", "apps", "joplin"}, cbi("joplin"), _("joplin")) page.order = 10 page.dependent = true page.acl_depends = { "luci-app-joplin" } entry({"admin","apps","joplin","status"},call("act_status")).leaf=true end