diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-14 15:08:12 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-14 15:08:12 +0000 |
commit | 8412034c3dfb337aa217f2223b5d70d0e7507c75 (patch) | |
tree | 11e952f87755a9186bf0845e97f80a88d0bcc10a /libs/web/luasrc | |
parent | 8e44175a79f9085284d843d8fab3225ff18bf5eb (diff) |
libs/web: use CSS class for sort buttons, drop inline style
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r-- | libs/web/luasrc/view/cbi/tblsection.htm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm index c352cda0ca..eadfb99c68 100644 --- a/libs/web/luasrc/view/cbi/tblsection.htm +++ b/libs/web/luasrc/view/cbi/tblsection.htm @@ -86,8 +86,8 @@ end <%- if self.sortable then -%> <td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap"> - <input class="cbi-button cbi-button-add" type="button" value="" onclick="return cbi_row_swap(this, true, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" alt="<%:Move up%>" title="<%:Move up%>" style="background-image:url(<%=resource%>/cbi/up.gif)" /> - <input class="cbi-button cbi-button-add" type="button" value="" onclick="return cbi_row_swap(this, false, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" alt="<%:Move down%>" title="<%:Move down%>" style="background-image:url(<%=resource%>/cbi/down.gif)" /> + <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 -%> |