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 --- .../root/usr/share/luci/menu.d/luci-app-p910nd.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 applications/luci-app-p910nd/root/usr/share/luci/menu.d/luci-app-p910nd.json (limited to 'applications/luci-app-p910nd/root/usr') diff --git a/applications/luci-app-p910nd/root/usr/share/luci/menu.d/luci-app-p910nd.json b/applications/luci-app-p910nd/root/usr/share/luci/menu.d/luci-app-p910nd.json new file mode 100644 index 000000000..33fcda6e4 --- /dev/null +++ b/applications/luci-app-p910nd/root/usr/share/luci/menu.d/luci-app-p910nd.json @@ -0,0 +1,14 @@ +{ + "admin/services/p910nd": { + "title": "p910nd - Printer server", + "order": 60, + "action": { + "type": "cbi", + "path": "p910nd", + "post": { "cbi.submit": true } + }, + "depends": { + "uci": { "p910nd": true } + } + } +} -- cgit v1.2.3