luci-base: cbi.js: string formatting fixes
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 15 Feb 2016 11:45:39 +0000 (12:45 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 15 Feb 2016 11:45:42 +0000 (12:45 +0100)
commita860de860ad8c15d1717f317c91c2e9168260a4f
tree5e8aaf3714f4789107facf96a3eb5f8fabed4d45
parent5cfad4338f4749aee0a8d81e3b3727ec6630485d
luci-base: cbi.js: string formatting fixes

* Fix left and right justify/padding in formats
* Do not emit decimal numbers for small values in %m format

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/htdocs/luci-static/resources/cbi.js