luci-base: introduce form.js
authorJo-Philipp Wich <jo@mein.io>
Mon, 1 Apr 2019 14:22:13 +0000 (16:22 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:36:24 +0000 (15:36 +0200)
commitb839ee87f2df52d5445bd668352adbca6d2c906b
tree62f928e0bb23ced2269df44833530888359e4f29
parent9c7eb1decd82344e22a10e6f5ac36b463d2149f5
luci-base: introduce form.js

Add a new client side form.js library which is a more or less direct
reimplementation of the Lua side cbi.lua in JavaScript.

Due to its client side nature, it supports a number of features which
would be hard to realize on the server side, such as drag&drop sorting,
modal sub-map dialogs, reload-free editing etc.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js [new file with mode: 0644]
modules/luci-base/htdocs/luci-static/resources/luci.js