libs/web: remove more inline styles from tblsection template, fixes action buttons...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Feb 2012 15:27:03 +0000 (15:27 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Feb 2012 15:27:03 +0000 (15:27 +0000)
libs/web/luasrc/view/cbi/tblsection.htm

index d92d36aee8b5bdec462666e6ef63b6888e86bc91..bee9bf80cb3b329dfe0a6c6c085145554a8dadf6 100644 (file)
@@ -85,14 +85,14 @@ end
                                -%>
 
                                <%- if self.sortable then -%>
-                                       <td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap">
+                                       <td class="cbi-section-table-cell">
                                                <input class="cbi-button cbi-button-up" type="button" value=""  onclick="return cbi_row_swap(this, true, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" alt="<%:Move up%>" title="<%:Move up%>" />
                                                <input class="cbi-button cbi-button-down" type="button" value=""  onclick="return cbi_row_swap(this, false, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" alt="<%:Move down%>" title="<%:Move down%>" />
                                        </td>
                                <%- end -%>
 
                                <%- if self.extedit or self.addremove then -%>
-                                       <td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap">
+                                       <td class="cbi-section-table-cell">
                                                <%- if self.extedit then -%>
                                                        <input class="cbi-button cbi-button-edit" type="button" value="<%:Edit%>"
                                                        <%- if type(self.extedit) == "string" then