luci-0.11: merge outstanding trunk changes
[project/luci.git] / applications / luci-diag-core / luasrc / controller / luci_diag.lua
1 --[[
2
3 Luci Voice Core
4 (c) 2009 Daniel Dickinson
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 ]]--
13
14 module("luci.controller.luci_diag", package.seeall)
15
16 function index()
17 local e
18
19 e = entry({"admin", "network", "diag_config"}, template("diag/network_config_index") , _("Configure Diagnostics"), 120)
20 e.index = true
21 e.dependent = true
22
23 e = entry({"mini", "diag"}, template("diag/index"), _("Diagnostics"), 120)
24 e.index = true
25 e.dependent = true
26 end