From 625abbfdbe94dada023ebd8ea69778173d1a7351 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 5 Feb 2020 16:51:19 +0100 Subject: treewide: convert simple Lua controllers to declarative JSON Signed-off-by: Jo-Philipp Wich --- .../share/luci/menu.d/luci-app-coovachilli.json | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 applications/luci-app-coovachilli/root/usr/share/luci/menu.d/luci-app-coovachilli.json (limited to 'applications/luci-app-coovachilli/root/usr') diff --git a/applications/luci-app-coovachilli/root/usr/share/luci/menu.d/luci-app-coovachilli.json b/applications/luci-app-coovachilli/root/usr/share/luci/menu.d/luci-app-coovachilli.json new file mode 100644 index 0000000000..d7da7cad13 --- /dev/null +++ b/applications/luci-app-coovachilli/root/usr/share/luci/menu.d/luci-app-coovachilli.json @@ -0,0 +1,41 @@ +{ + "admin/services/coovachilli": { + "title": "CoovaChilli", + "order": 90, + "action": { + "type": "cbi", + "path": "coovachilli", + "post": { "cbi.submit": true } + } + }, + + "admin/services/coovachilli/network": { + "title": "Network Configuration", + "order": 1, + "action": { + "type": "cbi", + "path": "coovachilli_network", + "post": { "cbi.submit": true } + } + }, + + "admin/services/coovachilli/radius": { + "title": "RADIUS configuration", + "order": 2, + "action": { + "type": "cbi", + "path": "coovachilli_radius", + "post": { "cbi.submit": true } + } + }, + + "admin/services/coovachilli/auth": { + "title": "UAM and MAC Authentication", + "order": 3, + "action": { + "type": "cbi", + "path": "coovachilli_auth", + "post": { "cbi.submit": true } + } + } +} -- cgit v1.2.3