* 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
57 lines
1 KiB
JSON
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"
|
|
}
|
|
}
|
|
}
|