luci-base: add element creation helper to cbi.js
authorJo-Philipp Wich <jo@mein.io>
Mon, 28 May 2018 12:56:15 +0000 (14:56 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 28 May 2018 13:18:45 +0000 (15:18 +0200)
commit79c82237e373b9d9a101858e0cab96e4bd548f0c
treedf071dea2e9f8ca0ca5efd9d69828c0182de8a03
parent97a640c836163523f532dd87de9e9882bd375409
luci-base: add element creation helper to cbi.js

Add a new helper function `E()` to cbi.js which can be used to conveniently
build HTML markup.

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