summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/cbi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-07-20 11:35:09 +0200
committerJo-Philipp Wich <jo@mein.io>2018-07-20 11:35:09 +0200
commit3c90289e0f08bf0902f54740ae76f9d4bcceb950 (patch)
treef90e19bc98177f8e16ee48a1c509990b2a324658 /modules/luci-base/luasrc/view/cbi
parent985a7db408d2b4b7cf9c4de9db7d98d5e12a50e0 (diff)
luci-base: fix bad CSS class names in table section template
The previous refactoring of the template caused the row stripying CSS classes to be interpolated in such a way, that a separating space to previous CSS classes was missing, leading to not rendered row names and other side effects. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc/view/cbi')
-rw-r--r--modules/luci-base/luasrc/view/cbi/tblsection.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/tblsection.htm b/modules/luci-base/luasrc/view/cbi/tblsection.htm
index 9505f4ac4..408dfa7fe 100644
--- a/modules/luci-base/luasrc/view/cbi/tblsection.htm
+++ b/modules/luci-base/luasrc/view/cbi/tblsection.htm
@@ -4,9 +4,9 @@ local rowcnt = 0
function rowstyle()
rowcnt = rowcnt + 1
if rowcnt % 2 == 0 then
- return "cbi-rowstyle-1"
+ return " cbi-rowstyle-1"
else
- return "cbi-rowstyle-2"
+ return " cbi-rowstyle-2"
end
end