luci/applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json
Duncan Hill 28f805b2e5
luci-app-example: Update with more documentation, more examples (#6503)
* luci-app-example: Update with more documentation, examples
* Update translations file
* Move more YAML support to .md file, improve README
* luci-app-example: Update with more documentation, examples
* luci-app-example: Fix missed call to load_sample_yaml
* Format with tabs by using jsbeautify
2023-12-04 22:12:28 +01:00

57 lines
1 KiB
JSON

{
"admin/example/": {
"title": "Example",
"order": 60,
"action": {
"type": "firstchild"
},
"depends": {
"acl": [ "luci-app-example" ]
}
},
"admin/example/form": {
"title": "Form View",
"order": 1,
"action": {
"type": "view",
"path": "example/form"
}
},
"admin/example/html": {
"title": "HTML Page",
"order": 2,
"action": {
"type": "view",
"path": "example/htmlview"
}
},
"admin/example/rpc-array": {
"title": "RPC Array Example",
"order": 3,
"action": {
"type": "view",
"path": "example/rpc"
}
},
"admin/example/rpc-jsonmap-table": {
"title": "RPC JSONMap Table Example",
"order": 4,
"action": {
"type": "view",
"path": "example/rpc-jsonmap-tablesection"
}
},
"admin/example/rpc-jsonmap-typed": {
"title": "RPC JSONMap Typed Example",
"order": 5,
"action": {
"type": "view",
"path": "example/rpc-jsonmap-typedsection"
}
}
}