luci-base: annotate tblsection description row as well
authorJo-Philipp Wich <jo@mein.io>
Mon, 25 Jun 2018 07:51:18 +0000 (09:51 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 25 Jun 2018 07:51:18 +0000 (09:51 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/view/cbi/tblsection.htm

index 76434f7e2b0e6008762be7bc9617d0392e8e0db5..348e9922b099ed1d0e818f4d35817a2ad84e3fb6 100644 (file)
@@ -42,7 +42,7 @@ end
                        <div class="th cbi-section-table-cell cbi-section-actions"></div>
                <%- count = count + 1; end -%>
                </div>
-               <div class="tr cbi-section-table-descr">
+               <div class="tr cbi-section-table-descr <%=(not self.anonymous or self.sectiontitle) and "named" or "anonymous"%>">
                <%- for i, k in pairs(self.children) do if not k.optional then -%>
                        <div class="th cbi-section-table-cell"<%=
                        width(k) ..