projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39401a7
)
luci-base: fix bad CSS class names in table section template
author
Jo-Philipp Wich
<jo@mein.io>
Fri, 20 Jul 2018 09:35:09 +0000
(11:35 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Fri, 20 Jul 2018 09:38:35 +0000
(11:38 +0200)
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>
modules/luci-base/luasrc/view/cbi/tblsection.htm
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/view/cbi/tblsection.htm
b/modules/luci-base/luasrc/view/cbi/tblsection.htm
index 9505f4ac4e9e29463c0b72ad72253ab02afaa965..408dfa7fe807feed7f4dd654dea7dd427f566408 100644
(file)
--- 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