mirror of
https://github.com/openwrt/luci.git
synced 2026-10-14 02:36:59 +04:00
d175293945618269d4e355a38d860efb2fbcb106
The existing JSONMap examples are read-only and leave saving as an
exercise ("you would need to define custom handlers"). Add a view that
edits /etc/example.json with a JSONMap - a named section and an
add/remove list - and saves it: handleSave() calls map.save() with a
callback that reads the sections back from map.data, restores numbers
(the form stores strings) and writes the file with fs.write().
The UCI defaults script seeds the file, and the ACL grants read and
write on it in the file scope.
Signed-off-by: Victor Irzak <victor@irzak.com>
…
…
OpenWrt luci feed
Description
This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.
Usage
This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:
src-git luci https://github.com/openwrt/luci.git
To install all its package definitions, run:
./scripts/feeds update luci
./scripts/feeds install -a -p luci
API Reference
You can browse the generated API documentation directly on Github.
Use ucode and rpcd for server side operations.
Development
Documentation for developing and extending LuCI can be found in the Wiki
License
See LICENSE file.
Package Guidelines
See CONTRIBUTING.md file.
Translation status
Use Weblate instead of direct editing of the *.po files.
Description
LuCI - OpenWrt Configuration Interface
555 MiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
70.8%
C
11.9%
Lua
5.6%
CSS
3.8%
UnrealScript
3.1%
Other
4.7%