* luci/libs: changed template for tblsection to save more vertical space

This commit is contained in:
Jo-Philipp Wich 2008-08-13 18:12:47 +00:00
parent 7329767f12
commit 1dacc5c20a

View file

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