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.ui: add grid and hlist widgets luci2.ui.grid is a table-like structure composed of bootstrap columns suitable for mobile viewports. luci2.ui.hlist is a pipe separated value list which only allows wrapping outside of the value pairs. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
luci2: don't mark rpc_plugin symbols constant The rpcd daemon modifies the list_head member of the rpc_plugin struct, therfore we cannot mark it const, otherwise we're hitting an access violation if rpcd is built with relro support. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
luci2: fix protocol modules after modular rework Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
luci2: split into submodules Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>