* luci/libs: changed template for tblsection to save more vertical space
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 13 Aug 2008 18:12:47 +0000 (18:12 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 13 Aug 2008 18:12:47 +0000 (18:12 +0000)
libs/cbi/luasrc/view/cbi/tblsection.htm

index 9d616255f3e09a9c33b6de1f7a863f423425ab5f..979a135b5452154367efac532cc1befac63a5d99 100644 (file)
@@ -39,12 +39,12 @@ end
                        </tr>
                        <tr class="cbi-section-table-descr">
                        <%- if not self.anonymous then -%>
-                               <th>&nbsp;</th>
+                               <th></th>
                        <%- end -%>
                        <%- for i, k in pairs(self.children) do if not k.optional then -%>
                                <th class="cbi-section-table-cell"><%=k.description%></th>
                        <%- end; end; if self.extedit or self.addremove then -%>
-                               <th class="cbi-section-table-cell">&nbsp;</th>
+                               <th class="cbi-section-table-cell"></th>
                        <%- end -%>
                        </tr>
                        <%- local isempty = true
@@ -86,7 +86,6 @@ end
                        <%- end -%>
                </table>
                        <%- if self.addremove then -%>
-                       <br />
                        <div class="cbi-section-table-row">
                                <td colspan="<%=count%>" class="cbi-section-table-optionals">
                                        <div class="cbi-section-create">