luci-base: rework tblsection template
authorJo-Philipp Wich <jo@mein.io>
Wed, 18 Jul 2018 09:38:45 +0000 (11:38 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 20 Jul 2018 05:56:35 +0000 (07:56 +0200)
commitbea5187f3d7a90a48b42aaf46008d7625dcb01a3
tree27479465e0a609cf805eaba66c9edde13aec4c96
parent24b924bfe493fb8b375fcd3ffc8ce6edf867f427
luci-base: rework tblsection template

- Hide empty title and description rows
- Correct row striping offset
- Cleanup code

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f1fb7122e3a29aac2374c189e0fe90ba45f41cd2)
modules/luci-base/luasrc/view/cbi/tblsection.htm