luci-base: form.js: implement JSONMap
authorJo-Philipp Wich <jo@mein.io>
Mon, 16 Sep 2019 05:55:45 +0000 (07:55 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 16 Sep 2019 05:55:45 +0000 (07:55 +0200)
commit96fbca76c824a00cb7e04519f5cd4baf9d64c8be
treea7baab5ba103e8e372ed97a7e83ce164b5da89fc
parentf67a9c8bf8c19d41a3a4c8a38503ecc0f9219836
luci-base: form.js: implement JSONMap

Implement a new map type JSONMap which uses a JSON data structure instead
of uci as configuration data backend.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js