summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dawn/luasrc/controller/dawn.lua
blob: 6ba53f13d4a8a202dbfd6751f651302e1d839e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
module("luci.controller.dawn", package.seeall)

function index()
    local e = entry({ "admin", "dawn" }, firstchild(), "DAWN", 60)
    e.dependent = false
    e.acl_depends = { "luci-app-dawn" }

    entry({ "admin", "dawn", "configure_daemon" }, cbi("dawn/dawn_config"), "Configure DAWN", 1)
    entry({ "admin", "dawn", "view_network" }, cbi("dawn/dawn_network"), "View Network Overview", 2)
    entry({ "admin", "dawn", "view_hearing_map" }, cbi("dawn/dawn_hearing_map"), "View Hearing Map", 3)
end