luci-base: cbi: further refactoring
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 10 Feb 2016 17:11:49 +0000 (18:11 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 10 Feb 2016 17:11:49 +0000 (18:11 +0100)
commit6d126649f01ac817149d4f36324c161bb1a4650b
treeb941064af6f43c20b6a8bd2a7bc7b97f859fadce
parent4990ec831c7190946106d5073c02ad85616c04b8
luci-base: cbi: further refactoring

Eliminate more inline scripts in favor to global initialization, use a global
object for sharing fixed strings instead of passing them to each invocation.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/htdocs/luci-static/resources/cbi.js
modules/luci-base/luasrc/view/cbi/dynlist.htm
modules/luci-base/luasrc/view/cbi/header.htm
modules/luci-base/luasrc/view/cbi/tblsection.htm
modules/luci-base/luasrc/view/cbi/tsection.htm
modules/luci-base/luasrc/view/cbi/ucisection.htm
modules/luci-base/luasrc/view/cbi/value.htm