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 --- .../usr/share/luci/menu.d/luci-app-ser2net.json | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 applications/luci-app-ser2net/root/usr/share/luci/menu.d/luci-app-ser2net.json (limited to 'applications/luci-app-ser2net/root') diff --git a/applications/luci-app-ser2net/root/usr/share/luci/menu.d/luci-app-ser2net.json b/applications/luci-app-ser2net/root/usr/share/luci/menu.d/luci-app-ser2net.json new file mode 100644 index 0000000000..e05a30b935 --- /dev/null +++ b/applications/luci-app-ser2net/root/usr/share/luci/menu.d/luci-app-ser2net.json @@ -0,0 +1,38 @@ +{ + "admin/services/ser2net": { + "title": "ser2net", + "action": { + "type": "firstchild" + }, + "depends": { + "uci": { "ser2net": true } + } + }, + + "admin/services/ser2net/settings": { + "title": "Settings", + "order": 1, + "action": { + "type": "view", + "path": "ser2net/settings" + } + }, + + "admin/services/ser2net/proxies": { + "title": "Proxies", + "order": 2, + "action": { + "type": "view", + "path": "ser2net/proxies" + } + }, + + "admin/services/ser2net/leds": { + "title": "LEDs", + "order": 3, + "action": { + "type": "view", + "path": "ser2net/leds" + } + } +} -- cgit v1.2.3