diff options
Diffstat (limited to 'applications/luci-app-polipo/root')
-rw-r--r-- | applications/luci-app-polipo/root/usr/share/luci/menu.d/luci-app-polipo.json | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/applications/luci-app-polipo/root/usr/share/luci/menu.d/luci-app-polipo.json b/applications/luci-app-polipo/root/usr/share/luci/menu.d/luci-app-polipo.json new file mode 100644 index 0000000000..6fea92d283 --- /dev/null +++ b/applications/luci-app-polipo/root/usr/share/luci/menu.d/luci-app-polipo.json @@ -0,0 +1,31 @@ +{ + "admin/services/polipo": { + "title": "Polipo", + "action": { + "type": "alias", + "path": "admin/services/polipo/config" + }, + "depends": { + "uci": { "polipo": true } + } + }, + + "admin/services/polipo/status": { + "title": "Status", + "order": 1, + "action": { + "type": "template", + "path": "polipo_status" + } + }, + + "admin/services/polipo/config": { + "title": "Configuration", + "order": 2, + "action": { + "type": "cbi", + "path": "polipo", + "post": { "cbi.submit": true } + } + } +} |