summaryrefslogtreecommitdiffstats
path: root/applications/luci-diag-core/luasrc/controller/luci_diag.lua
blob: c12399431e9029f3e9667c971bb9a2de89e6b7ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--[[

Luci Voice Core
(c) 2009 Daniel Dickinson

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

]]--

require("luci.i18n")

module("luci.controller.luci_diag", package.seeall)

function index()
	local e

	e = entry({"admin", "network", "diag_config"}, template("diag/network_config_index") , _("Configure Diagnostics"), 120)
	e.index = true
	e.i18n = "diag_core"
	e.dependent = true

	e = entry({"mini", "diag"}, template("diag/index"), _("Diagnostics"), 120)
	e.index = true
	e.i18n = "diag_core"
	e.dependent = true
end