luci2.cbi: add GridSection
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 13 Feb 2015 22:42:47 +0000 (23:42 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 13 Feb 2015 22:43:31 +0000 (23:43 +0100)
commit3b165435af6f925c50cf4ff2b0e3554f5b57c65e
tree0e594497865f8df88197f2cdd2dbce640a000090
parent74c9ffb8f3f9b7c914dc001df9aa42dc3c0b9f9d
luci2.cbi: add GridSection

The GridSection widget is equivalent to the TableSection one but using the
bootstrap column layout for rendering. The table-like view also degrades to
a list-style view on tiny viewports, making it useful to present tabular
configuration (e.g. routes) to mobile clients.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
luci2/htdocs/luci2/cbi.js